diff --git "a/valid.jsonl" "b/valid.jsonl" --- "a/valid.jsonl" +++ "b/valid.jsonl" @@ -1,2051 +1,4006 @@ -{"id": "3c63fd", "alias": "nt_count_divisors_in_range_v1_1742523217_4928", "problem": "Let $p_1 = 19$. Define $e$ to be the remainder when $(p_1 - 1)! + 1$ is divided by $p_1$. Let $p$ be the largest prime number satisfying $2 \\leq n \\leq 21$. Let $q = 11 + e$, and let $n_1 = p \\cdot q$. Define $c = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Consider $n = 221760$, $a = 34$, and $b = 14785 \\cdot c$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $Q$ be the remainder when the absolute value of this count is divided by $68889$. Find the value of $Q$.", "answer": 131, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(19),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(21)), IsPrime(Var(\"n\"))))),\n \"q\": Sum(Const(11), Ref(\"e\")),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(221760),\n \"a\": Const(34),\n \"b\": Mul(Const(14785), Ref(\"c\")),\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=Abs(arg=Ref(name='result')), modulus=Const(68889)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "WILSON"], "recipe_id": "bcfc10", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.125, "created_at": "2026-02-08T09:20:51.365386Z", "verification": {"verified": true, "answer": 131, "timestamp": "2026-02-08T09:20:51.490838Z"}, "problem_hash": "628245", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "WILSON": "ok", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "K16": "no", "K18": "no", "K5": "no", "MAX_VAL": "no"}} -{"id": "4ed5f8", "alias": "nt_euler_phi_compute_v1_124444284_800", "problem": "Let $p_1 = 2$. Define $t$ to be the remainder when $(p_1 - 1)! + 1$ is divided by $p_1$. Let $p$ be the largest prime number $n$ such that $2 \\leq n \\leq 6$. Let $q = 23 + t$ and $r = 29$. Define $n_1 = p \\cdot q \\cdot r$. Let $e = (\\mu(n_1))^2$, where $\\mu$ denotes the M\\\"obius function. Define $n = 61009 \\cdot e$. Compute $\\phi(n)$, where $\\phi$ denotes Euler's totient function.", "answer": 53352, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(2),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))),\n \"q\": Sum(Const(23), Ref(\"t\")),\n \"r\": Const(29),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(Const(61009), 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/MOBIUS_SQUAREFREE", "WILSON"], "recipe_id": "bcfc10", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T03:31:40.267815Z", "verification": {"verified": true, "answer": 53352, "timestamp": "2026-02-08T03:31:40.272452Z"}, "problem_hash": "b0b0e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 53352, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 2184}, "timestamp": "2026-02-09T22:15:29.559Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 53352, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1151}, "timestamp": "2026-02-09T06:04:10.212Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "WILSON": "ok", "MOBIUS_SQUAREFREE": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_SUM": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "01fc74", "alias": "antilemma_k2_v1_865884756_3784", "problem": "Let $n = 143$ and $d = 90$. Define $\\phi(k)$ to be Euler's totient function. Let $x = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{143}{k} \\right\\rfloor$. Let $c = \\sum_{d' \\mid d} \\phi(d')$. Let $S$ be the set of all real numbers $x_1$ such that $x_1^2 - 47x_1 - 1008 = 0$. Compute the remainder when $x^2 + \\left( \\sum S \\right) \\cdot x + c$ is divided by $61025$.", "answer": 2993, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(90),\n \"_m\": Const(2),\n \"_n\": Const(143),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(143), Var(\"k\"))))),\n \"_c\": SumOverDivisors(n=Ref(name='_d'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_m\")), Mul(Const(-47), Var(\"x1\")), Const(-1008)), Const(0)))), Ref(\"x\")), Ref(\"_c\")), modulus=Const(61025)),\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", "K2"], "recipe_id": "dcdeec", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K2", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T17:34:35.615858Z", "verification": {"verified": true, "answer": 2993, "timestamp": "2026-02-08T17:34:35.620284Z"}, "problem_hash": "8411b9", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "K3": "ok", "VIETA_SUM": "ok", "ENDING_quadratic_mod": "ok_later", "DS2": "no", "K15": "no", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no"}} -{"id": "7fa67c", "alias": "nt_count_primes_v1_1918700295_757", "problem": "Let $m = 43$. Let $n$ be the largest integer such that $43^n$ divides $m^2$. Let $S$ be the set of all integers $k$ such that $n \\leq k \\leq 41616$ and $k$ is prime. Let $\\text{result} = |S|$, the number of elements in $S$. Let $D$ be the set of all integers $d \\geq 2$ that divide $537251$. Let $d_{\\min}$ be the smallest element of $D$. Compute the Bell number $B_{\\text{result} \\bmod d_{\\min}}$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(43),\n \"_n\": MaxKDivides(target=Pow(Ref(\"_m\"), Const(2)), base=Const(43)),\n \"upper\": Const(41616),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": 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": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_bell_mod", "K14/MIN_PRIME_FACTOR"], "recipe_id": "b8203a", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "K14", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.99, "created_at": "2026-02-08T03:24:35.138949Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T03:24:36.129237Z"}, "problem_hash": "6ecbbe", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "L3c": "no", "MOD_ADD": "no", "V1": "no"}} -{"id": "6c0205", "alias": "nt_num_divisors_compute_v1_865884756_4503", "problem": "Let $m = 17776$. Compute the number of positive integers $k$ such that $1 \\leq k \\leq m$ and $16$ divides $k$. Let $n$ be this count. Now, compute the number of positive integers $j$ such that $1 \\leq j \\leq n$ and $j^d \\leq 1371330631$, where $d$ is the smallest divisor of $4725$ that is at least $2$. Let $N$ be this count. Determine the number of positive divisors of $N$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17776),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(16), dividend=Var(\"k\"))), domain='positive_integers')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4725)))))), Const(1371330631))), domain='positive_integers')),\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": ["MIN_PRIME_FACTOR/C3", "C2/C3"], "recipe_id": "99ef18", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "C3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.022, "created_at": "2026-02-08T17:58:07.114169Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T17:58:07.135888Z"}, "problem_hash": "2c67fd", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "COUNT_SUM_EQUALS": "no", "K13": "no", "MOD_ADD": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "4a3a69", "alias": "nt_count_divisible_and_v1_1248542787_222", "problem": "Let $n_0=34$ and $U=106752$.\n\nLet $d_1$ be the number of integers $t$ such that $5\\le t\\le 12$ and there exist integers $a$ and $b$ with $1\\le a\\le 3$, $1\\le b\\le 2$, and\n$$t=2a+3b.$$\nLet $d_2=8$.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le U$ such that\n$$n\\equiv 0\\pmod{d_1}$$\nand\n$$n\\equiv \\sum_{d\\mid 32}\\mu(d)\\pmod{d_2},$$\nwhere $\\mu$ is the Möbius function.\n\nAmong all ordered pairs $(x,y)$ of positive integers satisfying $x+y=n_0$, let $P$ be the largest possible value of $xy$. Among all ordered pairs $(x,y)$ of positive integers satisfying $xy=P$, let $S$ be the smallest possible value of $x+y$.\n\nLet $M$ be the largest possible value of $xy$ among all ordered pairs $(x,y)$ of positive integers satisfying $x+y=S$.\n\nDefine\n$$Q\\equiv M-R\\pmod{89962},$$\nwhere $0\\le Q<89962$.\n\nFind the value of $Q$.", "answer": 85803, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(34),\n \"upper\": Const(106752),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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 \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=Const(value=32), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(89962)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/B1/ENDING_negation_mod", "MOBIUS_SUM", "LIN_FORM"], "recipe_id": "5b96f8", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_negation_mod", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 9.718, "created_at": "2026-02-08T03:01:17.645380Z", "verification": {"verified": true, "answer": 85803, "timestamp": "2026-02-08T03:01:27.363676Z"}, "problem_hash": "8c4ac3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 85803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 420, "completion_tokens": 832}, "timestamp": "2026-02-09T01:29:41.581Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 85803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 416, "completion_tokens": 1540}, "timestamp": "2026-02-09T14:06:09.564Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 85803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 374, "completion_tokens": 6444}, "timestamp": "2026-02-09T01:57:00.039Z"}], "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok", "B3": "ok_later", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.12, "hi": 1.77}} -{"id": "a9f0df", "alias": "nt_count_gcd_equals_v1_784195855_2211", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 19600$ and $\\gcd(n, 221) = 221$. Let $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq 40500$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute the value of $7^{|A|} \\bmod{99991} + B$.", "answer": 68741, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19600),\n \"k\": Const(221),\n \"d\": Const(221),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Sum(ModExp(base=Const(7), 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(40500)), 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": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/ENDING_two_stage_modexp"], "recipe_id": "0f980c", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 2.06, "created_at": "2026-02-08T05:36:42.884618Z", "verification": {"verified": true, "answer": 68741, "timestamp": "2026-02-08T05:36:44.945038Z"}, "problem_hash": "e1b0b4", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K5": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "836a5f", "alias": "sequence_lucas_compute_v1_865884756_3126", "problem": "Let $m = 6$ and $n_0$ be the number of ordered pairs $(x, y)$ such that $1 \\leq x \\leq 2$ and $1 \\leq y \\leq 3$. Define $$ n = \\sum_{k=1}^{m} \\phi(k) \\left\\lfloor \\frac{n_0}{k} \\right\\rfloor, $$ where $\\phi(k)$ denotes Euler's totient function. Compute the value of the $n$-th Lucas number.", "answer": 24476, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/K2"], "recipe_id": "11dd6d", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:11:05.733969Z", "verification": {"verified": true, "answer": 24476, "timestamp": "2026-02-08T17:11:05.737181Z"}, "problem_hash": "8d926e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K2": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K5": "no", "V1": "no", "V3": "no"}} -{"id": "b1f447", "alias": "nt_count_primes_v1_677425708_1226", "problem": "Let $S$ be the set of all real numbers $x$ such that $x^2 - 74x - 5031 = 0$. Let $m$ be the maximum value of $\\{ 7^k \\mid k \\in \\mathbb{Z},\\ 7^k \\leq |S| \\}$. Let $T$ be the set of all prime numbers $n$ such that $m \\leq n \\leq 16384$. Compute the number of elements in $T$.", "answer": 1900, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"upper\": Const(16384),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-74), Var(\"x\")), Const(-5031)), Const(0)))))))), 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": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/MAX_VAL"], "recipe_id": "954c99", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.594, "created_at": "2026-02-08T04:02:29.797644Z", "verification": {"verified": true, "answer": 1900, "timestamp": "2026-02-08T04:02:31.391284Z"}, "problem_hash": "c51cee", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:21:06.383Z"}], "lemma_applicability": {"VIETA_SUM": "ok", "MAX_VAL": "ok_later", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "a2187e", "alias": "nt_sum_divisors_range_v1_1248542787_152", "problem": "Compute the sum of the number of positive divisors of each integer from 1 to 8281. That is, compute $\\sum_{n=1}^{8281} \\tau(n)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 76009, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(8281),\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": "B3", "lemma_paths": ["COPRIME_PAIRS/OMEGA_ONE", "MOBIUS_SUM"], "recipe_id": "31b0c5", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.311, "created_at": "2026-02-08T02:58:22.751928Z", "verification": {"verified": true, "answer": 76009, "timestamp": "2026-02-08T02:58:25.062567Z"}, "problem_hash": "7133ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 76015, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 7307}, "timestamp": "2026-02-09T00:52:50.616Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 76009, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 4256}, "timestamp": "2026-02-09T13:38:15.701Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 119, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:05:05.290Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "OMEGA_ONE": "ok_later", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "4101b3", "alias": "antilemma_product_of_sums_v1_1742523217_466", "problem": "Let $S_1$ be the sum of all values $k$ such that $(k, j)$ ranges over all ordered pairs of integers with $1 \\leq k \\leq 14$ and $1 \\leq j \\leq 5$. Let $S_2$ be the sum of all nonnegative integers $j$ with $0 \\leq j \\leq 15$ such that $\\binom{15}{j}$ is odd. Define $x = S_1 \\cdot S_2$. Let $c$ be the number of positive integers $j$ such that $1 \\leq j \\leq 9999$ and $j^5 \\leq 99950009999000049999$. Find the remainder when $x^2 + 9x + c$ is divided by $77063$.", "answer": 61869, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\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(14)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=Const(15), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(9999)), Leq(Pow(Var(\"j\"), Const(5)), Const(99950009999000049999))), domain='positive_integers')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(9), Ref(\"x\")), Ref(\"_c\")), modulus=Const(77063)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/ENDING_quadratic_mod", "PRODUCT_OF_SUMS"], "recipe_id": "ae361c", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_quadratic_mod", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:03:53.098428Z", "verification": {"verified": true, "answer": 61869, "timestamp": "2026-02-08T03:03:53.102646Z"}, "problem_hash": "a9c474", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61869, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 3863}, "timestamp": "2026-02-09T18:21:11.091Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 61869, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 293, "completion_tokens": 6399}, "timestamp": "2026-02-09T03:23:37.407Z"}], "lemma_applicability": {"C3": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_quadratic_mod": "ok_later", "K14": "no", "K18": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "972eab", "alias": "antilemma_cartesian_v1_1742523217_1447", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 24$ and $1 \\leq b \\leq 24$. Let $y$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 794$. Compute the remainder when $\\left( x \\bmod 251 \\right) + 1009 \\cdot \\left( x \\bmod y \\right)$ is divided by $78273$.", "answer": 24139, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78273),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"_c\": Const(1009),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(251)), Mul(Ref(\"_c\"), Mod(value=Ref(\"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\")), Const(794)))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:59:45.947610Z", "verification": {"verified": true, "answer": 24139, "timestamp": "2026-02-08T03:59:45.948752Z"}, "problem_hash": "cde461", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}} -{"id": "9f906c", "alias": "antilemma_cartesian_v1_1125832087_608", "problem": "Let $n = 313$. Compute the value of\n$$\n\\left( \\left| \\{ (a,b) \\mid 1 \\leq a \\leq 22,\\ 1 \\leq b \\leq 32 \\} \\right| \\bmod 317 \\right) + \\left( 4 \\cdot \\left| \\{ (x_1, x_2) \\mid x_1, x_2 \\text{ are positive odd integers},\\ x_1 + x_2 = 4006 \\} \\right| \\right) \\cdot \\left( \\left| \\{ (a,b) \\mid 1 \\leq a \\leq 22,\\ 1 \\leq b \\leq 32 \\} \\right| \\bmod n \\right)\n$$\ndivided by $61284$, and find the remainder. That is, compute the expression modulo $61284$.", "answer": 33736, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(313),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(317)), Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4006))))), Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")))), modulus=Const(61284)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:10:04.164251Z", "verification": {"verified": true, "answer": 33736, "timestamp": "2026-02-08T03:10:04.165422Z"}, "problem_hash": "d4dbc4", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "61d38c", "alias": "antilemma_cartesian_v1_458359167_1574", "problem": "Let $x$ be the number of ordered pairs of integers $(a, b)$ such that $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 32$. Let $c$ be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 2018$. Compute the remainder when $\\left(x \\bmod 293\\right) + c \\cdot \\left(x \\bmod 337\\right)$ is divided by $81311$.", "answer": 61848, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81311),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), 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\")), Const(2018))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(337)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:45:30.560919Z", "verification": {"verified": true, "answer": 61848, "timestamp": "2026-02-08T04:45:30.561983Z"}, "problem_hash": "41e9cc", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "19df04", "alias": "antilemma_cartesian_v1_798873815_266", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 15$ and $1 \\leq j \\leq 26$. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers such that $x_1$ is odd, $x_2$ is odd, and $x_1 + x_2 = 502$. Compute the remainder when $$ x \\bmod |S| + 1009 \\cdot (x \\bmod 397) $$ is divided by $98019$.", "answer": 1573, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98019),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(26)))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"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\")), Const(502)))))), Mul(Const(1009), Mod(value=Ref(\"x\"), modulus=Const(397)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:31:58.001469Z", "verification": {"verified": true, "answer": 1573, "timestamp": "2026-02-08T02:31:58.002489Z"}, "problem_hash": "5298e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 1100}, "timestamp": "2026-02-08T19:17:46.279Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 929}, "timestamp": "2026-02-09T15:01:14.328Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:14:16.839Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 2076}, "timestamp": "2026-02-08T22:31:27.974Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 805}, "timestamp": "2026-02-09T02:05:41.494Z"}, {"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-09T02:00:23.385Z"}], "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -1.08, "mid": 1.61, "hi": 4.67}} -{"id": "faa4a1", "alias": "antilemma_cartesian_v1_1520064083_1279", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 20, inclusive, and $b$ is an integer from 1 to 21, inclusive. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers such that $x_1$ and $x_2$ are both odd and $x_1 + x_2 = 6002$. Compute the remainder when\n\n$$\n\\left( x \\bmod 293 \\right) + \\left( |S| \\cdot (x \\bmod 337) \\right)\n$$\nis divided by 51581.", "answer": 42886, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6002),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), 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\"))))), Mod(value=Ref(\"x\"), modulus=Const(337)))), modulus=Const(51581)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:53:58.894771Z", "verification": {"verified": true, "answer": 42886, "timestamp": "2026-02-08T03:53:58.896742Z"}, "problem_hash": "9de416", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "dc4985", "alias": "modular_mod_compute_v1_1742523217_2825", "problem": "Let $a = -128$ and $m = 31329$. Define $r$ to be the remainder when $a$ is divided by $m$, so $0 \\leq r < m$. Let $S$ be the set of all ordered pairs $(i, j)$ where $i$ and $j$ are integers with $1 \\leq i \\leq 16$ and $1 \\leq j \\leq 16$. Compute the remainder when $|S| - r$ is divided by $77996$.", "answer": 47051, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77996),\n \"a\": Const(-128),\n \"m\": Const(31329),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(16)))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:24:27.102804Z", "verification": {"verified": true, "answer": 47051, "timestamp": "2026-02-08T05:24:27.104217Z"}, "problem_hash": "b4de62", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "4c2994", "alias": "algebra_quadratic_discriminant_v1_458359167_2423", "problem": "Let $a = 2$, $b = 0$, and $c = 0$. Define $\\Delta = b^2 - 4ac$. Compute the value of $88^2 - \\Delta$.", "answer": 7744, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(2),\n \"b\": Const(0),\n \"c\": Const(0),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(88)), right=IntegerRange(start=Const(1), end=Const(88)))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:24:13.831488Z", "verification": {"verified": true, "answer": 7744, "timestamp": "2026-02-08T05:24:13.834122Z"}, "problem_hash": "50ceba", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "6a1480", "alias": "comb_catalan_compute_v1_1918700295_270", "problem": "Let $n = 11$. Compute the $n$th Catalan number, denoted $C_n$. Let $Q$ be the remainder when $8 - C_n$ is divided by $91567$, where $8$ is the number of elements in the Cartesian product $\\{1, 2\\} \\times \\{1, 2, 3, 4\\}$. Find the value of $Q$.", "answer": 32789, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(91567),\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))), 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_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:08:11.089510Z", "verification": {"verified": true, "answer": 32789, "timestamp": "2026-02-08T03:08:11.091074Z"}, "problem_hash": "bc437d", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "22b20b", "alias": "nt_euler_phi_compute_v1_1520064083_1659", "problem": "Let $n = 75025$. Compute $\\phi(n)$, Euler's totient function evaluated at $n$. Let $c$ be the number of ordered pairs $(i,j)$ such that $1 \\le i \\le 27$ and $1 \\le j \\le 37$. Compute the remainder when $c - \\phi(n)$ is divided by $85967$.", "answer": 26966, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85967),\n \"n\": Const(75025),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(27)), right=IntegerRange(start=Const(1), end=Const(37)))),\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"], "recipe_id": "009729", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:11:06.160184Z", "verification": {"verified": true, "answer": 26966, "timestamp": "2026-02-08T04:11:06.162175Z"}, "problem_hash": "3985b1", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "K18": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "712f04", "alias": "nt_count_primes_v1_1918700295_1475", "problem": "Let $U = 45369$. Define $S$ to be the set of all prime numbers $p$ such that $2 \\leq p \\leq U$. Let $r = |S|$. Compute the remainder when $77 - r$ is divided by $81014$.", "answer": 76384, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(45369),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(11)))), Ref(\"result\")), modulus=Const(81014)),\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/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 4.145, "created_at": "2026-02-08T05:51:30.980293Z", "verification": {"verified": true, "answer": 76384, "timestamp": "2026-02-08T05:51:35.125451Z"}, "problem_hash": "efd5a5", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_SUM_EQUALS": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}} -{"id": "b2f70e", "alias": "comb_count_surjections_v1_153355830_2574", "problem": "Let $n = 6$ and $k = 4$. Compute the value of $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. \n\nNow, let $C$ be the total number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 25$ and $1 \\leq b \\leq 28$. Find the remainder when $C$ minus that value is divided by $63167$.", "answer": 62307, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63167),\n \"n\": Const(6),\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(25)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:13:58.340227Z", "verification": {"verified": true, "answer": 62307, "timestamp": "2026-02-08T07:13:58.341238Z"}, "problem_hash": "08454c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "0b7710", "alias": "comb_catalan_compute_v1_153355830_1863", "problem": "Let $ n = 11 $. Let $ c $ be the $ n $-th Catalan number. Let $ T $ be the set of all ordered pairs $ (i, j) $ such that $ 1 \\leq i \\leq 15 $ and $ 1 \\leq j \\leq 16 $. Compute the remainder when $ |T| - c $ is divided by $ 57232 $.", "answer": 55918, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57232),\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(16)))), 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_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:44:42.560458Z", "verification": {"verified": true, "answer": 55918, "timestamp": "2026-02-08T06:44:42.562616Z"}, "problem_hash": "2e7f38", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "207d7b", "alias": "comb_binomial_compute_v1_784195855_1134", "problem": "Let $n = 14$ and $k = 7$. Define $\\binom{n}{k}$ as the binomial coefficient $\\binom{14}{7}$. Let $S$ be the set of all ordered pairs $(i,j)$ such that $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 11$. Compute the remainder when $|S| - \\binom{14}{7}$ is divided by $77972$.", "answer": 74617, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77972),\n \"n\": Const(14),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(11)))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T04:52:29.937135Z", "verification": {"verified": true, "answer": 74617, "timestamp": "2026-02-08T04:52:29.948794Z"}, "problem_hash": "4688eb", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "5058ad", "alias": "comb_count_surjections_v1_677425708_1135", "problem": "Let $n = 6$ and $k = 4$. The number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets is multiplied by $k!$, yielding a result. Let $c$ be the number of ordered pairs $(i, j)$ where $1 \\leq i, j \\leq 84$. Compute $c$ minus this result.", "answer": 5496, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\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(84)), right=IntegerRange(start=Const(1), end=Const(84)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:00:35.563924Z", "verification": {"verified": true, "answer": 5496, "timestamp": "2026-02-08T04:00:35.566383Z"}, "problem_hash": "8e52b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5496, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 987}, "timestamp": "2026-02-09T16:04:56.898Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "c72e43", "alias": "comb_count_surjections_v1_784195855_949", "problem": "Let $n = 5$ and $k = 2$. The Stirling number of the second kind $S(n, k)$ counts the number of ways to partition a set of $n$ elements into $k$ nonempty subsets. Let $A = k! \\cdot S(n, k)$. Compute the value of $56^2 - A$.", "answer": 3106, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(56)), right=IntegerRange(start=Const(1), end=Const(56)))), Ref(\"result\")),\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_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:43:19.569418Z", "verification": {"verified": true, "answer": 3106, "timestamp": "2026-02-08T04:43:19.571883Z"}, "problem_hash": "b8756d", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "f47d0c", "alias": "comb_count_surjections_v1_1353956133_308", "problem": "Let $n = 6$ and $k = 3$. The number of ways to partition a set of $n$ labeled elements into $k$ nonempty unlabeled subsets is given by the Stirling number of the second kind, $S(n,k)$. Multiplying by $k!$ gives the number of surjective functions from a set of $n$ elements to a set of $k$ elements. Let this value be $R$. Now consider the set of all ordered pairs $(a,b)$ such that $1 \\leq a \\leq 28$ and $1 \\leq b \\leq 30$. Compute the number of such pairs that are not counted by $R$.", "answer": 300, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\n \"k\": Const(3),\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(28)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:23:55.074998Z", "verification": {"verified": true, "answer": 300, "timestamp": "2026-02-08T11:23:55.077100Z"}, "problem_hash": "8a0075", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "665be8", "alias": "nt_gcd_compute_v1_153355830_2523", "problem": "Let $a = 202245$ and $b = 471905$. Let $d$ be the greatest common divisor of $a$ and $b$. Let $Q$ be the remainder when $33 - d$ is divided by $61379$, where $33$ is the number of ordered pairs $(m,n)$ such that $1 \\leq m \\leq 3$ and $1 \\leq n \\leq 11$. Find the value of $Q$.", "answer": 55376, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61379),\n \"a\": Const(202245),\n \"b\": Const(471905),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(11)))), 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"], "recipe_id": "009729", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:12:24.127734Z", "verification": {"verified": true, "answer": 55376, "timestamp": "2026-02-08T07:12:24.128783Z"}, "problem_hash": "71e5df", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "e3a413", "alias": "modular_mod_compute_v1_1520064083_3647", "problem": "Let $a = 42436$ and $m = 11025$. Compute the remainder when $a$ is divided by $m$, and denote this value by $r$. Let $C$ be the set of all ordered pairs $(i,j)$ such that $1 \\leq i \\leq 55$ and $1 \\leq j \\leq 123$. Let $N$ be the number of elements in $C$. Compute the remainder when $N - r$ is divided by $85449$. Determine the value of this remainder.", "answer": 82853, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(42436),\n \"m\": Const(11025),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(55)), right=IntegerRange(start=Const(1), end=Const(123)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85449)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:47:06.294042Z", "verification": {"verified": true, "answer": 82853, "timestamp": "2026-02-08T05:47:06.295077Z"}, "problem_hash": "8b8bd6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "e3d5cf", "alias": "comb_catalan_compute_v1_1742523217_2384", "problem": "Let $n = 11$. Compute the remainder when $86^2 - C_n$ is divided by $72668$, where $C_n$ denotes the $n$-th Catalan number.", "answer": 21278, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72668),\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(86)), right=IntegerRange(start=Const(1), end=Const(86)))), 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_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:43:13.666086Z", "verification": {"verified": true, "answer": 21278, "timestamp": "2026-02-08T04:43:13.668738Z"}, "problem_hash": "453f25", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "38efd9", "alias": "nt_count_divisible_and_v1_677425708_2991", "problem": "Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq 114840$, $n$ is divisible by both $12$ and $15$. Let $\\_c$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 89$ and $1 \\leq j \\leq 89$. Compute $\\_c - \\text{result}$.", "answer": 6007, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(114840),\n \"d1\": Const(12),\n \"d2\": Const(15),\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\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(89)), right=IntegerRange(start=Const(1), end=Const(89)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 7.789, "created_at": "2026-02-08T05:25:24.807722Z", "verification": {"verified": true, "answer": 6007, "timestamp": "2026-02-08T05:25:32.596921Z"}, "problem_hash": "a488f5", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "087a34", "alias": "comb_count_surjections_v1_124444284_1074", "problem": "Let $n = 4$ and $k = 4$. The Stirling number of the second kind $S(n, k)$ counts the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Compute $k! \\cdot S(n, k)$, and let this value be $r$.\n\nNow consider the set of all ordered pairs $(i, j)$ such that $1 \\leq i \\leq 44$ and $1 \\leq j \\leq 46$. Compute the number of such pairs, and subtract $r$ from this count. Find the value of this difference.", "answer": 2000, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(4),\n \"k\": Const(4),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(44)), right=IntegerRange(start=Const(1), end=Const(46)))), Ref(\"result\")),\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_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:40:55.549669Z", "verification": {"verified": true, "answer": 2000, "timestamp": "2026-02-08T03:40:55.554030Z"}, "problem_hash": "34561a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 2000, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 314}, "timestamp": "2026-02-09T09:17:37.027Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "ed9899", "alias": "comb_count_surjections_v1_865884756_2760", "problem": "Let $n = 6$ and $k = 6$. Define\n$$\n\\text{result} = k! \\cdot S(n, k),\n$$\nwhere $S(n, k)$ denotes the Stirling number of the second kind. Let $c$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 12$ and $1 \\leq j \\leq 12$. Compute the remainder when $c - \\text{result}$ is divided by $56615$.", "answer": 56039, "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 \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(56615)),\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_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:55:40.906566Z", "verification": {"verified": true, "answer": 56039, "timestamp": "2026-02-08T16:55:40.908196Z"}, "problem_hash": "4d776b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "0aa07a", "alias": "comb_count_surjections_v1_124444284_1886", "problem": "Let $n = 5$ and $k = 5$. Define $S(n,k)$ to be the Stirling number of the second kind. Compute the value of $42^2 - k! \\cdot S(n,k)$.", "answer": 1644, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5),\n \"k\": Const(5),\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(42)), right=IntegerRange(start=Const(1), end=Const(42)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/ENDING_negation_mod"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:11:55.089876Z", "verification": {"verified": true, "answer": 1644, "timestamp": "2026-02-08T04:11:55.093032Z"}, "problem_hash": "e28ed2", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}} -{"id": "73b87f", "alias": "nt_euler_phi_compute_v1_153355830_425", "problem": "Let $ n = 30307 $. Compute $ \\phi(n) $, Euler's totient function of $ n $. Let $ C $ be the number of ordered pairs $ (a,b) $ such that $ 1 \\leq a \\leq 75 $ and $ 1 \\leq b \\leq 75 $. Find the remainder when $ C - \\phi(n) $ is divided by $ 79943 $.", "answer": 55262, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(30307),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(75)), right=IntegerRange(start=Const(1), end=Const(75)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(79943)),\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"], "recipe_id": "009729", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:05:57.636054Z", "verification": {"verified": true, "answer": 55262, "timestamp": "2026-02-08T03:05:57.638252Z"}, "problem_hash": "6058cd", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "K15": "no", "K16": "no", "V7": "no"}} -{"id": "661ae4", "alias": "nt_sum_phi_v1_151522320_1236", "problem": "Let $p_1 = 7$ and let $n = p_1^3$. Define $c = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $p = 89 + c$, and let $t = \\Omega(p)$, where $\\Omega(p)$ denotes the number of prime factors of $p$ counted with multiplicity. Let $d_{\\text{min}}$ be the smallest divisor of $35474606201$ that is at least $2$, and define $\\text{upper} = d_{\\text{min}} \\cdot t$. Compute the sum of $\\phi(k)$ for all positive integers $k$ from $1$ to $\\text{upper}$, inclusive.\n\nFind the value of this sum.", "answer": 56640, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(7),\n \"n\": Pow(Ref(\"p1\"), Const(3)),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"p\": Sum(Const(89), Ref(\"c\")),\n \"t\": BigOmega(n=Ref(name='p')),\n \"upper\": Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35474606201))))), Ref(\"t\")),\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": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE"], "recipe_id": "d24581", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.06, "created_at": "2026-02-08T03:51:26.639319Z", "verification": {"verified": true, "answer": 56640, "timestamp": "2026-02-08T03:51:26.699468Z"}, "problem_hash": "c878f3", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "K13": "no", "LTE_DIFF": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "24fae4", "alias": "diophantine_product_count_v1_1520064083_2672", "problem": "Let $e$ be the number of prime factors of $1$ counted with multiplicity, and let $f$ be the same for $1$. Let $k = 360$ and let the upper bound be $63$. Define the result as the number of positive integers $x$ such that $1 \\leq x \\leq 63$, $x$ divides $360$, and $\\frac{360}{x} \\leq 63$. Compute the remainder when $44121$ multiplied by this result is divided by $75613 + e + f$.", "answer": 12790, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"n\": Const(1),\n \"f\": BigOmega(n=Ref(name='n')),\n \"k\": Const(360),\n \"upper\": Const(63),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Sum(Const(75613), Ref(\"e\")), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO"], "recipe_id": "bffe79", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO"], "num_lemmas": 1, "num_base_lemmas": -1, "generation_time": 0.005, "created_at": "2026-02-08T04:54:56.292799Z", "verification": {"verified": true, "answer": 12790, "timestamp": "2026-02-08T04:54:56.297932Z"}, "problem_hash": "4a5372", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "017bfb", "alias": "nt_min_phi_inverse_v1_784195855_2845", "problem": "Let $n$ be a positive integer. Define $k = 2$ and let $A$ be the set of all integers $n$ such that $n \\geq \\sum_{d \\mid \\gcd(17,19)} \\mu(d)$, $n \\leq 10$, and $\\phi(n) = k$. Let $m$ be the minimum element of $A$.\\\\\n\nLet $B$ be the set of all integers $t$ such that $22 \\leq t \\leq 7994$ and there exist positive integers $a \\leq 291$ and $b \\leq 490$ satisfying $t = 14a + 8b$. Let $c$ be the number of elements in $B$.\\\\\n\nCompute $c - m$.", "answer": 3966, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(10),\n \"k\": Const(2),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=17), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\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=291)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=490)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=7994)), 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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_negation_mod", "MOBIUS_COPRIME"], "recipe_id": "be1522", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T06:04:49.428538Z", "verification": {"verified": true, "answer": 3966, "timestamp": "2026-02-08T06:04:49.437359Z"}, "problem_hash": "47da6d", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}} -{"id": "36bd1f", "alias": "antilemma_cartesian_v1_1520064083_4344", "problem": "Compute the number of ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 101$. Subtract from this the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 29$ and $1 \\leq j \\leq 37$. Find the value of this difference.", "answer": 947, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(101)))), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:14:05.406295Z", "verification": {"verified": true, "answer": 947, "timestamp": "2026-02-08T06:14:05.408022Z"}, "problem_hash": "3f712d", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "e064a1", "alias": "antilemma_cartesian_v1_1125832087_1493", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 14$ and $1 \\le b \\le 18$. Let $c$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 84$ and $1 \\le b \\le 84$. Compute $c - x$.", "answer": 6804, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(18)))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(84)), right=IntegerRange(start=Const(1), end=Const(84)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:45:52.027910Z", "verification": {"verified": true, "answer": 6804, "timestamp": "2026-02-08T03:45:52.028698Z"}, "problem_hash": "de0c89", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "53dbf2", "alias": "antilemma_cartesian_v1_865884756_2506", "problem": "Let $ x $ be the number of ordered pairs $ (a, b) $ such that $ 1 \\leq a \\leq 40 $ and $ 1 \\leq b \\leq 41 $. Let $ c $ be the number of ordered pairs $ (a, b) $ such that $ 1 \\leq a \\leq 49 $ and $ 1 \\leq b \\leq 49 $. Compute $ c - x $.", "answer": 761, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(40)), right=IntegerRange(start=Const(1), end=Const(41)))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(49)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T16:48:00.494734Z", "verification": {"verified": true, "answer": 761, "timestamp": "2026-02-08T16:48:00.495941Z"}, "problem_hash": "3f2225", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}} -{"id": "b86382", "alias": "antilemma_cartesian_v1_865884756_791", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 28$ and $1 \\leq b \\leq 30$. Let $Q$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 37$ and $1 \\leq b \\leq 113$, minus $x$. Compute $Q$.", "answer": 3341, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(113)))), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T15:36:37.087284Z", "verification": {"verified": true, "answer": 3341, "timestamp": "2026-02-08T15:36:37.088954Z"}, "problem_hash": "e07ad1", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}} -{"id": "f43104", "alias": "antilemma_cartesian_v1_784195855_5668", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 35$. Let $Q$ be the difference between the number of ordered pairs $(a,b)$ with $1 \\leq a \\leq 24$, $1 \\leq b \\leq 37$, and $x$. Find the value of $Q$.", "answer": 293, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(35)))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(37)))), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T08:01:53.904416Z", "verification": {"verified": true, "answer": 293, "timestamp": "2026-02-08T08:01:53.905688Z"}, "problem_hash": "b9365b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}} -{"id": "8c02a5", "alias": "antilemma_cartesian_v1_1918700295_424", "problem": "Compute the value of $Q = (21 \\times 37) - (15 \\times 21)$. Find the value of $Q$.", "answer": 462, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:13:08.790526Z", "verification": {"verified": true, "answer": 462, "timestamp": "2026-02-08T03:13:08.792140Z"}, "problem_hash": "d6f7db", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "0edb56", "alias": "antilemma_cartesian_v1_784195855_5103", "problem": "Let $A$ be the Cartesian product of the sets $\\{1, 2, \\dots, 13\\}$ and $\\{1, 2, \\dots, 47\\}$. Let $B$ be the Cartesian product of the sets $\\{1, 2, \\dots, 16\\}$ and $\\{1, 2, \\dots, 32\\}$.\n\nLet $x$ be the number of elements in $A$, and let $y$ be the number of elements in $B$.\n\nCompute the remainder when $y - x$ is divided by $50596$.", "answer": 50497, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50596),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(32)))), 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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:40:24.595039Z", "verification": {"verified": true, "answer": 50497, "timestamp": "2026-02-08T07:40:24.596103Z"}, "problem_hash": "e56340", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "860762", "alias": "antilemma_cartesian_v1_677425708_2578", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 15$ and $1 \\le b \\le 43$. Compute the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 92$ and $1 \\le b \\le 92$, minus $x$.", "answer": 7819, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(92)), right=IntegerRange(start=Const(1), end=Const(92)))), Ref(\"x\")),\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_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:07:38.258615Z", "verification": {"verified": true, "answer": 7819, "timestamp": "2026-02-08T05:07:38.259780Z"}, "problem_hash": "ab0d45", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "9fee77", "alias": "nt_sum_phi_v1_1742523217_2092", "problem": "Let $p = 2$. Define $v = ( (p-1)! + 1 ) \\bmod p$. Let $a = 2$. Let $B$ be the set of all positive integers $t$ such that $12 \\leq t \\leq 6160$ and there exist positive integers $a_1$, $b_1$ with $1 \\leq a_1 \\leq 476$, $1 \\leq b_1 \\leq 540$, and $t = 5a_1 + 7b_1$. Let $b = |B|$. Let $c = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $U = 729c$. Let $\\Phi = \\sum_{n=1}^{U} \\phi(n)$, where $\\phi$ is Euler's totient function. Let $C$ be the set of all positive integers $t$ such that $7 \\leq t \\leq 7010$ and there exist positive integers $a_2$, $b_2$ with $1 \\leq a_2 \\leq 928$, $1 \\leq b_2 \\leq 1185$, and $t = 5a_2 + 2b_2$. Let $c' = |C|$. Compute $\\Phi^{2+v} + 9\\Phi + c'$, and find the remainder when this value is divided by $51415$.\n\nFind the value of this remainder.", "answer": 10906, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(2),\n \"p\": Const(2),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Const(2),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=476)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=540)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=6160)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(Const(729), Ref(\"c\")),\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=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=928)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1185)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=7010)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Sum(Ref(\"_n\"), Ref(\"v\"))), Mul(Ref(\"_m\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(51415)),\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_quadratic_mod", "LIN_FORM/MOBIUS_COPRIME", "WILSON"], "recipe_id": "c4b63b", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["ENDING_quadratic_mod", "LIN_FORM", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.083, "created_at": "2026-02-08T04:27:46.284761Z", "verification": {"verified": true, "answer": 10906, "timestamp": "2026-02-08T04:27:46.367559Z"}, "problem_hash": "61ca71", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "WILSON": "ok", "ENDING_quadratic_mod": "ok_later", "MOBIUS_COPRIME": "ok_later", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "3674dc", "alias": "antilemma_product_of_sums_v1_458359167_1305", "problem": "Let $m = 9$. Let $n$ be the smallest possible value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = m$.\n\nLet\n$$A = \\sum_{i=1}^{5} \\sum_{j=1}^{9} ij$$\nand\n$$B = \\sum_{k=\\varphi(2)}^{n} k,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $Q = A \\cdot B$.\n\nCompute $Q$.", "answer": 14175, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))), Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Ref(\"_n\"), expr=Var(\"k\"))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/PRODUCT_OF_SUMS/SUM_ARITHMETIC", "ONE_PHI_2"], "recipe_id": "f56ae8", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:32:33.706676Z", "verification": {"verified": true, "answer": 14175, "timestamp": "2026-02-08T04:32:33.708610Z"}, "problem_hash": "a2304d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "V3": "no", "V7": "no"}} -{"id": "7dc0ea", "alias": "nt_euler_phi_compute_v1_1520064083_1236", "problem": "Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 90$, $1 \\leq b \\leq 25$, $18 \\leq t \\leq 710$, and $t = 4a + 14b$. Let $n_1$ be the number of elements in $S$. Let $m = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function. Let $u = \\Omega(1)$, the number of prime factors of $1$ counted with multiplicity. Define $n = m \\cdot (77777 + u)$. Determine the value of $\\varphi(n)$.", "answer": 64800, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77777),\n \"n2\": Const(1),\n \"u\": 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=90)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=25)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=710)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"m\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Sum(Ref(\"_n\"), Ref(\"u\")), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "3a76be", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "LIOUVILLE_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:52:22.380322Z", "verification": {"verified": true, "answer": 64800, "timestamp": "2026-02-08T03:52:22.382966Z"}, "problem_hash": "3fae39", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "b64dca", "alias": "modular_mod_compute_v1_1353956133_58", "problem": "Compute the remainder when $-4356$ is divided by $45796$. Let this value be $r$. Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 103$, $1 \\leq j \\leq 147$, and $\\gcd(i, j) = \\phi(2)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $|S| \\cdot r$ is divided by $95408$.", "answer": 93056, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95408),\n \"a\": Const(-4356),\n \"m\": Const(45796),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(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(103)), right=IntegerRange(start=Const(1), end=Const(147))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_affine_mod", "ONE_PHI_2"], "recipe_id": "f1bbcb", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_affine_mod", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T11:17:10.924285Z", "verification": {"verified": true, "answer": 93056, "timestamp": "2026-02-08T11:17:10.925586Z"}, "problem_hash": "135347", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "L3c": "no", "LTE_DIFF": "no", "V7": "no"}} -{"id": "4befed", "alias": "modular_min_linear_v1_458359167_684", "problem": "Let $a = 21563$, $b = 13683$, and $m = 67548$. Let $t$ be the number of prime integers $n$ such that $2 \\leq n \\leq 3$. Determine the smallest integer $x$ such that $x \\geq \\phi(t)$, $x \\leq m$, and $ax \\equiv b \\pmod{m}$.", "answer": 50877, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(21563),\n \"b\": Const(13683),\n \"m\": Const(67548),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))))), 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": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/ONE_PHI_2"], "recipe_id": "ffbbb3", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ONE_PHI_2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 5.498, "created_at": "2026-02-08T03:29:33.015034Z", "verification": {"verified": true, "answer": 50877, "timestamp": "2026-02-08T03:29:38.512952Z"}, "problem_hash": "fc94e1", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "ONE_PHI_2": "ok_later", "K13": "no", "K5": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "965f9c", "alias": "diophantine_fbi2_min_v1_1440796553_553", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 12$. Let $P$ be the maximum value of $x \\cdot y$ over all such pairs. Let $d$ be a positive integer satisfying $2 \\leq d \\leq P$, such that $d$ divides $26$ and $\\frac{26}{d} \\geq 6$. Determine the smallest such $d$, and denote it by $r$. Let $c = 53824$. Compute the sum $$\\sum_{i=0}^{\\mathrm{NumDigits}(|r|)-1} \\left( \\mathrm{Digit}(|r|, i) \\cdot (i+1)^2 \\right) + c,$$ where $\\mathrm{Digit}(n, i)$ denotes the $i$-th digit of $n$ in base $10$ (starting from the units place at $i=0$), and $\\mathrm{NumDigits}(n)$ denotes the number of digits in $n$. Find the value of this sum.", "answer": 53826, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(26),\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(\"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(6))))),\n \"_c\": Const(53824),\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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/EULER_TOTIENT_SUM", "MOBIUS_SUM", "B1"], "recipe_id": "f2ea9c", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "MOBIUS_SUM", "V5"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T11:51:15.847265Z", "verification": {"verified": true, "answer": 53826, "timestamp": "2026-02-08T11:51:15.854833Z"}, "problem_hash": "25cc41", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_SUM": "ok", "V5": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}} -{"id": "461ea4", "alias": "nt_count_divisible_v1_677425708_2698", "problem": "Let $n = 2$, $u = 70000$, and $d = 27$. Define $r$ to be the number of positive integers $k$ such that $\\phi(n) \\leq k \\leq u$ and $k$ is divisible by $d$, where $\\phi$ denotes Euler's totient function. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 18$, and let $M$ be the maximum value of $xy$ over all such pairs. Compute the remainder when $M - r$ is divided by $98198$.", "answer": 95687, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(70000),\n \"divisor\": Const(27),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(18)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(98198)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_negation_mod", "ONE_PHI_2"], "recipe_id": "7da63d", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.239, "created_at": "2026-02-08T05:12:54.231700Z", "verification": {"verified": true, "answer": 95687, "timestamp": "2026-02-08T05:12:56.470264Z"}, "problem_hash": "7268e5", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "ONE_PHI_2": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "K18": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V3": "no"}} -{"id": "050cb2", "alias": "sequence_count_fib_divisible_v1_1248542787_151", "problem": "Let $N = 44944$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = N$. For each such pair, compute $x + y$, and let $u$ be the minimum value of $x + y$ over all such pairs. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $20$ divides the $n$-th Fibonacci number. Let $t$ be the number of positive integers $n$ such that $1 \\leq n \\leq 967$ and the sum of the decimal digits of $n$ is odd. Compute $t - r$.", "answer": 470, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44944),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(20),\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\"), Const(967)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\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": "L3B", "lemma_paths": ["L3B/ENDING_negation_mod", "B3"], "recipe_id": "1bc244", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.037, "created_at": "2026-02-08T02:58:22.703339Z", "verification": {"verified": true, "answer": 470, "timestamp": "2026-02-08T02:58:22.740156Z"}, "problem_hash": "d6ab41", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 470, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 5360}, "timestamp": "2026-02-09T00:52:01.467Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 470, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 3172}, "timestamp": "2026-02-09T13:37:56.266Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:04:44.471Z"}], "lemma_applicability": {"B3": "ok", "L3B": "ok", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "058985", "alias": "sequence_lucas_compute_v1_1742523217_1540", "problem": "Let $s$ be the largest integer $k$ such that $11^k$ divides $10^{2357947691} + 1^{2357947691}$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s$. Let $M$ be the maximum value of $xy$ over all $(x, y) \\in P$. Let $n$ be the largest prime number less than or equal to $M$. Compute the remainder when $44121 \\cdot L_n$ is divided by $94735$, where $L_n$ denotes the $n$-th Lucas number.", "answer": 52954, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(94735),\n \"_n\": Const(44121),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MaxKDivides(target=Sum(Pow(Const(10), Const(2357947691)), Pow(Const(1), Const(2357947691))), base=Const(11))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/B1/MAX_PRIME_BELOW"], "recipe_id": "01004c", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LTE_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:02:32.341751Z", "verification": {"verified": true, "answer": 52954, "timestamp": "2026-02-08T04:02:32.346726Z"}, "problem_hash": "f30990", "license": "CC BY 4.0", "lemma_applicability": {"LTE_SUM": "ok", "B1": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "fef1a0", "alias": "nt_num_divisors_compute_v1_153355830_2649", "problem": "Let $n = 81225$. Find the number of positive divisors of $n$.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(81225),\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": ["LIN_FORM/VIETA_SUM/MAX_PRIME_BELOW"], "recipe_id": "33ed20", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T07:15:27.255460Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T07:15:27.272573Z"}, "problem_hash": "b24a00", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "VIETA_SUM": "ok_later", "DS2": "no", "K15": "no", "K18": "no", "MAX_VAL": "no", "MOD_MUL": "no"}} -{"id": "5e1e9e", "alias": "nt_sum_divisors_compute_v1_1440796553_569", "problem": "Let $n_2 = 79$. Define $m = \\omega(n_2)$, the number of distinct prime factors of $n_2$. Let $p = 71$ and let $q$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 367$. Define $r = 7m$. Let $n_1 = p \\cdot q \\cdot r$. Define $e = \\tau(n_1) \\bmod 2$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Let $n = 44521 + e$. Compute the sum of all positive divisors of $n$.", "answer": 44733, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(79),\n \"m\": SmallOmega(n=Ref(name='n2')),\n \"p\": Const(71),\n \"q\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(367)), IsPrime(Var(\"n\"))))),\n \"r\": Mul(Const(7), Ref(\"m\")),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Const(44521), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/DIVISOR_PARITY", "OMEGA_ONE"], "recipe_id": "34a973", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "DIVISOR_PARITY", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T11:51:23.732168Z", "verification": {"verified": true, "answer": 44733, "timestamp": "2026-02-08T11:51:23.734901Z"}, "problem_hash": "94f583", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "OMEGA_ONE": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "ea81de", "alias": "comb_factorial_compute_v1_1918700295_3546", "problem": "Let $n$ be the largest prime number less than or equal to 9 that is at least the number of positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all integers $t$ such that $18 \\leq t \\leq 12186$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 1517$, and $t = 10a + 8b$. Compute the remainder when $|S| \\cdot n!$ is divided by 54082.", "answer": 51590, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54082),\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=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\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\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=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1517)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=12186)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), 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/MAX_PRIME_BELOW", "LIN_FORM/ENDING_affine_mod"], "recipe_id": "a23446", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_affine_mod", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T08:41:59.851837Z", "verification": {"verified": true, "answer": 51590, "timestamp": "2026-02-08T08:41:59.855793Z"}, "problem_hash": "a56d5a", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "ENDING_affine_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K17": "no", "K18": "no", "V1": "no"}} -{"id": "903c18", "alias": "nt_count_gcd_equals_v1_1918700295_2195", "problem": "Let $g = 17$, $m = 10$, and $n_1 = 6$. Define $a = g \\cdot m$ and $b = g \\cdot n_1$. Let $u = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $n = 378$ and $f = \\sum_{d \\mid n} \\mu(d)$. Define $\\text{upper} = 29584 + f$. Let $k$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 18$ and $1 \\leq j \\leq 28$ such that $\\gcd(i,j) = 1$, plus $u$. Let $d = 1$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\gcd(n, k) = d$.", "answer": 29490, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29584),\n \"g\": Const(17),\n \"m\": Const(10),\n \"n1\": Const(6),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(378),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Ref(\"_n\"), Ref(\"f\")),\n \"k\": Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(28))))), Ref(\"u\")),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "b769ac", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 2.325, "created_at": "2026-02-08T07:44:50.935794Z", "verification": {"verified": true, "answer": 29490, "timestamp": "2026-02-08T07:44:53.260433Z"}, "problem_hash": "f64cd6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_SUM": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K13": "no", "K14": "no", "K16": "no", "MOD_MUL": "no"}} -{"id": "f4d018", "alias": "nt_count_divisible_and_v1_1353956133_62", "problem": "Let $n = 270$. Define $v = \\sum_{d \\mid n} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $a = 119 + v$. Let $b$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 118$ such that $\\gcd(i,j) = 1$. Define $m = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$. Let $d_1 = 6$ and $d_2 = 8m$. Determine the number of positive integers $n$ such that $n \\le 18384$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Compute the remainder when $37345$ times this count is divided by $61284$.", "answer": 47926, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(270),\n \"v\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Sum(Const(119), Ref(\"v\")),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(118))))),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(18384),\n \"d1\": Const(6),\n \"d2\": Mul(Const(8), Ref(\"m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(37345),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61284)),\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/MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "b769ac", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 4.704, "created_at": "2026-02-08T11:17:10.947008Z", "verification": {"verified": true, "answer": 47926, "timestamp": "2026-02-08T11:17:15.650683Z"}, "problem_hash": "ec4020", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_SUM": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "2e2d9d", "alias": "nt_count_coprime_v1_784195855_1821", "problem": "Let $m = 3$ and let $n = \\sum_{k=1}^{m} k$. Let $k = \\sum_{j=1}^{n} j$ and let $u = 78400$. Compute the number of positive integers $n$ such that $1 \\le n \\le u$ and $\\gcd(n, k) = 1$.", "answer": 44800, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"upper\": Const(78400),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 6.076, "created_at": "2026-02-08T05:19:41.731790Z", "verification": {"verified": true, "answer": 44800, "timestamp": "2026-02-08T05:19:47.807403Z"}, "problem_hash": "3a5bde", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K13": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}} -{"id": "664d79", "alias": "modular_mod_compute_v1_677425708_3664", "problem": "Let $T = \\sum_{k=1}^{10} k$, and let $a = \\sum_{k=1}^{T} k$. Let $m = 4489$. Compute the remainder when $a$ is divided by $m$, then compute the remainder when $50457$ times that result is divided by $94421$.", "answer": 89718, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(10), expr=Var(\"k\")),\n \"a\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"m\": Const(4489),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": Const(50457),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(94421)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:53:10.386517Z", "verification": {"verified": true, "answer": 89718, "timestamp": "2026-02-08T05:53:10.387776Z"}, "problem_hash": "05db21", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "f88365", "alias": "nt_count_divisible_and_v1_124444284_253", "problem": "Let $d_1 = \\sum_{k=1}^{2} k$ and $d_2 = 10$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 74520$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Let $k$ be the number of elements in $S$. Compute the smallest positive integer $m$ such that the $m$-th Fibonacci number is divisible by $k + 2$.", "answer": 570, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(74520),\n \"d1\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(2), expr=Var(\"k\")), expr=Var(\"k\")),\n \"d2\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"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/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 6.017, "created_at": "2026-02-08T03:06:43.370725Z", "verification": {"verified": true, "answer": 570, "timestamp": "2026-02-08T03:06:49.387696Z"}, "problem_hash": "fbda91", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2469}, "timestamp": "2026-02-09T15:11:50.046Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2615}, "timestamp": "2026-02-09T00:10:55.666Z"}], "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K13": "no", "K15": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "786f3c", "alias": "sequence_lucas_compute_v1_124444284_210", "problem": "Let $s = \\sum_{k=1}^{3} k$, let $n = \\sum_{k=1}^{s} k$, and let $L_n$ denote the $n$-th Lucas number. Compute the remainder when $95455 \\cdot L_n$ is divided by $55329$.", "answer": 34226, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(55329),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": Const(95455),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:04:42.252574Z", "verification": {"verified": true, "answer": 34226, "timestamp": "2026-02-08T03:04:42.253784Z"}, "problem_hash": "a9c628", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34226, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 2885}, "timestamp": "2026-02-09T14:46:26.937Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34226, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 1930}, "timestamp": "2026-02-08T23:52:21.943Z"}], "lemma_applicability": {"SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "3564b1", "alias": "nt_min_crt_v1_865884756_2389", "problem": "Let $a = 0$, $b = 10$, $m = 5$, and $k = 11$. Let $u = \\sum_{k_2=1}^4 k_2$ and define $s = \\sum_{k_1=1}^u k_1$. Let $r$ be the smallest positive integer $n$ such that $n \\leq s$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Compute the remainder when $91661 \\cdot r$ is divided by $87980$.\n\nFind the value of this expression.", "answer": 36810, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87980),\n \"m\": Const(5),\n \"k\": Const(11),\n \"a\": Const(0),\n \"b\": Const(10),\n \"upper\": Summation(var=\"k1\", start=Const(1), end=Summation(var=\"k2\", start=Const(1), end=Const(4), expr=Var(\"k2\")), expr=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 \"Q\": Mod(value=Mul(Const(91661), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T16:43:41.327248Z", "verification": {"verified": true, "answer": 36810, "timestamp": "2026-02-08T16:43:41.334831Z"}, "problem_hash": "4673e3", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "e3f533", "alias": "nt_min_crt_v1_677425708_2886", "problem": "Let $a = 1$, $b = 7$, $m = 5$, and $k = 11$. Define\n$$\nS = \\sum_{i=1}^{T} i,\n$$\nwhere $T = \\sum_{j=1}^{4} j$. Let $n$ be the smallest positive integer such that $n \\leq S$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Compute $n$.", "answer": 51, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"m\": Const(5),\n \"k\": Const(11),\n \"a\": Const(1),\n \"b\": Const(7),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")), expr=Var(\"k\")),\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": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_min_crt_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.032, "created_at": "2026-02-08T05:21:46.860898Z", "verification": {"verified": true, "answer": 51, "timestamp": "2026-02-08T05:21:46.892483Z"}, "problem_hash": "40a3cc", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "288b7a", "alias": "sequence_lucas_compute_v1_677425708_1081", "problem": "Let $a_k = k$ for all positive integers $k$. Define $n = \\sum_{k=1}^{\\sum_{k=1}^{3} k} a_k$. Let $L_n$ denote the $n$-th Lucas number, where $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$. Let $c = 39340$. Compute the value of $c - L_n$.", "answer": 14864, "graph": "graphs = [\n Graph(\n let={\n \"n\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")), expr=Var(\"k\")),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": Const(39340),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:59:47.364167Z", "verification": {"verified": true, "answer": 14864, "timestamp": "2026-02-08T03:59:47.365105Z"}, "problem_hash": "7cd141", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14864, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 791}, "timestamp": "2026-02-09T15:30:28.501Z"}], "lemma_applicability": {"SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "a1f5a8", "alias": "nt_lcm_compute_v1_865884756_1510", "problem": "Let $a = 782$ and let $b = \\sum_{k=1}^{45} k$. Let $L$ be the least common multiple of $a$ and $b$. Compute the remainder when $25600 - L$ is divided by $54159$.", "answer": 44569, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54159),\n \"a\": Const(782),\n \"b\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k1\", start=Const(1), end=Const(9), expr=Var(\"k1\")), expr=Var(\"k\")),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sub(Const(25600), 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/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T16:05:28.970371Z", "verification": {"verified": true, "answer": 44569, "timestamp": "2026-02-08T16:05:28.974874Z"}, "problem_hash": "f9c9da", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "LTE_SUM": "no", "V1": "no"}} -{"id": "c0e6fd", "alias": "nt_sum_divisors_mod_v1_1520064083_4818", "problem": "Let $ n = \\sum_{k=1}^{\\sum_{k=1}^{5} k} k $. Let $ \\sigma $ be the sum of all positive divisors of $ n $. Compute the remainder when $ \\sigma $ is divided by $ 10529 $.", "answer": 360, "graph": "graphs = [\n Graph(\n let={\n \"n\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")), expr=Var(\"k\")),\n \"M\": Const(10529),\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_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T06:26:40.494630Z", "verification": {"verified": true, "answer": 360, "timestamp": "2026-02-08T06:26:40.504703Z"}, "problem_hash": "969e95", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "K14": "no"}} -{"id": "03dd22", "alias": "comb_catalan_compute_v1_1520064083_577", "problem": "Let $ n = 11 $. Define $ C_n $ to be the $ n $-th Catalan number. Let $ D $ be the number of decimal digits of $ C_n $. Compute the sum\n$$\n\\sum_{i=0}^{D - \\binom{16}{16}} \\left( \\text{the } i\\text{-th digit of } C_n \\right) \\cdot (i + 1)^2.\n$$\nLet $ S $ be the set of all ordered pairs $ (i, j) $ of integers with $ 1 \\leq i \\leq 14 $ and $ 1 \\leq j \\leq 14 $ such that $ i + j = 14 $. Compute the number of elements in $ S $. Multiply the sum above by this count. Find the value of this product.", "answer": 367, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Binom(n=Const(16), k=Const(16))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), 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(14)), right=IntegerRange(start=Const(1), end=Const(14)))))),\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_digits_weighted_mod", "ONE_BINOM_N"], "recipe_id": "56cdf8", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_digits_weighted_mod", "ONE_BINOM_N"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T03:29:06.248618Z", "verification": {"verified": true, "answer": 367, "timestamp": "2026-02-08T03:29:06.259485Z"}, "problem_hash": "620f8a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_N": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "234fd1", "alias": "antilemma_v1_legendre_784195855_4488", "problem": "Let $\\mathcal{T}$ be the set of all integers $t$ such that $5 \\leq t \\leq 19$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 3$, and $t = 2a + 3b$. Let $m = 2$ and let $N$ be the number of elements in $\\mathcal{T}$. Let $\\mathcal{P}$ be the set of all prime numbers $n$ such that $m \\leq n \\leq N$. Let $p$ be the largest element of $\\mathcal{P}$. Determine the largest integer $k$ such that $p^k$ divides $75114!$. Compute this value of $k$.", "answer": 6258, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(75114),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=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=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=5)), Leq(left=Var(name='t'), right=Const(value=19)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "757adb", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:08:29.973921Z", "verification": {"verified": true, "answer": 6258, "timestamp": "2026-02-08T07:08:29.975465Z"}, "problem_hash": "b57158", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "K13": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "cc3ce0", "alias": "algebra_quadratic_discriminant_v1_1456120455_51", "problem": "Let $m = 2$ and $n = 2$. 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 $b$ be the largest prime number $p$ satisfying $m \\leq p \\leq \\max(P)$. Let $a = -5$ and $c = -7$. Compute $b^n - 4ac$, and denote this value by $\\text{result}$. Determine the value of $\\sum_{k=1}^{|\\text{result}|} \\phi(k)$, where $\\phi$ is Euler's totient function.", "answer": 2552, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"a\": Const(-5),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"c\": Const(-7),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Summation(var=\"n\", start=EulerPhi(n=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": "B1", "lemma_paths": ["B1/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "b5edc4", "seed_template_id": "algebra_quadratic_discriminant_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.006, "created_at": "2026-02-08T02:51:43.450866Z", "verification": {"verified": true, "answer": 2552, "timestamp": "2026-02-08T02:51:43.456628Z"}, "problem_hash": "267877", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2552, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 4011}, "timestamp": "2026-02-08T19:55:23.039Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2552, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 4261}, "timestamp": "2026-02-09T20:48:47.114Z"}], "lemma_applicability": {"B1": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "4c538e", "alias": "antilemma_sum_equals_v1_151522320_1607", "problem": "Let $n$ be the number of integers $t$ such that $40 \\leq t \\leq 223$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 12$, and $t = 21a + 9b + 10$.\n\nLet $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i \\leq 49$, $j \\leq 49$, and $i + j = n$.\n\nCompute\n$$\n\\sum_{k=\\binom{4}{0}}^{|x|} \\phi(k),\n$$\nwhere $\\phi$ denotes Euler's totient function.", "answer": 754, "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=12)), Geq(left=Var(name='t'), right=Const(value=40)), Leq(left=Var(name='t'), right=Const(value=223)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=9), Var(name='b')), Const(value=10)))))))),\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(49)), right=IntegerRange(start=Const(1), end=Const(49))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(4), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "cb4cd3", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_0"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T04:08:08.236683Z", "verification": {"verified": true, "answer": 754, "timestamp": "2026-02-08T04:08:08.247914Z"}, "problem_hash": "2eaba5", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "0bb48f", "alias": "comb_sum_binomial_mod_v1_865884756_1902", "problem": "Let $c = 76$. Define $n$ to be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = c$ and $1 \\leq i, j \\leq 74$. Let $n_1$ be the number of ordered pairs $(i_1, j_1)$ of positive integers such that $i_1 + j_1 = 6$ and $1 \\leq i_1, j_1 \\leq 6$. Define\n$$\nh = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $u = 7$, and define $n' = u + 1 + h$. Now define\n$$\nf = \\sum_{k_1=0}^{n'} (-1)^{k_1} \\binom{n'}{k_1}.\n$$\nLet $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 852$. Let $m = |S|$. Define\n$$\n\\text{sum} = \\sum_{k_2 = n}^{423} \\binom{m}{k_2}.\n$$\nLet $M = 10909 + f$. Compute the remainder when $\\text{sum}$ is divided by $M$.", "answer": 2941, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(76),\n \"_m\": Const(10909),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(74)), right=IntegerRange(start=Const(1), end=Const(74))))),\n \"n1\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6))))),\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 \"u\": Const(7),\n \"n\": Sum(Ref(\"u\"), Const(1), Ref(\"h\")),\n \"f\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n\"), k=Var(\"k1\")))),\n \"sum\": Summation(var=\"k2\", start=Ref(\"_n\"), end=Const(423), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(852))))), k=Var(\"k2\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Sum(Ref(\"_m\"), Ref(\"f\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS/COMB1"], "recipe_id": "b2a7e4", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.055, "created_at": "2026-02-08T16:23:16.846946Z", "verification": {"verified": true, "answer": 2941, "timestamp": "2026-02-08T16:23:16.901959Z"}, "problem_hash": "dd466c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "ed34c4", "alias": "algebra_poly_eval_v1_1248542787_2", "problem": "Let $a = \\sum_{k=1}^{4} k$. Let $D$ be the set of integers $d \\geq 2$ that divide the number of positive integers $n \\leq 35574$ for which $8$ divides the $n$-th Fibonacci number. Let $m$ be the smallest element of $D$. Define $r = m \\cdot a^4 - 10a^3 + 3a^2 - a - 1$. Find the remainder when $51984 - r$ is divided by $90547$.", "answer": 82242, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(2),\n \"_n\": Const(90547),\n \"a\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"result\": Sum(Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(35574)), Divides(divisor=Const(8), dividend=Fibonacci(arg=Var(name='n')))))))))), Pow(Ref(\"a\"), Ref(\"_c\"))), Mul(Const(-10), Pow(Ref(\"a\"), Const(3))), Mul(Const(3), Pow(Ref(\"a\"), Const(2))), Mul(Const(-1), Ref(\"a\")), Const(-1)),\n \"Q\": Mod(value=Sub(Const(51984), 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", "SUM_ARITHMETIC"], "recipe_id": "4c139c", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T02:52:15.823543Z", "verification": {"verified": true, "answer": 82242, "timestamp": "2026-02-08T02:52:15.829184Z"}, "problem_hash": "50ca32", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 82242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 3207}, "timestamp": "2026-02-08T19:54:45.540Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 82242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 2543}, "timestamp": "2026-02-08T21:06:39.022Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:17:51.863Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "SUM_ARITHMETIC": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "K17": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "de6cc6", "alias": "nt_sum_divisors_mod_v1_1520064083_618", "problem": "Let $m_0=2$. Let $N$ be the number of ordered pairs $(a,b)$ of integers such that $1\\le a\\le87$ and $1\\le b\\le87$.\n\nLet $n=15120$, and let $\\sigma(n)$ denote the sum of the positive divisors of $n$. Let $M=11699$, and define $R$ to be the remainder when $\\sigma(n)$ is divided by $M$.\n\nLet $c_0$ be the greatest integer $d$ such that $1\\le d\\le N$ and $d$ divides $57395727$.\n\nWrite $|R|$ in base $10$. For each integer $i$ with $0\\le i\\le D-1$, where $D$ is the number of decimal digits of $|R|$, let $d_i$ denote the $i$-th decimal digit of $|R|$, where $d_0$ is the units digit, $d_1$ is the tens digit, and so on.\n\nLet\n$$s=\\sum_{d\\mid \\gcd(4,9)}\\mu(d),$$\nwhere $\\mu$ denotes the Möbius function, and define\n$$Q=\\sum_{i=0}^{D-1} d_i\\,(i+s)^{m_0}+c_0.$$\n\nCompute $Q$.", "answer": 7598, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(87)), right=IntegerRange(start=Const(1), end=Const(87)))),\n \"n\": Const(15120),\n \"M\": Const(11699),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\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(57395727))))),\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=4), b=Const(value=9)), 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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/MAX_DIVISOR/ENDING_digits_weighted_mod", "MOBIUS_COPRIME"], "recipe_id": "097130", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_digits_weighted_mod", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:29:51.829453Z", "verification": {"verified": true, "answer": 7598, "timestamp": "2026-02-08T03:29:51.834254Z"}, "problem_hash": "54094b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok", "ENDING_digits_weighted_mod": "ok_later", "MAX_DIVISOR": "ok_later", "DS2": "no", "K13": "no", "LTE_DIFF_P2": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "66c64b", "alias": "nt_sum_phi_v1_151522320_954", "problem": "Let $t$ be the greatest integer $d$ such that $1 \\le d \\le 52$ and $d$ divides $3068$. Let $n_1=t^2$, and let $h$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $n=31$, and let $w=\\mu(n)^2$, where $\\mu$ denotes the Möbius function.\n\nLet $U$ be the sum of all integers $m$ such that $1 \\le m \\le 222$ and $m\\equiv 0 \\pmod{37}$. Define\n$$\\text{upper}=U\\cdot h\\cdot w.$$\n\nLet $R$ be the sum of $\\varphi(k)$ over all integers $k$ such that $1 \\le k \\le \\text{upper}$, where $\\varphi$ denotes Euler's totient function.\n\nLet $Q$ be the remainder when $45261\\cdot R$ is divided by $93089$.\n\nFind the value of $Q$.", "answer": 41834, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93089),\n \"t\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(52)), Divides(divisor=Var(\"d\"), dividend=Const(3068))))),\n \"n1\": Pow(Ref(\"t\"), Const(2)),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(31),\n \"w\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(222)), Eq(Mod(value=Var(\"n\"), modulus=Const(37)), Const(0))))), Ref(\"h\"), Ref(\"w\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(45261),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/DIVISOR_PARITY/MOBIUS_SQUAREFREE", "MAX_DIVISOR/DIVISOR_PARITY"], "recipe_id": "5a053f", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_DIVISOR", "MOBIUS_SQUAREFREE", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.068, "created_at": "2026-02-08T03:41:12.411234Z", "verification": {"verified": true, "answer": 41834, "timestamp": "2026-02-08T03:41:12.479207Z"}, "problem_hash": "d8c53f", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_DIVISIBLE": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "be2f18", "alias": "modular_mod_compute_v1_1520064083_2524", "problem": "Let $a = 4761$ and $m = 7560$. Define $r$ to be the remainder when $a$ is divided by $m$. Let $k$ be the smallest positive integer such that\n$$\n2^k \\equiv 1 \\pmod{2|r| + 3}.\n$$\nCompute the value of $k$.", "answer": 140, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(4761),\n \"m\": Const(7560),\n \"result\": Mod(value=Ref(\"a\"), 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": "C3", "lemma_paths": ["C3/C3"], "recipe_id": "c93f43", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3"], "num_lemmas": 1, "num_base_lemmas": 1, "generation_time": 0.018, "created_at": "2026-02-08T04:50:30.503984Z", "verification": {"verified": true, "answer": 140, "timestamp": "2026-02-08T04:50:30.522199Z"}, "problem_hash": "038efa", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "K16": "no", "K5": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}} -{"id": "bf86a3", "alias": "antilemma_product_of_sums_v1_151522320_1848", "problem": "Let $S_1$ be the sum of $k$ over all ordered pairs $(k, j)$ with $1 \\leq k \\leq 6$ and $1 \\leq j \\leq 10$. Let $S_2 = \\sum_{k=1}^{16} k$, and let $x = S_1 \\cdot S_2$. Let $c$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 19583$. Compute the remainder when $x^2 + \\left(\\min\\{x + y \\mid x, y \\text{ are positive integers and } xy = 256\\}\\right) \\cdot x + c$ is divided by 68704.", "answer": 42702, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(16),\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(10)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(19583)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), 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(256)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"x\")), Ref(\"_c\")), modulus=Const(68704)),\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_quadratic_mod", "B3/ENDING_quadratic_mod", "PRODUCT_OF_SUMS"], "recipe_id": "428075", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "ENDING_quadratic_mod", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T04:26:16.171456Z", "verification": {"verified": true, "answer": 42702, "timestamp": "2026-02-08T04:26:16.176737Z"}, "problem_hash": "fb7a61", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_quadratic_mod": "ok_later", "K5": "no", "L3c": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "873a0b", "alias": "antilemma_k2_v1_260342960_166", "problem": "Let $m$ be the value of\n$$m = \\sum_{d\\mid 226} \\varphi(d),$$\nwhere $\\varphi$ denotes Euler's totient function. Let $n$ be given by\n$$n = \\sum_{d\\mid 226} \\varphi(d).$$\nDefine\n$$x = \\sum_{k=1}^{n} \\varphi(k)\\left\\lfloor \\frac{m}{k} \\right\\rfloor.$$\nLet $c$ be the sum of all integers $x$ such that\n$$x^2 - 2025x - 196974 = 0.$$\nLet\n$$Q \\equiv c - x \\pmod{59798},$$\nwith $0 \\le Q < 59798$.\n\nFind the remainder when $c - x$ is divided by $59798$, that is, compute $Q$.", "answer": 36172, "graph": "graphs = [\n Graph(\n let={\n \"_e\": Const(226),\n \"_d\": Const(226),\n \"_m\": SumOverDivisors(n=Ref(name='_e'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_n\": SumOverDivisors(n=Ref(name='_d'), 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 \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2025), Var(\"x\")), Const(-196974)), Const(0)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(59798)),\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_negation_mod", "K3/VIETA_SUM/K2", "K3/K2", "K2"], "recipe_id": "215f58", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T11:16:57.944343Z", "verification": {"verified": true, "answer": 36172, "timestamp": "2026-02-08T11:16:57.949198Z"}, "problem_hash": "89f848", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:32:29.795Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 36172, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 534}, "timestamp": "2026-02-09T08:05:58.404Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36172, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 1350}, "timestamp": "2026-02-09T18:09:08.709Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:32:16.908Z"}], "lemma_applicability": {"K2": "ok", "K3": "ok", "VIETA_SUM": "ok", "ENDING_negation_mod": "ok_later", "K5": "no", "L3b": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": 0.7, "mid": 4.15, "hi": 7.47}} -{"id": "67bc65", "alias": "modular_sum_quadratic_residues_v1_677425708_792", "problem": "Let $p = 557$. Define $r = \\frac{p(p-1)}{4}$. Compute the remainder when $729 - r$ is divided by $57907$.", "answer": 39120, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(557),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Sub(Const(729), Ref(\"result\")), modulus=Const(57907)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/V5/ENDING_negation_mod"], "recipe_id": "3a6f9c", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T03:44:12.280229Z", "verification": {"verified": true, "answer": 39120, "timestamp": "2026-02-08T03:44:12.297328Z"}, "problem_hash": "e94564", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39120, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 709}, "timestamp": "2026-02-09T12:24:12.781Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "V5": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "40d55e", "alias": "antilemma_cartesian_v1_784195855_6114", "problem": "Let $A$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers such that $x_1$ is odd, $x_2$ is odd, and $x_1 + x_2 = 4$. Let $c$ be the number of elements in $A$. Let $x$ be the number of ordered pairs $(i, j)$ where $i$ is an integer with $1 \\leq i \\leq 28$ and $j$ is an integer with $1 \\leq j \\leq 41$. Compute the value of $x^2 + 5x + c$, and find the remainder when this value is divided by 85202.", "answer": 45616, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(41)))),\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(\"_n\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(5), Ref(\"x\")), Ref(\"_c\")), modulus=Const(85202)),\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_CARTESIAN"], "recipe_id": "217b64", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T08:20:41.155371Z", "verification": {"verified": true, "answer": 45616, "timestamp": "2026-02-08T08:20:41.156434Z"}, "problem_hash": "1eae4a", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "7e04ea", "alias": "antilemma_cartesian_v1_1978505735_589", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer satisfying $1 \\leq a \\leq 25$ and $b$ is an integer satisfying $1 \\leq b \\leq 28$. Let $S$ be the set of all ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 10368$. Compute the remainder when $x^2 + 11x + |S|$ is divided by $99454$.", "answer": 5614, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10368),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(11), 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\")), Ref(\"_n\")))))), modulus=Const(99454)),\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_CARTESIAN"], "recipe_id": "217b64", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:28:14.049219Z", "verification": {"verified": true, "answer": 5614, "timestamp": "2026-02-08T15:28:14.052553Z"}, "problem_hash": "0c1ccd", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "2fa9b3", "alias": "nt_min_coprime_above_v1_1520064083_2099", "problem": "Let $A$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le14$, $1\\le b\\le102$, $11\\le t\\le506$, and\n$$t=7a+4b.$$\n\nLet $M=A$.\n\nLet $B$ be the number of integers $n$ with $1\\le n\\le25$ such that the sum of the binary digits of $n$ is odd. Let\n$$C=\\sum_{d\\mid\\gcd(11,B)}\\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $D=\\varphi(C)$, where $\\varphi$ is Euler's totient function.\n\nConsider all integers $n$ with $59536 p$ such that $pq = 6$ and $\\gcd(p, q) = 1$. Let $a = |P|$, and let $\\varphi(a)$ denote Euler's totient function evaluated at $a$. Define $T$ to be the set of all integers $n_1$ such that $\\varphi(a) \\leq n_1 \\leq u$. Compute the sum of the number of positive divisors of $n_1$ as $n_1$ ranges over all elements of $T$.", "answer": 68799, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77017),\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), 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=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(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "COUNT_PRIMES"], "recipe_id": "769d08", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.357, "created_at": "2026-02-08T15:15:13.795354Z", "verification": {"verified": true, "answer": 68799, "timestamp": "2026-02-08T15:15:14.152315Z"}, "problem_hash": "5eccaa", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "ONE_PHI_2": "ok_later", "K14": "no", "K15": "no", "K16": "no", "MAX_VAL": "no", "V1": "no"}} -{"id": "e05fb6", "alias": "antilemma_v8_lucas_1116507919_12", "problem": "Let $m$ be the number of integers $n$ with $1\\le n\\le 56$ such that the sum of the decimal digits of $n$ is odd.\n\nLet\n$$L=\\sum_{d\\mid m}\\mu(d).$$\n\nLet $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=24,\\quad \\gcd(p,q)=1,\\quad p n$ or $k < 0$. Compute the remainder when $n_0 \\cdot \\binom{n}{k}$ is divided by $94409$.", "answer": 43893, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(95758),\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=4)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-7), Var(\"x\")), Const(-690)), SumOverDivisors(n=GCD(a=Const(value=99), b=Const(value=33)), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(94409)),\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", "VIETA_SUM", "LIN_FORM"], "recipe_id": "64e189", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:42:02.339226Z", "verification": {"verified": true, "answer": 43893, "timestamp": "2026-02-08T13:42:02.342444Z"}, "problem_hash": "24cd7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 43893, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 1724}, "timestamp": "2026-02-09T17:06:31.531Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "VIETA_SUM": "ok", "C2": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "4732a6", "alias": "algebra_quadratic_discriminant_v1_1742523217_1293", "problem": "Let $b$ be the largest integer $k$ such that $\\left(\\max\\{n \\mid 2 \\leq n \\leq 17,\\ n\\ \\text{is prime}\\}\\right)^k$ divides $34271896307633^2$. Let $c$ 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$. Compute $b^c - 2 \\cdot 4 \\cdot 36$.", "answer": 196, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"a\": Const(2),\n \"b\": MaxKDivides(target=Pow(Const(34271896307633), Ref(\"_m\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(17)), IsPrime(Var(\"n\")))))),\n \"c\": Const(36),\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=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')))))))), 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": "K13", "lemma_paths": ["MAX_PRIME_BELOW/K14", "COPRIME_PAIRS"], "recipe_id": "5b47fb", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.186, "created_at": "2026-02-08T03:35:51.155551Z", "verification": {"verified": true, "answer": 196, "timestamp": "2026-02-08T03:35:51.341610Z"}, "problem_hash": "d4f1d4", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "LTE_SUM": "no", "V5": "no"}} -{"id": "7cbc66", "alias": "nt_count_coprime_and_v1_1520064083_3595", "problem": "Let $\\mu(n)$ denote the M\\\"obius function. Define $w = \\sum_{d \\mid 1} \\mu(d)$. Let $p$ be the largest integer such that $3^p \\leq 3494885$. Compute $v = ( (p-1)! + w ) \\bmod p$. Let $r$ be the number of positive integers $n \\leq 13833$ such that $\\gcd(n, 4) = 1$ and $\\gcd(n, 9) = 1$. Compute the value of $11^r \\bmod 99991$, and add $42436$ and $v$ to it. Find the final sum.", "answer": 49259, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(3494885)))),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Mul(Const(1), Ref(\"w\"))), modulus=Ref(\"p\")),\n \"upper\": Const(13833),\n \"k1\": Const(4),\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\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(42436), Ref(\"v\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/WILSON", "MOBIUS_SUM"], "recipe_id": "6e4d95", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_VAL", "MOBIUS_SUM", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.882, "created_at": "2026-02-08T05:46:17.185671Z", "verification": {"verified": true, "answer": 49259, "timestamp": "2026-02-08T05:46:19.067986Z"}, "problem_hash": "837d40", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_SUM": "ok", "WILSON": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K15": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "c3ad06", "alias": "nt_sum_divisors_mod_v1_1248542787_359", "problem": "Let $m = 80923$ and $n = 33$. Let $k$ be the number of positive integers $k$ such that $k$ is divisible by $n$ and $1 \\leq k \\leq \\pi(m)$, where $\\pi(m)$ is the number of prime numbers less than or equal to $m$.\n\nLet $\\sigma$ be the sum of all positive divisors of $k$. Define $M = 11261$ and let $\\text{result} = \\sigma \\bmod M$.\n\nCompute the value of $\\text{result}$.", "answer": 744, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80923),\n \"_n\": Const(33),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"M\": Const(11261),\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": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/C2"], "recipe_id": "14681d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:05:00.880873Z", "verification": {"verified": true, "answer": 744, "timestamp": "2026-02-08T03:05:00.886802Z"}, "problem_hash": "8267f1", "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": 238, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:18:04.367Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 744, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 2556}, "timestamp": "2026-02-09T15:29:30.344Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:07:02.981Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "2a1fdc", "alias": "algebra_poly_eval_v1_1742523217_4349", "problem": "Let $m = 3$ and let $n$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 1399$. Let $k = 9$. Compute\n$$\n\\left( \\sum_{\\substack{j=1 \\\\ n \\mid j}}^{1998} 1 \\right) \\cdot k^m + 6k^2 - 4k - 4.\n$$", "answer": 7007, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1399)), IsPrime(Var(\"n\"))))),\n \"k\": Const(9),\n \"result\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1998)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), Pow(Ref(\"k\"), Ref(\"_m\"))), Mul(Const(6), Pow(Ref(\"k\"), Const(2))), Mul(Const(-4), Ref(\"k\")), Const(-4)),\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/C2"], "recipe_id": "14681d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T07:12:58.188964Z", "verification": {"verified": true, "answer": 7007, "timestamp": "2026-02-08T07:12:58.194030Z"}, "problem_hash": "c62d22", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "C2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MOD_SUB": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "ac41ea", "alias": "nt_gcd_compute_v1_1742523217_4731", "problem": "Let $p_1 = 13$. Define $v$ to be the remainder when $(12! + 1)$ is divided by $13$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 185$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $p$ be the sum of the number of elements in $A$ and $v$. Define $t$ to be the total number of prime factors of $p$, counted with multiplicity. Let $a = 419615$ and $b = 779285$. Define $r = \\gcd(a, b)$. Compute the remainder when $44121 \\cdot r$ is divided by $77012 \\cdot t$.", "answer": 10229, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(13),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(185)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))), Ref(\"v\")),\n \"t\": BigOmega(n=Ref(name='p')),\n \"a\": Const(419615),\n \"b\": Const(779285),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Const(77012), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/WILSON/BIG_OMEGA_ONE"], "recipe_id": "b666c3", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "L3C", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T09:06:16.347569Z", "verification": {"verified": true, "answer": 10229, "timestamp": "2026-02-08T09:06:16.353870Z"}, "problem_hash": "d3cfe3", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "BIG_OMEGA_ONE": "ok_later", "WILSON": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "K18": "no", "MOD_FACTORIAL": "no"}} -{"id": "92df22", "alias": "nt_count_coprime_and_v1_677425708_3050", "problem": "Let $n = 6$. Let $k_1$ be the number of prime numbers $p$ such that $2 \\leq p \\leq \\max\\{ q \\mid 2 \\leq q \\leq n \\text{ and } q \\text{ is prime}\\}$. Let $k_2 = 11$. Now, let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 29163$, $\\gcd(n, k_1) = \\phi(2)$, and $\\gcd(n, k_2) = 1$. Compute the number of elements in $S$.", "answer": 17674, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"upper\": Const(29163),\n \"k1\": 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 \"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\")), EulerPhi(n=Const(2))), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "ONE_PHI_2"], "recipe_id": "f32d25", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.996, "created_at": "2026-02-08T05:27:12.042697Z", "verification": {"verified": true, "answer": 17674, "timestamp": "2026-02-08T05:27:15.039096Z"}, "problem_hash": "bbf447", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "d6c04e", "alias": "nt_gcd_compute_v1_124444284_533", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 30$. Let $q = 73$ and define $n = p_1 \\cdot q$. Let $h$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $p = 3$ and define\n\\[\ns = \\left( (p-1)! + \\sum_{d \\mid \\gcd(4,9)} \\mu(d) + h \\right) \\bmod p.\n\\]\nLet $a = 39789 + s$ and $b = 92841$. Compute the greatest common divisor of $a$ and $b$, then find the remainder when $17245$ times this GCD is divided by $83731$.", "answer": 51074, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83731),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(30)), IsPrime(Var(\"n\"))))),\n \"q\": Const(73),\n \"n\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"p\": Const(3),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Sum(SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))), Ref(\"h\"))), modulus=Ref(\"p\")),\n \"a\": Sum(Const(39789), Ref(\"s\")),\n \"b\": Const(92841),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(17245),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/DIVISOR_PARITY", "MOBIUS_COPRIME", "WILSON"], "recipe_id": "4cae5d", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:20:53.531381Z", "verification": {"verified": true, "answer": 51074, "timestamp": "2026-02-08T03:20:53.534415Z"}, "problem_hash": "d7ca70", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 50174, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 2383}, "timestamp": "2026-02-09T18:55:05.755Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 51074, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 1633}, "timestamp": "2026-02-09T03:04:09.955Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "DS2": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 3.6, "mid": 7.25, "hi": 10.0}} -{"id": "4f2730", "alias": "modular_mod_compute_v1_458359167_2407", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 640000$. Let $n$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $a$ be the largest positive divisor $d$ of $2561600$ such that $1 \\leq d \\leq n$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 98$. Let $m$ be the maximum value of $x \\cdot y$ as $(x, y)$ ranges over $T$. Find the value of $a \\bmod m$.", "answer": 1600, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98),\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(640000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2561600))))),\n \"m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\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": "B3", "lemma_paths": ["B3/MAX_DIVISOR", "B1"], "recipe_id": "c7fece", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:23:33.488170Z", "verification": {"verified": true, "answer": 1600, "timestamp": "2026-02-08T05:23:33.493612Z"}, "problem_hash": "2310bf", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "MAX_DIVISOR": "ok_later", "K15": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}} -{"id": "e96380", "alias": "nt_count_coprime_v1_1742523217_1094", "problem": "Let $n = 46$, $k = 11$, and $U = 74529$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq U$ and $\\gcd(n, k) = 1$. Let $B$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq n$. Let $C$ be the set of all positive integers $t$ such that $10 \\leq t \\leq 4486$ and there exist positive integers $a \\leq 184$ and $b \\leq 1066$ for which $t = 7a + 3b$. Define\n$$\nQ = \\left( |A|^2 + \\left(\\max(B)\\right) \\cdot |A| \\right) \\bmod |C|.\n$$\nFind the remainder when $Q$ is divided by $61462$.", "answer": 36909, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(46),\n \"upper\": Const(74529),\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 \"_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=184)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1066)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=4486)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(61462)),\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", "LIN_FORM/ENDING_quadratic_mod"], "recipe_id": "b3ba55", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 7.198, "created_at": "2026-02-08T03:25:12.976375Z", "verification": {"verified": true, "answer": 36909, "timestamp": "2026-02-08T03:25:20.173955Z"}, "problem_hash": "8dec2f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 3596, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 320, "completion_tokens": 1769}, "timestamp": "2026-02-09T10:55:09.126Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_quadratic_mod": "ok_later", "DS2": "no", "K13": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "7f38da", "alias": "antilemma_product_of_sums_v1_677425708_1349", "problem": "Let $x$ be the product of $\\sum_{i=1}^5 \\sum_{j=1}^4 i \\cdot j$ and $\\sum_{k=1}^{11} k$. Let $S$ be the set of all integers $t$ such that $30 \\leq t \\leq 354$ and $t = 21a + 9b$ for some positive integers $a \\leq 13$ and $b \\leq 9$. Compute the remainder when\n\\[\n353702 \\cdot (|x| \\bmod |S|) + 329703 \\cdot (|x|^2 \\bmod 101) + 215534 \\cdot \\left( |x| \\bmod 30 \\right)\n\\]\nis divided by $60161$.", "answer": 52292, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(60161),\n \"_n\": Const(11),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))), Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\"))),\n \"_c\": Const(30),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='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=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=354)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))))), 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=Const(103)))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_crt_mix_3", "PRODUCT_OF_SUMS"], "recipe_id": "675ba6", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "LIN_FORM", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:05:54.223971Z", "verification": {"verified": true, "answer": 52292, "timestamp": "2026-02-08T04:05:54.226660Z"}, "problem_hash": "815ef2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11847, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 3858}, "timestamp": "2026-02-09T18:56:03.486Z"}], "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "05cba8", "alias": "antilemma_product_of_sums_v1_1520064083_94", "problem": "Let $ n = 15 $. Define $ A $ to be the set of all integers $ j $ such that $ 0 \\leq j \\leq 15 $ and $ \\binom{15}{j} $ is odd. Let $ B $ be the set of all ordered pairs $ (k, \\ell) $ of integers with $ 1 \\leq k \\leq 11 $ and $ 1 \\leq \\ell \\leq 6 $. Let $ x $ be the product of the sum of the elements of $ A $ and the sum of all $ k $ values in $ B $. Define $ f(t) $ to be the number of ordered pairs $ (a, b) $ of integers such that $ 1 \\leq a \\leq 5 $, $ 1 \\leq b \\leq 40 $, and $ t = 7a + 2b + 15 $. Let $ S $ be the sum of $ f(t) $ over all integers $ t $ such that $ 24 \\leq t \\leq 130 $. Compute the remainder when\n\n$$\n353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left( |x|^2 \\bmod S \\right) + 215534 \\cdot \\left( |x| + 20 \\bmod 103 \\right)\n$$\ndivided by $ 1009091 $ is itself divided by $ 54631 $. That is, compute\n$$\n\\left( 353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot (|x|^2 \\bmod S) + 215534 \\cdot ((|x| + 20) \\bmod 103) \\right) \\bmod 54631.\n$$", "answer": 16081, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\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))))), 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(6)))), expr=Var(\"k\")))),\n \"_c\": Const(20),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), 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=24)), Leq(left=Var(name='t'), right=Const(value=130)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=15)))))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(54631)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_crt_mix_3", "PRODUCT_OF_SUMS"], "recipe_id": "675ba6", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "LIN_FORM", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:00:05.831441Z", "verification": {"verified": true, "answer": 16081, "timestamp": "2026-02-08T03:00:05.834207Z"}, "problem_hash": "d30280", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_crt_mix_3": "ok_later", "K5": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V1": "no", "V3": "no"}} -{"id": "ff2241", "alias": "nt_count_divisible_v1_677425708_2265", "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$ as $(x, y)$ ranges over $S$. Let $d = \\gcd(36, \\min(T))$. Define $m = \\sum_{k \\mid d} \\mu(k)$, where $\\mu$ is the M\\\"obius function. Determine the number of integers $n$ such that $1 \\leq n \\leq 78961$ and $n \\equiv m \\pmod{20}$. Compute this count.", "answer": 3948, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36),\n \"upper\": Const(78961),\n \"divisor\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=GCD(a=Ref(name='_n'), 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=36)))), 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_COPRIME", "ONE_PHI_1"], "recipe_id": "93f40c", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.084, "created_at": "2026-02-08T04:52:57.759331Z", "verification": {"verified": true, "answer": 3948, "timestamp": "2026-02-08T04:53:00.843336Z"}, "problem_hash": "311206", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "K14": "no", "K16": "no", "L3c": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "605002", "alias": "nt_count_coprime_and_v1_677425708_4139", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 121$. Let $s_{\\min}$ be the minimum value of $x + y$ over all such pairs. Let $d_0 = \\gcd(15, s_{\\min})$. Let $\\sigma = \\sum_{d \\mid d_0} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $N$ be the number of positive integers $n$ such that $\\sigma \\leq n \\leq 29605$, $\\gcd(n,3) = 1$, and $\\gcd(n,11) = \\phi(1)$, where $\\phi$ is Euler's totient function. Compute $N$.", "answer": 17943, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"upper\": Const(29605),\n \"k1\": Const(3),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Ref(name='_n'), 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=121)))), expr=Sum(Var(name='x'), Var(name='y'))))), var='d', expr=MoebiusMu(n=Var(name='d')))), 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": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "93f40c", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 8.294, "created_at": "2026-02-08T06:27:37.094147Z", "verification": {"verified": true, "answer": 17943, "timestamp": "2026-02-08T06:27:45.387884Z"}, "problem_hash": "8881ef", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}} -{"id": "fad404", "alias": "nt_sum_divisors_compute_v1_784195855_4980", "problem": "Let $p = 37$. Let $q$ be the sum of all positive integers $n$ such that $1 \\leq n \\leq 67$ and $n \\equiv 0 \\pmod{67}$. Let $n_2 = p \\cdot q$. Define $m = \\mu(n_2)^2$, where $\\mu$ is the M\\\"obius function. Let $t = 55$ and $n_1 = t^{2m}$. Let $e = \\tau(n_1) \\bmod 2$, where $\\tau(n_1)$ is the number of positive divisors of $n_1$. Let $n = 55440$, and let $\\sigma(n)$ be the sum of the positive divisors of $n$. Compute the remainder when $44121 \\cdot \\sigma(n)$ is divided by $74267 \\cdot e$.", "answer": 3120, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(74267),\n \"p\": Const(37),\n \"q\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(67)), Eq(Mod(value=Var(\"n\"), modulus=Const(67)), Const(0))))),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"m\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"t\": Const(55),\n \"n1\": Pow(Ref(\"t\"), Mul(Const(2), Ref(\"m\"))),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(55440),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Ref(\"_n\"), Ref(\"e\"))),\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_SQUAREFREE", "DIVISOR_PARITY"], "recipe_id": "c6f809", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MOBIUS_SQUAREFREE", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T07:32:41.318680Z", "verification": {"verified": true, "answer": 3120, "timestamp": "2026-02-08T07:32:41.320975Z"}, "problem_hash": "31e419", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "SUM_DIVISIBLE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "K16": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "7c53dc", "alias": "antilemma_v8_lucas_1742523217_4557", "problem": "Let $m = 82839$ and $n = 5994$. Define $S$ as the set of all nonnegative integers $j$ such that $j \\leq \\min\\left\\{x + y \\mid x, y \\text{ are positive integers and } xy = 8982009\\right\\}$ and $\\binom{n}{j}$ is odd. Let $x$ be the number of elements in $S$. Compute the remainder when $14021x$ is divided by $m$.", "answer": 27299, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82839),\n \"_n\": Const(5994),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(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\")), Const(8982009)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Const(14021), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V8", "V8"], "recipe_id": "f5bde1", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:58:06.080838Z", "verification": {"verified": true, "answer": 27299, "timestamp": "2026-02-08T08:58:06.082598Z"}, "problem_hash": "3970bd", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "V8": "ok", "COUNT_SUM_EQUALS": "no", "K15": "no", "V1": "no", "V3": "no", "V7": "no"}} -{"id": "b98803", "alias": "nt_max_prime_below_v1_153355830_253", "problem": "Let $N$ be the largest prime number less than or equal to $5006$. Let $U = 36315$ and let $M$ be the largest prime number less than or equal to $U$. Let $C$ be the number of positive integers $j$ such that $1 \\leq j \\leq N$ and $j^5 \\leq 3134386256752025243$. Compute the value of $(M \\bmod 293) + C \\cdot (M \\bmod 337)$, and find the remainder when this result is divided by $58884$.", "answer": 34472, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(58884),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5006)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(36315),\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\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(5)), Const(3134386256752025243))), domain='positive_integers')),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(337)))), modulus=Ref(\"_m\")),\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/C3/ENDING_two_moduli"], "recipe_id": "3e20ea", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "ENDING_two_moduli", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.601, "created_at": "2026-02-08T02:59:20.877634Z", "verification": {"verified": true, "answer": 34472, "timestamp": "2026-02-08T02:59:22.478869Z"}, "problem_hash": "81e6c9", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C3": "ok_later", "ENDING_two_moduli": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}} -{"id": "4a83b2", "alias": "comb_binomial_compute_v1_1918700295_3165", "problem": "Let $n$ be the smallest prime divisor of $71383$ that is at least $2$. Compute $\\binom{n}{6}$. Let $p$ be the number of prime numbers less than or equal to $66947$. Find the remainder when $p \\cdot \\binom{n}{6}$ is divided by $89304$.", "answer": 16524, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66947),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(71383))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(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(89304)),\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", "MIN_PRIME_FACTOR"], "recipe_id": "f1c9d3", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_affine_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T08:26:42.212166Z", "verification": {"verified": true, "answer": 16524, "timestamp": "2026-02-08T08:26:42.222584Z"}, "problem_hash": "ae159e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_affine_mod": "ok_later", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "cb3299", "alias": "nt_sum_divisors_compute_v1_1742523217_1412", "problem": "Let $a_1 = 15$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 100$. Define $b_1$ to be the minimum value of $x + y$ over all such pairs.\n\nLet $n_1 = 15 \\cdot b_1 + 1$. Define $e$ to be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $a = 2881$, $b = 47$, and $d_0 = \\gcd(a, b)$. Define $t$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $d_0$, where $\\mu$ denotes the M\\\"obius function.\n\nLet $n = 32761 + e$. Define $\\sigma(n)$ to be the sum of all positive divisors of $n$.\n\nCompute the remainder when $44121 \\cdot t \\cdot \\sigma(n)$ is divided by $98933$.", "answer": 53400, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a1\": Const(15),\n \"b1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n1\": Sum(Mul(Ref(\"a1\"), Ref(\"b1\")), Const(1)),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"a\": Const(2881),\n \"b\": Const(47),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(32761), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Ref(\"_n\"), Ref(\"t\")), Ref(\"result\")), modulus=Const(98933)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/DIVISOR_PARITY", "MOBIUS_COPRIME"], "recipe_id": "344b76", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:59:10.105523Z", "verification": {"verified": true, "answer": 53400, "timestamp": "2026-02-08T03:59:10.109143Z"}, "problem_hash": "549a5d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "K16": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}} -{"id": "0ade60", "alias": "nt_sum_totient_over_divisors_v1_153355830_963", "problem": "Let $a = b = 60835$, and let $f = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the Möbius function. Let $n_1 = 19 + f$, and let $m = \\left( \\sum_{d \\mid n_1} \\varphi(d) \\right) - n_1$. Let $n = p + m$, where $p$ is the largest prime number less than or equal to 1998. Compute $\\sum_{d \\mid n} \\varphi(d)$.", "answer": 1997, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(60835),\n \"b\": Const(60835),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Sum(Const(19), Ref(\"f\")),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1998)), IsPrime(Var(\"n\"))))), Ref(\"m\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/EULER_TOTIENT_SUM", "MOBIUS_COPRIME"], "recipe_id": "833abe", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T04:20:06.595943Z", "verification": {"verified": true, "answer": 1997, "timestamp": "2026-02-08T04:20:06.597580Z"}, "problem_hash": "f14ebb", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "EULER_TOTIENT_SUM": "ok_later", "C2": "no", "K16": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}} -{"id": "fb0e51", "alias": "nt_count_digit_sum_v1_1874849503_428", "problem": "Let $f(x) = x^2 - 9999x + 724598$. Let $u$ be the sum of all real solutions $x$ to the equation $f(x) = \\sum_{d \\mid 14} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 64$. Define $t$ to be the minimum value of $x + y$ over all such pairs. Compute the number of positive integers $n$ with $1 \\leq n \\leq u$ such that the sum of the decimal digits of $n$ is equal to $t$.", "answer": 633, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": Const(2),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-9999), Var(\"x\")), Const(724598)), SumOverDivisors(n=Ref(name='_m'), var='d', expr=MoebiusMu(n=Var(name='d')))))),\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(64)))), 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": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "VIETA_SUM", "B3"], "recipe_id": "48bf0f", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_SUM", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.487, "created_at": "2026-02-08T13:03:31.583745Z", "verification": {"verified": true, "answer": 633, "timestamp": "2026-02-08T13:03:32.070465Z"}, "problem_hash": "3647bd", "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": 266, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:46:45.286Z"}], "lemma_applicability": {"B3": "ok", "MOBIUS_SUM": "ok", "VIETA_SUM": "ok", "K13": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "f9f5be", "alias": "diophantine_fbi2_min_v1_784195855_6470", "problem": "Let $d_0$ be the smallest prime divisor of 41503. Let $r$ be the smallest positive integer $d$ such that $d_0 \\leq d \\leq 37$, $d$ divides 27, and $\\frac{27}{d} \\geq 2$. Compute the value of $7^{|r|} \\bmod 99991$ plus the largest prime number not exceeding 41.", "answer": 57275, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(27),\n \"upper\": Const(37),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(41503)))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(41)), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_two_stage_modexp", "MIN_PRIME_FACTOR"], "recipe_id": "496eef", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T08:41:32.857325Z", "verification": {"verified": true, "answer": 57275, "timestamp": "2026-02-08T08:41:32.862747Z"}, "problem_hash": "0065ad", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_stage_modexp": "ok_later", "K5": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "e43437", "alias": "comb_factorial_compute_v1_1742523217_4194", "problem": "Let $M=35$. Let $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ such that $1\\le a\\le 20$, $1\\le b\\le 52$, $30\\le t\\le 463$, and\n$$t=4a+7b+19.$$\n\nLet $n=7$ and let $r=n!$. Let $S$ be the set of all integers $k$ with $1\\le k\\le T$ such that $2$ divides $k$ and $\\gcd(k,M)=1$. Let $D$ be the number of elements in $S$.\n\nLet $d$ be the smallest integer with $d\\ge 2$ such that $d$ divides $D$. Let\n$$Q = B_{\\,|r|\\bmod d},$$\nwhere $B_j$ denotes the $j$th Bell number and $x\\bmod d$ denotes the remainder when $x$ is divided by $d$.\n\nCompute $Q$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=52)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=463)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=19)))))))),\n \"n\": Const(7),\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=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C5/MIN_PRIME_FACTOR/ENDING_bell_mod"], "recipe_id": "5f57d0", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C5", "ENDING_bell_mod", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T07:07:19.221352Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T07:07:19.225875Z"}, "problem_hash": "6c515b", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "C5": "ok_later", "ENDING_bell_mod": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "L3c": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "b1fe9e", "alias": "nt_gcd_compute_v1_809748730_475", "problem": "Let $m = 2$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 7836$. Let $g = \\gcd(109688, 205665)$. Let $c$ be the largest prime number in the interval $[m, n]$. Compute the remainder when $c \\cdot g$ is divided by $50034$.", "answer": 19505, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(7836))))),\n \"a\": Const(109688),\n \"b\": Const(205665),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50034)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW/ENDING_affine_mod"], "recipe_id": "4a6ee5", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_affine_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T11:32:30.344452Z", "verification": {"verified": true, "answer": 19505, "timestamp": "2026-02-08T11:32:30.346376Z"}, "problem_hash": "35289b", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "ENDING_affine_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "V5": "no", "V7": "no", "V8": "no"}} -{"id": "fac997", "alias": "modular_product_range_v1_784195855_1060", "problem": "Let $n = 47$. Define $P$ to be the product $$\n\nP = \\prod_{i=47}^{531} i.\n\nLet $r$ be the remainder when $P$ is divided by $11657$. Now, consider the equation\n\n$$\nx_1 + x_2 = 18798,\n$$\n\nwhere $x_1$ and $x_2$ are positive odd integers. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers satisfying this equation. Determine the number of elements in $S$, and let $c$ be the largest prime number not exceeding this count. Compute the remainder when $c \\cdot r$ is divided by $97196$.", "answer": 13513, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(47),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=Const(531)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11657)),\n \"_c\": 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(18798)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(97196)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW/ENDING_affine_mod"], "recipe_id": "4a6ee5", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_affine_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:49:20.146054Z", "verification": {"verified": true, "answer": 13513, "timestamp": "2026-02-08T04:49:20.152851Z"}, "problem_hash": "ac54d5", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "ENDING_affine_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}} -{"id": "6c8455", "alias": "sequence_fibonacci_compute_v1_153355830_1842", "problem": "Let $n$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 10$. Let $F_n$ denote the $n$th Fibonacci number, with $F_1 = F_2 = 1$ and $F_{k} = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 68$ and $1 \\leq j \\leq 194$ such that $\\gcd(i, j) = 1$. Compute the remainder when $c \\cdot F_n$ is divided by $70118$.", "answer": 4515, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70118),\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(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\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(68)), right=IntegerRange(start=Const(1), end=Const(194))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_affine_mod", "B1"], "recipe_id": "c3c785", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T06:39:06.920184Z", "verification": {"verified": true, "answer": 4515, "timestamp": "2026-02-08T06:39:06.921597Z"}, "problem_hash": "3c63a8", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "K15": "no", "L3b": "no", "MAX_VAL": "no"}} -{"id": "85cea6", "alias": "nt_sum_divisors_mod_v1_151522320_1511", "problem": "Let $n = 25200$ and $M = 10427$. Define $\\sigma$ to be the sum of all positive divisors of $n$. Let $r = \\sigma \\bmod M$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 140$, and let $c$ be the maximum value of $x \\cdot y$ over all such pairs. Let $d_0$ be the smallest divisor of $2804933$ that is at least $2$. Compute $\\left(r^2 + d_0 \\cdot r + c\\right) \\bmod 75423$.", "answer": 43030, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(25200),\n \"M\": Const(10427),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\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(140)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2804933))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(75423)),\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", "B1/ENDING_quadratic_mod"], "recipe_id": "2f1a67", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:04:32.736334Z", "verification": {"verified": true, "answer": 43030, "timestamp": "2026-02-08T04:04:32.741814Z"}, "problem_hash": "df06fb", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "K15": "no", "K16": "no", "K18": "no", "K5": "no"}} -{"id": "58d775", "alias": "modular_count_residue_v1_784195855_2771", "problem": "Let $a = 12^{371293} + 1^{371293}$. Let $k$ be the largest integer such that $13^k$ divides $a$. Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $x + y = k$. Define $m$ to be the maximum value of $xy$ over all such pairs. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 36864$ and $n \\equiv 0 \\pmod{m}$. Compute the remainder when $66688 \\cdot N$ is divided by $73055$.", "answer": 1403, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(36864),\n \"m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MaxKDivides(target=Sum(Pow(Const(12), Const(371293)), Pow(Const(1), Const(371293))), base=Const(13))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\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 \"_c\": Const(66688),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(73055)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/B1"], "recipe_id": "954bff", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LTE_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 3.796, "created_at": "2026-02-08T06:02:00.979976Z", "verification": {"verified": true, "answer": 1403, "timestamp": "2026-02-08T06:02:04.775483Z"}, "problem_hash": "61517d", "license": "CC BY 4.0", "lemma_applicability": {"LTE_SUM": "ok", "B1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}} -{"id": "c02646", "alias": "nt_count_divisors_in_range_v1_1742523217_2459", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 6350400$. Let $b$ be the number of positive integers $t$ with $5 \\leq t \\leq 1275$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 276$, $1 \\leq b \\leq 241$, and $t = 2a + 3b$. Let $a = 5$. Define $\\text{result}$ to be the number of divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute $\\text{result}^2 + \\text{result} \\cdot \\_n + 10$, where $\\_n$ is the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 484$.", "answer": 5151, "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(484)))), 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\")), Const(6350400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(5),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=276)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=241)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=1275)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": Const(10),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), 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/LIN_FORM/ENDING_quadratic_mod"], "recipe_id": "5deb61", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_quadratic_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T04:47:15.446703Z", "verification": {"verified": true, "answer": 5151, "timestamp": "2026-02-08T04:47:15.464653Z"}, "problem_hash": "2cbadc", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ENDING_quadratic_mod": "ok_later", "LIN_FORM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "K5": "no", "V5": "no"}} -{"id": "1aa9f1", "alias": "nt_euler_phi_compute_v1_151522320_180", "problem": "Let $n = 41616$. Compute $\\phi(n)$, where $\\phi$ denotes Euler's totient function.\n\nLet $p_1, p_2, \\dots, p_k$ be the list of all prime numbers $p$ such that $2 \\leq p \\leq 43$. Let $m = k$, the number of such primes.\n\nNow compute $2^{\\phi(n) \\bmod{m}} \\bmod{92171}$, and denote this value by $R$.\n\nFind the value of $\\phi(n) + R$.", "answer": 13312, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(43),\n \"n\": Const(41616),\n \"result\": EulerPhi(n=Ref(\"n\")),\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(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))))), modulus=Const(92171))),\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"], "recipe_id": "6ccaed", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_mod_exp"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:02:10.870207Z", "verification": {"verified": true, "answer": 13312, "timestamp": "2026-02-08T03:02:10.872217Z"}, "problem_hash": "b4df8a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 13312, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 1141}, "timestamp": "2026-02-09T00:10:59.904Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "ENDING_mod_exp": "ok_later", "DS2": "no", "K16": "no", "K17": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "d9d1c0", "alias": "nt_num_divisors_compute_v1_1440796553_1202", "problem": "Let $n = 23716$ and let $d$ be the number of positive divisors of $n$. Let $p$ be the number of prime numbers $q$ such that $2 \\leq q \\leq 43$. Compute $d + \\left( 2^{d \\bmod p} \\bmod 63844 \\right)$.", "answer": 8219, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(23716),\n \"result\": NumDivisors(n=Ref(\"n\")),\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\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(43)), IsPrime(Var(\"n\"))))))), modulus=Const(63844))),\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"], "recipe_id": "6ccaed", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_mod_exp"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T12:13:54.337582Z", "verification": {"verified": true, "answer": 8219, "timestamp": "2026-02-08T12:13:54.339463Z"}, "problem_hash": "4f1fb8", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "ENDING_mod_exp": "ok_later", "COUNT_COPRIME_GRID": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V3": "no", "V5": "no"}} -{"id": "806284", "alias": "modular_product_range_v1_153355830_1916", "problem": "Let $m = 2$ and $n = 11699$. Let $p$ be the largest integer $k$ such that $2^k$ divides $929293739471222707^7$. Let $S$ be the set of all prime numbers $x$ such that $m \\leq x \\leq 46$. Define $a = \\max(S)$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 24025$. Define $b$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $T$. Define\n\n$$\n\\text{prod} = \\prod_{i = a}^{b} i.\n$$\n\nCompute the remainder when $\\text{prod}$ is divided by $n$.", "answer": 3763, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(11699),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxKDivides(target=Pow(Const(929293739471222707), Const(7)), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(46)), IsPrime(Var(\"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\")), Const(24025)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14", "B3"], "recipe_id": "8c5fa8", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:46:19.320965Z", "verification": {"verified": true, "answer": 3763, "timestamp": "2026-02-08T06:46:19.324077Z"}, "problem_hash": "99c69d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "C2": "no", "K17": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "8c69bb", "alias": "nt_count_digit_sum_v1_677425708_503", "problem": "Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $x + y = 10$. Define $T$ to be the set of all values of $xy$ as $(x, y)$ ranges over $S$. Let $m$ be the maximum value in $T$.\n\nNow let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 16$, $2$ divides $n$, and $\\gcd(n, 21) = 1$. Let $k$ be the number of elements in $A$. Define $d(n)$ to be the number of positive divisors of $n$. Let $\\mu$ denote the Möbius function. Define\n$$\nC = \\sum_{d \\mid k} \\mu(d).\n$$\n\nLet $B$ be the set of positive integers $n$ such that $1 \\leq n \\leq 179776$ and the sum of the decimal digits of $n$ is equal to $m$. Let $D$ be the number of elements in $B$.\n\nCompute $63001 - D$.", "answer": 52721, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(63001),\n \"upper\": Const(179776),\n \"target_sum\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"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=16)), Divides(divisor=Ref(name='_m'), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=21)), right=Const(value=1))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MOBIUS_COPRIME", "B1"], "recipe_id": "777781", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C5", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 6.422, "created_at": "2026-02-08T03:34:35.966142Z", "verification": {"verified": true, "answer": 52721, "timestamp": "2026-02-08T03:34:42.388630Z"}, "problem_hash": "5ab370", "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": 356, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:40:45.911Z"}], "lemma_applicability": {"B1": "ok", "C5": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "2d79ab", "alias": "comb_bell_compute_v1_168721529_1854", "problem": "Let $n_0 = 11$. Let $m$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 6$. Let $r = B_m$, where $B_m$ denotes the $m$th Bell number. Let $p_{\\text{max}}$ be the largest prime number $p$ such that $2 \\leq p \\leq n_0$. Compute the Bell number $B_k$, where $k$ is the remainder when $|r|$ is divided by $p_{\\text{max}}$. Find the value of $B_k$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\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(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_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/ENDING_bell_mod", "B1"], "recipe_id": "759af4", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "ENDING_bell_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:57:39.392845Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T13:57:39.394836Z"}, "problem_hash": "088d56", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 52, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 954}, "timestamp": "2026-02-09T22:37:03.615Z"}], "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_bell_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no"}} -{"id": "c58f17", "alias": "nt_euler_phi_compute_v1_1742523217_2985", "problem": "Let $n_1 = 1$. Define $f = \\Omega(n_1)$, the number of prime factors of $n_1$ counted with multiplicity. Let $a$ be the number of positive integers $k$ such that $1 \\leq k \\leq 198$ and $33$ divides $k$. Let $b = 245$. Define $s = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $n = 40401 \\cdot s$. Define $\\text{result} = \\phi(n)$, where $\\phi$ is Euler's totient function. Compute\n$$\n(50893 + f) \\cdot \\text{result} \\mod 85644.\n$$\nFind the value of this expression.", "answer": 29772, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(40401),\n \"n1\": Const(1),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(198)), Divides(divisor=Const(33), dividend=Var(\"k\"))), domain='positive_integers')),\n \"b\": Const(245),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Const(50893), Ref(\"f\")), Ref(\"result\")), modulus=Const(85644)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "12fa33", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C2", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T05:29:42.195487Z", "verification": {"verified": true, "answer": 29772, "timestamp": "2026-02-08T05:29:42.199658Z"}, "problem_hash": "131030", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok_later", "K14": "no", "K15": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "501325", "alias": "antilemma_count_primes_v1_153355830_754", "problem": "Let $S$ be the set of all positive divisors $d$ of 1572491 such that $d \\geq 2$. Let $m = 187$.\\\\\n\nLet $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq \\min(S)$.\\\\\n\nLet $d_{\\max}$ be the largest positive divisor of $m$ that is at most 11.\\\\\n\nCompute the $r$-th Bell number, where $r = |x| \\bmod d_{\\max}$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(187),\n \"_n\": Const(2),\n \"x\": 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\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(1572491)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(11)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))))),\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/COUNT_PRIMES", "MAX_DIVISOR/ENDING_bell_mod", "COUNT_PRIMES"], "recipe_id": "ed8ce6", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_bell_mod", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:09:50.233740Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T04:09:50.237678Z"}, "problem_hash": "7cb19f", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "L3c": "no", "LTE_SUM": "no"}} -{"id": "e4f025", "alias": "antilemma_sum_equals_v1_151522320_1541", "problem": "Let $m=90492$.\n\nLet $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=34$.\n\nLet $y$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 17$ and $1\\le j\\le 17$ such that $i+j=n$.\n\nLet $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 1382$, $1\\le b\\le 1457$, $14\\le t\\le 19798$, and\n\\[t=8a+6b.\n\\]\n\nDefine\n\\[Q\\equiv T\\cdot y\\pmod m,\n\\]\nwhere the remainder is taken in $\\{0,1,\\dots,m-1\\}$. Find the value of $Q$.", "answer": 67700, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(90492),\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(34))))),\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(17)), right=IntegerRange(start=Const(1), end=Const(17))))),\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=1382)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1457)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=19798)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/LIN_FORM/COUNT_SUM_EQUALS", "LIN_FORM/ENDING_affine_mod", "COUNT_SUM_EQUALS"], "recipe_id": "8188a2", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_affine_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.018, "created_at": "2026-02-08T04:05:03.214173Z", "verification": {"verified": true, "answer": 67700, "timestamp": "2026-02-08T04:05:03.232165Z"}, "problem_hash": "264346", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ENDING_affine_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "845cf1", "alias": "nt_count_coprime_and_v1_865884756_3719", "problem": "Let $A$ be the set of positive even integers from $1$ to $5422$ that are relatively prime to $35$. Let $d$ be the number of elements in $A$. Let $B$ be the set of all integers $n$ such that $2 \\leq n \\leq d$, $n$ is prime, and $n$ divides $d$. Let $k_2$ be the smallest element of $B$. Compute the number of positive integers $n_2$ such that $1 \\leq n_2 \\leq 28087$, $\\gcd(n_2, 7) = 1$, and $\\gcd(n_2, k_2) = 1$.", "answer": 21886, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(28087),\n \"k1\": Const(7),\n \"k2\": 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\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(5422)), Divides(divisor=Const(2), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Const(35)), Const(1)))))))))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n2\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n2\"), b=Ref(\"k2\")), 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/MIN_PRIME_FACTOR/MAX_PRIME_BELOW"], "recipe_id": "218b80", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.208, "created_at": "2026-02-08T17:33:20.913111Z", "verification": {"verified": true, "answer": 21886, "timestamp": "2026-02-08T17:33:24.121478Z"}, "problem_hash": "b92913", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "MAX_PRIME_BELOW": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no"}} -{"id": "b5b698", "alias": "diophantine_fbi2_min_v1_1915831931_661", "problem": "Let $x$ be a real number satisfying $x^2 - 130x - 1251 = 0$. Let $u$ be the sum of all such solutions $x$. Let $d$ be a positive integer such that $2 \\le d \\le u$, $d$ divides $120$, and $\\frac{120}{d} \\ge \\sum_{k=1}^{2} \\phi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$. Determine the minimum possible value of $d$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(120),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-130), Var(\"x\")), Const(-1251)), Const(0)))),\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\")), Summation(var=\"k1\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(2), Var(\"k1\"))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "K2"], "recipe_id": "f4a436", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T15:36:28.396727Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T15:36:28.411859Z"}, "problem_hash": "81b5fa", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3b": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}} -{"id": "c8034e", "alias": "diophantine_fbi2_min_v1_1742523217_5527", "problem": "Let $s$ be the sum of all real solutions $x$ to the equation $x^2 - 2x - 3248 = 0$.\n\nLet $d$ be the smallest positive integer such that $d \\ge s$, $d \\le 18$, $d$ divides $8$, and $\\frac{8}{d} \\ge 4$.\n\nCompute $37493 \\cdot d$.", "answer": 74986, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(8),\n \"upper\": Const(18),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2), Var(\"x\")), Const(-3248)), Const(0))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n \"_c\": Const(37493),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "K2"], "recipe_id": "f4a436", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T11:02:48.206593Z", "verification": {"verified": true, "answer": 74986, "timestamp": "2026-02-08T11:02:48.211567Z"}, "problem_hash": "2fc766", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}} -{"id": "69fc37", "alias": "nt_count_with_divisor_count_v1_1520064083_4387", "problem": "Compute the number of positive integers $n \\leq 25200$ that have exactly two positive divisors. Let this number be $k$. Let $T$ be the set of positive integers $n \\leq 30$ such that the sum of the binary digits of $n$ is even. Let $\\mu$ denote the Möbius function. Define $m = \\sum_{d \\mid |T|} \\mu(d)$. Compute $k + \\phi(k + 1) + \\tau(k + m)$, where $\\phi$ is Euler's totient function and $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 4061, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(25200),\n \"div_count\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": 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=Const(value=8), b=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=30)), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Const(value=2)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["L3B/MOBIUS_COPRIME/ENDING_arith_invariants"], "recipe_id": "072571", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_arith_invariants", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.864, "created_at": "2026-02-08T06:15:40.192051Z", "verification": {"verified": true, "answer": 4061, "timestamp": "2026-02-08T06:15:43.056219Z"}, "problem_hash": "e8b432", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "ENDING_arith_invariants": "ok_later", "MOBIUS_COPRIME": "ok_later", "K13": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "2266bc", "alias": "nt_sum_totient_over_divisors_v1_784195855_2150", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 12920$ and the sum of the decimal digits of $n$ is odd. Let $s$ be the number of elements in $S$. Let $m = \\mu(1)$, where $\\mu$ is the Möbius function, and let $v = \\omega(m)$, the number of distinct prime factors of $m$. Define $n = s + v$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ is Euler's totient function.", "answer": 6461, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Ref(\"t\"),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(12920)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))), Ref(\"v\")),\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/OMEGA_ZERO", "MOBIUS_SUM", "ONE_PHI_1"], "recipe_id": "9deefd", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "MOBIUS_SUM", "OMEGA_ZERO", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:30:54.083473Z", "verification": {"verified": true, "answer": 6461, "timestamp": "2026-02-08T05:30:54.085826Z"}, "problem_hash": "449692", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "OMEGA_ZERO": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "7480b3", "alias": "nt_sum_divisors_compute_v1_1742523217_3992", "problem": "Let $a = 41$ and $b$ be the largest integer $k$ such that $13^k$ divides $2314!$. Let $v = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $n = 52441 + \\Omega(1)$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Compute the sum of all positive divisors of $n$, multiply this sum by $44121$, and find the remainder when the result is divided by $72386 \\cdot v$.", "answer": 17047, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2314),\n \"a\": Const(41),\n \"b\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(1),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(52441), Ref(\"f\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Const(72386), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "1de740", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T06:10:19.935029Z", "verification": {"verified": true, "answer": 17047, "timestamp": "2026-02-08T06:10:19.940824Z"}, "problem_hash": "e96f05", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "V1": "ok", "MOBIUS_COPRIME": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "DS2": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}} -{"id": "fbee01", "alias": "nt_min_with_divisor_count_v1_151522320_952", "problem": "Let $m = 10$. Define $t$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 4089$, $3$ divides $n$, and $\\gcd(n, m) = 1$. Define $c$ to be the number of nonnegative integers $j$ such that $0 \\leq j \\leq t$ and $\\binom{546}{j}$ is odd. Determine the smallest positive integer $n$ such that $1 \\leq n \\leq 31329$ and the number of positive divisors of $n$ is equal to $c$.\n\nFind the value of this smallest $n$.", "answer": 24, "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(4089)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"upper\": Const(31329),\n \"div_count\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(546), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": MinOverSet(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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/V8", "ONE_PHI_1"], "recipe_id": "0f86e6", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "ONE_PHI_1", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.218, "created_at": "2026-02-08T03:41:10.010745Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T03:41:11.228430Z"}, "problem_hash": "38e3fa", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "V8": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_MUL": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "d8237e", "alias": "antilemma_cartesian_v1_153355830_2522", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 14$ and $1 \\leq b \\leq 21$. Let $Q$ be the value of\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} |x| \\rfloor} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + 2.\n$$\nCompute $Q$.", "answer": 60, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_c\": Const(2),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Factorial(Const(0))), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), 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", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T07:12:24.106121Z", "verification": {"verified": true, "answer": 60, "timestamp": "2026-02-08T07:12:24.117981Z"}, "problem_hash": "571900", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}} -{"id": "abd54d", "alias": "antilemma_cartesian_v1_1742523217_1610", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer between 1 and 30, inclusive, and $b$ is an integer between 1 and 31, inclusive. Compute $$\\sum_{n=0}^{x} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$. Note that $\\tau(0)$ is defined to be 0.", "answer": 6510, "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(31)))),\n \"Q\": Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:04:40.641933Z", "verification": {"verified": true, "answer": 6510, "timestamp": "2026-02-08T04:04:40.642834Z"}, "problem_hash": "23114a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "424b8b", "alias": "antilemma_cartesian_v1_153355830_2786", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 13, inclusive, and $b$ is an integer from 1 to 24, inclusive. Compute the value of $$\n x + \\phi(|x| + 0!) + \\tau(|x| + 1),\n$$ where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 626, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:21:42.059384Z", "verification": {"verified": true, "answer": 626, "timestamp": "2026-02-08T07:21:42.060891Z"}, "problem_hash": "b7da26", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "f98a1b", "alias": "antilemma_cartesian_v1_153355830_2667", "problem": "Let $ x $ be the number of ordered pairs $ (a, b) $ such that $ 1 \\leq a \\leq 41 $ and $ 1 \\leq b \\leq 50 $. Compute the value of $ x + \\phi(|x| + 0!) + \\tau(|x| + 1) $, where $ \\phi $ denotes Euler's totient function and $ \\tau $ denotes the number of positive divisors function.", "answer": 3806, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(41)), right=IntegerRange(start=Const(1), end=Const(50)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:15:41.474192Z", "verification": {"verified": true, "answer": 3806, "timestamp": "2026-02-08T07:15:41.475639Z"}, "problem_hash": "6b0eb7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "7ef740", "alias": "comb_count_surjections_v1_865884756_4158", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ where $a$ and $b$ are integers with $1 \\leq a \\leq 2$ and $1 \\leq b \\leq 2$. Let $k = 3$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Compute the value of $$\\sum_{m=1}^{|r|} \\phi(m),$$ where $\\phi$ denotes Euler's totient function.", "answer": 396, "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(2)))),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n1\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))),\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"], "recipe_id": "cb6f65", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T17:45:57.783519Z", "verification": {"verified": true, "answer": 396, "timestamp": "2026-02-08T17:45:57.785902Z"}, "problem_hash": "1cf7df", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "53e21b", "alias": "antilemma_cartesian_v1_1520064083_691", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 39$ and $1 \\leq j \\leq 46$. Compute\n$$\nx + \\phi(|x| + 0!) + \\tau(|x| + 1),\n$$\nwhere $\\phi(n)$ denotes the number of positive integers at most $n$ that are relatively prime to $n$, and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 3230, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(46)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:32:59.449266Z", "verification": {"verified": true, "answer": 3230, "timestamp": "2026-02-08T03:32:59.450300Z"}, "problem_hash": "274b1c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "54248e", "alias": "antilemma_cartesian_v1_1918700295_3724", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 19 and $b$ is an integer from 1 to 22. Compute $$\\sum_{n=0}^{x} \\phi(n),$$ where $\\phi(n)$ denotes Euler's totient function. Note that $\\phi(0) = 1$ by convention for this problem.", "answer": 53142, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(22)))),\n \"Q\": Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T08:50:09.997360Z", "verification": {"verified": true, "answer": 53142, "timestamp": "2026-02-08T08:50:10.007282Z"}, "problem_hash": "4b5cf4", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "72b6eb", "alias": "antilemma_cartesian_v1_50713871_13", "problem": "Let $ x $ be the number of ordered pairs $ (a, b) $ such that $ 1 \\leq a \\leq 28 $ and $ 1 \\leq b \\leq 28 $. Compute $ x + \\phi(|x| + 0!) + \\tau(|x| + 1) $, where $ \\phi(n) $ denotes Euler's totient function and $ \\tau(n) $ denotes the number of positive divisors of $ n $.", "answer": 1412, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:43:11.075599Z", "verification": {"verified": true, "answer": 1412, "timestamp": "2026-02-08T02:43:11.077105Z"}, "problem_hash": "faf74a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1412, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 215, "completion_tokens": 901}, "timestamp": "2026-02-08T19:45:09.021Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1412, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 666}, "timestamp": "2026-02-09T18:58:45.159Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1412, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 555}, "timestamp": "2026-02-09T22:48:52.198Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "0d7245", "alias": "comb_catalan_compute_v1_458359167_2963", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\le a \\le 2$ and $b$ is an integer with $1 \\le b \\le 5$. Let $C_n$ denote the $n$th Catalan number, defined by $C_n = \\frac{1}{n+1} \\binom{2n}{n}$. Let $$\nQ = \\left( \\sum_{k=0}^{|C_n|} \\phi(k) \\right) \\bmod 52073,\n$$ where $\\phi(k)$ is Euler's totient function and $|C_n|$ denotes the absolute value of $C_n$. Compute $Q$.", "answer": 41306, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52073),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.874, "created_at": "2026-02-08T06:52:03.525128Z", "verification": {"verified": true, "answer": 41306, "timestamp": "2026-02-08T06:52:04.399439Z"}, "problem_hash": "260d23", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}} -{"id": "0f3be4", "alias": "comb_count_derangements_v1_1918700295_3117", "problem": "Let $N$ be the number of ordered pairs $(u,v)$ of integers such that $1\\le u\\le 4$ and $1\\le v\\le 4$. Let $M$ 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$$\nx_1+x_2=N.\n$$\n\nDefine\n$$\nf=\\sum_{k=0}^{0}(-1)^k\\binom{0}{k},\\qquad e=\\sum_{k=0}^{0}(-1)^k\\binom{0}{k},\n$$\nwhere $\\binom{n}{k}$ denotes a binomial coefficient. Let\n$$\nn=M\\cdot f\\cdot e,\n$$\nand let $!n$ denote the number of derangements of $n$ elements.\n\nCompute $!n$.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4)))),\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 \"e\": Summation(var=\"k\", start=Sub(Binom(n=Const(1), k=Const(0)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"f\"), Ref(\"e\")),\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", "ZERO_BINOM_0"], "recipe_id": "9e556a", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN", "ZERO_BINOM_0"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T08:23:24.280496Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T08:23:24.286148Z"}, "problem_hash": "c27a72", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ZERO_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "0748e9", "alias": "antilemma_count_primes_v1_784195855_4113", "problem": "Let $a = 19$ and $b = 16$. Define $n = a \\cdot b + 1$, and let $w = \\tau(n) \\bmod 2$, where $\\tau(n)$ is the number of positive divisors of $n$. Let $p = 13 + w$. Define $s = ( (p-1)! + 1 ) \\bmod p$. Let $N = 139 + s$. Let $x$ be the number of prime numbers $n$ such that $k \\le n \\le N$, where $k$ is the number of ordered pairs $(p,q)$ of positive integers satisfying $p \\cdot q = 108$, $\\gcd(p,q) = 1$, and $p < q$. Compute $ (89870 \\cdot x) \\bmod 72693$.", "answer": 2474, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(19),\n \"b\": Const(16),\n \"n\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"p\": Sum(Const(13), Ref(\"w\")),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"_n\": Sum(Const(139), Ref(\"s\")),\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=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(89870),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(72693)),\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", "DIVISOR_PARITY", "COUNT_PRIMES", "WILSON"], "recipe_id": "40b6d0", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "DIVISOR_PARITY", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:50:44.813383Z", "verification": {"verified": true, "answer": 2474, "timestamp": "2026-02-08T06:50:44.818334Z"}, "problem_hash": "ff35b3", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "DIVISOR_PARITY": "ok", "WILSON": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}} -{"id": "5527e8", "alias": "nt_lcm_compute_v1_1520064083_1355", "problem": "Let $a = 2332$. Define $B$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 4061$ and $\\gcd(n, 30) = 1$. Let $b$ be the number of elements in $B$. Let $L = \\operatorname{lcm}(a, b)$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 141376$. Let $s_{\\min}$ be the minimum value of $x + y$ over all pairs $(x, y) \\in S$. Compute the remainder when $s_{\\min} \\cdot L$ is divided by $96509$.", "answer": 17501, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2332),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4061)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\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(141376)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(96509)),\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", "C4"], "recipe_id": "06ef29", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:55:58.024349Z", "verification": {"verified": true, "answer": 17501, "timestamp": "2026-02-08T03:55:58.028620Z"}, "problem_hash": "94bf30", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C4": "ok", "ENDING_affine_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}} -{"id": "ede07e", "alias": "antilemma_count_primes_v1_1918700295_940", "problem": "Let $n_1 = 22$, and define\n$$\nw = \\sum_{d \\mid n_1} \\mu(d),\n$$\nwhere $\\mu$ is the Möbius function. Let $n = w + 1$, and let $h$ be the number of prime factors of $n$ counted with multiplicity. Let $x$ be the number of prime numbers between $2$ and $3347$, inclusive. Compute the value of\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} |x| \\rfloor} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + 41 + h.\n$$", "answer": 107, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(22),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(1), Ref(\"w\")),\n \"h\": BigOmega(n=Ref(name='n')),\n \"_n\": Const(3347),\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(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(41), Ref(\"h\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["BIG_OMEGA_ZERO", "MOBIUS_SUM", "COUNT_PRIMES"], "recipe_id": "348fc0", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T05:24:20.197241Z", "verification": {"verified": true, "answer": 107, "timestamp": "2026-02-08T05:24:20.218301Z"}, "problem_hash": "d37e72", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "MOBIUS_SUM": "ok", "K15": "no", "K16": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8": "no"}} -{"id": "507a2d", "alias": "modular_sum_quadratic_residues_v1_1520064083_2318", "problem": "Let $n$ be the smallest divisor of $30967$ that is at least $2$. Let $p$ be the largest divisor of $30967$ that is less than or equal to $n$. Compute $\\frac{p(p-1)}{4}$.", "answer": 7439, "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(30967))))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(30967))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_DIVISOR"], "recipe_id": "03060e", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:39:01.225035Z", "verification": {"verified": true, "answer": 7439, "timestamp": "2026-02-08T04:39:01.227465Z"}, "problem_hash": "f57de9", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_DIVISOR": "ok_later", "K14": "no", "V3": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "ccc910", "alias": "modular_sum_quadratic_residues_v1_784195855_4605", "problem": "Let $m = 347325995837$. Define $a$ to be the smallest positive divisor of $m$ that is at least $2$. Let $p$ be the largest positive divisor of $43931$ that is less than or equal to $a$. Compute $\\frac{p(p-1)}{4}$. Find the value of this expression.", "answer": 9653, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(43931),\n \"p\": 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\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(347325995837)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_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_DIVISOR"], "recipe_id": "03060e", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:12:12.505913Z", "verification": {"verified": true, "answer": 9653, "timestamp": "2026-02-08T07:12:12.507801Z"}, "problem_hash": "0abca5", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_DIVISOR": "ok_later", "COUNT_PRIMES": "no", "K16": "no", "K17": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "a0f77a", "alias": "nt_max_prime_below_v1_124444284_916", "problem": "Let $u = 27225$. Let $p$ be the largest prime number less than or equal to $u$. Let $d_{\\min}$ be the smallest divisor of $114651463$ that is at least $2$. Let $e$ be the largest integer $k$ such that $37^k$ divides\n$$\n31718583808458581221123924886915417605031143688454052385578645029456485455940470591537270103514573010009 \\times 10555134955777783414078330085995832946127396083370199442517.\n$$\nDefine\n$$\nQ = \\left( 353702 \\cdot |p| \\bmod 97 + 329703 \\cdot \\left( |p|^2 + 1 \\right) \\bmod d_{\\min} + 215534 \\cdot \\left( |p| + 1 \\right) \\bmod e \\right) \\bmod 1009091.\n$$\nFind the remainder when $Q$ is divided by $61120$.", "answer": 9787, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(61120),\n \"_n\": Const(2),\n \"upper\": Const(27225),\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=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(114651463))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(19)), modulus=MaxKDivides(target=Mul(Const(31718583808458581221123924886915417605031143688454052385578645029456485455940470591537270103514573010009), Const(10555134955777783414078330085995832946127396083370199442517)), base=Const(37))))), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_crt_mix_3", "K13/ENDING_crt_mix_3"], "recipe_id": "7994d3", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "K13", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.633, "created_at": "2026-02-08T03:36:00.788594Z", "verification": {"verified": true, "answer": 9787, "timestamp": "2026-02-08T03:36:01.421598Z"}, "problem_hash": "142cf7", "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": 346, "completion_tokens": 8192}, "timestamp": "2026-02-09T07:30:56.706Z"}], "lemma_applicability": {"K13": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "e38543", "alias": "comb_factorial_compute_v1_1742523217_1419", "problem": "Let $n = 7$ and $m = 2$. Compute $n!$, and denote this value by $R$.\\n\\nLet $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 1028196$. Define $s_{\\min}$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $T$.\\n\\nLet $k$ be the number of positive integers $j$ such that $1 \\leq j \\leq s_{\\min}$ and $j^4 \\leq 16914992230656$.\\n\\nNow, consider the decimal digits of $R$. Let $d_i$ denote the digit of $R$ in the $10^i$ place (with $i=0$ being the units place). Let $\\ell$ be the number of digits of $R$. Compute the sum $$\\sum_{i=0}^{\\ell-1} d_i (i+1)^2.$$\\n\\nLet $Q$ be the sum of this value and $k$.\\n\\nFind the value of $Q$.", "answer": 2124, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\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\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(1028196)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(16914992230656))), 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": "B3", "lemma_paths": ["B3/C3/ENDING_digits_weighted_mod"], "recipe_id": "388d95", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "C3", "ENDING_digits_weighted_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:59:12.937561Z", "verification": {"verified": true, "answer": 2124, "timestamp": "2026-02-08T03:59:12.941769Z"}, "problem_hash": "061d9c", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C3": "ok_later", "ENDING_digits_weighted_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b0d5be", "alias": "diophantine_sum_product_min_v1_1248542787_57", "problem": "Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 650639889900$, $\\gcd(p, q) = 1$, and $p < q$. Let $y$ be the smallest positive integer such that $y^3 \\leq 15$, $y^3 \\geq 1$, and $y^3 (16 - y^3) = P$. Define $r = y^3$. Compute $r^2 + r \\cdot N + M$, where $N$ is the number of integers $t$ such that $12 \\leq t \\leq 84$ and $t = 7a + 5b$ for some positive integers $a, b$ with $1 \\leq a, b \\leq 7$, and $M$ is the largest integer $k$ such that $17^k$ divides $50014!$.", "answer": 3581, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(3),\n \"_n\": Const(15),\n \"S\": Const(16),\n \"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=650639889900)), 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_y\": MinOverSet(set=SolutionsSet(var=Var(\"y\"), condition=And(Geq(Pow(Var(\"y\"), Const(3)), Const(1)), Leq(Pow(Var(\"y\"), Const(3)), Ref(\"_n\")), Eq(Mul(Pow(Var(\"y\"), Const(3)), Sub(Ref(\"S\"), Pow(Var(\"y\"), Ref(\"_m\")))), Ref(\"P\"))))),\n \"result\": Pow(Ref(\"_result_y\"), Const(3)),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_c\")), 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=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=84)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), Ref(\"result\")), MaxKDivides(target=Factorial(Const(50014)), base=Const(17))),\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_quadratic_mod", "V1/ENDING_quadratic_mod", "COPRIME_PAIRS"], "recipe_id": "73191f", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_quadratic_mod", "LIN_FORM", "V1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T02:56:06.835790Z", "verification": {"verified": true, "answer": 3581, "timestamp": "2026-02-08T02:56:06.845716Z"}, "problem_hash": "d94774", "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": 319, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:58:28.990Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3581, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 5366}, "timestamp": "2026-02-08T23:16:13.522Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:01:50.109Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "V1": "ok", "ENDING_quadratic_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "f05267", "alias": "nt_count_with_divisor_count_v1_153355830_135", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 77841$ and the number of positive divisors of $n$ is exactly 2. Compute the number of such integers $n$.", "answer": 7650, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(77841),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["B3/MAX_PRIME_BELOW", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "79f87a", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 17.752, "created_at": "2026-02-08T02:54:25.695265Z", "verification": {"verified": true, "answer": 7650, "timestamp": "2026-02-08T02:54:43.447498Z"}, "problem_hash": "e1f765", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7639, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 4786}, "timestamp": "2026-02-08T23:25:04.966Z"}], "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "d8a2bb", "alias": "antilemma_v7_kummer_798873815_504", "problem": "Let $ m = 130 $. Consider the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = m $. For each such pair, compute the product $ xy $. Let $ P $ be the set of all such products. Let $ M $ be the maximum value in $ P $. Let $ k $ be the largest integer such that $ 11^k $ divides $ 16918! $. Let $ B = \\binom{M}{k} $. Find the largest integer $ x $ such that $ 2^x $ divides $ B $.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(130),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Binom(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\")))), k=MaxKDivides(target=Factorial(Const(16918)), base=Const(11))), base=Ref(\"_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": ["B1/V7", "V1/V7", "V7"], "recipe_id": "6b261e", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "lemma_set": ["B1", "V1", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.184, "created_at": "2026-02-08T02:40:22.381628Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T02:40:22.566001Z"}, "problem_hash": "be3f5b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 5110}, "timestamp": "2026-02-08T19:38:02.917Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 2044}, "timestamp": "2026-02-09T17:58:42.315Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:29:21.116Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 570}, "timestamp": "2026-02-09T00:53:12.974Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 2542}, "timestamp": "2026-02-09T06:19:55.896Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:33:04.870Z"}], "lemma_applicability": {"B1": "ok", "V1": "ok", "V7": "ok", "K5": "same_pattern_wrong", "C2": "no", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.69, "mid": 4.12, "hi": 7.29}} -{"id": "d0affe", "alias": "comb_sum_binomial_row_v1_1125832087_871", "problem": "Let $m = 84$ and let $N$ be the largest positive divisor of $8484$ that does not exceed $m$. Let $n$ be the number of positive integers $k \\leq N$ such that $$\nk \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}.\n$$\nCompute $2^n$.", "answer": 4096, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(84),\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(8484))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/L3C"], "recipe_id": "21ae47", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:20:54.077954Z", "verification": {"verified": true, "answer": 4096, "timestamp": "2026-02-08T03:20:54.080878Z"}, "problem_hash": "63c40a", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "15edb4", "alias": "nt_count_coprime_v1_1918700295_1619", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 420$, $\\gcd(p, q) = 1$, and $p < q$. Let $N = |P|$. Let $R$ be the number of positive integers $n$ such that $1 \\leq n \\leq 32768$ and $\\gcd(n, 43) = 1$. Let $p_1 < p_2 < \\cdots < p_k$ be the list of all prime numbers $p$ such that $2 \\leq p \\leq 97$. Define\n$$\nQ = \\left( 353702 \\cdot |R| \\bmod p_k + 329703 \\cdot (|R|^2 \\bmod 101) + 215534 \\cdot (|R| \\bmod N) \\right) \\bmod 51080.\n$$\nFind the value of $Q$.", "answer": 47158, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97),\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=420)), 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(32768),\n \"k\": Const(43),\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=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\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"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(\"_n\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(51080)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/ENDING_crt_mix_3", "COPRIME_PAIRS/MAX_PRIME_BELOW/ENDING_crt_mix_3"], "recipe_id": "2e8d48", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_crt_mix_3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.553, "created_at": "2026-02-08T05:54:58.102944Z", "verification": {"verified": true, "answer": 47158, "timestamp": "2026-02-08T05:55:00.656388Z"}, "problem_hash": "19f6c7", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "K5": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V1": "no", "V7": "no"}} -{"id": "078c58", "alias": "antilemma_k3_v1_53965629_50", "problem": "Let $ n = 97649 $. Let $ x = \\sum_{d \\mid n} \\phi(d) $. Let $ c $ be the sum of all real solutions to the equation $ x^2 - 512x - 48708 = 0 $. Compute the value of $$ \\sum_{i=0}^{\\lfloor \\log_{10} x \\rfloor} \\left( \\text{the } i\\text{th digit of } x \\right) \\cdot (i+1)^2 + c. $$", "answer": 928, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(97649),\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(-512), Var(\"x\")), Const(-48708)), Const(0)))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/ENDING_digits_weighted_mod", "K3"], "recipe_id": "09d123", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T11:14:39.683978Z", "verification": {"verified": true, "answer": 928, "timestamp": "2026-02-08T11:14:39.685574Z"}, "problem_hash": "53c050", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 928, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 593}, "timestamp": "2026-02-09T11:17:59.665Z"}], "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "ENDING_digits_weighted_mod": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "2f0a0f", "alias": "nt_euler_phi_compute_v1_1742523217_608", "problem": "Let $ w $ be the number of distinct prime factors of $ 1 $. Let $ p $ be the largest prime number satisfying $ 2 \\leq p \\leq 4 $. Define $ u $ to be the remainder when $ (p-1)! + 1 $ is divided by $ p $. Let $ n = 46368 + w $. Compute $ \\phi(n) + \\phi(|\\phi(n)| + 1 + u) + \\tau(|\\phi(n)| + 1) $, where $ \\phi $ denotes Euler's totient function and $ \\tau $ denotes the number of positive divisors.", "answer": 23768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"u\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(46368), Ref(\"w\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1), Ref(\"u\"))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/WILSON", "OMEGA_ZERO"], "recipe_id": "73c51d", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "OMEGA_ZERO", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:09:01.593456Z", "verification": {"verified": true, "answer": 23768, "timestamp": "2026-02-08T03:09:01.597200Z"}, "problem_hash": "335722", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 23768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 2081}, "timestamp": "2026-02-09T20:11:25.379Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 23768, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 2546}, "timestamp": "2026-02-09T05:00:07.540Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "OMEGA_ZERO": "ok", "WILSON": "ok_later", "DS2": "no", "K15": "no", "K5": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "a9cfeb", "alias": "nt_count_divisors_in_range_v1_1520064083_4085", "problem": "Let $a = 77$ and $m = 9504$. Let $b$ be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and the sum of the decimal digits of $n$ is even. Let $r$ be the number of positive divisors $d$ of 166320 such that $a \\leq d \\leq b$. Compute the value of $$ r + \\left( 2^{r \\bmod \\left( \\sum_{k=1}^{5} \\varphi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor \\right)} \\bmod 71111 \\right). $$", "answer": 225, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9504),\n \"_n\": Const(5),\n \"n\": Const(166320),\n \"a\": Const(77),\n \"b\": 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(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))))), modulus=Const(71111))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/ENDING_mod_exp", "L3B"], "recipe_id": "6e4829", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "K2", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.045, "created_at": "2026-02-08T06:03:36.253492Z", "verification": {"verified": true, "answer": 225, "timestamp": "2026-02-08T06:03:36.298835Z"}, "problem_hash": "4ab3c7", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "L3B": "ok", "ENDING_mod_exp": "ok_later", "K13": "no", "K15": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}} -{"id": "03b431", "alias": "antilemma_cartesian_v1_153355830_2978", "problem": "Let $c=45$. Let $m$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 45$, $1\\le j\\le 45$, and $i+j=c$.\n\nLet $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=m$.\n\nLet $x$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 24$ and $1\\le v\\le 41$.\n\nLet $r$ be the remainder when $|x|$ is divided by the number of ordered pairs $(y_1,y_2)$ of positive odd integers such that $y_1+y_2=n$.\n\nFinally, let $Q$ be the $r$-th Bell number $B_r$, where $B_0=1$, $B_1=1$, $B_2=2$, and in general $B_k$ denotes the number of set partitions of a $k$-element set.\n\nFind the remainder when $Q$ is divided by $100000$. ", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(45),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(45)), right=IntegerRange(start=Const(1), end=Const(45))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(41)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/ENDING_bell_mod", "COMB1/COMB1/ENDING_bell_mod", "COUNT_CARTESIAN"], "recipe_id": "608a44", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_bell_mod"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.013, "created_at": "2026-02-08T07:31:00.131654Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T07:31:00.144847Z"}, "problem_hash": "6fadda", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "dad221", "alias": "antilemma_count_primes_v1_677425708_3221", "problem": "Let $a$ and $b$ be positive integers such that $1 \\le a \\le 457$, $1 \\le b \\le 73$, and $t = 6a + 4b$ satisfies $10 \\le t \\le 3034$. Let $S$ be the set of all such values of $t$. Define $n_{\\text{max}}$ to be the number of integers $n$ such that $2 \\le n \\le |S|$ and $n$ is prime. Let $x = n_{\\text{max}}$. Compute $x^2 + 16x + y$, where $y$ is the number of positive integers $k \\le 1143285$ that are divisible by 169. Determine the value of this expression.", "answer": 68205, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=457)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=73)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=3034)), 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 \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_m\")), Mul(Const(16), Ref(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1143285)), Divides(divisor=Const(169), dividend=Var(\"k\"))), domain='positive_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_PRIMES", "C2/ENDING_quadratic_mod", "COUNT_PRIMES"], "recipe_id": "0f3176", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES", "ENDING_quadratic_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:32:28.954133Z", "verification": {"verified": true, "answer": 68205, "timestamp": "2026-02-08T05:32:28.956659Z"}, "problem_hash": "b15cdf", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "f6f6bf", "alias": "comb_sum_binomial_row_v1_1742523217_1796", "problem": "Let $m = 36$. Consider the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $n$ be the minimum value of $x + y$ over all such pairs. 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$. Let $r = |T|^n$. Compute the remainder when $\\sum_{k=\\phi(2)}^{|r|} \\phi(k)$ is divided by $65172$.", "answer": 16604, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(36),\n \"_n\": 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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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=Summation(var=\"n\", start=EulerPhi(n=Ref(\"_n\")), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(65172)),\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", "ONE_PHI_2", "B3"], "recipe_id": "39ffd6", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.196, "created_at": "2026-02-08T04:15:26.674316Z", "verification": {"verified": true, "answer": 16604, "timestamp": "2026-02-08T04:15:26.870415Z"}, "problem_hash": "6c4245", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "C2": "no", "COUNT_PRIMES": "no", "K15": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "2f26ef", "alias": "comb_sum_binomial_mod_v1_1874849503_15", "problem": "Let $S = \\sum_{k=7}^{131} \\binom{155}{k}$. Define $r$ to be the remainder when $S$ is divided by $10613$. Let $A$ be the set of all positive integers $n \\leq 76$ such that $4$ divides $n$ and $\\gcd(n, 21) = 1$. Compute the Bell number of $|A|$, that is, the number of partitions of a set of size $|A|$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"sum\": Summation(var=\"k\", start=Const(7), end=Const(131), expr=Binom(n=Const(155), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10613)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(76)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_bell_mod"], "recipe_id": "e9c289", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "ENDING_bell_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T12:45:55.163550Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T12:45:55.176190Z"}, "problem_hash": "fb7523", "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": 223, "completion_tokens": 1764}, "timestamp": "2026-02-09T12:47:04.649Z"}], "lemma_applicability": {"C5": "ok", "ENDING_bell_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "075954", "alias": "diophantine_fbi2_min_v1_784195855_254", "problem": "Let $k$ be the number of integers $t$ in the range $7 \\le t \\le 20$ that can be expressed as $t = 5a + 2b$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 2$ and $1 \\le b \\le 5$. Let $u$ be the number of integers $t$ in the range $10 \\le t \\le 52$ that can be expressed as $t = 6a + 4b$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 6$ and $1 \\le b \\le 4$. Define $r$ to be the smallest integer $d$ such that $4 \\le d \\le u$, $d$ divides $k$, and $\\frac{k}{d} \\ge 2$. Let $p$ be the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = 192$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = 576$. Compute $r^2 + s \\cdot r + p$.", "answer": 9481, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(192),\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=7)), Leq(left=Var(name='t'), right=Const(value=20)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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\")), Ref(\"_m\"))))),\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(\"_d\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Pow(Ref(\"result\"), 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(576)))), expr=Sum(Var(\"x\"), Var(\"y\")))), 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", "B3/ENDING_quadratic_mod", "LIN_FORM"], "recipe_id": "db8615", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_quadratic_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.018, "created_at": "2026-02-08T03:03:26.100310Z", "verification": {"verified": true, "answer": 9481, "timestamp": "2026-02-08T03:03:26.118552Z"}, "problem_hash": "e9a2d6", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "de1ec0", "alias": "diophantine_fbi2_min_v1_1248542787_316", "problem": "Let $k=96$. Let $d$ be the smallest integer with $4\\le d\\le 106$ such that $d$ divides $k$ and $k/d\\ge 7$.\n\nLet\n$$Q=\\sum_{n=1}^{|d|} \\varphi(n),$$\nwhere $\\varphi$ is Euler's totient function.\n\nFind the value of $Q$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(96),\n \"a\": Const(3),\n \"b\": Const(6),\n \"upper\": Const(106),\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(7))))),\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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MOBIUS_COPRIME/MOBIUS_SUM", "L3C/MOBIUS_COPRIME"], "recipe_id": "710ee9", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "L3C", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.044, "created_at": "2026-02-08T03:03:33.211340Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T03:03:33.255657Z"}, "problem_hash": "5dd438", "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": 199, "completion_tokens": 1047}, "timestamp": "2026-02-09T02:47:58.098Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 433}, "timestamp": "2026-02-09T15:00:26.029Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:40:48.729Z"}], "lemma_applicability": {"C4": "ok", "L3C": "ok", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SUM": "ok_later", "C2": "no", "K13": "no", "K15": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "f8b4f0", "alias": "nt_gcd_compute_v1_1742523217_1334", "problem": "Let $n_1 = 1$. Define $t$ to be the number of distinct prime factors of $n_1$. Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 32$, $1 \\leq b \\leq 883$, $7 \\leq t \\leq 2777$, and $t = 4a + 3b$. Let $n$ be the number of elements in $S$. Define $w$ to be the remainder when the number of positive divisors of $n$ is divided by $2 + t$. Let $a = 52656$ and $b = 118476 + w$. Let $d$ be the greatest common divisor of $a$ and $b$, and let $Q$ be the remainder when $44121 \\cdot d$ is divided by $96419$. Compute $Q$.", "answer": 77207, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(96419),\n \"n1\": Const(1),\n \"t\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=883)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2777)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Sum(Const(2), Ref(\"t\"))),\n \"a\": Const(52656),\n \"b\": Sum(Const(118476), Ref(\"w\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/DIVISOR_PARITY", "OMEGA_ZERO"], "recipe_id": "71d84c", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T03:41:00.940329Z", "verification": {"verified": true, "answer": 77207, "timestamp": "2026-02-08T03:41:00.946155Z"}, "problem_hash": "339416", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ZERO": "ok", "DIVISOR_PARITY": "ok_later", "L3c": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "ae6125", "alias": "comb_catalan_compute_v1_1440796553_1287", "problem": "Let $ C_{10} $ denote the 10th Catalan number. Define $ A $ to be the set of all ordered pairs $ (i, j) $ of integers with $ 1 \\leq i, j \\leq 12 $ such that $ i + j = d $, where $ d $ is the number of ordered pairs $ (x_1, x_2) $ of positive odd integers satisfying $ x_1 + x_2 = 24 $.\n\nLet $ m $ be the number of elements in $ A $. Define $ B_m $ to be the $ m $th Bell number. Let $ Q $ be the remainder when $ B_m $ is divided by $ 61448 $.\n\nCompute $ Q $.", "answer": 54527, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61448),\n \"n\": Const(10),\n \"result\": Catalan(Ref(\"n\")),\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\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(24)))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS/ENDING_bell_mod"], "recipe_id": "eea970", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_bell_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.056, "created_at": "2026-02-08T13:38:16.996826Z", "verification": {"verified": true, "answer": 54527, "timestamp": "2026-02-08T13:38:17.052463Z"}, "problem_hash": "702169", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok_later", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}} -{"id": "761fe2", "alias": "antilemma_sum_primes_v1_153355830_1071", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 279$. Let $c$ be the smallest divisor $d$ of $899$ such that $d \\geq 2$. Compute the value of $$\\sum_{i=0}^{t-1} \\left( \\text{digit}_i(x) \\cdot (i+1)^2 \\right) + c,$$ where $t$ is the number of digits in $x$, and $\\text{digit}_i(x)$ denotes the $i$-th digit of $x$ (starting from the units place as $i=0$).", "answer": 189, "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(279)), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(899))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_digits_weighted_mod", "SUM_PRIMES"], "recipe_id": "15da94", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T04:22:19.046871Z", "verification": {"verified": true, "answer": 189, "timestamp": "2026-02-08T04:22:19.085113Z"}, "problem_hash": "24a69c", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "ENDING_digits_weighted_mod": "ok_later", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}} -{"id": "024a42", "alias": "comb_binomial_compute_v1_865884756_3108", "problem": "Let $m = 2$, and let $n_1$ be an integer satisfying $m \\leq n_1 \\leq 10$ and $n_1$ is prime. Let $n$ be the number of integers $t$ with $7 \\leq t \\leq 22$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 6$, $1 \\leq b \\leq 2$, and $t = 2a + 5b$. Let $k$ be the largest prime number $n_2$ such that $2 \\leq n_2 \\leq n$. Compute $\\binom{n}{k}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Const(10)), IsPrime(Var(\"n1\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\"))))),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIN_FORM/MAX_PRIME_BELOW"], "recipe_id": "f30a9f", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:10:47.753920Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T17:10:47.757266Z"}, "problem_hash": "46bf38", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "LIN_FORM": "ok_later", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "a08aab", "alias": "nt_count_divisible_v1_1874849503_486", "problem": "Let $p_1 = 79$ and $q_1 = 7$, and define $n_1 = p_1 q_1$. Let $h = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $p$ be the largest integer such that $2^p$ divides $2^{83}$, and let $q = 11$. Define $n = p^{2h} \\cdot (q + 1)$. Let $c = \\mu(n)^2$, where $\\mu$ is the M\\\"{o}bius function. Determine the number of positive integers $m$ such that $1 \\leq m \\leq 71824$ and $m$ is divisible by $27$. Compute the remainder when $44121$ times this number is divided by $84137 + c$.", "answer": 74882, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(79),\n \"q1\": Const(7),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"h\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": MaxKDivides(target=Pow(Const(2), Const(83)), base=Const(2)),\n \"q\": Const(11),\n \"n\": Mul(Pow(Ref(\"p\"), Mul(Const(2), Ref(\"h\"))), Sum(Ref(\"q\"), Const(1))),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(71824),\n \"divisor\": Const(27),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Const(84137), Ref(\"c\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_SQUAREFREE", "LIOUVILLE_ONE"], "recipe_id": "a3eaff", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 3.96, "created_at": "2026-02-08T13:07:29.496992Z", "verification": {"verified": true, "answer": 74882, "timestamp": "2026-02-08T13:07:33.456627Z"}, "problem_hash": "bf0942", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 74882, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 292, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:34:39.291Z"}], "lemma_applicability": {"K14": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "d0a2e8", "alias": "nt_count_divisible_and_v1_1125832087_2439", "problem": "Let $d_1 = 10$. Let $d_2$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 2$, $1 \\le b \\le 6$, $7 \\le t \\le 22$, and\n$$t = 5a + 2b.$$\n\nLet $N$ be the number of integers $n$ with $1 \\le n \\le 18900$ such that $n$ is divisible by both $d_1$ and $d_2$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy = 372100$. Let $S$ be the set of all values of $x + y$ over these pairs, and let $m$ be the minimum element of $S$.\n\nLet $C$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1 + x_2 = m.$$\n\nLet $Q = C - N$. Compute $Q$. ", "answer": 295, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(18900),\n \"d1\": Const(10),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(372100)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COMB1/ENDING_negation_mod", "LIN_FORM"], "recipe_id": "abc095", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "ENDING_negation_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.707, "created_at": "2026-02-08T04:37:18.475614Z", "verification": {"verified": true, "answer": 295, "timestamp": "2026-02-08T04:37:19.182716Z"}, "problem_hash": "b91019", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "ENDING_negation_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "18a0dd", "alias": "modular_product_range_v1_1742523217_4694", "problem": "Let $m = 317$. Let $n$ be the sum of all real solutions $x$ to the equation $x^2 - 389x - 24420 = 0$. Let $k$ be the number of prime numbers $p$ such that $2 \\leq p \\leq n$. Define $\\text{prod}$ to be the product of all integers $i$ from $k$ to $m$, inclusive. Find the remainder when $\\text{prod}$ is divided by $10487$.", "answer": 1403, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(317),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-389), Var(\"x\")), Const(-24420)), Const(0)))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), end=Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10487)),\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/COUNT_PRIMES"], "recipe_id": "870a88", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T09:05:15.802372Z", "verification": {"verified": true, "answer": 1403, "timestamp": "2026-02-08T09:05:15.804799Z"}, "problem_hash": "a1869d", "license": "CC BY 4.0", "lemma_applicability": {"VIETA_SUM": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "6b54f2", "alias": "modular_count_residue_v1_153355830_2632", "problem": "Let $S$ be the set of all real solutions to the equation $x^2 - 59x - 7686 = 0$. Let $T$ be the sum of all elements in $S$. Let $m$ be the number of prime numbers $n$ such that $2 \\le n \\le T$. Let $U = 40804$ and $r = 5$. Consider the set of all positive integers $n$ such that $1 \\le n \\le U$ and $n \\equiv r \\pmod{m}$. Compute the number of elements in this set.", "answer": 2400, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(40804),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-59), Var(\"x\")), Const(-7686)), Const(0))))), IsPrime(Var(\"n\"))))),\n \"r\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/COUNT_PRIMES"], "recipe_id": "870a88", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 3.947, "created_at": "2026-02-08T07:15:05.772907Z", "verification": {"verified": true, "answer": 2400, "timestamp": "2026-02-08T07:15:09.720309Z"}, "problem_hash": "bddd4d", "license": "CC BY 4.0", "lemma_applicability": {"VIETA_SUM": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}} -{"id": "b5f61c", "alias": "antilemma_sum_primes_v1_798873815_62", "problem": "Let $c = 460$. Define $m$ to be the number of positive integers $n$ with $1 \\leq n \\leq c$ such that the $n$-th Fibonacci number is divisible by 3. Let $t$ be the number of positive integers $n$ with $1 \\leq n \\leq m$ such that the sum of the decimal digits of $n$ is odd. Compute the sum of all prime numbers $n$ such that $2 \\leq n \\leq t$.", "answer": 381, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(460),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Divides(divisor=Const(3), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), 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/L3B/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "48b2ec", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3B", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:25:36.164586Z", "verification": {"verified": true, "answer": 381, "timestamp": "2026-02-08T02:25:36.167214Z"}, "problem_hash": "c87cb1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 2658}, "timestamp": "2026-02-08T18:32:42.821Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 1897}, "timestamp": "2026-02-09T12:40:10.381Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:35:44.166Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 3858}, "timestamp": "2026-02-08T20:23:01.720Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 1845}, "timestamp": "2026-02-08T22:59:22.014Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 8192}, "timestamp": "2026-02-08T22:57:28.928Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "SUM_PRIMES": "ok", "L3B": "ok_later", "K14": "no", "K15": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -1.08, "mid": 1.61, "hi": 4.67}} -{"id": "7efdee", "alias": "modular_mod_compute_v1_1125832087_1355", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 12$. For each such pair, compute $xy$, and let $a$ be the sum of all distinct values of $xy$ over the pairs in $A$. Let $B$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 262144$. For each such pair, compute $x + y$, and let $m$ be the minimum value of $x + y$ over all pairs in $B$. Compute the remainder when $a$ is divided by $m$, multiply this remainder by $44121$, and find the remainder when the product is divided by $50065$.", "answer": 46496, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(50065),\n \"a\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\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(262144)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/SUM_ARITHMETIC", "B3"], "recipe_id": "8fe9da", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:41:33.487838Z", "verification": {"verified": true, "answer": 46496, "timestamp": "2026-02-08T03:41:33.491040Z"}, "problem_hash": "0935de", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "SUM_ARITHMETIC": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "1d7ca7", "alias": "algebra_quadratic_discriminant_v1_677425708_962", "problem": "Consider the quadratic equation $ax^2 + bx + c = 0$ with $a = -6$, $b = -2$, and $c = -8$. Let $D$ be the discriminant of this equation. Define $r = 2$ if $D > 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Let $m$ be the smallest positive integer such that $7^{1379}$ divides $m!$, and let $d$ be the largest positive divisor of $68674333$ that is at most $m$. Compute $r^2 + 16r + d$.", "answer": 8281, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(16),\n \"a\": Const(-6),\n \"b\": Const(-2),\n \"c\": Const(-8),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_m\"), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(7)), Const(1379)), domain='Z_{>0}'))), Divides(divisor=Var(\"d\"), dividend=Const(68674333))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/MAX_DIVISOR/ENDING_quadratic_mod"], "recipe_id": "7fbcb5", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "MAX_DIVISOR", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:53:50.406969Z", "verification": {"verified": true, "answer": 8281, "timestamp": "2026-02-08T03:53:50.410367Z"}, "problem_hash": "f87dd9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8281, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 4072}, "timestamp": "2026-02-09T14:25:46.161Z"}], "lemma_applicability": {"V5": "ok", "ENDING_quadratic_mod": "ok_later", "MAX_DIVISOR": "ok_later", "C2": "no", "K16": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "227129", "alias": "nt_count_squarefree_v1_168721529_1245", "problem": "Let $A$ be the set of all positive integers $n$ such that $2 \\leq n \\leq 33856$ and $\\mu(n)^2 = 1$, where $\\mu$ denotes the Möbius function. Let $B$ be the set of all integers $t$ such that $21 \\leq t \\leq 6108$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 338$, $1 \\leq b \\leq 228$, and $t = 12a + 9b$. Compute the remainder when $|B| - |A|$ is divided by $83487$.", "answer": 64928, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33856),\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'))), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=338)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=228)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=6108)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83487)),\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", "ONE_PHI_2"], "recipe_id": "ba6671", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.933, "created_at": "2026-02-08T13:32:54.582654Z", "verification": {"verified": true, "answer": 64928, "timestamp": "2026-02-08T13:32:59.515548Z"}, "problem_hash": "565414", "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": 261, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:59:55.169Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "e75182", "alias": "modular_min_linear_v1_865884756_411", "problem": "Let $a = 13703$, $b = 16367$, and $m = 17018$. Let $x_0$ be the smallest positive integer $x$ such that $x \\leq 17018$ and $13703x \\equiv 16367 \\pmod{17018}$. Let $t_0$ be the number of positive integers $t$ such that $27 \\leq t \\leq 2435$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 12$, $1 \\leq b \\leq 476$, such that $t = 3a + 5b + 19$. Compute the remainder when $t_0 - x_0$ is divided by $63043$.", "answer": 58575, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(13703),\n \"b\": Const(16367),\n \"m\": Const(17018),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=Const(2))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=476)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=2435)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=19)))))))), Ref(\"result\")), modulus=Const(63043)),\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", "ONE_PHI_2"], "recipe_id": "ba6671", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.666, "created_at": "2026-02-08T15:21:07.493774Z", "verification": {"verified": true, "answer": 58575, "timestamp": "2026-02-08T15:21:08.159855Z"}, "problem_hash": "2314f8", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "ENDING_negation_mod": "ok_later", "K15": "no", "K17": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "137ede", "alias": "nt_lcm_compute_v1_458359167_2658", "problem": "Let $a=531$ and $b=2424$, and let $L$ be the least common multiple of $a$ and $b$.\n\nLet $d_0$ be the smallest integer $d\\ge2$ such that $d$ divides $9294017611$. Let $r_1$ be the remainder when $L$ is divided by $d_0$.\n\nLet $S$ be the set of integers $n$ with $1\\le n\\le 3832$ such that $8$ divides $n$ and $\\gcd(n,35)=1$. Let $k$ be the largest prime number $p$ such that $2\\le p\\le |S|$, where $|S|$ denotes the number of elements of $S$. Let $r_2$ be the remainder when $L$ is divided by $k$.\n\nLet $c=1009$, and let $Q$ be the remainder when $r_1+cr_2$ is divided by $76131$.\n\nFind the value of $Q$.", "answer": 72361, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76131),\n \"a\": Const(531),\n \"b\": Const(2424),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(1009),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9294017611)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=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(3832)), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1)))))), 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": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW/ENDING_two_moduli", "MIN_PRIME_FACTOR/ENDING_two_moduli"], "recipe_id": "d9a22b", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_two_moduli", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T06:42:26.319894Z", "verification": {"verified": true, "answer": 72361, "timestamp": "2026-02-08T06:42:26.323745Z"}, "problem_hash": "a94349", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "0b9706", "alias": "sequence_lucas_compute_v1_124444284_445", "problem": "Let $n$ be the number of prime numbers $p$ such that $2 \\leq p \\leq d_{\\max}$, where $d_{\\max}$ is the largest positive divisor of $5609$ that is at most $71$. Compute the $n$-th Lucas number.", "answer": 15127, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(71)), Divides(divisor=Var(\"d\"), dividend=Const(5609)))))), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/COUNT_PRIMES"], "recipe_id": "a28bab", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:17:46.504586Z", "verification": {"verified": true, "answer": 15127, "timestamp": "2026-02-08T03:17:46.506721Z"}, "problem_hash": "a6f4d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15127, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 1719}, "timestamp": "2026-02-09T17:43:59.017Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15127, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 1532}, "timestamp": "2026-02-09T02:14:58.870Z"}], "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "942d56", "alias": "comb_count_partitions_v1_1915831931_354", "problem": "Let $d$ be the largest positive divisor of 30227 that is at most 167. Let $n$ be the number of prime numbers between 2 and $d$, inclusive. Compute the number of integer partitions of $n$. Then, find the remainder when $51881$ times this number is divided by 53081.", "answer": 105, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(167)), Divides(divisor=Var(\"d\"), dividend=Const(30227))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(51881),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53081)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/COUNT_PRIMES"], "recipe_id": "a28bab", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T15:22:41.534223Z", "verification": {"verified": true, "answer": 105, "timestamp": "2026-02-08T15:22:41.537498Z"}, "problem_hash": "37be4e", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "6d5bd9", "alias": "diophantine_product_count_v1_1125832087_1555", "problem": "Let $m = 2$ and $n = 31$. Let $S$ be the set of all positive integers $k$ such that the highest power of $2$ dividing $k!$ is at least 34. Let $u$ be the minimum element of $S$. Let $v$ be the largest integer such that $31^v$ divides $923521^u$. Let $D$ be the set of all positive integers $x$ such that $x$ divides 240 and $\\frac{240}{x} \\leq v$. Let $d$ be the number of elements in $D$. Compute the multiplicative order of 2 modulo $2d + 3$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(31),\n \"k\": Const(240),\n \"upper\": MaxKDivides(target=Pow(Const(923521), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(34)), domain='Z_{>0}'))), base=Ref(\"_n\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/K14"], "recipe_id": "8b8d28", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K14", "V5"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T03:47:36.186974Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T03:47:36.195305Z"}, "problem_hash": "fa147e", "license": "CC BY 4.0", "lemma_applicability": {"V5": "ok", "K14": "ok_later", "K17": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b26da1", "alias": "nt_count_digit_sum_v1_1742523217_1599", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq \\sum_{d \\mid 9999} \\phi(d)$ and the sum of the decimal digits of $n$ is equal to 16. Let $A$ be the number of such integers $n$.\n\nLet $B$ be the largest prime number less than or equal to 29. Compute the remainder when $A^2 + B \\cdot A$ is divided by 86558.", "answer": 72837, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86558),\n \"upper\": SumOverDivisors(n=Const(value=9999), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"target_sum\": Const(16),\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=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\"))))), Ref(\"result\")), Const(23)), 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/ENDING_quadratic_mod", "K3"], "recipe_id": "be0ce4", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.358, "created_at": "2026-02-08T04:04:26.277039Z", "verification": {"verified": true, "answer": 72837, "timestamp": "2026-02-08T04:04:26.634716Z"}, "problem_hash": "483670", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_quadratic_mod": "ok_later", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no"}} -{"id": "4c0469", "alias": "diophantine_product_count_v1_677425708_455", "problem": "Let $a = \\sum_{d\\mid\\gcd(15,22)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 15681600$. Let $b$ be the minimum value of $x + y$ as $(x,y)$ ranges over $T$. Let $k$ be the number of positive multiples of 66 that are at least $a$ and at most $b$. Let $c$ be the number of positive integers $x$ such that $1 \\leq x \\leq 88$, $x$ divides $k$, and $\\frac{k}{x} \\leq 88$. Compute the smallest positive integer $Q$ such that the $Q$th Fibonacci number is divisible by $c + 2$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d')))), 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(15681600)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"upper\": Const(88),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["MOBIUS_COPRIME", "B3/C2"], "recipe_id": "94caaf", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C2", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 10.517, "created_at": "2026-02-08T03:33:04.113313Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T03:33:14.629860Z"}, "problem_hash": "eb54e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 12, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 300, "completion_tokens": 1984}, "timestamp": "2026-02-08T20:35:47.832Z"}], "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "C2": "ok_later", "K13": "no", "K14": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "846785", "alias": "comb_count_derangements_v1_1742523217_1784", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 3$, $1 \\leq j \\leq 35$, and $\\gcd(i, j) = 1$. Let $n$ be the smallest divisor of $|S|$ that is at least 2. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(35))))),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/MIN_PRIME_FACTOR"], "recipe_id": "36715f", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:15:13.692847Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T04:15:13.694363Z"}, "problem_hash": "7dbb2b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3c": "no", "MOD_FACTORIAL": "no"}} -{"id": "501bb1", "alias": "antilemma_count_primes_v1_865884756_451", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 409$. Let $c$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 9567$ and $\\gcd(n_1, 10) = 1$. Compute the remainder when $c \\cdot x$ is divided by $98307$.", "answer": 11239, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98307),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(409)), IsPrime(Var(\"n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(9567)), Eq(GCD(a=Var(\"n1\"), b=Const(10)), Const(1))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_affine_mod", "COUNT_PRIMES"], "recipe_id": "2a5afe", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C4", "COUNT_PRIMES", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T15:25:26.415315Z", "verification": {"verified": true, "answer": 11239, "timestamp": "2026-02-08T15:25:26.417610Z"}, "problem_hash": "bacf7a", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "COUNT_PRIMES": "ok", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "13b53b", "alias": "antilemma_cartesian_v1_677425708_1678", "problem": "Let $S$ be the set of all ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 306$, $1 \\leq b \\leq 785$, and $t = 4a + 14b$ satisfies $18 \\leq t \\leq 12214$. Let $N$ be the number of distinct values of $t$ for which there exists at least one such pair $(a, b)$. Let $x$ be the number of ordered pairs of positive integers $(m, n)$ such that $1 \\leq m \\leq 38$ and $1 \\leq n \\leq 39$. Compute the remainder when $N \\cdot x$ is divided by $53578$.", "answer": 28722, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53578),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(39)))),\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=306)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=785)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=12214)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))), 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/ENDING_affine_mod", "COUNT_CARTESIAN"], "recipe_id": "35a59e", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_affine_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:22:25.312848Z", "verification": {"verified": true, "answer": 28722, "timestamp": "2026-02-08T04:22:25.313795Z"}, "problem_hash": "3deb2b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ENDING_affine_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "fb28de", "alias": "comb_sum_binomial_mod_v1_1918700295_2092", "problem": "Let $u = 3$, and let $n = u + 1$. Let $e = \\sum_{k=0}^{n} (-1)^k \\binom{n}{k}$. Let $A$ be the set of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 68$, and let $m$ be the number of elements in $A$. Let $B$ be the set of integers $t$ in the interval $14 \\leq t \\leq 796$ for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 34$, $1 \\leq b \\leq 74$, and $t = 6a + 8b$. Let $s$ be the number of elements in $B$. Define $\\displaystyle \\mathrm{sum} = \\sum_{k=m}^{s} \\binom{399}{k}$. Compute the remainder when $\\mathrm{sum}$ is divided by $11057 \\cdot \\sum_{k=0}^{0} (-1)^k \\binom{0}{k} + e$.", "answer": 4715, "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(68))))),\n \"n1\": Const(0),\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 \"u\": Const(3),\n \"n\": Sum(Ref(\"u\"), Const(1)),\n \"e\": Summation(var=\"k\", start=Const(0), end=Ref(\"n\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n\"), k=Var(\"k\")))),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=34)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=74)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=796)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), expr=Binom(n=Const(399), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Sum(Mul(Const(11057), Ref(\"f\")), Ref(\"e\"))),\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", "COMB1/LIN_FORM"], "recipe_id": "22982e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.034, "created_at": "2026-02-08T07:40:59.888280Z", "verification": {"verified": true, "answer": 4715, "timestamp": "2026-02-08T07:40:59.922745Z"}, "problem_hash": "82ab65", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "LIN_FORM": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}} -{"id": "1f30be", "alias": "nt_count_divisible_v1_1874849503_1691", "problem": "Let $r$ be the number of positive integers $n$ at most $51984$ that are divisible by $12$. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 3$ and $1 \\le j \\le 22$ such that $\\gcd(i, j) = 1$. Let $m$ be the smallest integer greater than or equal to $2$ that divides $989497$. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod m) + 329703 \\cdot \\left(r^2 \\bmod 101\\right) + 215534 \\cdot \\left((|r| + c) \\bmod 103\\right)\n$$\nis divided by $59750$.", "answer": 59137, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\n \"upper\": Const(51984),\n \"divisor\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(22))))),\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=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(59750)),\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_crt_mix_3", "MIN_PRIME_FACTOR/ENDING_crt_mix_3"], "recipe_id": "925c81", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_crt_mix_3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.599, "created_at": "2026-02-08T14:03:38.552081Z", "verification": {"verified": true, "answer": 59137, "timestamp": "2026-02-08T14:03:41.151040Z"}, "problem_hash": "24de29", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}} -{"id": "eb1601", "alias": "nt_count_coprime_and_v1_677425708_3390", "problem": "Let $S$ be the set of all positive integers $n$ with $1 \\leq n \\leq 1379$ such that $\\gcd(n, 11) = 1$ and $\\gcd(n, 13) = 1$. Let $a = |S|$. Define\n\\[\nQ = \\left( 353702 \\cdot (a \\bmod 97) + 329703 \\cdot (a^2 \\bmod m) + 215534 \\cdot (a \\bmod 44) \\right) \\bmod 57548,\n\\]\nwhere $m$ is the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 2$, $1 \\leq j \\leq 67$, and $\\gcd(i, j) = 1$, and the last modulus is the smallest divisor of $1201289$ that is at least $2$. Find the value of $Q$.", "answer": 22552, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97),\n \"_n\": Const(2),\n \"upper\": Const(1379),\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\")), Const(1))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_m\"))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(67))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(44)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1201289)))))))), modulus=Const(1009091)), modulus=Const(57548)),\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_crt_mix_3", "MIN_PRIME_FACTOR/ENDING_crt_mix_3"], "recipe_id": "925c81", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_crt_mix_3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.299, "created_at": "2026-02-08T05:40:59.841227Z", "verification": {"verified": true, "answer": 22552, "timestamp": "2026-02-08T05:41:00.139869Z"}, "problem_hash": "243414", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_CARTESIAN": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no", "V5": "no"}} -{"id": "026cc7", "alias": "nt_max_prime_below_v1_677425708_2809", "problem": "Let $p_1 = 53$ and $q = 29$, and let $n_1 = p_1 q$. Define\n$$t = \\sum_{d \\mid n_1} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function.\n\nLet $p = 79$ and let\n$$n = p^{2 + t}.$$ \nLet $c$ be the value of the Liouville function at $n$, that is,\n$$c = \\lambda(n).$$\n\nLet $\\text{upper} = 65536$, and let $r$ be the largest prime number not exceeding $\\text{upper}$.\n\nLet $m_1$ be the smallest integer $d \\ge 2$ such that $d$ divides $393165974983$. Define\n$$A = r \\bmod m_1,$$\nwhere $0 \\le A < m_1$, and\n$$B = r \\bmod 499,$$\nwhere $0 \\le B < 499$.\n\nLet\n$$T = A + 7001cB.$$ \nLet $N = 63814$, and let $Q$ be the remainder when $T$ is divided by $N$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 43178, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63814),\n \"p1\": Const(53),\n \"q\": Const(29),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(79),\n \"n\": Pow(Ref(\"p\"), Sum(Const(2), Ref(\"t\"))),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(65536),\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=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(393165974983)))))), Mul(Mul(Const(7001), Ref(\"c\")), Mod(value=Ref(\"result\"), modulus=Const(499)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_ONE/ENDING_two_moduli", "MOBIUS_SUM"], "recipe_id": "05df13", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["ENDING_two_moduli", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 1.517, "created_at": "2026-02-08T05:16:49.601955Z", "verification": {"verified": true, "answer": 43178, "timestamp": "2026-02-08T05:16:51.118814Z"}, "problem_hash": "f18bf6", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_SUM": "ok", "ENDING_two_moduli": "ok_later", "LIOUVILLE_ONE": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K18": "no", "MOD_SUB": "no"}} -{"id": "e11fe9", "alias": "comb_count_permutations_fixed_v1_865884756_114", "problem": "Let $m = 9$. Let $\\_n$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 1044$ and $m$ divides the $n_1$-th Fibonacci number. Let $n$ be the number of positive integers $n_2$ such that $1 \\leq n_2 \\leq \\_n$ and $n_2 \\equiv \\left\\lfloor \\frac{n_2}{2} \\right\\rfloor \\pmod{11}$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(1044)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"_n\")), Congruent(a=Var(name='n2'), b=Floor(arg=Div(left=Var(name='n2'), right=Const(value=2))), modulus=Const(value=11))))),\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": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/L3C"], "recipe_id": "4dc414", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:11:06.094385Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T15:11:06.100346Z"}, "problem_hash": "d2916e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "L3C": "ok_later", "K17": "no", "K5": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "ef2b31", "alias": "antilemma_v8_lucas_1918700295_2372", "problem": "Let $c$ be the number of positive integers $k$ from $1$ to $136$ inclusive that are divisible by $8$. Let $t = c - 16$. Define $x$ to be the number of integers $j$ in the range $t \\leq j \\leq 60620$ such that the binomial coefficient $\\binom{60620}{j}$ is odd. Compute the remainder when $97355 \\cdot x$ is divided by $91262$.", "answer": 16708, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Sub(EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(136)), Divides(divisor=Const(8), dividend=Var(\"k\"))), domain='positive_integers'))), Ref(\"_n\"))), Leq(Var(\"j\"), Const(60620)), Eq(Mod(value=Binom(n=Const(60620), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Const(97355), Ref(\"x\")), modulus=Const(91262)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/ZERO_PHI_PRIME/V8", "V8"], "recipe_id": "34e8b3", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "V8", "ZERO_PHI_PRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:51:19.012311Z", "verification": {"verified": true, "answer": 16708, "timestamp": "2026-02-08T07:51:19.014146Z"}, "problem_hash": "e93c83", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "V8": "ok", "ZERO_PHI_PRIME": "ok_later", "K14": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}} -{"id": "a05eb1", "alias": "nt_count_coprime_and_v1_677425708_3658", "problem": "Let $U = 18506$. Compute the number of positive integers $n \\leq U$ that are relatively prime to both $8$ and $15$. Let $r$ be the absolute value of that count. Let $K$ be the largest integer $k$ such that $3^k \\leq 210045$. Let $q$ be the largest prime number $n$ such that $2 \\leq n \\leq K$. Find the $q$th Bell number modulo $r$, and compute the result as a nonnegative integer less than $r$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(18506),\n \"k1\": Const(8),\n \"k2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(210045))))), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MAX_PRIME_BELOW/ENDING_bell_mod"], "recipe_id": "19a2b8", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MAX_PRIME_BELOW", "MAX_VAL"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.466, "created_at": "2026-02-08T05:52:47.024964Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T05:52:50.491113Z"}, "problem_hash": "81ae3d", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "ENDING_bell_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K16": "same_pattern_wrong", "C2": "no", "DS2": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "566bb7", "alias": "antilemma_count_primes_v1_168721529_1829", "problem": "Let $n_1 = 14$, and let\n$$\nw = \\sum_{d \\mid n_1} \\varphi(d) - n_1,\n$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $N$ be the largest prime number between $2$ and $2757$, inclusive, and define\n$$\nK = N + w.\n$$\nLet $x$ be the number of prime numbers between $2$ and $K$, inclusive.\n\nLet $c = 45689 + \\omega(1)$, where $\\omega(1)$ is the number of distinct prime factors of $1$.\n\nLet\n$$\nQ \\equiv c\\,x \\pmod{55834},\n$$\nwith $0 \\le Q < 55834$.\n\nFind the value of $Q$. ", "answer": 53426, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(45689),\n \"n1\": Const(14),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"_n\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2757)), IsPrime(Var(\"n\"))))), Ref(\"w\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": Sum(Ref(\"_m\"), Ref(\"u\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(55834)),\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/EULER_TOTIENT_SUM/COUNT_PRIMES", "OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "49f0df", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "EULER_TOTIENT_SUM", "MAX_PRIME_BELOW", "OMEGA_ZERO"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T13:56:55.823060Z", "verification": {"verified": true, "answer": 53426, "timestamp": "2026-02-08T13:56:55.826420Z"}, "problem_hash": "5a22ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7737, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 5566}, "timestamp": "2026-02-09T22:11:14.384Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok_later", "C2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "7ad930", "alias": "nt_sum_totient_over_divisors_v1_151522320_507", "problem": "Let $m_0=441$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=m_0$. For each such pair, form the sum $x+y$. Let $n_0$ be the minimum of all such sums.\n\nLet $p$ be the largest prime number $n$ such that $2\\le n\\le n_0$. Let $\\Omega(t)$ denote the number of prime factors of $t$ counted with multiplicity. Define $m=\\Omega(p)$ and $s=\\Omega(1)$.\n\nLet\n$$n=50824m+s.$$ \n\nFinally, let\n$$Q=\\sum_{d\\mid n} \\varphi(d),$$\nwhere $\\varphi$ is Euler's totient function. Compute $Q$.", "answer": 50824, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(441),\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 \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"m\": BigOmega(n=Ref(name='p')),\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Mul(Const(50824), Ref(\"m\")), Ref(\"s\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/BIG_OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "87e7d8", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "BIG_OMEGA_ZERO", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T03:21:57.745239Z", "verification": {"verified": true, "answer": 50824, "timestamp": "2026-02-08T03:21:57.754167Z"}, "problem_hash": "b00fbe", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "BIG_OMEGA_ONE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "d73dcb", "alias": "antilemma_sum_primes_v1_677425708_162", "problem": "Let $n$ be the largest integer $k$ such that $2^k$ divides $7^4 - 5^4$. Let $x$ be the sum of all prime numbers $p$ such that $2 \\leq p \\leq n$. Compute $30000 - x$.", "answer": 29995, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30000),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(7), Const(4)), Pow(Const(5), Const(4))), base=Const(2)),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(Ref(\"_m\"), Ref(\"x\")),\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_PRIMES", "SUM_PRIMES"], "recipe_id": "02b44d", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:06:49.763357Z", "verification": {"verified": true, "answer": 29995, "timestamp": "2026-02-08T03:06:49.765423Z"}, "problem_hash": "d6f5b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29995, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 582}, "timestamp": "2026-02-08T20:20:09.422Z"}], "lemma_applicability": {"LTE_DIFF_P2": "ok", "SUM_PRIMES": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "6e2c14", "alias": "antilemma_v8_lucas_1116507919_127", "problem": "Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 19967$ and the binomial coefficient $\\binom{19967}{j}$ is odd. Let $d_{\\text{min}}$ be the smallest divisor of $1147$ that is at least $2$. Compute the remainder when $d_{\\text{min}} - x$ is divided by $87762$.", "answer": 83697, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19967),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(19967)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1147))))), Ref(\"x\")), modulus=Const(87762)),\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_negation_mod", "V8"], "recipe_id": "01cc81", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "MIN_PRIME_FACTOR", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:26:26.575192Z", "verification": {"verified": true, "answer": 83697, "timestamp": "2026-02-08T02:26:26.576869Z"}, "problem_hash": "14fc06", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 83697, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 6612}, "timestamp": "2026-02-08T19:06:24.306Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 83697, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1464}, "timestamp": "2026-02-09T13:44:04.651Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 163, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:47:11.169Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 79601, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 134, "completion_tokens": 1509}, "timestamp": "2026-02-09T15:55:57.902Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 3.32, "mid": 6.59, "hi": 9.27}} -{"id": "4bbcef", "alias": "modular_product_range_v1_1874849503_808", "problem": "Let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 1197$ and $t = 15a + 9b$ for some integers $a, b$ with $1 \\leq a \\leq 63$ and $1 \\leq b \\leq 28$. Let $s$ be the number of elements in $T$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 144$. Let $m$ be the minimum value of $x + y$ over all pairs in $P$. Let $Q$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $M$ be the maximum value of $xy$ over all pairs in $Q$. Compute the remainder when $\\prod_{i = M}^{s} i$ is divided by $11069$.", "answer": 242, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(144),\n \"_m\": Const(11069),\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=63)), 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=24)), Leq(left=Var(name='t'), right=Const(value=1197)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1", "B3/B1"], "recipe_id": "523421", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T13:18:55.772576Z", "verification": {"verified": true, "answer": 242, "timestamp": "2026-02-08T13:18:55.778988Z"}, "problem_hash": "ecb98a", "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": 314, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:13:19.363Z"}], "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "4ca8b5", "alias": "nt_lcm_compute_v1_677425708_3629", "problem": "Let $n=3$ and $a=624$. Let\n\\[\nN=22096755251686259531891351000706731394727425417988840215936880139120673667417077454801972325898163815964594132798422060489516889203236667592574873864182469684969544864324510186010333788796962008386754893120208134952830169562874541030065837757073669380314138440864726985140971762134803013731201674196314191334171903815125202027581644791614195344830978519600861756512310612195616270472254416805538352008597466119316316734234697012372567206272538066718061909860960260025889487439625343172553597489904687162232176593530587137281186116810062249096879605568590866366103645431388933487923919232295214595255826327269099724737547651313061081730872118394507033177024398002786266553645047920947779276283690881485949233798474786687206323506252828262989114151453919959847812867069669127496817253275315376137815844923728529134325514715482344200668188871101225259445607888979646634260079694370498028059332021584149429817339474705553592957182443624104156488757461554369748125181009093121537187786102297215374301718413173572359092455929873406558072673301185140072548121324896865071894901820987245831534628568325132251477205944742475383543409309400907812200932755740280781282967825249559931776102206057777628080863207060525010345228731365727244327060305778346342125194938461769828661431149936669201245415752297296698361828259700547366870754431453853683471099763727821630076353615617885283194705392382536707562931308283312402423525512580678080235188253977975020886756093467120257329078696416045551092180324198332155808027188108361787504808808964642504607972295757369500461565962776015453237456645672082062012263769760554434133550423500085396770272183364993972256942283768282814932864916837670442841855966975034431523541396232797157897118730532790581784862659070405014126342644743718526017185600091610658084908056554895039108115057601497854376159942414714686581409006445244364313121564639435366522985736361.\n\\]\nLet\n\\[\nM=22563490300366186081.\n\\]\nLet $b$ be the largest integer $k$ such that $41^k$ divides $NM$.\n\nLet $R=\\operatorname{lcm}(a,b)$.\n\nConsider all integers $t$ for which there exist integers $u$ and $v$ satisfying\n\\[\n1\\le u\\le 1823,\\quad 1\\le v\\le 118,\\quad 7\\le t\\le 4236,\\quad\\text{and}\\quad t=2u+5v.\n\\]\nLet $T$ be the number of such integers $t$.\n\nLet $C$ be the number of positive integers $j$ such that\n\\[\n1\\le j\\le T\n\\quad\\text{and}\\quad\nj^n\\le 75472455176.\n\\]\n\nDefine $Q$ to be the remainder when $CR$ is divided by $85699$, taken in the set $\\{0,1,2,\\dots,85698\\}$.\n\nFind the value of $Q$.", "answer": 23684, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"a\": Const(624),\n \"b\": MaxKDivides(target=Mul(Const(22096755251686259531891351000706731394727425417988840215936880139120673667417077454801972325898163815964594132798422060489516889203236667592574873864182469684969544864324510186010333788796962008386754893120208134952830169562874541030065837757073669380314138440864726985140971762134803013731201674196314191334171903815125202027581644791614195344830978519600861756512310612195616270472254416805538352008597466119316316734234697012372567206272538066718061909860960260025889487439625343172553597489904687162232176593530587137281186116810062249096879605568590866366103645431388933487923919232295214595255826327269099724737547651313061081730872118394507033177024398002786266553645047920947779276283690881485949233798474786687206323506252828262989114151453919959847812867069669127496817253275315376137815844923728529134325514715482344200668188871101225259445607888979646634260079694370498028059332021584149429817339474705553592957182443624104156488757461554369748125181009093121537187786102297215374301718413173572359092455929873406558072673301185140072548121324896865071894901820987245831534628568325132251477205944742475383543409309400907812200932755740280781282967825249559931776102206057777628080863207060525010345228731365727244327060305778346342125194938461769828661431149936669201245415752297296698361828259700547366870754431453853683471099763727821630076353615617885283194705392382536707562931308283312402423525512580678080235188253977975020886756093467120257329078696416045551092180324198332155808027188108361787504808808964642504607972295757369500461565962776015453237456645672082062012263769760554434133550423500085396770272183364993972256942283768282814932864916837670442841855966975034431523541396232797157897118730532790581784862659070405014126342644743718526017185600091610658084908056554895039108115057601497854376159942414714686581409006445244364313121564639435366522985736361), Const(22563490300366186081)), base=Const(41)),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\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=1823)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=118)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=4236)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(75472455176))), domain='positive_integers')),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85699)),\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/C3/ENDING_affine_mod", "K13"], "recipe_id": "055616", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_affine_mod", "K13", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:51:52.376437Z", "verification": {"verified": true, "answer": 23684, "timestamp": "2026-02-08T05:51:52.381225Z"}, "problem_hash": "75aaf0", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "LIN_FORM": "ok", "C3": "ok_later", "ENDING_affine_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "775b02", "alias": "nt_sum_divisors_range_v1_677425708_366", "problem": "Let $m=23$ and let $a$ and $b$ be integers with $1\\le a\\le 5$ and $1\\le b\\le 4$. For each such pair $(a,b)$, define\n$$t=3a+4b+14.$$\nLet $T$ be the set of all integers $t$ obtained in this way that also satisfy $21\\le t\\le 45$. Let $C$ be the number of elements in $T$.\n\nLet $p$ be the largest prime number $n$ such that $2\\le n\\le C$. Let $s$ be the number of prime factors of $p$ counted with multiplicity, and define\n$$n=ms.$$\nLet $c$ be the number of distinct prime factors of $n$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that\n$$xy=13675204.$$\nFor each such pair, form the sum $x+y$, and let $S$ be the smallest value of $x+y$ over all such pairs. Define\n$$U=Sc.$$\n\nFor each integer $k$ with $1\\le k\\le U$, let $d(k)$ denote the number of positive divisors of $k$. Let\n$$Q=\\sum_{k=1}^{U} d(k).$$\nCompute $Q$.", "answer": 67046, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), 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=21)), Leq(left=Var(name='t'), right=Const(value=45)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=14))))))))), IsPrime(Var(\"n\"))))),\n \"s\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_m\"), Ref(\"s\")),\n \"c\": SmallOmega(n=Ref(name='n')),\n \"upper\": Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(13675204)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"c\")),\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\": 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/MAX_PRIME_BELOW/BIG_OMEGA_ONE", "B3/OMEGA_ONE"], "recipe_id": "40203a", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "LIN_FORM", "MAX_PRIME_BELOW", "OMEGA_ONE"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.288, "created_at": "2026-02-08T03:14:21.406716Z", "verification": {"verified": true, "answer": 67046, "timestamp": "2026-02-08T03:14:21.694647Z"}, "problem_hash": "25076e", "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": 402, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:29:47.118Z"}], "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "BIG_OMEGA_ONE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "OMEGA_ONE": "ok_later", "C2": "no", "K13": "no", "K5": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "ab4398", "alias": "diophantine_fbi2_min_v1_865884756_3548", "problem": "Let $S$ be the set of all integers $t$ such that $10 \\le t \\le 95$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 13$, $1 \\le b \\le 8$, and $t = 3a + 7b$. Let $u$ be the number of elements in $S$. Let $r$ be the smallest integer $d$ such that $5 \\le d \\le u$, $d$ divides 64, and $\\frac{64}{d} \\ge 6$. Let $k_1$ be the largest integer such that $3^{k_1} \\le 15462975315600$. Compute $k_1 - r$.", "answer": 19, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"k\": Const(64),\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=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=95)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Sub(MaxOverSet(set=SolutionsSet(var=Var(\"k1\"), condition=Leq(Pow(Const(3), Var(\"k1\")), Const(15462975315600)))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/ENDING_negation_mod", "LIN_FORM"], "recipe_id": "5a8cdb", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "MAX_VAL"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T17:30:14.773238Z", "verification": {"verified": true, "answer": 19, "timestamp": "2026-02-08T17:30:14.786306Z"}, "problem_hash": "4db378", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_VAL": "ok", "ENDING_negation_mod": "ok_later", "K16": "same_pattern_wrong", "COUNT_PRIMES": "no", "L3c": "no", "MOD_ADD": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "4ec9fd", "alias": "sequence_fibonacci_compute_v1_865884756_3401", "problem": "Let $\\_m$ be the largest positive divisor of $6640$ that is at most $80$. Let $\\_n$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq \\_m$ and $\\binom{80}{j}$ is odd. Let $n$ be the number of positive divisors of $\\_n$ that are divisible by $8$. Compute the $n$-th Fibonacci number, where the Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 6765, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(80)), Divides(divisor=Var(\"d\"), dividend=Const(6640))))),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(80), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Ref(\"_c\"), dividend=Var(\"k\"))), domain='positive_integers')),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/V8/C2"], "recipe_id": "64ec16", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "MAX_DIVISOR", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T17:20:16.485317Z", "verification": {"verified": true, "answer": 6765, "timestamp": "2026-02-08T17:20:16.490068Z"}, "problem_hash": "5c5c5c", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "ok_later", "V8": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3b": "no", "MAX_VAL": "no", "V1": "no"}} -{"id": "a225cb", "alias": "diophantine_fbi2_min_v1_1742523217_912", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_{\\text{min}}$ be the smallest integer $d$ such that $4 \\leq d \\leq 25$, $d$ divides $15$, and $\\frac{15}{d} \\geq 3$. Compute $d_{\\text{min}}^2 + n \\cdot d_{\\text{min}} + s$, where $s$ is the sum of all real solutions $x$ to the equation $x^2 - 2022x + 20120 = 0$.", "answer": 2057, "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=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 \"k\": Const(15),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(Ref(\"_n\"), Ref(\"result\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2022), Var(\"x\")), Const(20120)), Const(0))))),\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/VIETA_SUM/ENDING_quadratic_mod"], "recipe_id": "ce4f4e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_quadratic_mod", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:21:18.827057Z", "verification": {"verified": true, "answer": 2057, "timestamp": "2026-02-08T03:21:18.833159Z"}, "problem_hash": "ca0f2f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 2057, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 1407}, "timestamp": "2026-02-09T08:29:26.827Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "ENDING_quadratic_mod": "ok_later", "VIETA_SUM": "ok_later", "DS2": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "54f61e", "alias": "diophantine_sum_product_min_v1_1520064083_3928", "problem": "Let $n_1 = 1$ and $t = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the Möbius function. Let $n$ be $t$ multiplied by the number of positive integers at most $42984$ that are divisible by $6$ and relatively prime to $35$. Let $e = \\lambda(n) + 1$, where $\\lambda$ is the Liouville function. Let $S = 10$ and $P = 25 + e$. Determine the value of the smallest positive integer $x \\le 9$ such that $x(S - x) = P$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(42984),\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(6), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))), Ref(\"t\")),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"S\": Const(10),\n \"P\": Sum(Const(25), Ref(\"e\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(9)), 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": "C5", "lemma_paths": ["C5/MOBIUS_SUM/LIOUVILLE_MINUS_ONE"], "recipe_id": "9bd760", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C5", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T05:59:04.618625Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:59:04.626222Z"}, "problem_hash": "124e09", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "2295a7", "alias": "nt_sum_totient_over_divisors_v1_151522320_1186", "problem": "Let $n = 78470$ and define $R = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $A = R \\bmod 97$, $B = R^2 \\bmod 101$, and $C = R \\bmod 33$. Let $D$ be the number of positive integers $k$ such that $1 \\le k \\le 307$ and $\\gcd(k, 6) = 1$. Compute the remainder when $353702A + 329703B + 215534C$ is divided by $1009091$, and then compute the remainder when that result is divided by $68677$.", "answer": 31683, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(307),\n \"n\": Const(78470),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(33),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=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(6)), Const(1)))))))), modulus=Const(1009091)), modulus=Const(68677)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_crt_mix_3"], "recipe_id": "6fd0d0", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_crt_mix_3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:50:00.690320Z", "verification": {"verified": true, "answer": 31683, "timestamp": "2026-02-08T03:50:00.694612Z"}, "problem_hash": "60a606", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "ENDING_crt_mix_3": "ok_later", "K13": "no", "K14": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}} -{"id": "e51909", "alias": "nt_sum_gcd_range_mod_v1_677425708_1773", "problem": "Let $N = 3333$ and $k = 144$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $\\text{result}$ be the remainder when $\\text{sum}$ is divided by $11329$. Let $c$ be the number of positive integers $n \\leq 101$ such that $\\gcd(n, 12) = 1$. Define\n$$\nQ = \\left( 353702 \\cdot |\\text{result}| \\bmod 97 + 329703 \\cdot \\left( |\\text{result}|^2 + 1 \\right) \\bmod 101 + 215534 \\cdot \\left( |\\text{result}| + c \\right) \\bmod 103 \\right) \\bmod 1009091 \\bmod 77577.\n$$\nCompute $Q$.", "answer": 30067, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"N\": Const(3333),\n \"k\": Const(144),\n \"M\": Const(11329),\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(101)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(77577)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_crt_mix_3"], "recipe_id": "6fd0d0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_crt_mix_3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.228, "created_at": "2026-02-08T04:27:13.316212Z", "verification": {"verified": true, "answer": 30067, "timestamp": "2026-02-08T04:27:13.543932Z"}, "problem_hash": "ced3a2", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "1266e1", "alias": "nt_count_intersection_v1_1125832087_1468", "problem": "Let $N = 100000$, $a = 5$, and $b = 14$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $5$ divides $n$, and $\\gcd(n, 14) = 1$. Let $k$ be the number of elements in $S$. Let $m$ be the number of positive integers at most $25$ that are relatively prime to $14$. Compute the Bell number $B_r$, where $r$ is the remainder when $|k|$ is divided by $m$. Determine the value of $B_r$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(100000),\n \"a\": Const(5),\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 \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(25)), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["C4/ENDING_bell_mod"], "recipe_id": "e91113", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_bell_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 9.682, "created_at": "2026-02-08T03:45:24.773733Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:45:34.455722Z"}, "problem_hash": "29c411", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "ENDING_bell_mod": "ok_later", "K16": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}} -{"id": "4632f7", "alias": "sequence_lucas_compute_v1_458359167_314", "problem": "Let $m = 2$ and $n = 5$. Let $J$ be the set of all positive integers $j$ such that $j^n \\leq 6436343$ and $j \\geq 1$, where $n = 5$. Let $N$ be the largest prime number $p$ satisfying $m \\leq p \\leq 27$. The upper bound on $j$ is $N$. Define $k$ to be the number of elements in $J$. Let $L_k$ be the $k$-th Lucas number, defined by $L_1 = 1$, $L_2 = 3$, and $L_i = L_{i-1} + L_{i-2}$ for $i \\geq 3$. Compute the remainder when $\\sum_{i=\\phi(2)}^{|L_k|} \\phi(i)$ is divided by 86347, where $\\phi$ is Euler's totient function.", "answer": 76958, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(5),\n \"n\": 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\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(27)), IsPrime(Var(\"n\")))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(6436343))), domain='positive_integers')),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(86347)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C3", "ONE_PHI_2"], "recipe_id": "c7b9f0", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.064, "created_at": "2026-02-08T03:11:33.911524Z", "verification": {"verified": true, "answer": 76958, "timestamp": "2026-02-08T03:11:37.975368Z"}, "problem_hash": "bb9147", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "C3": "ok_later", "K5": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "966206", "alias": "nt_sum_divisors_compute_v1_865884756_785", "problem": "Let $n = 43681$. Compute the sum of all positive divisors of $n$.", "answer": 50673, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(43681),\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": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME/MOBIUS_SUM"], "recipe_id": "d7d237", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T15:36:36.942351Z", "verification": {"verified": true, "answer": 50673, "timestamp": "2026-02-08T15:36:36.952400Z"}, "problem_hash": "6b92e1", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SUM": "ok_later", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "3bfa62", "alias": "modular_min_modexp_v1_1520064083_3518", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1225$. Define $n$ to be the minimum value of $x + y$ over all pairs in $S$. Let $b$ be the sum of $\\phi(k) \\cdot \\left\\lfloor \\frac{3}{k} \\right\\rfloor$ over all positive integers $k$ from $1$ to $210$ that divide $n$. Find the smallest positive integer $x$ such that $1 \\leq x \\leq 54$ and $5^x \\equiv b \\pmod{163}$. Compute the remainder when $12830$ times this value of $x$ is divided by $62189$.", "answer": 19610, "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(1225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(5),\n \"b\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(210)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"m\": Const(163),\n \"upper\": Const(54),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(12830), Ref(\"result\")), modulus=Const(62189)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["B3/C2/K2"], "recipe_id": "8f050d", "seed_template_id": "modular_min_modexp_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.076, "created_at": "2026-02-08T05:43:34.360952Z", "verification": {"verified": true, "answer": 19610, "timestamp": "2026-02-08T05:43:34.436822Z"}, "problem_hash": "91a2a4", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C2": "ok_later", "K2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "4723a7", "alias": "nt_euler_phi_compute_v1_1520064083_2079", "problem": "Let $m = 12$ and $n = 5$. Define $N = 68121$ and let $r = \\phi(N)$, the number of positive integers at most $N$ that are relatively prime to $N$. Let $c$ be the number of positive integers $k$ such that $1 \\le k \\le n$ and $\\gcd(k, m) = 1$. Let $d_{\\text{max}}$ be the largest positive divisor of 238 that is at most 14. Compute $r + \\left(c^{r \\bmod d_{\\text{max}}} \\bmod 50907\\right)$.", "answer": 43849, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(5),\n \"n\": Const(68121),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(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))))), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(14)), Divides(divisor=Var(\"d\"), dividend=Const(238))))))), modulus=Const(50907))),\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_mod_exp", "C4/ENDING_mod_exp"], "recipe_id": "089193", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_mod_exp", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:30:33.854331Z", "verification": {"verified": true, "answer": 43849, "timestamp": "2026-02-08T04:30:33.856651Z"}, "problem_hash": "43e0fd", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MAX_DIVISOR": "ok", "ENDING_mod_exp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K17": "no", "K5": "no", "MOD_SUB": "no"}} -{"id": "5d29e8", "alias": "algebra_poly_eval_v1_677425708_4100", "problem": "Let $m$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 4$. Let $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Let $p_1, p_2, \\dots, p_k$ be the positive integers $p$ for which there exists an integer $q > p$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Compute the value of $11^n + 2 \\cdot 11^3 + 11^k + 7 \\cdot 11 - 4$.", "answer": 17497, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": Const(11),\n \"result\": Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(2), Pow(Ref(\"x\"), Const(3))), Pow(Ref(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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')))))))), Mul(Const(7), Ref(\"x\")), Const(-4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/COPRIME_PAIRS"], "recipe_id": "2e4c91", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T06:25:53.941758Z", "verification": {"verified": true, "answer": 17497, "timestamp": "2026-02-08T06:25:53.949731Z"}, "problem_hash": "65d401", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok_later", "COPRIME_PAIRS": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}} -{"id": "dd136f", "alias": "nt_sum_totient_over_divisors_v1_677425708_3273", "problem": "Let $m = 2$. Let $n$ be the number of prime numbers between 2 and 227, inclusive. Let $N = 56115$. Define\n$$\n\\text{result} = \\sum_{d \\mid N} \\phi(d),\n$$\nwhere $\\phi$ is Euler's totient function. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = n$. Let $s$ be the minimum value of $x + y$ as $(x,y)$ ranges over $T$. Compute\n$$\n\\text{result} + m^{\\text{result} \\bmod s} \\bmod 70775.\n$$", "answer": 56123, "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\"), Const(227)), IsPrime(Var(\"n\"))))),\n \"n\": Const(56115),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\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\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Const(70775))),\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/B3/ENDING_mod_exp"], "recipe_id": "6da9d2", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "ENDING_mod_exp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:35:58.407872Z", "verification": {"verified": true, "answer": 56123, "timestamp": "2026-02-08T05:35:58.412801Z"}, "problem_hash": "5af60b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "B3": "ok_later", "ENDING_mod_exp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "a3f5a5", "alias": "diophantine_fbi2_min_v1_1742523217_2827", "problem": "Let $\\mathcal{S}$ be the set of all ordered pairs of positive integers $(i, j)$ such that $i + j = 66$ and $1 \\leq i, j \\leq 66$. Let $k = 55$. Let $t$ be the number of elements in $\\mathcal{S}$. Let $\\mathcal{P}$ be the set of all positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Let $u = |\\mathcal{P}|$. Define $v = \\sum_{k=1}^{u} \\varphi(55) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$. Let $d$ be the smallest positive integer such that $d \\geq v$, $d \\leq t$, $d$ divides $55$, and $\\frac{55}{d} \\geq 7$. Find the value of $d$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66),\n \"k\": Const(55),\n \"upper\": 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(66)), right=IntegerRange(start=Const(1), end=Const(66))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), 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=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'))))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\")))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["COPRIME_PAIRS/K2", "COUNT_SUM_EQUALS"], "recipe_id": "eec52a", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_SUM_EQUALS", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.092, "created_at": "2026-02-08T05:24:27.124329Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:24:27.216071Z"}, "problem_hash": "913b0b", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_SUM_EQUALS": "ok", "K2": "ok_later", "K5": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "2a5114", "alias": "geo_count_lattice_triangle_v1_1248542787_329", "problem": "Let $A$ be the area of the triangle with vertices at $(169, 2)$, $(49, 111)$, and $(0, 0)$, multiplied by $2$. Let $B$ be the sum of the greatest common divisors of the absolute differences of the coordinates of each pair of vertices. Specifically, compute\n\\[\nB = \\gcd(|169 - 0|, |2 - 0|) + \\gcd(|49 - 169|, |111 - 2|) + \\gcd(|0 - 49|, |0 - 111|).\n\\]\nLet $r = \\frac{A + 2 - B}{2}$. Find the remainder when $12601 \\cdot r$ is divided by $98426$.", "answer": 46686, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(12601),\n \"_m\": Const(2),\n \"_n\": Const(111),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=169), SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d')))), Mul(Const(value=49), Sub(left=Const(value=0), right=Ref(name='_m'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=2))), GCD(a=Abs(arg=Sub(left=Const(value=49), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=2)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=49))), 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\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(98426)),\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", "K13", "K3"], "recipe_id": "45a43f", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T03:03:40.152387Z", "verification": {"verified": true, "answer": 46686, "timestamp": "2026-02-08T03:03:40.163647Z"}, "problem_hash": "63ee91", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46686, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 2097}, "timestamp": "2026-02-09T03:00:26.449Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46686, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 1921}, "timestamp": "2026-02-09T15:14:06.066Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:48:01.241Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "K13": "ok", "K3": "ok", "COUNT_PRIMES": "no", "K14": "no", "L3b": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "526a37", "alias": "nt_sum_totient_over_divisors_v1_1918700295_1453", "problem": "Let $n = 43868$. Compute the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$. Let $S$ be this sum. Define $Q$ to be the sum of $d_i (i+1)^2$ for $i$ from $0$ to the number of digits of $|S|$ minus $2$, where $d_i$ is the $i$-th decimal digit of $|S|$ (starting from the units digit as $d_0$), plus $37636$. Compute $Q$.", "answer": 37888, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(43868),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(EulerPhi(n=Const(17)), Const(16)), 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)))), Const(37636)),\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", "ONE_PHI_1"], "recipe_id": "009f93", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "ZERO_PHI_PRIME"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:50:50.028141Z", "verification": {"verified": true, "answer": 37888, "timestamp": "2026-02-08T05:50:50.032390Z"}, "problem_hash": "95c614", "license": "CC BY 4.0", "lemma_applicability": {"ONE_PHI_1": "ok", "ZERO_PHI_PRIME": "ok", "K5": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "945cbf", "alias": "modular_modexp_compute_v1_397696148_125", "problem": "Let $a = 2$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 158$ and $n$ is divisible by the smallest divisor of $6557$ that is at least $2$. Let $N$ be the sum of all elements in $S$. Let $e$ be the largest prime number $n$ such that $2 \\leq n \\leq N$.\n\nCompute the remainder when $2^e$ is divided by $52441$.", "answer": 26367, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(2),\n \"e\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(158)), Eq(Mod(value=Var(\"n\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6557)))))), Const(0)))))), IsPrime(Var(\"n\"))))),\n \"m\": Const(52441),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_DIVISIBLE/MAX_PRIME_BELOW"], "recipe_id": "dc68a3", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:17:34.036383Z", "verification": {"verified": true, "answer": 26367, "timestamp": "2026-02-08T11:17:34.040202Z"}, "problem_hash": "c54f29", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "SUM_DIVISIBLE": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}} -{"id": "162cf8", "alias": "antilemma_sum_primes_v1_1125832087_753", "problem": "Let $\\mu$ denote the M\\\"obius function. Define $n = 13^2 \\cdot (53 + 1)$. Let $e = \\mu(n)^2$. Define $p = 11 + e$. Let $s$ be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 10816$, and let $m$ be the minimum value of $x + y$ over all such pairs. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq m$. Compute the remainder when $ (44121 + s) \\cdot x $ is divided by $81722$.", "answer": 9863, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(13),\n \"q\": Const(53),\n \"n\": Mul(Pow(Ref(\"p1\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"e\": Pow(MoebiusMu(n=Ref(name='n')), Ref(\"_n\")),\n \"p\": Sum(Const(11), Ref(\"e\")),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"x\": SumOverSet(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\")), Const(10816)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Sum(Const(44121), Ref(\"s\")), Ref(\"x\")), modulus=Const(81722)),\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", "B3/SUM_PRIMES", "WILSON", "SUM_PRIMES"], "recipe_id": "c56502", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "MOBIUS_SQUAREFREE", "SUM_PRIMES", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:15:34.046242Z", "verification": {"verified": true, "answer": 9863, "timestamp": "2026-02-08T03:15:34.048613Z"}, "problem_hash": "1afce3", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_SQUAREFREE": "ok", "SUM_PRIMES": "ok", "WILSON": "ok", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "dc52da", "alias": "sequence_count_fib_divisible_v1_1742523217_5655", "problem": "Let $n = 14$ and $d = 3$. Define $r$ to be the number of positive integers $n$ with $1 \\leq n \\leq 816$ such that $d$ divides the $n$-th Fibonacci number. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $m$ to be the maximum value of $xy$ over all such pairs. Let $g = \\gcd(m, n)$. Define $\\mu$-sum to be the sum of $\\mu(d)$ over all positive divisors $d$ of $g$, where $\\mu$ is the M\\\"obius function. Let $t = r + 1$. Compute the value of $r + \\phi(t) + \\tau(r + \\mu\\text{-sum})$, where $\\phi$ denotes Euler's totient function and $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"upper\": Const(816),\n \"d\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": 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=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x'), Var(name='y')))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["B1/MOBIUS_COPRIME/ENDING_arith_invariants"], "recipe_id": "d77d29", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "ENDING_arith_invariants", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.174, "created_at": "2026-02-08T11:08:39.680412Z", "verification": {"verified": true, "answer": 368, "timestamp": "2026-02-08T11:08:39.854883Z"}, "problem_hash": "100c30", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "ENDING_arith_invariants": "ok_later", "MOBIUS_COPRIME": "ok_later", "K16": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "1bf54a", "alias": "nt_gcd_compute_v1_677425708_3457", "problem": "Let $\\mu(n)$ denote the Möbius function, $\\phi(n)$ denote Euler's totient function, and $\\tau(n)$ denote the number of positive divisors of $n$. Let $r = \\gcd(530904, 995445)$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $m = \\max\\{xy \\mid (x,y) \\in S\\}$. Let $d = \\sum_{k \\mid \\gcd(4, m)} \\mu(k)$. Compute $r + \\phi(|r| + 1) + \\tau(|r| + d)$.", "answer": 98759, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(530904),\n \"b\": Const(995445),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\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=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=MoebiusMu(n=Var(name='d')))))),\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/ENDING_arith_invariants"], "recipe_id": "d77d29", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_arith_invariants", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:44:04.251123Z", "verification": {"verified": true, "answer": 98759, "timestamp": "2026-02-08T05:44:04.254195Z"}, "problem_hash": "c7497c", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "ENDING_arith_invariants": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}} -{"id": "fb60ad", "alias": "nt_gcd_compute_v1_1520064083_1278", "problem": "Let $n_0=60191$ and $p=47$. Let $e$ be the number of prime factors of $p$ counted with multiplicity.\n\nLet $S$ be the set of all integers $n$ with $1\\le n\\le 78$ such that\n$$n\\equiv \\sum_{d\\mid 18} \\mu(d) \\pmod{39},$$\nwhere $\\mu$ denotes the Möbius function. Let $A_1$ be the sum of all elements of $S$, and define\n$$a_1=eA_1,\\quad b_1=52.$$\nLet\n$$s=\\sum_{d\\mid \\gcd(a_1,b_1)} \\mu(d).$$\n\nDefine\n$$A=273832,\\quad B=442344+s,$$\nand let\n$$R=\\gcd(A,B).$$\n\nLet $c=43246$, and define $Q$ to be the remainder when $cR$ is divided by $n_0$, with $0\\le Q< n_0$.\n\nCompute $Q$.", "answer": 3150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60191),\n \"p\": Const(47),\n \"e\": BigOmega(n=Ref(name='p')),\n \"a1\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(78)), Eq(Mod(value=Var(\"n\"), modulus=Const(39)), SumOverDivisors(n=Const(value=18), var='d', expr=MoebiusMu(n=Var(name='d'))))))), Ref(\"e\")),\n \"b1\": Const(52),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(273832),\n \"b\": Sum(Const(442344), Ref(\"s\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(43246),\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": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/BIG_OMEGA_ONE/MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "19c075", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MOBIUS_COPRIME", "MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:53:58.869787Z", "verification": {"verified": true, "answer": 3150, "timestamp": "2026-02-08T03:53:58.876479Z"}, "problem_hash": "7f9acd", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_SUM": "ok", "SUM_DIVISIBLE": "ok", "BIG_OMEGA_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "a3860c", "alias": "comb_count_permutations_fixed_v1_1520064083_1875", "problem": "Let $m$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq 3$. Let $d$ be the smallest positive divisor of 49049 that is at least $m$. Let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 12$. Compute $\\binom{d}{k} \\cdot !(d - k)$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 924, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(49049),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_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=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 \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "5d2c7f", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:21:15.967866Z", "verification": {"verified": true, "answer": 924, "timestamp": "2026-02-08T04:21:15.970920Z"}, "problem_hash": "65e9c0", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "305686", "alias": "nt_sum_divisors_mod_v1_168721529_1752", "problem": "Let $n = 83160$ and let $\\sigma$ be the sum of the positive divisors of $n$. Define $r$ to be the remainder when $\\sigma$ is divided by $10663$. Let $A$ be the set of all integers $k$ such that $1 \\leq k \\leq 399$ and the sum of the decimal digits of $k$ is divisible by $2$. Let $c$ be the number of elements in $A$. Let $D$ be the set of all integers $d \\geq 2$ that divide $127757473$, and let $m$ be the smallest element of $D$. Compute the remainder when $r \\bmod c + 2003 \\cdot (r \\bmod m)$ is divided by $62998$.", "answer": 29206, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(399),\n \"_n\": Const(2),\n \"n\": Const(83160),\n \"M\": Const(10663),\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=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(\"_n\")), Const(0)))))), Mul(Const(2003), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(127757473)))))))), modulus=Const(62998)),\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_two_moduli", "L3B/ENDING_two_moduli"], "recipe_id": "375a5a", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T13:54:20.931349Z", "verification": {"verified": true, "answer": 29206, "timestamp": "2026-02-08T13:54:20.938978Z"}, "problem_hash": "5f0fd9", "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-09T21:15:41.120Z"}], "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "K14": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "8f394a", "alias": "nt_count_divisible_v1_1520064083_88", "problem": "Let $n$ be a positive integer. Define $N = 37249$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ is divisible by 12. Let $A$ be the number of elements in this set. \n\nNow, let $B$ be the smallest divisor $d \\geq 2$ of 4360092637. Let $C$ be the number of positive integers $n \\leq 14002$ such that the sum of the decimal digits of $n$ is even. Let $R = A \\bmod 397$.\n\nCompute the remainder when \n$$\nA \\bmod B + C \\cdot R\n$$ \nis divided by 66366.", "answer": 18973, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(397),\n \"upper\": Const(37249),\n \"divisor\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4360092637)))))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14002)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(66366)),\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", "L3B/ENDING_two_moduli"], "recipe_id": "375a5a", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.187, "created_at": "2026-02-08T02:58:58.411795Z", "verification": {"verified": true, "answer": 18973, "timestamp": "2026-02-08T02:58:59.598556Z"}, "problem_hash": "1e31fa", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "K14": "no", "K16": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}} -{"id": "a6de38", "alias": "antilemma_v1_legendre_677425708_3977", "problem": "Let $a = 30$ and $b = 31$. Define $h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the Möbius function. Let $p = 43h$ and $t = \\Omega(p)$, the number of prime factors of $p$ counted with multiplicity. Let $x$ be the largest integer such that $11^x$ divides $45518!$. Define $c = 38674t$. Compute the remainder when $c \\cdot x$ is divided by $96499$. Find the value of this remainder.", "answer": 87697, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(30),\n \"b\": Const(31),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Mul(Const(43), Ref(\"h\")),\n \"t\": BigOmega(n=Ref(name='p')),\n \"x\": MaxKDivides(target=Factorial(Const(45518)), base=Const(11)),\n \"_c\": Mul(Const(38674), Ref(\"t\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(96499)),\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", "BIG_OMEGA_ONE", "V1"], "recipe_id": "f2e2dc", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:07:34.540599Z", "verification": {"verified": true, "answer": 87697, "timestamp": "2026-02-08T06:07:34.541229Z"}, "problem_hash": "536635", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok", "V1": "ok", "K5": "same_pattern_wrong", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "V5": "no", "V8": "no"}} -{"id": "50255d", "alias": "antilemma_product_of_sums_v1_1918700295_1146", "problem": "Let $A$ be the sum of all integers $j$ such that $0\\le j\\le 7$ and\n$$\\binom{7}{j}\\equiv 1\\pmod{2}.$$\n\nLet $D$ be the largest integer $d$ with $1\\le d\\le 1665$ such that $d$ divides $2778885$.\n\nLet $e$ be the largest integer such that $2^e$ divides $\\binom{D}{666}$.\n\nLet\n$$B=\\sum_{k=1}^{e} k.$$\n\nLet $X=A\\cdot B$.\n\nCompute $X$.", "answer": 1260, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(666),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(7)), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=Const(2)), Const(1))))), Summation(var=\"k\", start=Const(1), end=MaxKDivides(target=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1665)), Divides(divisor=Var(\"d\"), dividend=Const(2778885))))), k=Ref(\"_n\")), base=Ref(\"_m\")), expr=Var(\"k\"))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/V7/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "e3245c", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "V7"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:36:28.725935Z", "verification": {"verified": true, "answer": 1260, "timestamp": "2026-02-08T05:36:28.728840Z"}, "problem_hash": "150ec6", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "V7": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "47e8de", "alias": "nt_max_prime_below_v1_124444284_1732", "problem": "Let $M$ be the greatest prime number less than or equal to $84100$.\n\nLet $S$ 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 p$ such that $pq = 36$ and $\\gcd(p,q) = 1$. Compute the remainder when\n$$\n353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left( |x|^2 \\bmod d \\right) + 215534 \\cdot \\left( |x| \\bmod c \\right)\n$$\nis divided by $73988$, where $d$ is the largest prime between $2$ and $102$ inclusive.", "answer": 4513, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(102),\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(7)), right=IntegerRange(start=Const(1), end=Const(101))))),\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=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 \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_n\")), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(73988)),\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/ENDING_crt_mix_3", "COPRIME_PAIRS/ENDING_crt_mix_3", "COUNT_COPRIME_GRID"], "recipe_id": "97606c", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "ENDING_crt_mix_3", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T04:49:02.064319Z", "verification": {"verified": true, "answer": 4513, "timestamp": "2026-02-08T04:49:02.069466Z"}, "problem_hash": "20de69", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "MAX_VAL": "no"}} -{"id": "5b8746", "alias": "antilemma_v1_legendre_151522320_571", "problem": "Let $n$ be the largest prime number satisfying $2 \\le n \\le 8$. Let $h = \\sum_{d \\mid n} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p = 2$ and define $e$ to be the remainder when $ (p - h - 1)! + 1 $ is divided by $p$. Let $q = 3 + e$. Determine the largest integer $x$ such that $q^x$ divides $11376!$. Compute the remainder when $|x|$ is divided by $82439$.", "answer": 5684, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82439),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))),\n \"h\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(2),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Sum(Const(1), Ref(\"h\")))), Const(1)), modulus=Ref(\"p\")),\n \"_n\": Sum(Const(3), Ref(\"e\")),\n \"x\": MaxKDivides(target=Factorial(Const(11376)), base=Ref(\"_n\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='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/MOBIUS_SUM", "WILSON", "V1"], "recipe_id": "dfd6f6", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "V1", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:22:53.266848Z", "verification": {"verified": true, "answer": 5684, "timestamp": "2026-02-08T03:22:53.269734Z"}, "problem_hash": "f72783", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "WILSON": "ok", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no", "K16": "no", "L3b": "no"}} -{"id": "5fbf6e", "alias": "nt_lcm_compute_v1_1520064083_141", "problem": "Let $p$ and $q$ be positive integers such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of such integers $p$. Define $a$ to be the sum of all prime numbers $n$ satisfying $m \\leq n \\leq 133$. Let $b$ be the largest integer $k$ such that $17^k$ divides $32776!$. Let $L$ be the least common multiple of $a$ and $b$. Find the remainder when $11809 \\cdot L$ is divided by $62460$.", "answer": 45213, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(62460),\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\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(133)), IsPrime(Var(\"n\"))))),\n \"b\": MaxKDivides(target=Factorial(Const(32776)), base=Const(17)),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(11809),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V1/SUM_PRIMES"], "recipe_id": "edc527", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_PRIMES", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:06:24.570049Z", "verification": {"verified": true, "answer": 45213, "timestamp": "2026-02-08T03:06:24.574903Z"}, "problem_hash": "b72e2a", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok_later", "V1": "ok_later", "C2": "no", "K13": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no"}} -{"id": "f7c109", "alias": "nt_count_coprime_v1_1742523217_5510", "problem": "Let $N_1$ be the number of integers $n$ with $1\\le n\\le 42436$ and $\\gcd(n,20)=1$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=81$. Let $S$ be the set of all values of $x+y$ as $(x,y)$ ranges over these pairs, and let $M$ be the minimum element of $S$.\n\nConsider all ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and $x_1+x_2=M$. Let $K$ be the number of such ordered pairs.\n\nLet $N_2$ be the number of integers $n$ with $1\\le n\\le 87633$ such that $K$ divides $n$ and $\\gcd(n,10)=1$.\n\nLet $Q$ be the remainder when $N_1\\cdot N_2$ is divided by $96249$.\n\nFind the value of $Q$.", "answer": 86916, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87633),\n \"upper\": Const(42436),\n \"k\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))))))), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))), Ref(\"result\")), modulus=Const(96249)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COMB1/C5/ENDING_affine_mod"], "recipe_id": "3b076e", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C5", "COMB1", "ENDING_affine_mod"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 3.468, "created_at": "2026-02-08T11:02:13.476382Z", "verification": {"verified": true, "answer": 86916, "timestamp": "2026-02-08T11:02:16.944576Z"}, "problem_hash": "625a06", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C5": "ok_later", "COMB1": "ok_later", "ENDING_affine_mod": "ok_later", "C2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8": "no"}} -{"id": "aba4e3", "alias": "antilemma_v7_kummer_1116507919_268", "problem": "Let $m = 4000$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $x \\cdot y = 2500$. Let $k$ be the number of positive integers at most $m$ that are divisible by 100. Determine the largest integer $x$ such that $3^x$ divides $\\binom{s}{k}$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4000),\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(2500)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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\"), Ref(\"_m\")), Divides(divisor=Const(100), dividend=Var(\"k\"))), domain='positive_integers'))), base=Const(3)),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/V7", "B3/V7", "V7"], "recipe_id": "e64a46", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C2", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:30:12.821874Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T02:30:12.823457Z"}, "problem_hash": "aa504e", "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": 205, "completion_tokens": 1340}, "timestamp": "2026-02-08T19:20:18.449Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 1208}, "timestamp": "2026-02-09T15:16:09.334Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:49:38.053Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 1316}, "timestamp": "2026-02-09T18:42:50.611Z"}], "lemma_applicability": {"B3": "ok", "C2": "ok", "V7": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "6001e5", "alias": "comb_catalan_compute_v1_1125832087_205", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ of integers such that $1 \\le i \\le 12$, $1 \\le j \\le 12$, and $i + j = 12$.\n\nLet $C_n$ denote the $n$-th Catalan number.\n\nLet $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12482$.\n\nFind the remainder when $c - C_n$ is divided by $80933$.", "answer": 28388, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80933),\n \"_n\": Const(12482),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12))))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.049, "created_at": "2026-02-08T02:56:29.780594Z", "verification": {"verified": true, "answer": 28388, "timestamp": "2026-02-08T02:56:29.829855Z"}, "problem_hash": "ebe30d", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}} -{"id": "23e9d4", "alias": "antilemma_sum_equals_v1_260342960_104", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $i + j = 17$, $1 \\leq i \\leq 15$, and $1 \\leq j \\leq 16$. Let $Q$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 450$, minus $x$. Compute the value of $Q$.", "answer": 210, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(16))))),\n \"Q\": Sub(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(450))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T11:14:04.222734Z", "verification": {"verified": true, "answer": 210, "timestamp": "2026-02-08T11:14:04.233142Z"}, "problem_hash": "8cf49c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 210, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 1281}, "timestamp": "2026-02-08T20:28:31.176Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 210, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 1667}, "timestamp": "2026-02-09T07:13:36.488Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 210, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 946}, "timestamp": "2026-02-09T16:51:32.070Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:08:36.375Z"}], "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_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.5}} -{"id": "39835f", "alias": "antilemma_sum_equals_v1_865884756_4378", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 101$, $1 \\leq i \\leq 99$, and $1 \\leq j \\leq 100$. Let $Q$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 666$, minus $x$. Find the value of $Q$.", "answer": 234, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\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(99)), right=IntegerRange(start=Const(1), end=Const(100))))),\n \"Q\": Sub(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(666))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 3, "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-08T17:54:36.343493Z", "verification": {"verified": true, "answer": 234, "timestamp": "2026-02-08T17:54:36.354272Z"}, "problem_hash": "7d6428", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "dbb2ff", "alias": "antilemma_sum_equals_v1_784195855_426", "problem": "Let $ S $ be the set of all ordered pairs $ (i, j) $ of positive integers such that $ i \\leq 82 $, $ j \\leq 82 $, and $ i + j = 84 $. Let $ T $ be the set of all ordered pairs $ (x_1, x_2) $ of positive odd integers such that $ x_1 + x_2 = 13530 $. Compute the difference between the number of elements in $ T $ and the number of elements in $ S $.", "answer": 6684, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84),\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(82)), right=IntegerRange(start=Const(1), end=Const(82))))),\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(13530))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:22:04.897655Z", "verification": {"verified": true, "answer": 6684, "timestamp": "2026-02-08T04:22:04.904354Z"}, "problem_hash": "b2c09f", "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": "3c80b5", "alias": "antilemma_sum_equals_v1_784195855_2892", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i \\le 16$ and $1 \\le j \\le 16$ such that $i + j = 16$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 4036$. Compute $c - x$.", "answer": 2003, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\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(16)), right=IntegerRange(start=Const(1), end=Const(16))))),\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(4036))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T06:06:29.541671Z", "verification": {"verified": true, "answer": 2003, "timestamp": "2026-02-08T06:06:29.555008Z"}, "problem_hash": "5ccdd0", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "d47dfe", "alias": "antilemma_count_primes_v1_677425708_3879", "problem": "Let $m=2$. Let $n$ be the smallest integer $d$ such that $d\\ge m$ and $d$ divides $509771$.\n\nLet $x$ be the number of integers $k$ such that $2\\le k\\le n$ and $k$ is prime.\n\nConsider all ordered pairs $(a,b)$ of positive integers such that $ab=5564881$. Let $c$ be the smallest possible value of $a+b$ over all such pairs.\n\nLet\n$$Q\\equiv c\\cdot x\\pmod{71555},$$\nwhere $0\\le Q<71555$.\n\nFind the value of $Q$. ", "answer": 26746, "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(509771))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(5564881)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(71555)),\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/COUNT_PRIMES", "B3/ENDING_affine_mod", "COUNT_PRIMES"], "recipe_id": "ee802d", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "ENDING_affine_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T06:00:58.032832Z", "verification": {"verified": true, "answer": 26746, "timestamp": "2026-02-08T06:00:58.035444Z"}, "problem_hash": "7b9657", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "a2122a", "alias": "nt_sum_divisors_range_v1_1915831931_1528", "problem": "Let $m = 2$. Let $n$ be the number of prime numbers $p$ such that $m \\leq p \\leq d$, where $d$ is the smallest divisor of $675683$ that is at least $2$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = n$. Define $u$ to be the maximum value of $xy$ over all such pairs. Let $T$ be the set of all positive integers $k$ such that $1 \\leq k \\leq u$. Compute the sum of the number of positive divisors of each element in $T$. Then, determine the smallest positive index $k$ such that the $k$-th Fibonacci number is divisible by the absolute value of this sum plus $2$. Find this index $k$.", "answer": 21890, "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\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(675683)))))), 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\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES/B1"], "recipe_id": "b6222c", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.184, "created_at": "2026-02-08T16:14:14.412897Z", "verification": {"verified": true, "answer": 21890, "timestamp": "2026-02-08T16:14:14.597263Z"}, "problem_hash": "24ad09", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K16": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "f30f2c", "alias": "nt_sum_divisors_range_v1_865884756_4062", "problem": "Let $d$ be the smallest divisor of $1594753283$ that is at least $2$, and let $n$ be the number of prime numbers between $2$ and $d$ inclusive. 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 each integer from $1$ to $u$.", "answer": 85576, "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(1594753283))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), 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\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES/B1"], "recipe_id": "b6222c", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.412, "created_at": "2026-02-08T17:43:37.102990Z", "verification": {"verified": true, "answer": 85576, "timestamp": "2026-02-08T17:43:37.514822Z"}, "problem_hash": "94882f", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "COUNT_PRIMES": "ok_later", "K13": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "11acc4", "alias": "nt_lcm_compute_v1_124444284_2909", "problem": "Let $A$ be the set of all integers $j$ such that $1 \\le j \\le 1088$ and $j^5 \\le 1524559844999168$. Let $a$ be the number of nonnegative integers $j \\le |A|$ for which $\\binom{1088}{j}$ is odd. Let $b = 1997$ and let $m = \\operatorname{lcm}(a, b)$. Let $P$ be the set of all prime numbers $n$ such that $2 \\le n \\le 11$. Compute the remainder when the Bell number of $|m|$ modulo the largest element in $P$ is divided by $90259$.", "answer": 25716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(1088)), Leq(Pow(Var(\"j\"), Const(5)), Const(1524559844999168))), domain='positive_integers'))), Eq(Mod(value=Binom(n=Const(1088), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"b\": Const(1997),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=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\"), Const(11)), IsPrime(Var(\"n\"))))))), modulus=Const(90259)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_bell_mod", "C3/V8"], "recipe_id": "948c8a", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_bell_mod", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.028, "created_at": "2026-02-08T05:04:11.004895Z", "verification": {"verified": true, "answer": 25716, "timestamp": "2026-02-08T05:04:11.033335Z"}, "problem_hash": "b410c8", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_bell_mod": "ok_later", "V8": "ok_later", "K16": "no", "K5": "no", "MOD_ADD": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "11c2e2", "alias": "antilemma_count_primes_v1_784195855_1493", "problem": "Let $m$ be the number of integers $n$ with $\\varphi(2)\\le n\\le 6$ such that\n\\[\n n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}.\n\\]\nLet $N$ 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 56,\\quad 22\\le t\\le 254,\\quad t = 3a + 4b + 15.\n\\]\nLet $x$ be the number of prime integers $n$ with $m \\le n \\le N$.\n\nCompute $x$.", "answer": 49, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(6),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"_c\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\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=56)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=254)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=15)))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/LIN_FORM/COUNT_PRIMES", "COUNT_PRIMES", "ONE_PHI_2"], "recipe_id": "5c2ae3", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3C", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:03:00.353113Z", "verification": {"verified": true, "answer": 49, "timestamp": "2026-02-08T05:03:00.356084Z"}, "problem_hash": "eae58d", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "L3C": "ok", "ONE_PHI_2": "ok", "LIN_FORM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K18": "no", "MOD_SUB": "no"}} -{"id": "d927f9", "alias": "nt_count_primes_v1_1918700295_3885", "problem": "Let $N$ be the number of prime numbers $n$ such that $2 \\le n \\le 58564$. Compute $N$. ", "answer": 5926, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(58564),\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": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/C3/EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "recipe_id": "27b3e7", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "COUNT_FIB_DIVISIBLE", "EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 1.938, "created_at": "2026-02-08T09:01:16.099337Z", "verification": {"verified": true, "answer": 5926, "timestamp": "2026-02-08T09:01:18.037686Z"}, "problem_hash": "5c9ec7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIOUVILLE_MINUS_ONE": "ok", "C3": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "V5": "no"}} -{"id": "635e8e", "alias": "diophantine_product_count_v1_677425708_145", "problem": "Let $k = 360$ and $m = 254$. Consider the set of all positive integers $x$ such that $1 \\le x \\le m$, $x$ divides $k$, and $\\frac{k}{x} \\le m$. Let $r$ be the number of such integers $x$. Let $a = r^2 + 29r$. Let $b = \\sum_{k=1}^{6} \\phi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor$, where $c = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$ and $\\phi$ denotes Euler's totient function. Compute $a + b$. Determine the value of this sum.", "answer": 1143, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(29),\n \"k\": Const(360),\n \"upper\": Const(254),\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\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Const(6), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2/ENDING_quadratic_mod"], "recipe_id": "c37b8c", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.026, "created_at": "2026-02-08T03:06:41.676576Z", "verification": {"verified": true, "answer": 1143, "timestamp": "2026-02-08T03:06:41.702832Z"}, "problem_hash": "33a44e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 1978}, "timestamp": "2026-02-08T20:20:02.005Z"}], "lemma_applicability": {"K2": "ok", "ENDING_quadratic_mod": "ok_later", "L3b": "no", "LTE_DIFF_P2": "no", "V1": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "32dbad", "alias": "algebra_poly_eval_v1_784195855_5735", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 15$, $3$ divides $n$, and $\\gcd(n, 14) = 1$. Let $m_1$ be the number of elements in $A$.\n\nLet $B$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 7$, $16 \\leq t \\leq 43$, and $t = 5a + 2b + 9$. Let $m_2$ be the number of elements in $B$.\n\nCompute the value of $m_1 m_2^2 - 8m_2 - 2$.", "answer": 1534, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=43)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=9)))))))),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"m\"), Const(2))), Mul(Const(-8), Ref(\"m\")), Const(-2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/LIN_FORM"], "recipe_id": "d740a6", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:05:17.829917Z", "verification": {"verified": true, "answer": 1534, "timestamp": "2026-02-08T08:05:17.833087Z"}, "problem_hash": "e84569", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok_later", "K15": "no", "K17": "no", "L3b": "no", "MOD_ADD": "no", "V7": "no"}} -{"id": "6cc437", "alias": "modular_product_range_v1_784195855_3948", "problem": "Let $m = 1376$. Define $n$ to be the number of positive integers $k$ such that $1 \\leq k \\leq m$, $8$ divides $k$, and $\\gcd(k, 21) = 1$. Let $s$ be the number of positive integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 20$, $1 \\leq b \\leq 15$, $12 \\leq t \\leq 215$, and $t = 7a + 5b$. Compute the remainder when the product of all integers from $n$ to $s$, inclusive, is divided by $10037$.", "answer": 3115, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1376),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), 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=12)), Leq(left=Var(name='t'), right=Const(value=215)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10037)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/LIN_FORM"], "recipe_id": "d740a6", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:42:53.739570Z", "verification": {"verified": true, "answer": 3115, "timestamp": "2026-02-08T06:42:53.744139Z"}, "problem_hash": "141673", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok_later", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "ea5b96", "alias": "nt_sum_totient_over_divisors_v1_1248542787_481", "problem": "Let $n = 15161$. Define $r = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 174$, and let $P$ be the set of all values $xy$ where $(x, y) \\in S$. Define $c$ as the maximum value in $P$. Let $e$ be the number of positive integers $m$ such that $1 \\leq m \\leq 66$ and the sum of the decimal digits of $m$ is even. Compute the remainder when $r^2 + e \\cdot r + c$ is divided by $74261$.", "answer": 6181, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66),\n \"_n\": Const(2),\n \"n\": Const(15161),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(174)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(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))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(74261)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_quadratic_mod", "B1/ENDING_quadratic_mod"], "recipe_id": "b25cd2", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:10:10.937927Z", "verification": {"verified": true, "answer": 6181, "timestamp": "2026-02-08T03:10:10.940371Z"}, "problem_hash": "f0adf4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 1313}, "timestamp": "2026-02-09T04:37:51.475Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 2295}, "timestamp": "2026-02-09T17:20:46.844Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:49:58.720Z"}], "lemma_applicability": {"B1": "ok", "L3B": "ok", "ENDING_quadratic_mod": "ok_later", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "4a0ef3", "alias": "modular_sum_quadratic_residues_v1_865884756_3660", "problem": "Let $m$ be the number of positive integers $p_1$ for which there exists a positive integer $q$ such that $p_1 q = 13500$, $\\gcd(p_1, q) = 1$, and $p_1 < q$. \n\nLet $k$ be the number of integers $t$ with $33 \\le t \\le 1122$ that can be expressed as $t = 12a + 21b$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 69$ and $1 \\le b \\le 14$. \n\nLet $p$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = k$. \n\nDefine $r = \\frac{p(p-1)}{m}$. \n\nFind the remainder when $29959 \\cdot r$ is divided by $96414$.", "answer": 52247, "graph": "graphs = [\n Graph(\n let={\n \"_m\": 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=13500)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))),\n \"_n\": Const(96414),\n \"p\": 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=69)), 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=33)), Leq(left=Var(name='t'), right=Const(value=1122)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_m\")),\n \"_c\": Const(29959),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/LIN_FORM", "LIN_FORM/COMB1"], "recipe_id": "fbf760", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T17:31:46.473979Z", "verification": {"verified": true, "answer": 52247, "timestamp": "2026-02-08T17:31:46.483247Z"}, "problem_hash": "c02cc7", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "f26f98", "alias": "antilemma_sum_factor_cartesian_v1_784195855_167", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ such that $1 \\le i \\le 16$ and $1 \\le j \\le 9$. Define $x$ to be the sum of $ij$ over all such pairs. Let $B$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 1020100$. Define $c$ to be the minimum value of $x + y$ over all such pairs. Compute the remainder when $c - x$ is divided by $86693$.", "answer": 82593, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86693),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\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(1020100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(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": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "SUM_FACTOR_CARTESIAN", "ONE_PHI_1"], "recipe_id": "e27dec", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "ONE_PHI_1", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:00:32.412755Z", "verification": {"verified": true, "answer": 82593, "timestamp": "2026-02-08T03:00:32.415577Z"}, "problem_hash": "16e2ac", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "K13": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "c8cac6", "alias": "antilemma_product_of_sums_v1_1248542787_230", "problem": "Let $S_1$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 5$. Let $d_0 = \\sum_{d \\mid 35} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S_2$ be the sum of all integers $j$ such that $d_0 \\leq j \\leq 7$ and $\\binom{m}{j}$ is odd, where $m$ is the largest prime number at most $8$. Compute $S_1 \\cdot S_2$.", "answer": 6300, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=Const(value=35), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Const(7)), Eq(Mod(value=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "PRODUCT_OF_SUMS"], "recipe_id": "85042f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:01:34.450076Z", "verification": {"verified": true, "answer": 6300, "timestamp": "2026-02-08T03:01:34.453124Z"}, "problem_hash": "cc6698", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6300, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 1399}, "timestamp": "2026-02-09T01:40:46.719Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6300, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 960}, "timestamp": "2026-02-09T14:09:20.085Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 6300, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 7916}, "timestamp": "2026-02-09T02:04:05.060Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.12, "hi": 1.77}} -{"id": "3ed527", "alias": "nt_count_gcd_equals_v1_784195855_4319", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 1028$, $n$ is divisible by 4, and $\\gcd(n, 15) = 1$. Let $d$ be the largest prime number $n$ such that $2 \\leq n \\leq |S|$. Let $T$ be the set of all integers $n$ such that $1 \\leq n \\leq 26896$ and $\\gcd(n, 137) = d$. Let $r = |T|$. Compute the remainder when $44121 \\cdot r$ is divided by $55729$.", "answer": 9721, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55729),\n \"upper\": Const(26896),\n \"k\": Const(137),\n \"d\": 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(1028)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "84d97a", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.698, "created_at": "2026-02-08T06:59:56.964482Z", "verification": {"verified": true, "answer": 9721, "timestamp": "2026-02-08T07:00:00.662786Z"}, "problem_hash": "a59eb5", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "b02fd9", "alias": "antilemma_k2_v1_865884756_4124", "problem": "Compute $$\\sum_{k=1}^{100} \\phi(k) \\left\\lfloor \\frac{100}{k} \\right\\rfloor.$$", "answer": 5050, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(100),\n \"x\": Summation(var=\"k\", start=Pow(Const(45), Sub(Const(30), Const(30))), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(100), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "IDENTITY_POW_ZERO", "lemma_paths": ["IDENTITY_POW_ZERO", "IDENTITY_SUB_SELF", "K2"], "recipe_id": "fe633d", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "IDENTITY_SUB_SELF", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T17:45:40.155806Z", "verification": {"verified": true, "answer": 5050, "timestamp": "2026-02-08T17:45:40.157663Z"}, "problem_hash": "384439", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "IDENTITY_SUB_SELF": "ok", "K2": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "938af0", "alias": "nt_count_squarefree_v1_151522320_437", "problem": "Let $p_1 = 67$. Let $q_1$ be the number of integers $n$ with $1 \\le n \\le 166$ such that the sum of the decimal digits of $n$ is even. Define\n$$n_1 = p_1 q_1.$$\n\nLet\n$$m = \\sum_{d \\mid n_1} \\mu(d),$$\nwhere $\\mu$ is the function that takes the value $0$ on integers divisible by the square of a prime, $1$ on $1$, and $(-1)^k$ on the product of $k$ distinct primes.\n\nLet $p$ be the largest prime number between $2$ and $52$, inclusive.\n\nLet $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 201$, $1 \\le b \\le 141$, $11 \\le t \\le 1791$, and\n$$t = 4a + 7b.$$\nLet $C$ be the number of elements in $T$.\n\nConsider all integers $d$ with $d \\ge 2$ such that $d$ divides $C$. Assume the set of all such $d$ is nonempty, and let $s$ be the smallest element of this set. Define\n$$q = s + m,$$\nand let\n$$n = (pq)^2.$$\n\nLet $c$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Define $U = 35344c$.\n\nLet $R$ be the number of integers $n$ with $1 \\le n \\le U$ such that $\\mu(n)^2 = 1$.\n\nLet $C_0 = 17000$ and $N_0 = 93429$. Define\n$$Q \\equiv C_0 R \\pmod{N_0}, \\quad 0 \\le Q < N_0.$$\n\nFind the value of $Q$. ", "answer": 90468, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(93429),\n \"p1\": Const(67),\n \"q1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(166)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"m\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(52)), IsPrime(Var(\"n\"))))),\n \"q\": Sum(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=201)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=141)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=1791)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))))))), Ref(\"m\")),\n \"n\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Mul(Const(35344), Ref(\"c\")),\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 \"_c\": Const(17000),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/MOBIUS_SUM/DIVISOR_PARITY", "MAX_PRIME_BELOW/DIVISOR_PARITY", "L3B/MOBIUS_SUM"], "recipe_id": "11b690", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "L3B", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 6, "num_base_lemmas": 4, "generation_time": 5.039, "created_at": "2026-02-08T03:14:50.682822Z", "verification": {"verified": true, "answer": 90468, "timestamp": "2026-02-08T03:14:55.722292Z"}, "problem_hash": "0ce5d0", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}} -{"id": "371800", "alias": "nt_count_squarefree_v1_458359167_804", "problem": "Let $f(n) = \\mu(n)^2$, where $\\mu$ denotes the Möbius function. Let $k$ be the exponent of the highest power of $11$ that divides $22!$. Determine the number of positive integers $n \\leq 33333$ such that $f(n) = \\varphi(k)$, where $\\varphi$ is Euler's totient function. Compute this number.", "answer": 20261, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33333),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), EulerPhi(n=MaxKDivides(target=Factorial(Const(22)), base=Const(11))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/ONE_PHI_2"], "recipe_id": "7b34ea", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ONE_PHI_2", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 4.941, "created_at": "2026-02-08T03:33:05.952080Z", "verification": {"verified": true, "answer": 20261, "timestamp": "2026-02-08T03:33:10.893540Z"}, "problem_hash": "8130eb", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "ONE_PHI_2": "ok_later", "K5": "same_pattern_wrong", "K18": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "5c3a8a", "alias": "comb_bell_compute_v1_168721529_944", "problem": "Let $ m = \\sum_{k=1}^{17} k $. Let $ n' = \\sum_{d \\mid m} \\phi(d) $, where $ \\phi $ denotes Euler's totient function. Let $ n $ be the largest positive integer at most 9 that divides $ n' $. Compute the remainder when the Bell number $ B_n $ is divided by 95130.", "answer": 51177, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(17), expr=Var(\"k\")),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(9)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": Const(96401),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95130)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/K3/MAX_DIVISOR"], "recipe_id": "9d8480", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MAX_DIVISOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T13:21:11.833977Z", "verification": {"verified": true, "answer": 51177, "timestamp": "2026-02-08T13:21:11.849481Z"}, "problem_hash": "b4fe8d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21147, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 1035}, "timestamp": "2026-02-09T11:03:54.123Z"}], "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K3": "ok_later", "MAX_DIVISOR": "ok_later", "K15": "no", "K17": "no", "L3b": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "ddb1cc", "alias": "nt_euler_phi_compute_v1_784195855_2602", "problem": "Let $p_1$ be the largest prime number between 2 and 9, inclusive. Let $q = 43$. Let $r$ be the largest prime number between 2 and 40, inclusive. Define $n_1 = p_1 \\cdot q \\cdot r$. Let $w = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Let $p = 29$ and let $e$ be the number of prime factors of $p$ counted with multiplicity. Define $n = 54289 \\cdot w \\cdot e$. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 54056, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(54289),\n \"_n\": Const(2),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"q\": Const(43),\n \"r\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(40)), IsPrime(Var(\"n\"))))),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q\"), Ref(\"r\")),\n \"w\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"p\": Const(29),\n \"e\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_m\"), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "BIG_OMEGA_ONE"], "recipe_id": "d8e8ee", "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_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T05:54:19.388538Z", "verification": {"verified": true, "answer": 54056, "timestamp": "2026-02-08T05:54:19.392932Z"}, "problem_hash": "f26692", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "b77a97", "alias": "nt_sum_divisors_mod_v1_1918700295_315", "problem": "Let\n$$v = \\sum_{d \\mid 1} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function. Let $p=17$ and $q=23$, and define\n$$n_1 = p^2(q+1).$$\nLet\n$$t = \\mu(n_1)^2.$$\n\nLet $n = 240v$, and let $\\sigma(n)$ denote the sum of the positive divisors of $n$. Let $R$ be the remainder when $\\sigma(n)$ is divided by $11197$.\n\nLet $P$ be the set of all prime integers $r$ such that $2 \\le r \\le 315$, and let $M$ be the largest element of $P$.\n\nDefine\n$$Q$$\nas the remainder when\n$$\\left(R \\bmod (317 + t)\\right) + 1009\\left(R \\bmod M\\right)$$\nis divided by $73499$.\n\nFind the value of $Q$.", "answer": 45673, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(317),\n \"n2\": Const(1),\n \"v\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(17),\n \"q\": Const(23),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"t\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(Const(240), Ref(\"v\")),\n \"M\": Const(11197),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": Const(1009),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Sum(Ref(\"_n\"), Ref(\"t\"))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(315)), IsPrime(Var(\"n\")))))))), modulus=Const(73499)),\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/ENDING_two_moduli", "MOBIUS_SUM"], "recipe_id": "324b64", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:09:29.318807Z", "verification": {"verified": true, "answer": 45673, "timestamp": "2026-02-08T03:09:29.322271Z"}, "problem_hash": "234ce6", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "ENDING_two_moduli": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K17": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b1e87e", "alias": "nt_num_divisors_compute_v1_784195855_2326", "problem": "Let $m = 576$. Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and $12$ divides the $n$-th Fibonacci number. Let $n = 56644$, and let $d$ be the number of positive divisors of $n$. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = k$. Define $Q = d^2 + 8d + \\max_{(x,y) \\in P} (xy)$. Find the value of $Q$.", "answer": 1521, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(576),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(12), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": Const(56644),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(8), 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(\"_n\")))), 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": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/B1/ENDING_quadratic_mod"], "recipe_id": "8b2515", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "COUNT_FIB_DIVISIBLE", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:40:12.265188Z", "verification": {"verified": true, "answer": 1521, "timestamp": "2026-02-08T05:40:12.267522Z"}, "problem_hash": "254dcd", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "B1": "ok_later", "ENDING_quadratic_mod": "ok_later", "C2": "no", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "cc37b8", "alias": "sequence_fibonacci_compute_v1_1742523217_4357", "problem": "Let $p$ and $q$ be positive integers such that $pq = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all such integers $p$. Define $n = \\sum_{k=|S|}^{6} k$. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Summation(var=\"k\", start=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=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')))))))), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2/SUM_ARITHMETIC"], "recipe_id": "80113d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:13:37.485322Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T07:13:37.487285Z"}, "problem_hash": "19ab21", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3c": "no", "MAX_VAL": "no"}} -{"id": "0799a3", "alias": "comb_sum_binomial_row_v1_677425708_3420", "problem": "Let $d=96$. Consider all ordered pairs $(x,y)$ of positive integers such that $x+y=d$. For each such pair, form the product $xy$, and let $C$ be the maximum of all such products.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=C$. For each such pair, form the sum $x+y$, and let $S$ be the set of all such sums. Let $s_0$ be the minimum element of $S$.\n\nLet $F_n$ denote the $n$th Fibonacci number. Let $N$ be the number of integers $n$ such that $1\\le n\\le s_0$ and $7$ divides $F_n$.\n\nAmong all integers $n$ with $2\\le n\\le N$ that are prime, let $p$ be the largest such prime. Let $r=2^p$.\n\nLet $Q$ be the remainder when $77668\\cdot r$ is divided by $64635$. Find the value of $Q$.", "answer": 61964, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(96),\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(\"_d\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_m\": Const(7),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\"))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n'))))))), IsPrime(Var(\"n\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(77668), Ref(\"result\")), modulus=Const(64635)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/COUNT_FIB_DIVISIBLE/MAX_PRIME_BELOW"], "recipe_id": "029090", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T05:41:54.746154Z", "verification": {"verified": true, "answer": 61964, "timestamp": "2026-02-08T05:41:54.753048Z"}, "problem_hash": "99eeb3", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "V1": "no", "V3": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "928dc7", "alias": "modular_product_range_v1_1125832087_1403", "problem": "Let $P$ be the product $\\prod_{i=12}^{268} i$. Define $r$ as the remainder when $P$ is divided by $11161$. Let $s$ be the number of positive integers $p$ such that $pq = 216$ for some integer $q > p$ and $\\gcd(p, q) = 1$. Let $T$ be the set of all prime numbers $n$ such that $s \\le n \\le 310$. Let $t$ be the largest element of $T$. Compute the remainder when $2003r + r$ is divided by $55594$, where the second $r$ is taken modulo $317$.", "answer": 40767, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(268),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(12), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11161)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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\"), Const(310)), IsPrime(Var(\"n\")))))), Mul(Const(2003), Mod(value=Ref(\"result\"), modulus=Const(317)))), modulus=Const(55594)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW/ENDING_two_moduli"], "recipe_id": "9e60b9", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_two_moduli", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:43:02.846615Z", "verification": {"verified": true, "answer": 40767, "timestamp": "2026-02-08T03:43:02.855115Z"}, "problem_hash": "03dcdf", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ENDING_two_moduli": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "L3b": "no", "MOD_ADD": "no"}} -{"id": "a3da25", "alias": "nt_count_squarefree_v1_677425708_3230", "problem": "Let $m$ be the number of integers $n$ with $1 \\leq n \\leq 22$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $r$ be the number of positive integers $n$ with $1 \\leq n \\leq 61425$ such that $\\mu(n)^2 = 1$, where $\\mu$ denotes the M\\\"obius function. Let $s$ be the number of nonnegative integers $j$ with $0 \\leq j \\leq 49139$ such that $\\binom{49139}{j} \\equiv 1 \\pmod{m}$. Compute $5^r + s$, and find the remainder when this sum is divided by $99991$.", "answer": 29178, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(49139),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"upper\": Const(61425),\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\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(49139), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/V8/ENDING_two_stage_modexp"], "recipe_id": "16a236", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "L3C", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 23.184, "created_at": "2026-02-08T05:32:29.285834Z", "verification": {"verified": true, "answer": 29178, "timestamp": "2026-02-08T05:32:52.470246Z"}, "problem_hash": "48fd5a", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "ENDING_two_stage_modexp": "ok_later", "V8": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}} -{"id": "4725e3", "alias": "nt_min_coprime_above_v1_458359167_2533", "problem": "Let $m = 32779$ and let $p$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 6$. Let $c$ be the number of integers $j$ with $0 \\leq j \\leq 32779$ such that $\\binom{m}{j}$ is odd. Define $\\mu = c + p$. Determine the smallest integer $n$ such that $32768 < n \\leq 32803$ and $\\gcd(n, \\mu) = 1$.", "answer": 32769, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(32779),\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(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"start\": Const(32768),\n \"upper\": Const(32803),\n \"modulus\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(32779)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"_n\")),\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": "B1", "lemma_paths": ["B1/V8"], "recipe_id": "3f8eab", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T06:18:47.261056Z", "verification": {"verified": true, "answer": 32769, "timestamp": "2026-02-08T06:18:47.273879Z"}, "problem_hash": "357975", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "V8": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_DIFF": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "1d6ec1", "alias": "nt_count_gcd_equals_v1_1125832087_203", "problem": "Let $m = 957$ and $n = 19$. Define $k$ to be the largest integer such that $n^k$ divides\n$$\n4943745220665013416622130055650473263726757930236695311442483036762574572597089739422226505532147191437533699 \\times 821219754307572944556380793266707242420628796945676126959387120272108862253574739642528874604857727168517200686461759215150786497520821887524347060009720715994452112732345381748613374039658106540103920521289177085834914077535832365726886577910513801539.\n$$\nLet $d$ be the largest integer such that $11^d$ divides $m!$.\n\nLet $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 28224$ and $\\gcd(n, k) = d$.\n\nCompute the number of elements in $S$.", "answer": 200, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(957),\n \"_n\": Const(19),\n \"upper\": Const(28224),\n \"k\": MaxKDivides(target=Mul(Const(4943745220665013416622130055650473263726757930236695311442483036762574572597089739422226505532147191437533699), Const(821219754307572944556380793266707242420628796945676126959387120272108862253574739642528874604857727168517200686461759215150786497520821887524347060009720715994452112732345381748613374039658106540103920521289177085834914077535832365726886577910513801539)), base=Ref(\"_n\")),\n \"d\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=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\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "V1"], "recipe_id": "158b46", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 2.196, "created_at": "2026-02-08T02:56:25.225297Z", "verification": {"verified": true, "answer": 200, "timestamp": "2026-02-08T02:56:27.420875Z"}, "problem_hash": "710aff", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K14": "no", "K15": "no", "K17": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "fc4851", "alias": "nt_max_prime_below_v1_1520064083_616", "problem": "Let $p = 23$ and $t = 11$. Define $n_1 = p^3$ and $n = t^2$. Let $h = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function. Let $u$ be the remainder when the number of positive divisors of $n$ is divided by $2 + h$.\n\nLet $A$ be the set of all integers $t$ such that $5 \\leq t \\leq 20$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 4$, and $t = 2a + 3b$. Let $d_0$ be the largest positive integer $d \\leq 2$ that divides the number of elements in $A$.\n\nLet $U = 32400 \\cdot u$. Determine the value of the largest prime number $n$ such that $n \\geq d_0$ and $n \\leq U$.", "answer": 32381, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"p\": Const(23),\n \"n1\": Pow(Ref(\"p\"), Const(3)),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"t\": Const(11),\n \"n\": Pow(Ref(\"t\"), Ref(\"_m\")),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Sum(Ref(\"_n\"), Ref(\"h\"))),\n \"upper\": Mul(Const(32400), Ref(\"u\")),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(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=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=20)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))))), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR", "LIOUVILLE_MINUS_ONE", "DIVISOR_PARITY"], "recipe_id": "f821d7", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "MAX_DIVISOR"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.752, "created_at": "2026-02-08T03:29:46.291437Z", "verification": {"verified": true, "answer": 32381, "timestamp": "2026-02-08T03:29:47.043110Z"}, "problem_hash": "9bb375", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MAX_DIVISOR": "ok_later", "K14": "no", "K17": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}} -{"id": "c6d0e4", "alias": "antilemma_v1_legendre_865884756_858", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 180625$. For each such pair, compute $x + y$, and let $n$ be the smallest value of $x + y$ over all pairs in $S$. Let $p$ be the largest prime number such that $2 \\leq p \\leq 5$. Let $x$ be the largest integer $k$ such that $p^k$ divides $n!$. Compute the remainder when $44121 \\cdot x$ is divided by $88201$.", "answer": 48426, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(88201),\n \"_m\": Const(44121),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x1\"), Var(\"y\")), Const(180625)))), expr=Sum(Var(\"x1\"), Var(\"y\")))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V1", "B3/V1", "V1"], "recipe_id": "9796c1", "seed_template_id": "antilemma_v1_legendre", "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-08T15:38:23.725696Z", "verification": {"verified": true, "answer": 48426, "timestamp": "2026-02-08T15:38:23.728752Z"}, "problem_hash": "d0cbc8", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "4ddf0d", "alias": "antilemma_v1_legendre_458359167_908", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x \\cdot y = 10692900$. For each such pair, compute $x + y$, and let $m$ be the minimum value among these sums. Let $p$ be the largest prime number not exceeding $5$. Compute the largest integer $x$ such that $p^x$ divides $m!$. Find the remainder when $18340 \\cdot x$ is divided by $76869$.", "answer": 47179, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76869),\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(10692900)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))),\n \"_c\": Const(18340),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V1", "B3/V1", "V1"], "recipe_id": "9796c1", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "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-08T04:10:16.333196Z", "verification": {"verified": true, "answer": 47179, "timestamp": "2026-02-08T04:10:16.336106Z"}, "problem_hash": "0451e2", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}} -{"id": "24cdc0", "alias": "diophantine_fbi2_min_v1_865884756_2528", "problem": "Let $m = 17424$ and $c = 3$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 17424$. Define $s_{\\min}$ to be the minimum value of $x + y$ over all such pairs. Let $k = 12$. Determine the number of positive integers $n$ with $1 \\leq n \\leq s_{\\min}$ such that\n\\[\n\\sum_{k_1=1}^{3} \\varphi(k_1) \\left\\lfloor \\frac{3}{k_1} \\right\\rfloor\n\\]\ndivides $F_n$, the $n$th Fibonacci number. Call this count $u$. Find the smallest positive integer $d$ such that $3 \\leq d \\leq u$, $d$ divides $12$, and $\\frac{12}{d} \\geq 2$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\n \"_m\": Const(17424),\n \"_n\": Const(2),\n \"k\": Const(12),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Summation(var=\"k1\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Ref(\"_c\"), Var(\"k1\"))))), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE", "K2/COUNT_FIB_DIVISIBLE"], "recipe_id": "911316", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.163, "created_at": "2026-02-08T16:48:30.802721Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T16:48:30.965866Z"}, "problem_hash": "0f165c", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V1": "no"}} -{"id": "6e2ab5", "alias": "antilemma_v8_lucas_1742523217_5209", "problem": "Let $ a = 4 $, $ b = 10 $, and $ n_1 = ab + 1 $. Let $ c $ be the remainder when the number of positive divisors of $ n_1 $ is divided by $ 2 $. Let $ p = 31 $, $ n = p^2 $, and $ m = \\lambda(n) $, where $ \\lambda $ denotes the Liouville function. Let $ x $ be the number of nonnegative integers $ j \\le 89712 $ such that $ \\binom{89712}{j} $ is odd. Compute the remainder when $ 75722 \\cdot m \\cdot x $ is divided by $ 65275 + c $.", "answer": 61589, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(4),\n \"b\": Const(10),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(31),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"m\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Const(89712),\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(89712), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Mul(Const(75722), Ref(\"m\")), Ref(\"x\")), modulus=Sum(Const(65275), Ref(\"c\"))),\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", "LIOUVILLE_ONE", "V8"], "recipe_id": "db4c81", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "V8"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T10:51:33.020445Z", "verification": {"verified": true, "answer": 61589, "timestamp": "2026-02-08T10:51:33.022738Z"}, "problem_hash": "9f510e", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIOUVILLE_ONE": "ok", "V8": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K15": "no", "LTE_DIFF": "no", "V7": "no"}} -{"id": "c7f909", "alias": "nt_count_divisors_in_range_v1_784195855_79", "problem": "Let $n = 45360$. Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 91$ and $\\gcd(n, 30) = 1$. Let $b$ be the number of integers $t$ such that $9 \\leq t \\leq 587$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 220$, $1 \\leq b \\leq 21$, and $t = 2a + 7b$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $c$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 17153$ and $\\binom{17153}{j} \\equiv 1 \\pmod{2}$. Compute the remainder when $c - r$ is divided by $51550$.", "answer": 51517, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(17153),\n \"_m\": Const(2),\n \"_n\": Const(51550),\n \"n\": Const(45360),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(91)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=220)), 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=9)), Leq(left=Var(name='t'), right=Const(value=587)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(17153)), Eq(Mod(value=Binom(n=Ref(\"_d\"), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\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": "V8", "lemma_paths": ["V8/ENDING_negation_mod", "LIN_FORM", "C4"], "recipe_id": "ac0746", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_negation_mod", "LIN_FORM", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T02:56:53.299397Z", "verification": {"verified": true, "answer": 51517, "timestamp": "2026-02-08T02:56:53.310998Z"}, "problem_hash": "aea348", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 51517, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 335, "completion_tokens": 6349}, "timestamp": "2026-02-08T22:39:17.643Z"}], "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "V8": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_INTEGER_RANGE": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "907dd5", "alias": "algebra_quadratic_discriminant_v1_153355830_1936", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 90$. Let $c$ be the number of integers $t$ with $9 \\leq t \\leq 44$ that can be expressed as $t = 4a + 5b$ for some integers $a$ and $b$ satisfying $1 \\leq a \\leq 6$ and $1 \\leq b \\leq 4$. Compute $(-2)^2 - (-1) \\cdot c \\cdot M$, where $M$ is the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = m$.", "answer": 100, "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=90)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": Const(2),\n \"a\": Const(-1),\n \"b\": Const(-2),\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=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"result\": Sub(Pow(Ref(\"b\"), 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\")), Ref(\"_m\")))), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/B1", "LIN_FORM"], "recipe_id": "14ab84", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T06:47:56.757245Z", "verification": {"verified": true, "answer": 100, "timestamp": "2026-02-08T06:47:56.769247Z"}, "problem_hash": "5a28c8", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "B1": "ok_later", "K13": "no", "K15": "no", "K16": "no", "MOD_ADD": "no", "V3": "no"}} -{"id": "72b533", "alias": "antilemma_sum_primes_v1_151522320_1405", "problem": "Let $m=4$ and $n=2$. Let $M$ be the largest prime number between $n$ and $m$, inclusive. (Assume such a prime exists.)\n\nLet $x$ be the sum of all prime numbers $r$ such that $2\\le r\\le M$.\n\nLet $P$ be the set of all positive integers $p$ for which there exists an integer $q$ such that\n$$pq=12,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 36$ and $\\gcd(p,q) = 1$. Let $x = |S|$. Compute the value of $(x + \\phi(|x| + 1) + \\tau(|x| + 1)) \\bmod{51231}$, where $\\phi(n)$ is Euler's totient function and $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 28612, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98303),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=Const(value=43), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(98303), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(1))))), modulus=Const(51231)),\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/V8", "MOBIUS_SUM", "ONE_PHI_1", "V8"], "recipe_id": "daa394", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "ONE_PHI_1", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:24:19.979833Z", "verification": {"verified": true, "answer": 28612, "timestamp": "2026-02-08T05:24:19.984442Z"}, "problem_hash": "9e4097", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "V8": "ok", "C2": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "78377d", "alias": "comb_factorial_compute_v1_677425708_1518", "problem": "Let $m=22$. Let $S$ be the set of all ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and $x_1+x_2=m$. Let $n$ be the number of elements in $S$.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 10$ and $1\\le j\\le 10$ such that $i+j=n$. Let $u$ be the number of such ordered pairs.\n\nLet $n_2=0$ and define\n$$s=\\sum_{k=0}^{n_2}(-1)^k\\binom{n_2}{k}.$$\nLet $n_1=u+s$ and\n$$w=\\sum_{k=0}^{n_1}(-1)^k\\binom{n_1}{k}.$$\n\nLet $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 4$, $1\\le b\\le 2$, $10\\le t\\le 28$, and\n$$t=4a+6b.$$Let $v$ be the number of elements in $T$.\n\nDefine $N=v+w$ and let $Q=N!$.\n\nFind the value of $Q$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"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 \"u\": 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(11)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"n1\": Sum(Ref(\"u\"), Ref(\"s\")),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"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=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Ref(\"w\")),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "LIN_FORM/BINOMIAL_ALTERNATING"], "recipe_id": "5417ca", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T04:14:26.955532Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T04:14:26.973087Z"}, "problem_hash": "4f6f4d", "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": 409, "completion_tokens": 1321}, "timestamp": "2026-02-09T20:54:20.043Z"}], "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "04387f", "alias": "nt_count_intersection_v1_1742523217_5480", "problem": "Let $N$ be the largest integer $k$ such that $2^k$ divides $65536^{625}$. Determine the number of positive integers $n \\leq N$ such that $3$ divides $n$ and $\\gcd(n, 16) = 1$. Let this count be $c$. Compute the remainder when $c + 2003 \\cdot (c \\bmod 313)$ is divided by $70525$, where the first $c$ is taken modulo the largest power of $3$ dividing $642!$.", "answer": 63338, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(625),\n \"_n\": Const(65536),\n \"N\": MaxKDivides(target=Pow(Ref(\"_n\"), Ref(\"_m\")), base=Const(2)),\n \"a\": Const(3),\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 \"_c\": Const(2003),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MaxKDivides(target=Factorial(Const(642)), base=Const(3))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(313)))), modulus=Const(70525)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/ENDING_two_moduli", "K14"], "recipe_id": "ce86af", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "K14", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.398, "created_at": "2026-02-08T11:01:24.333026Z", "verification": {"verified": true, "answer": 63338, "timestamp": "2026-02-08T11:01:25.731313Z"}, "problem_hash": "8a4cf7", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "V1": "ok", "ENDING_two_moduli": "ok_later", "K5": "same_pattern_wrong", "K15": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}} -{"id": "beeeec", "alias": "antilemma_coprime_grid_v1_1125832087_324", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 47$ and $1 \\leq j \\leq 94$ such that $\\gcd(i,j) = 1$. Let $x$ be the number of elements in $S$. Let $a = \\lfloor \\log_{10} |x| \\rfloor$. Define\n$$\nf(i) = \\text{the } i\\text{-th decimal digit of } |x|, \\text{ where the } 0\\text{th digit is the units digit}.\n$$\nLet $T$ be the set of all positive integers $p$ for which there exists an integer $q$ such that $pq = 12$, $\\gcd(p,q) = 1$, and $p < q$. Let $w$ be the number of elements in $T$. Compute\n$$\n\\sum_{i=\\varphi(37)-36}^{a-1} f(i) \\cdot (i+1)^w + 13456.\n$$", "answer": 13569, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(47)), right=IntegerRange(start=Const(1), end=Const(94))))),\n \"_c\": Const(13456),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(EulerPhi(n=Const(37)), Const(36)), 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)), 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')))))))))), Ref(\"_c\")),\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_digits_weighted_mod", "COUNT_COPRIME_GRID", "ZERO_PHI_PRIME"], "recipe_id": "d4fd50", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "ENDING_digits_weighted_mod", "ZERO_PHI_PRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T03:01:36.011021Z", "verification": {"verified": true, "answer": 13569, "timestamp": "2026-02-08T03:01:36.018762Z"}, "problem_hash": "bc58ad", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "ZERO_PHI_PRIME": "ok", "ENDING_digits_weighted_mod": "ok_later", "K15": "no", "K16": "no", "K18": "no", "L3c": "no", "MOD_FACTORIAL": "no"}} -{"id": "51da9e", "alias": "diophantine_fbi2_count_v1_784195855_385", "problem": "Let $k = 180$. Determine the number of positive integers $d$ such that $4 \\leq d \\leq 91$, $d$ divides $k$, and the quotient $\\frac{k}{d}$ is an integer between $2$ and $89$, inclusive.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(91)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(89))))),\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_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "458d31", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T03:07:34.702947Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T03:07:34.717118Z"}, "problem_hash": "8f418a", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok_later", "K14": "no", "K17": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}} -{"id": "cbacea", "alias": "antilemma_cartesian_v1_1874849503_1206", "problem": "Let $n_0 = 3$.\n\nConsider the set of all ordered pairs $(u,v)$ with $1 \\le u \\le 22$ and $1 \\le v \\le 40$. Let $x$ be the number of elements in this set.\n\nLet $S$ be the set of all ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1 + x_2 = T,$$\nwhere $T$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1 \\le a \\le 2, \\quad 1 \\le b \\le 3, \\quad 5 \\le t \\le 12, \\quad t = 3a + 2b.$$\nLet $m$ be the number of elements in $S$.\n\nDefine\n$$Q = \\sum_{n=\\binom{m}{n_0}}^{|x|} d(n),$$\nwhere $d(n)$ denotes the number of positive divisors of $n$.\n\nFind the value of $Q$.", "answer": 6109, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(40)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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'))))))))))))), k=Ref(\"_n\")), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/ONE_BINOM_N/ENDING_sum_divisor_count", "COUNT_CARTESIAN"], "recipe_id": "12aef1", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_sum_divisor_count", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.004, "created_at": "2026-02-08T13:41:00.664395Z", "verification": {"verified": true, "answer": 6109, "timestamp": "2026-02-08T13:41:00.668005Z"}, "problem_hash": "a26c45", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "ENDING_sum_divisor_count": "ok_later", "ONE_BINOM_N": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "79b260", "alias": "modular_count_residue_v1_677425708_2463", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\le n \\le 89401$ and $n \\equiv 5 \\pmod{8}$. Let $B$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = 10$ and $1 \\le i, j \\le 9$. Compute the remainder when $7^A + B$ is divided by $99991$.", "answer": 94796, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"upper\": Const(89401),\n \"m\": Const(8),\n \"r\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(9)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_two_stage_modexp"], "recipe_id": "0f54a6", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_two_stage_modexp"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 2.899, "created_at": "2026-02-08T05:04:02.740479Z", "verification": {"verified": true, "answer": 94796, "timestamp": "2026-02-08T05:04:05.639501Z"}, "problem_hash": "b1f340", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "a7770a", "alias": "antilemma_sum_primes_v1_168721529_1957", "problem": "Let $A$ be the set of positive integers $n$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$ and $1 \\leq n \\leq 36564$. Let $k$ be a positive integer such that $1 \\leq k \\leq |A|$ and $12$ divides $k$. Let $B$ be the set of all such $k$, and let $x$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq |B|$. Compute the remainder when $44613x$ is divided by 76504.", "answer": 59434, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(12),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(36564)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers'))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44613), Ref(\"x\")), modulus=Const(76504)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/C2/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "0652b8", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "L3C", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T14:01:58.118015Z", "verification": {"verified": true, "answer": 59434, "timestamp": "2026-02-08T14:01:58.122793Z"}, "problem_hash": "4307d3", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "SUM_PRIMES": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "MOD_MUL": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "22afd8", "alias": "nt_gcd_compute_v1_151522320_258", "problem": "Let $a = 122$ and $b = 171$. Let $m$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the M\\\"obius function. Let $n$ be the largest positive integer at most $21$ that divides $483$. Define $s$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, minus $n$. Let $a' = 52952$ and $b' = 119142m + s$. Compute $\\gcd(a', b')$.", "answer": 13238, "graph": "graphs = [\n Graph(\n let={\n \"a1\": Const(122),\n \"b1\": Const(171),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), 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\"), Const(21)), Divides(divisor=Var(\"d\"), dividend=Const(483))))),\n \"s\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Const(52952),\n \"b\": Sum(Mul(Const(119142), Ref(\"m\")), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/EULER_TOTIENT_SUM", "MOBIUS_COPRIME"], "recipe_id": "cb1d71", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:07:01.626525Z", "verification": {"verified": true, "answer": 13238, "timestamp": "2026-02-08T03:07:01.629245Z"}, "problem_hash": "0d105a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 13238, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 605}, "timestamp": "2026-02-09T00:49:02.921Z"}], "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_COPRIME": "ok", "EULER_TOTIENT_SUM": "ok_later", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "bb94f9", "alias": "nt_count_divisors_in_range_v1_677425708_4186", "problem": "Let $p=3$ and let\n$$c\\equiv (p-1)!+1 \\pmod{p},\\qquad 0\\le c \\sum_{d \\mid 41} \\mu(d)$, and $\\alpha = 0$ otherwise. Let $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Define $r = \\alpha + \\beta$. Let $p$ be the largest prime number less than or equal to 11. Compute the remainder when $|r|$ is divided by $p$, and let $k$ be that remainder. Determine the value of the Bell number $B_k$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41),\n \"a\": Const(1),\n \"b\": Const(4),\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\"), SumOverDivisors(n=Ref(name='_n'), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_bell_mod", "MOBIUS_SUM"], "recipe_id": "adfb11", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:54:07.412746Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:54:07.415486Z"}, "problem_hash": "2cf6a5", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "ENDING_bell_mod": "ok_later", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "9b5885", "alias": "nt_gcd_compute_v1_1248542787_282", "problem": "Let $p = 2$ and $q = 13$, and define $n = p \\cdot q$. Let $\\lambda(n)$ denote the Liouville function evaluated at $n$. Let $P$ be the set of positive integers $k$ such that $1 \\leq k \\leq 17$ and $k \\equiv 0 \\pmod{17}$. Let $s$ be the sum of the elements in $P$, and let $c = \\Omega(s)$, the number of prime factors of $s$ counted with multiplicity. Compute $\\gcd(400518 \\cdot \\lambda(n), 756534 \\cdot c)$.", "answer": 44502, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17),\n \"p1\": Const(2),\n \"q\": Const(13),\n \"n\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"v\": LiouvilleLambda(n=Ref(name='n')),\n \"p\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(17)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"c\": BigOmega(n=Ref(name='p')),\n \"a\": Mul(Const(400518), Ref(\"v\")),\n \"b\": Mul(Const(756534), 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": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/BIG_OMEGA_ONE", "LIOUVILLE_ONE"], "recipe_id": "be0eb6", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_ONE", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:02:40.415016Z", "verification": {"verified": true, "answer": 44502, "timestamp": "2026-02-08T03:02:40.416568Z"}, "problem_hash": "384f4b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 44502, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 784}, "timestamp": "2026-02-09T02:17:53.737Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 44502, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 723}, "timestamp": "2026-02-09T14:39:12.789Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:34:36.398Z"}], "lemma_applicability": {"LIOUVILLE_ONE": "ok", "SUM_DIVISIBLE": "ok", "BIG_OMEGA_ONE": "ok_later", "DS2": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "ef38d0", "alias": "sequence_fibonacci_compute_v1_784195855_1560", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 15$, $3$ divides $n$, and $\\gcd(n, 14) = 1$. Let $C$ be the number of elements in $A$. Let $B$ be the set of all ordered pairs $(k, j)$ of positive integers such that $1 \\leq k \\leq 6$ and $1 \\leq j \\leq 8$. Let $S$ be the sum of $\\phi(k) \\cdot \\left\\lfloor \\frac{6}{k} \\right\\rfloor$ over all pairs $(k, j)$ in $B$. Let $n = \\frac{C \\cdot S}{24}$. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24),\n \"n\": Div(Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))), 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(8)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))))), Ref(\"_m\")),\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": "C5", "lemma_paths": ["C5/SUM_INDEPENDENT", "K2"], "recipe_id": "365d2b", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "K2", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:08:09.259357Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T05:08:09.261763Z"}, "problem_hash": "2a9888", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "K2": "ok", "SUM_INDEPENDENT": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "a1f496", "alias": "modular_product_range_v1_124444284_1850", "problem": "Let $N$ be the sum of all integers $x$ such that $x^2-48x-1105=0$. Let $M$ be the minimum of the set of all values of $x+y$ as $(x,y)$ ranges over all ordered pairs of positive integers satisfying $xy=144$. Let $S$ be the set of all integers $n$ such that $1\\le n\\le N$ and $n\\equiv 0\\pmod{M}$. Let\n$$P=\\prod_{i=6}^{\\,\\sum_{n\\in S} n} i.$$\nFind the remainder when $P$ is divided by $11779$.", "answer": 8538, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(11779),\n \"_n\": Const(6),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-48), Var(\"x\")), Const(-1105)), Const(0))))), 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(144)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(0)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/SUM_DIVISIBLE", "B3/SUM_DIVISIBLE"], "recipe_id": "617187", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:11:04.259318Z", "verification": {"verified": true, "answer": 8538, "timestamp": "2026-02-08T04:11:04.263258Z"}, "problem_hash": "3fcefc", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "VIETA_SUM": "ok", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "5f56ef", "alias": "nt_sum_totient_over_divisors_v1_1520064083_318", "problem": "Let $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=34$. Let $n_2$ be the number of positive integers $k$ with $1\\le k\\le 22831$ such that $M$ divides $k$.\n\nLet $c=\\mu(n_2)^2$, where $\\mu$ is the Möbius function. Let $n_1=27$ and\n\\[w=\\sum_{d\\mid n_1} \\varphi(d) - n_1,\\]\nwhere $\\varphi$ is Euler's totient function. Define\n\\[n=17271c+w.\n\\]\nFinally, let\n\\[Q=\\sum_{d\\mid n} \\varphi(d).\n\\]\n\nCompute $Q$.", "answer": 17271, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(22831)), 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(34)))), expr=Mul(Var(\"x\"), Var(\"y\")))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"c\": Pow(MoebiusMu(n=Ref(name='n2')), Ref(\"_n\")),\n \"n1\": Const(27),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Mul(Const(17271), Ref(\"c\")), 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": "B1", "lemma_paths": ["B1/C2/MOBIUS_SQUAREFREE", "EULER_TOTIENT_SUM"], "recipe_id": "f26262", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B1", "C2", "EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T03:14:37.704811Z", "verification": {"verified": true, "answer": 17271, "timestamp": "2026-02-08T03:14:37.720252Z"}, "problem_hash": "27bb77", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "EULER_TOTIENT_SUM": "ok", "C2": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "V3": "no", "V7": "no", "V8": "no"}} -{"id": "013b75", "alias": "nt_min_with_divisor_count_v1_784195855_3967", "problem": "Let $m$ be the smallest integer $d \\ge 2$ such that $d$ divides $3894467$. Let $p$ be the largest prime number with $2 \\le p \\le m$.\n\nLet $U$ be the number of integers $t$ with $12 \\le t \\le 2053$ for which there exist integers $a$ and $b$ satisfying\n$$1 \\le a \\le 94,\\quad 1 \\le b \\le 279,\\quad t = 7a + 5b.$$\n\nLet $D = 9$. Let $N$ be the smallest positive integer $n$ with $1 \\le n \\le U$ such that $n$ has exactly $D$ positive divisors.\n\nDefine\n$$Q = p - N.$$\n\nFind the value of $Q$.", "answer": 5, "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(3894467))))),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\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=94)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=279)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=2053)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"div_count\": Const(9),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW/LIN_FORM/ENDING_negation_mod"], "recipe_id": "34e74e", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 6.925, "created_at": "2026-02-08T06:43:34.484457Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T06:43:41.409816Z"}, "problem_hash": "f41da4", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_negation_mod": "ok_later", "LIN_FORM": "ok_later", "MAX_PRIME_BELOW": "ok_later", "LTE_DIFF": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "824517", "alias": "nt_count_squarefree_v1_1520064083_1746", "problem": "Let $S$ be the set of all integers $d \\geq 2$ that divide $675$. Let $m = \\min(S)$. Determine the number of integers $n$ with $1 \\leq n \\leq 55225$ such that $\\mu(n)^2 = \\sum_{d \\mid \\gcd(m, 5)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function.", "answer": 33580, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(55225),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='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=675))))), b=Const(value=5)), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "0e2cc0", "seed_template_id": "nt_count_squarefree_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": 7.472, "created_at": "2026-02-08T04:15:59.473749Z", "verification": {"verified": true, "answer": 33580, "timestamp": "2026-02-08T04:16:06.945601Z"}, "problem_hash": "25cec3", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no"}} -{"id": "49f784", "alias": "nt_count_squarefree_v1_1918700295_1189", "problem": "Let $m = 2$ and $U = 66666$. Let $S$ be the set of all integers $n$ such that $\\phi(2) \\leq n \\leq U$ and \n$$\n\\mu(n)^2 = \\sum_{d \\mid \\gcd(5, d_0)} \\mu(d),\n$$\nwhere $d_0$ is the smallest divisor of $1001$ that is at least $m$, $\\phi$ is Euler's totient function, and $\\mu$ is the M\\\"obius function. Let $c$ be the number of elements in $S$. Compute $44121 \\cdot c$, and then find the remainder when this product is divided by $54590$. Determine the value of this remainder.", "answer": 40438, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(66666),\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=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=Const(value=1001)))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(54590)),\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": "0e2cc0", "seed_template_id": "nt_count_squarefree_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": 8.658, "created_at": "2026-02-08T05:38:32.794212Z", "verification": {"verified": true, "answer": 40438, "timestamp": "2026-02-08T05:38:41.452061Z"}, "problem_hash": "921727", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K17": "no", "LTE_DIFF": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "d4fb27", "alias": "antilemma_sum_factor_cartesian_v1_548369836_16", "problem": "Let $x$ be the sum of $ij$ over all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 15$. Let $p$ be the largest prime number less than or equal to $2009$. Compute the remainder when\n$$\n(x \\bmod 307) + p \\cdot (x \\bmod 317)\n$$\nis divided by $72716$.", "answer": 17280, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2009),\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(7)), right=IntegerRange(start=Const(1), end=Const(15)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(307)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"x\"), modulus=Const(317)))), modulus=Const(72716)),\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", "SUM_FACTOR_CARTESIAN"], "recipe_id": "b2c567", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:42:48.925773Z", "verification": {"verified": true, "answer": 17280, "timestamp": "2026-02-08T02:42:48.927178Z"}, "problem_hash": "edb453", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 1135}, "timestamp": "2026-02-08T19:43:05.050Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 1302}, "timestamp": "2026-02-09T18:44:27.018Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:14:39.609Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 22500, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 497}, "timestamp": "2026-02-09T01:28:20.238Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 1612}, "timestamp": "2026-02-09T07:07:35.183Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 8192}, "timestamp": "2026-02-09T06:22:36.528Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.54, "mid": 1.09, "hi": 4.48}} -{"id": "b81829", "alias": "modular_inverse_v1_1742523217_3869", "problem": "Let $a$ be the largest prime number not exceeding $163$. Let $m = 269$. Let $r$ be the smallest positive integer $x$ such that $1 \\leq x \\leq 268$ and $a x \\equiv 1 \\pmod{m}$. Let $t_0$ be the number of integers $t$ such that $8 \\leq t \\leq 412$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 17$, $1 \\leq b \\leq 109$, and $t = 5a + 3b$. Compute the remainder when\n$$\n(r \\bmod 251) + 5003 \\cdot (r \\bmod t_0)\n$$\nis divided by $79828$.", "answer": 63352, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(163),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"m\": Const(269),\n \"upper\": Const(268),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(251)), Mul(Const(5003), 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=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=109)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=412)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), modulus=Const(79828)),\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_two_moduli", "MAX_PRIME_BELOW"], "recipe_id": "e570df", "seed_template_id": "modular_inverse_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": 0.065, "created_at": "2026-02-08T06:07:13.534447Z", "verification": {"verified": true, "answer": 63352, "timestamp": "2026-02-08T06:07:13.599134Z"}, "problem_hash": "b51544", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "688e0a", "alias": "antilemma_count_primes_v1_677425708_4206", "problem": "Let $m = 2$. Define $n$ to be the largest positive divisor of 14 that does not exceed $m$. Let $c = 390$. Let $S$ be the set of all prime numbers $p$ such that $n \\leq p \\leq q$, where $q$ is the largest prime number not exceeding $c$. Compute the number of elements in $S$, and let this value be $x$. Find the remainder when $44121x$ is divided by $92002$. Compute this remainder.", "answer": 85245, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(390),\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=Const(14))))),\n \"x\": 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\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(92002)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/COUNT_PRIMES", "MAX_DIVISOR/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "4a275f", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:29:32.602161Z", "verification": {"verified": true, "answer": 85245, "timestamp": "2026-02-08T06:29:32.605541Z"}, "problem_hash": "c0fd12", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "K17": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}} -{"id": "0f10d7", "alias": "nt_count_divisible_and_v1_809748730_106", "problem": "Let $T$ be the number of integers $t$ with $12 \\le t \\le 684$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 32$, $1 \\le b \\le 92$, and\n$$t = 7a + 5b.$$\n\nLet $N$ be the number of integers $n$ with $1 \\le n \\le T$ such that the sum of the decimal digits of $n$ is divisible by $2$.\n\nLet $S$ be the minimum possible value of $x + y$, where $x$ and $y$ are positive integers satisfying\n$$xy = N.$$\n\nLet $R$ be the number of integers $n$ with $1 \\le n \\le 29772$ such that $n$ is divisible by both $9$ and $S$.\n\nLet\n$$Q \\equiv 84823 \\cdot R \\pmod{52060},$$\nwhere $0 \\le Q < 52060$.\n\nCompute $Q$. ", "answer": 23801, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(52060),\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\")), 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=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=92)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=684)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(0)))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(29772),\n \"d1\": Const(9),\n \"d2\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(84823),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_d\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3B/B3", "B3/B3"], "recipe_id": "d3bebb", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "L3B", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.052, "created_at": "2026-02-08T11:19:41.908957Z", "verification": {"verified": true, "answer": 23801, "timestamp": "2026-02-08T11:19:42.961379Z"}, "problem_hash": "4a71c4", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "L3B": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "fd895c", "alias": "modular_count_residue_v1_124444284_343", "problem": "Let $N$ be the number of positive integers $n$ such that $n \\leq 58081$ and $n \\equiv 0 \\pmod{17}$. Let $m = 2N + 3$. Find the multiplicative order of $2$ modulo $m$, that is, the smallest positive integer $k$ such that $2^k \\equiv 1 \\pmod{m}$.", "answer": 2732, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(58081),\n \"m\": Const(17),\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\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C5", "C5/C5"], "recipe_id": "02901e", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 7.391, "created_at": "2026-02-08T03:13:15.348029Z", "verification": {"verified": true, "answer": 2732, "timestamp": "2026-02-08T03:13:22.739217Z"}, "problem_hash": "abb7e7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2732, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 3079}, "timestamp": "2026-02-09T16:24:14.136Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2732, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 1564}, "timestamp": "2026-02-09T00:58:22.700Z"}], "lemma_applicability": {"C5": "ok", "L3B": "ok", "COUNT_PRIMES": "no", "K17": "no", "V3": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "127d44", "alias": "nt_count_divisors_in_range_v1_153355830_1727", "problem": "Let $m = 9$ and $n = 39762$. Let $a$ be the smallest positive integer such that the highest power of $5$ dividing $a!$ is at least $22$. Let $b$ be the number of positive integers $k$ satisfying $1 \\leq k \\leq n$, $m \\mid k$, and $\\gcd(k, 35) = 1$. Let $N = 498960$. Compute the number of positive divisors $d$ of $N$ such that $a \\leq d \\leq b$.", "answer": 97, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(39762),\n \"n\": Const(498960),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(5)), Const(22)), domain='Z_{>0}')),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\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": "C5", "lemma_paths": ["C5", "V5"], "recipe_id": "10129f", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "V5"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.059, "created_at": "2026-02-08T06:35:24.849154Z", "verification": {"verified": true, "answer": 97, "timestamp": "2026-02-08T06:35:24.908585Z"}, "problem_hash": "e6295b", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "V5": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MOD_FACTORIAL": "no", "V7": "no"}} -{"id": "7a4d27", "alias": "antilemma_sum_primes_v1_784195855_2196", "problem": "Let $n_1 = 2923$. Define $h = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ is Euler's totient function. Let $p = 2$ and $n = p^4$. Let $m$ be the number of distinct prime factors of $n$. Define $\\_n = 2m + hm$. Let $x$ be the sum of all prime numbers $n$ such that $\\_n \\leq n \\leq 3$. Compute the value of $x$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(2923),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"p\": Const(2),\n \"n\": Pow(Ref(\"p\"), Const(4)),\n \"m\": SmallOmega(n=Ref(name='n')),\n \"_n\": Mul(Sum(Const(2), Ref(\"h\")), Ref(\"m\")),\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_FIB_DIVISIBLE", "lemma_paths": ["EULER_TOTIENT_SUM", "OMEGA_ONE", "SUM_PRIMES"], "recipe_id": "6ba0ad", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "OMEGA_ONE", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T05:35:13.251970Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:35:13.263922Z"}, "problem_hash": "00d7ef", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "OMEGA_ONE": "ok", "SUM_PRIMES": "ok", "C2": "no", "DS2": "no", "K13": "no", "K16": "no", "V1": "no"}} -{"id": "07a14a", "alias": "nt_euler_phi_compute_v1_784195855_2252", "problem": "Let $n = 30276$. Define $\\phi(n)$ to be the number of positive integers less than or equal to $n$ that are relatively prime to $n$. Let $r = \\phi(n)$. Let $\\mathcal{P}$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq 31$, and let $k$ be the number of elements in $\\mathcal{P}$. Define\n$$\nQ = B_{|r| \\bmod k},\n$$\nwhere $B_k$ denotes the $k$-th Bell number, the number of partitions of a set of $k$ elements. Compute $Q$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(30276),\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\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(31)), 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": ["COUNT_PRIMES/ENDING_bell_mod"], "recipe_id": "5f163c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_bell_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T05:37:23.681184Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T05:37:23.702606Z"}, "problem_hash": "b8b1d7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "ENDING_bell_mod": "ok_later", "K5": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "26666e", "alias": "nt_euler_phi_compute_v1_1520064083_1493", "problem": "Let $d_0$ be the smallest integer $d \\geq 2$ that divides $1565607590646397$. Let $v = \\tau(d_0) \\bmod 2$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Define $n_1 = 8 + v$. Let $w = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function. Define $n = 58081 + w$. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 57840, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1565607590646397))))),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": Sum(Const(8), Ref(\"v\")),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(Const(58081), Ref(\"w\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE"], "recipe_id": "2a0be6", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T04:02:21.007444Z", "verification": {"verified": true, "answer": 57840, "timestamp": "2026-02-08T04:02:21.009198Z"}, "problem_hash": "d8034d", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "C2": "no", "K18": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "dc1bf6", "alias": "modular_sum_quadratic_residues_v1_1440796553_21", "problem": "Let $p$ be the smallest divisor of 97122097 that is at least 2. Let $k$ be the largest integer such that $3^k \\leq 115$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = k$. Let $s$ be the minimum value of $x + y$ over all such pairs. Compute the value of $\\frac{p(p - 1)}{s}$.", "answer": 52098, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(115),\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(97122097))))),\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\")), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_VAL/B3"], "recipe_id": "ff7984", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_VAL", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T11:12:47.144966Z", "verification": {"verified": true, "answer": 52098, "timestamp": "2026-02-08T11:12:47.153781Z"}, "problem_hash": "3dd0a0", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "MIN_PRIME_FACTOR": "ok", "B3": "ok_later", "K16": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}} -{"id": "fd5570", "alias": "antilemma_cartesian_v1_1742523217_3662", "problem": "Let $m$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 11$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 26$ and $1 \\leq b \\leq 38$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Compute the $s$-th Bell number modulo $x$.", "answer": 21147, "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(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\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(38)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1/ENDING_bell_mod", "COMB1/COMB1/ENDING_bell_mod", "COUNT_CARTESIAN"], "recipe_id": "b58243", "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.022, "created_at": "2026-02-08T06:01:02.506076Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T06:01:02.528312Z"}, "problem_hash": "2be193", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}} -{"id": "fa685b", "alias": "nt_sum_divisors_compute_v1_1440796553_42", "problem": "Let $n = 30976$. Define $p_1$ to be the number of integers $t$ such that $24 \\leq t \\leq 164$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 8$, and $t = 14a + 10b$. Let $h = \\Omega(p_1)$, where $\\Omega(m)$ denotes the number of prime factors of $m$ counted with multiplicity.\n\nDefine $p$ to be the number of integers $t$ such that $15 \\leq t \\leq 75$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 5$, and $t = 9a + 6b$. Let $f = \\Omega(p)$.\n\nLet $N = n \\cdot h \\cdot f$. Compute the sum of all positive divisors of $N$.", "answer": 67963, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30976),\n \"p1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=8)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=164)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"h\": BigOmega(n=Ref(name='p1')),\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=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=15)), Leq(left=Var(name='t'), right=Const(value=75)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"f\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"h\"), Ref(\"f\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/BIG_OMEGA_ONE"], "recipe_id": "73cfb1", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIN_FORM"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 0.005, "created_at": "2026-02-08T11:12:54.296301Z", "verification": {"verified": true, "answer": 67963, "timestamp": "2026-02-08T11:12:54.300827Z"}, "problem_hash": "d12935", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "BIG_OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no"}} -{"id": "db6b84", "alias": "diophantine_fbi2_min_v1_124444284_1607", "problem": "Let $p_1, p_2, \\dots, p_k$ be the prime numbers satisfying $2 \\leq p_i \\leq 6$. Define $D$ as the set of all positive integers $d$ such that $d$ is at least the largest of these primes, $d \\leq 26$, $d$ divides $16$, and $\\frac{16}{d} \\geq 2$. Let $m$ be the smallest element of $D$. Find the remainder when $|m|$ is divided by $94404$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"k\": Const(16),\n \"upper\": Const(26),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(94404)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_1", "C5"], "recipe_id": "f575e4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.064, "created_at": "2026-02-08T04:02:26.275450Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T04:02:26.339767Z"}, "problem_hash": "13d500", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K17": "no", "K18": "no", "MAX_VAL": "no"}} -{"id": "e32559", "alias": "nt_min_coprime_above_v1_677425708_4347", "problem": "Let $S$ be the set of positive integers $n \\leq 19663$ such that $13$ divides the $n$-th Fibonacci number. Let $s$ be the number of elements in $S$. Let $t$ be the smallest integer greater than $s$ and at most $3251$ such that $\\gcd(t, 432) = 1$. Compute the remainder when $$353702 \\cdot (|t| \\bmod 97) + 329703 \\cdot ((|t|^2 + 1) \\bmod 101) + 215534 \\cdot (|t| + 44) \\bmod m$$ is divided by $1009091$, where $m$ is the number of integers $x$ in the range $9 \\leq x \\leq 117$ for which there exist positive integers $a \\leq 5$ and $b \\leq 41$ such that $x = 7a + 2b$.", "answer": 75272, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19663),\n \"start\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(13), dividend=Fibonacci(arg=Var(name='n')))))),\n \"upper\": Const(3251),\n \"modulus\": Const(432),\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=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(44)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=41)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=117)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))))), modulus=Const(1009091)),\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_crt_mix_3", "COUNT_FIB_DIVISIBLE"], "recipe_id": "ef9b7a", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_crt_mix_3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.041, "created_at": "2026-02-08T06:34:59.428232Z", "verification": {"verified": true, "answer": 75272, "timestamp": "2026-02-08T06:34:59.469186Z"}, "problem_hash": "3b91be", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "ENDING_crt_mix_3": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "042d2f", "alias": "nt_count_divisors_in_range_v1_865884756_2108", "problem": "Let $A$ be the set of all positive integers $n_1$ with $1 \\leq n_1 \\leq 15119$ such that the sum of the decimal digits of $n_1$ is odd. Let $n$ be the number of elements in $A$. Let $B$ be the set of all positive integers $n_2$ with $1 \\leq n_2 \\leq 23$ such that $n_2 \\equiv \\left\\lfloor \\frac{n_2}{2} \\right\\rfloor \\pmod{3}$. Let $a$ be the number of elements in $B$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq 7560$.", "answer": 58, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(15119)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Ref(\"_n\")), Const(1))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(23)), Congruent(a=Var(name='n2'), b=Floor(arg=Div(left=Var(name='n2'), right=Const(value=2))), modulus=Const(value=3))))),\n \"b\": Const(7560),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3C", "L3B"], "recipe_id": "2de3dd", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.243, "created_at": "2026-02-08T16:30:11.123270Z", "verification": {"verified": true, "answer": 58, "timestamp": "2026-02-08T16:30:11.366066Z"}, "problem_hash": "d36256", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "L3C": "ok", "K13": "no", "K5": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "e7cbcc", "alias": "sequence_fibonacci_compute_v1_1116507919_50", "problem": "Let $m = 512$ and $n = 47$. Define $\\alpha$ to be the number of positive integers $k$ at most 512 that are divisible by 256. Define $\\beta$ to be the number of positive integers $n$ at most 47 such that the sum of the decimal digits of $n$ leaves a remainder of 1 when divided by $\\alpha$. Compute the $\\beta$-th Fibonacci number.", "answer": 46368, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(512),\n \"_n\": Const(47),\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=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(256), dividend=Var(\"k\"))), domain='positive_integers'))), Const(1))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/L3B"], "recipe_id": "fa3ab2", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:24:06.369689Z", "verification": {"verified": true, "answer": 46368, "timestamp": "2026-02-08T02:24:06.372135Z"}, "problem_hash": "dc7e8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 2463}, "timestamp": "2026-02-08T18:57:28.414Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 1426}, "timestamp": "2026-02-09T12:21:36.924Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:37:56.740Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 46368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 1163}, "timestamp": "2026-02-09T14:32:58.191Z"}], "lemma_applicability": {"C2": "ok", "L3B": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "60d37f", "alias": "geo_count_lattice_triangle_v1_677425708_3987", "problem": "Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 86196$ such that $\\binom{86196}{j}$ is odd. Define $A = 2 \\times \\left| 128 \\cdot 196 + 66 \\cdot (0 - s) \\right|$, where $s$ is the number of integers $n$ with $1 \\leq n \\leq 413$ such that $\\gcd(n, 30) = 1$. Let $B$ be the sum\n$$\n\\gcd(|n|, 111) + \\gcd(|66 - 128|, |196 - 111|) + \\gcd(|0 - 66|, |0 - 196|).\n$$\nCompute $\\frac{A - B}{2}$.", "answer": 8880, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(86196)), Eq(Mod(value=Binom(n=Const(86196), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), Const(value=196)), Mul(Const(value=66), Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=413)), Eq(left=GCD(a=Var(name='n'), b=Const(value=30)), right=Const(value=1))))))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Ref(name='_n')), b=Abs(arg=Const(value=111))), GCD(a=Abs(arg=Sub(left=Const(value=66), right=Const(value=128))), b=Abs(arg=Sub(left=Const(value=196), right=Const(value=111)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=66))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=196))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/C4"], "recipe_id": "b0f2f1", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:07:35.133045Z", "verification": {"verified": true, "answer": 8880, "timestamp": "2026-02-08T06:07:35.143560Z"}, "problem_hash": "c3a08a", "license": "CC BY 4.0", "lemma_applicability": {"V8": "ok", "C4": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "K5": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "8536f9", "alias": "sequence_fibonacci_compute_v1_124444284_353", "problem": "Let $m = 21778$. Define $k$ to be the number of nonnegative integers $j \\leq m$ for which $\\binom{m}{j}$ is odd. Let $n = k + 1$.\\\\\n\nLet $N$ be the number of positive integers $n' \\leq n$ such that $\\gcd(n', 6) = 1$.\\\\\n\nLet $F_N$ denote the $N$-th Fibonacci number, with $F_1 = F_2 = 1$. Compute the remainder when $26569 \\cdot F_N$ is divided by $67692$.", "answer": 36467, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21778),\n \"_n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(21778)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(1)),\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=Const(6)), Const(1))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(26569), Ref(\"result\")), modulus=Const(67692)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/C4"], "recipe_id": "b0f2f1", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:13:38.533748Z", "verification": {"verified": true, "answer": 36467, "timestamp": "2026-02-08T03:13:38.537065Z"}, "problem_hash": "be3c4e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 36467, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1664}, "timestamp": "2026-02-09T16:30:52.302Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 36467, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 2156}, "timestamp": "2026-02-09T01:08:22.964Z"}], "lemma_applicability": {"V8": "ok", "C4": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "0f30c1", "alias": "nt_min_coprime_above_v1_784195855_4288", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 109$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $d$ be the number of elements in $S$. Define\n$$\nm = \\sum_{k=1}^{d} \\varphi(k) \\left\\lfloor \\frac{9}{k} \\right\\rfloor,\n$$\nwhere $\\varphi$ denotes Euler's totient function. Let $r$ be the smallest integer $n$ such that $36864 < n \\leq 36919$ and $\\gcd(n, m) = 1$. Compute the remainder when $14028 - r$ is divided by $97804$.", "answer": 74966, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14028),\n \"_n\": Const(9),\n \"start\": Const(36864),\n \"upper\": Const(36919),\n \"modulus\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(109)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Sub(Ref(\"_m\"), Ref(\"result\")), modulus=Const(97804)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/K2"], "recipe_id": "fb5891", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T06:57:52.131323Z", "verification": {"verified": true, "answer": 74966, "timestamp": "2026-02-08T06:57:52.141022Z"}, "problem_hash": "1c51d5", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "K2": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "70536a", "alias": "algebra_quadratic_discriminant_v1_677425708_2910", "problem": "Let $m = 7$. Let $n$ be the number of integers $k$ with $1 \\leq k \\leq 39$ such that\n$$\nk \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{5}.\n$$\nDefine\n$$\nc = \\sum_{k=1}^{n} \\varphi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor.\n$$\nCompute $3^2 - 4(-1)(c)$.", "answer": 121, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(39)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"a\": Const(-1),\n \"b\": Const(3),\n \"c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3C/K2"], "recipe_id": "fb5891", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.046, "created_at": "2026-02-08T05:22:22.180057Z", "verification": {"verified": true, "answer": 121, "timestamp": "2026-02-08T05:22:22.226229Z"}, "problem_hash": "216bc7", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "K2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "ff9c26", "alias": "antilemma_product_of_sums_v1_1520064083_1994", "problem": "Let $M=76351$ and $N=251$. Consider all ordered pairs $(k,j)$ of integers with $1\\le k\\le 8$ and $1\\le j\\le 8$. Let $S$ be the sum of all first coordinates $k$ over these $64$ ordered pairs. Let\n$$T=\\sum_{k=1}^{23} k,$$\nand define\n$$X = S\\cdot T.$$\n\nLet $C$ be the largest positive integer $d$ such that $d\\le P$ and $d$ divides $25120063$, where $P$ is the largest prime between $2$ and $5008$, inclusive. Define\n$$Q \\equiv \\bigl( X \\bmod N \\; + \\; C\\,(X \\bmod 397) \\bigr) \\pmod{M},$$\nwhere each congruence uses the least nonnegative remainder.\n\nFind the value of $Q$.", "answer": 58681, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76351),\n \"_n\": Const(251),\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(8)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Var(\"k\"))), Summation(var=\"k\", start=Const(1), end=Const(23), expr=Var(\"k\"))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5008)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Const(25120063))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(397)))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_DIVISOR/ENDING_two_moduli", "PRODUCT_OF_SUMS"], "recipe_id": "fe7eea", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_DIVISOR", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:27:03.948097Z", "verification": {"verified": true, "answer": 58681, "timestamp": "2026-02-08T04:27:03.952394Z"}, "problem_hash": "f1d1e0", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_two_moduli": "ok_later", "MAX_DIVISOR": "ok_later", "K13": "no", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "a8f13e", "alias": "modular_product_range_v1_1915831931_1822", "problem": "Let $m = \\sum_{k=1}^{10} k$. Let $N$ be the number of integers $t$ such that $22 \\leq t \\leq 1056$ and $t = 8a + 14b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 69$ and $1 \\leq b \\leq 36$. Let $p$ be the product of all integers $i$ from $m$ to the largest prime number less than or equal to $N$. Compute the remainder when $53903 \\cdot p$ is divided by $83664$.", "answer": 76765, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(10), expr=Var(\"k\")),\n \"_n\": Const(83664),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_m\"), end=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=69)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=36)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=1056)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=14), Var(name='b')))))))))), IsPrime(Var(\"n\")))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11261)),\n \"_c\": Const(53903),\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/MAX_PRIME_BELOW", "SUM_ARITHMETIC/LIN_FORM"], "recipe_id": "e4df57", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:27:57.756764Z", "verification": {"verified": true, "answer": 76765, "timestamp": "2026-02-08T16:27:57.768176Z"}, "problem_hash": "c39090", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF_P2": "no", "V5": "no", "V8": "no"}} -{"id": "8b7a1f", "alias": "nt_count_squarefree_v1_784195855_563", "problem": "Let $A$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 6$. Let $P$ be the set of all products $x \\cdot y$ for $(x, y) \\in A$. Let $M = \\max(P)$. Let $d_0 = \\gcd(4, M)$. Define $f(d) = \\mu(d)$ for each positive divisor $d$ of $d_0$, and let $g = \\sum_{d \\mid d_0} f(d)$. Let $L = \\phi(g)$, where $\\phi$ is Euler's totient function. Let $S$ be the set of all integers $n$ such that $L \\leq n \\leq 34596$ and $\\mu(n)^2 = 1$. Compute the number of elements in $S$, where $\\mu$ denotes the M\\\"obius function.", "answer": 21030, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(34596),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=SumOverDivisors(n=GCD(a=Const(value=4), 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=6)))), expr=Mul(Var(name='x'), Var(name='y'))))), 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": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME/ONE_PHI_1"], "recipe_id": "f40d03", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.804, "created_at": "2026-02-08T04:27:30.269885Z", "verification": {"verified": true, "answer": 21030, "timestamp": "2026-02-08T04:27:35.073648Z"}, "problem_hash": "45bbc5", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "a66caa", "alias": "nt_euler_phi_compute_v1_784195855_3378", "problem": "Let $m = 25$. Define $n_2$ to be the number of positive integers $n \\leq m$ such that the sum of the decimal digits of $n$ is odd.\n\nLet\n$$\nc = \\left( \\sum_{d \\mid n_2} \\phi(d) \\right) - n_2,\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $p = 61 + c$.\n\nLet $q$ be the largest prime number at most $4$.\n\nDefine $n_1 = p \\cdot q$, and let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $n = 66564 + e$. Compute $\\phi(n)$.", "answer": 21672, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(25),\n \"_n\": Const(4),\n \"n2\": 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 \"c\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"p\": Sum(Const(61), Ref(\"c\")),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Const(66564), 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/DIVISOR_PARITY", "L3B/EULER_TOTIENT_SUM"], "recipe_id": "e31cab", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "EULER_TOTIENT_SUM", "L3B", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:22:37.808014Z", "verification": {"verified": true, "answer": 21672, "timestamp": "2026-02-08T06:22:37.812758Z"}, "problem_hash": "3c86d3", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K17": "no", "L3b": "no", "MAX_VAL": "no"}} -{"id": "575015", "alias": "modular_sum_quadratic_residues_v1_784195855_2251", "problem": "Let $m = 199$ and $n = 499$. Let $\\mathcal{S}$ be the set of all positive integers $j$ such that $1 \\leq j \\leq 409$ and $j^3 \\leq 68417929$. Let $p$ be the number of elements in $\\mathcal{S}$. Define\n$$\n\\text{result} = \\frac{p(p-1)}{4}.\n$$\nLet $d$ be the smallest divisor of $125525675243$ that is at least $2$, and define $c = d$. Then define\n$$\nQ = \\left( (\\text{result} \\bmod m) + c \\cdot (\\text{result} \\bmod n) \\right) \\bmod 69070.\n$$\nCompute $Q$.", "answer": 55560, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(199),\n \"_n\": Const(499),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(409)), Leq(Pow(Var(\"j\"), Const(3)), Const(68417929))), domain='positive_integers')),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(125525675243))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_m\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(69070)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_two_moduli", "C3"], "recipe_id": "febed3", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "ENDING_two_moduli", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:37:23.555689Z", "verification": {"verified": true, "answer": 55560, "timestamp": "2026-02-08T05:37:23.558255Z"}, "problem_hash": "5b2b72", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "K13": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V8": "no"}} -{"id": "d598c5", "alias": "comb_count_derangements_v1_784195855_3446", "problem": "Let $m = 210$. Let $n_0$ be the number of positive integers $n \\leq m$ such that the $n$-th Fibonacci number is divisible by 20. Let $n$ be the largest integer $k$ such that $n_0^k \\leq 1770680$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(210),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(20), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(1770680)))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MAX_VAL"], "recipe_id": "db6c46", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_VAL"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:26:09.817050Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T06:26:09.818465Z"}, "problem_hash": "ff2cd4", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MAX_VAL": "ok_later", "DS2": "no", "K16": "no", "K5": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}} -{"id": "0d009d", "alias": "diophantine_sum_product_min_v1_260342960_45", "problem": "Let $ S = 73 $, $ P = 1332 $, and $ n = 72 $. Let $ x $ be the smallest integer such that $ 1 \\leq x \\leq n $ and $ x(S - x) = P $. Define\n$$\nQ = x^2 + 8x + \\sum_{k=1}^{m} k,\n$$\nwhere\n$$\nm = \\sum_{k=1}^{8} \\phi(k) \\left\\lfloor \\frac{8}{k} \\right\\rfloor.\n$$\nCompute the value of $ Q $.", "answer": 2250, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72),\n \"S\": Const(73),\n \"P\": Const(1332),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_n\")), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(8), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(8), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(8), Var(\"k\"))))), expr=Var(\"k\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/SUM_ARITHMETIC/ENDING_quadratic_mod"], "recipe_id": "eeca34", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K2", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T11:12:00.700193Z", "verification": {"verified": true, "answer": 2250, "timestamp": "2026-02-08T11:12:00.718317Z"}, "problem_hash": "c5100e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 841}, "timestamp": "2026-02-08T20:28:02.074Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 804}, "timestamp": "2026-02-09T06:35:15.160Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 1115}, "timestamp": "2026-02-09T15:51:05.992Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "answer": 2250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:25:46.130Z"}], "lemma_applicability": {"K2": "ok", "ENDING_quadratic_mod": "ok_later", "SUM_ARITHMETIC": "ok_later", "K13": "no", "K15": "no", "K17": "no", "L3b": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.4, "hi": 1.2}} -{"id": "3ef9b8", "alias": "antilemma_product_of_sums_v1_458359167_528", "problem": "Let $d$ be the greatest common divisor of $13$ and $17$. Let $\\mu$ denote the M\\\"obius function. Let $s = \\sum_{k=1}^{m} k$, where $m$ is the smallest positive integer $n$ such that the largest $k$ for which $3^k$ divides $n!$ is at least $4$. Let $T$ be the set of all ordered pairs $(k, j)$ where $k$ is an integer from $1$ to $9$ and $j$ is an integer from $1$ to $10$. Let $x = s \\cdot \\left( \\sum_{(k,j) \\in T} k \\right)$. Compute the remainder when\n\n$$\n\\sum_{n=1}^{|x|} \\tau(n)\n$$\n\nis divided by $96675$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 10594, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"x\": Mul(Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Ref(\"_n\")), domain='Z_{>0}')), 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(9)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Var(\"k\")))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(96675)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/SUM_ARITHMETIC", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "recipe_id": "cefdee", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "V5"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:23:42.075163Z", "verification": {"verified": true, "answer": 10594, "timestamp": "2026-02-08T03:23:42.078473Z"}, "problem_hash": "36cb87", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "PRODUCT_OF_SUMS": "ok", "V5": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "69ebdc", "alias": "comb_binomial_compute_v1_1520064083_3620", "problem": "Let $n = \\sum_{k=2}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function.\n\nLet $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9$.\n\nCompute $\\binom{n}{k}$.", "answer": 5005, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"n\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["ONE_PHI_2", "K2", "B3"], "recipe_id": "cbb616", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K2", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T05:46:51.210181Z", "verification": {"verified": true, "answer": 5005, "timestamp": "2026-02-08T05:46:51.215829Z"}, "problem_hash": "8d831e", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K2": "ok", "ONE_PHI_2": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no", "V7": "no"}} -{"id": "c581c5", "alias": "antilemma_product_of_sums_v1_784195855_3357", "problem": "Let $p = 53$ and $q = 97$. Define $n_1 = p \\cdot q$. Let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $n = 83$ and $h$ be the number of distinct prime factors of $n$. Let $S_1$ be the sum of the first components $k$ over all ordered pairs $(k, j)$ where $k$ ranges from 1 to 13 and $j$ ranges from 1 to 7. Let $S_2$ be the sum of all integers $j$ with $0 \\leq j \\leq 7$ such that $\\binom{7}{j}$ is odd. Define $x = S_1 \\cdot S_2$ and $c = 26311 + s$. Compute the remainder when $c \\cdot x$ is divided by $71584 \\cdot h$.\\n\\nFind the value of this remainder.", "answer": 49876, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(53),\n \"q\": Const(97),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(83),\n \"h\": SmallOmega(n=Ref(name='n')),\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(13)), right=IntegerRange(start=Const(1), end=Const(7)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(7)), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": Sum(Const(26311), Ref(\"s\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Mul(Const(71584), Ref(\"h\"))),\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", "PRODUCT_OF_SUMS", "OMEGA_ONE"], "recipe_id": "a1e5b3", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "OMEGA_ONE", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:22:26.523229Z", "verification": {"verified": true, "answer": 49876, "timestamp": "2026-02-08T06:22:26.524252Z"}, "problem_hash": "55d562", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "OMEGA_ONE": "ok", "PRODUCT_OF_SUMS": "ok", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "ec281a", "alias": "algebra_poly_eval_v1_458359167_462", "problem": "Let $\\phi(n)$ denote Euler's totient function. Compute $$\n = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor.$$\nLet $k = 10$ and define $$\n\\text{result} = 7 \\cdot k^{1+2} - 8 \\cdot k^2 + n \\cdot k - 5.$$\nLet $T$ be the set of all integers $t$ with $16 \\leq t \\leq 4068$ such that there exist positive integers $a \\leq 493$ and $b \\leq 111$ satisfying $t = 6a + 10b$. Compute the number of elements in $T$, subtract $\\text{result}$, and find the remainder when the result is divided by $99249$.", "answer": 95013, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(99249),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"k\": Const(10),\n \"result\": Sum(Mul(Const(7), Pow(Ref(\"k\"), Summation(var=\"k\", start=Const(1), end=Const(2), expr=Var(\"k\")))), Mul(Const(-8), Pow(Ref(\"k\"), Ref(\"_c\"))), Mul(Ref(\"_n\"), Ref(\"k\")), Const(-5)),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=493)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=111)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=4068)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["LIN_FORM/ENDING_negation_mod", "K2/LIN_FORM", "SUM_ARITHMETIC"], "recipe_id": "dd60c4", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.076, "created_at": "2026-02-08T03:21:24.239007Z", "verification": {"verified": true, "answer": 95013, "timestamp": "2026-02-08T03:21:24.314732Z"}, "problem_hash": "9b5d0a", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "ENDING_negation_mod": "ok_later", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "4f4e0b", "alias": "antilemma_k3_v1_1520064083_1978", "problem": "Let $n = 73560$. Define\n$$\nx = \\sum_{d \\mid n} \\phi(d),\n$$\nwhere the sum is over all positive divisors $d$ of $n$, and $\\phi$ denotes Euler's totient function. Let $S$ be the set of all real numbers $x$ such that\n$$\nx^2 - 11x = 0.\n$$\nLet $m$ be the sum of all elements of $S$. Compute the Bell number $B_r$, where $r$ is the remainder when $|x|$ is divided by $m$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(73560),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-11), Var(\"x\"))), Mul(Const(10), Const(0))))))),\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_bell_mod", "IDENTITY_MUL_ZERO", "K3"], "recipe_id": "a824df", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "IDENTITY_MUL_ZERO", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.001, "created_at": "2026-02-08T04:26:39.536227Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T04:26:39.537327Z"}, "problem_hash": "10f715", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_MUL_ZERO": "ok", "K3": "ok", "VIETA_SUM": "ok", "ENDING_bell_mod": "ok_later", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "730ca9", "alias": "antilemma_count_primes_v1_1742523217_1615", "problem": "Let $m = 17955$. Let $S$ be the set of all integers $t$ such that $16 \\leq t \\leq 6808$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 178$, $1 \\leq b \\leq 838$, and $t = 10a + 6b$. Let $n$ be the number of elements in $S$. Let $T$ be the set of all prime numbers $n$ such that $n$ is at least the number of positive integers $p$ for which there exists a positive integer $q$ satisfying $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$, and $n \\leq n$. Let $x$ be the number of elements in $T$. Compute $m - x$.", "answer": 17478, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17955),\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=178)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=838)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=6808)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=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 \"Q\": Sub(Ref(\"_m\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES", "LIN_FORM/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "d6d39e", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:05:15.964319Z", "verification": {"verified": true, "answer": 17478, "timestamp": "2026-02-08T04:05:15.967390Z"}, "problem_hash": "b46a51", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_SUM": "no", "MOD_ADD": "no"}} -{"id": "86eb22", "alias": "diophantine_fbi2_min_v1_168721529_737", "problem": "Let $k = 8$. Consider all integers $d$ such that\n$$2 \\le d \\le 18, \\quad d \\mid 8, \\quad \\text{and} \\quad \\frac{8}{d} \\ge 4.$$\nLet $r$ be the smallest such integer $d$.\n\nLet\n$$Q = 24817r.$$\n\nCompute $Q$.", "answer": 49634, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(8),\n \"upper\": Const(18),\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(4))))),\n \"Q\": Mul(Const(24817), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ZERO/LIOUVILLE_ONE", "ONE_PHI_1"], "recipe_id": "1cb8b4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T13:15:13.447554Z", "verification": {"verified": true, "answer": 49634, "timestamp": "2026-02-08T13:15:13.453598Z"}, "problem_hash": "28a350", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 416}, "timestamp": "2026-02-09T08:30:16.544Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 49634, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 283}, "timestamp": "2026-02-09T20:54:08.487Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "BIG_OMEGA_ZERO": "ok_later", "LIOUVILLE_ONE": "ok_later", "K14": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "ec3e69", "alias": "antilemma_coprime_grid_v1_1248542787_713", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 5$ and $1\\le j\\le 45$ such that $\\gcd(i,j)=1$.\n\nLet $A$ be the remainder when $|x|$ is divided by $97$.\n\nLet $p$ be the least integer $d\\ge 2$ that divides $1071509$, and let $B$ be the remainder when $|x|^2+1$ is divided by $p$.\n\nLet $C$ be the greatest integer $n$ such that $2\\le n\\le m$ and $n$ is prime, where $m$ is the least element of the set of all values of $u+v$ taken over all ordered pairs $(u,v)$ of positive integers satisfying $uv=2809$.\nLet $D$ be the remainder when $|x|+20$ is divided by $C$.\n\nDefine\n$$S = 353702A + 329703B + 215534D.$$\nLet $T$ be the remainder when $S$ is divided by $1009091$, and let $Q$ be the remainder when $T$ is divided by $96869$.\n\nFind the value of $Q$.", "answer": 29444, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(20),\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(5)), right=IntegerRange(start=Const(1), end=Const(45))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_n\")), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1071509))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_m\")), modulus=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\")), Const(2809)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(96869)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/ENDING_crt_mix_3", "MIN_PRIME_FACTOR/ENDING_crt_mix_3", "COUNT_COPRIME_GRID"], "recipe_id": "04eef7", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "ENDING_crt_mix_3", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.005, "created_at": "2026-02-08T03:20:30.796846Z", "verification": {"verified": true, "answer": 29444, "timestamp": "2026-02-08T03:20:30.801715Z"}, "problem_hash": "ca139d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29444, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 388, "completion_tokens": 3842}, "timestamp": "2026-02-09T07:19:18.112Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 29444, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 384, "completion_tokens": 2502}, "timestamp": "2026-02-09T20:10:15.962Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 356, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:28:10.989Z"}], "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_CARTESIAN": "no", "K16": "no", "K17": "no", "L3b": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "0122c7", "alias": "comb_catalan_compute_v1_124444284_828", "problem": "Let $\\mathcal{S}$ be the set of all ordered pairs $(i,j)$ of positive integers such that $i + j = 12$, $1 \\le i \\le 10$, and $1 \\le j \\le 11$. Let $n = |\\mathcal{S}|$. Let $a = 3$ and let $b$ be the number of elements in the Cartesian product $\\{1,2\\} \\times \\{1,2\\}$. Define $n_2 = a + b$. Let\n$$\nf = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nThen define $n_1 = f$, and let\n$$\nh = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $n = n \\cdot h$, where the first $n$ is the size of $\\mathcal{S}$ and the second $n$ is the final value. Compute the $n$-th Catalan number.", "answer": 16796, "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(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"a\": Const(3),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))),\n \"n2\": Sum(Ref(\"a\"), Ref(\"b\")),\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\": Ref(\"f\"),\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(Ref(\"_n\"), Ref(\"h\")),\n \"result\": Catalan(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_CARTESIAN/BINOMIAL_ALTERNATING"], "recipe_id": "cdca7b", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.012, "created_at": "2026-02-08T03:32:51.515458Z", "verification": {"verified": true, "answer": 16796, "timestamp": "2026-02-08T03:32:51.527090Z"}, "problem_hash": "57a21e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 345, "completion_tokens": 870}, "timestamp": "2026-02-09T22:44:02.195Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 349, "completion_tokens": 1083}, "timestamp": "2026-02-09T06:28:13.037Z"}], "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_CARTESIAN": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "731eb8", "alias": "nt_lcm_compute_v1_677425708_1431", "problem": "Let $v$ be the number of distinct prime factors of $130321$. Let $m$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $270$, where $\\mu$ is the M\\\"obius function. Let $a = v \\cdot N$, where $N$ is the number of positive integers $n \\leq 10440$ such that $21$ divides the $n$th Fibonacci number. Let $b = 757$. Define $\\ell$ to be the least common multiple of $a$ and $b$. Compute the remainder when $51076 - \\ell$ is divided by $57734 + m$.", "answer": 44669, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(130321),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(270),\n \"m\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10440)), Divides(divisor=Const(21), dividend=Fibonacci(arg=Var(name='n')))))), Ref(\"v\")),\n \"b\": Const(757),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(51076),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(57734), Ref(\"m\"))),\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/OMEGA_ONE", "MOBIUS_SUM"], "recipe_id": "366be7", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MOBIUS_SUM", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T04:11:57.455554Z", "verification": {"verified": true, "answer": 44669, "timestamp": "2026-02-08T04:11:57.458152Z"}, "problem_hash": "6a1464", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 44669, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 3040}, "timestamp": "2026-02-09T19:52:53.262Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_SUM": "ok", "OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "V1": "no", "V8": "no"}} -{"id": "e21c2b", "alias": "antilemma_sum_factor_cartesian_v1_153355830_758", "problem": "Let $x$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\le i \\le 23$ and $1 \\le j \\le 26$. Let $d_0$ be the smallest integer $d \\ge 2$ that divides $92179973$. Define\n$$\nQ = \\left( 353702 \\cdot |x| \\bmod d_0 + 329703 \\cdot \\left( |x|^2 \\bmod 101 \\right) + 215534 \\cdot \\left( |x| \\bmod 40 \\right) \\right) \\bmod 1009091,\n$$\nand let the final result be $Q \\bmod 54757$. Compute this result.", "answer": 34027, "graph": "graphs = [\n Graph(\n let={\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(23)), right=IntegerRange(start=Const(1), end=Const(26)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(92179973))))))), 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')), Const(40)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(54757)),\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", "SUM_FACTOR_CARTESIAN"], "recipe_id": "309104", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MIN_PRIME_FACTOR", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:09:50.293080Z", "verification": {"verified": true, "answer": 34027, "timestamp": "2026-02-08T04:09:50.296069Z"}, "problem_hash": "1672a5", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "21e327", "alias": "antilemma_sum_factor_cartesian_v1_677425708_3036", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 15$ and $1 \\leq j \\leq 9$. Let $x$ be the sum of $i \\cdot j$ over all pairs $(i,j)$ in $S$. Let $d_1$ be the smallest divisor of $103936373$ that is at least $2$, and let $d_2$ be the smallest divisor of $143$ that is at least $2$. Define\n$$\nQ = \\left( 353702 \\cdot (|x| \\bmod d_1) + 329703 \\cdot \\left( |x|^2 \\bmod 1 \\right) + 215534 \\cdot (|x| \\bmod d_2) \\right) \\bmod 1009091.\n$$\nCompute the value of $Q \\bmod 76743$.", "answer": 1890, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76743),\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(15)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(103936373))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_n\")), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143)))))), modulus=Const(103)))), 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", "SUM_FACTOR_CARTESIAN"], "recipe_id": "309104", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MIN_PRIME_FACTOR", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:26:40.552945Z", "verification": {"verified": true, "answer": 1890, "timestamp": "2026-02-08T05:26:40.556424Z"}, "problem_hash": "e0bf78", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V8_SUM": "no"}} -{"id": "c55b75", "alias": "nt_num_divisors_compute_v1_1440796553_1318", "problem": "Let $\\phi(k)$ denote Euler's totient function. Define\n$$\nm = \\sum_{k=1}^{10} \\phi(k) \\left\\lfloor \\frac{10}{k} \\right\\rfloor.\n$$\nLet $c$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $m$. Let $n = 23104$, and let $d(n)$ denote the number of positive divisors of $n$.\n\nCompute $d(n)^2 + d(n) + c$.", "answer": 517, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(10), Var(\"k\"))))),\n \"n\": Const(23104),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Ref(\"result\"), 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": ["K2/K3/ENDING_quadratic_mod"], "recipe_id": "b1e69e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "K2", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T13:38:39.112024Z", "verification": {"verified": true, "answer": 517, "timestamp": "2026-02-08T13:38:39.131974Z"}, "problem_hash": "68e337", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "ENDING_quadratic_mod": "ok_later", "K3": "ok_later", "DS2": "no", "K16": "no", "K18": "no", "LTE_DIFF": "no", "V5": "no"}} -{"id": "a548f1", "alias": "comb_count_permutations_fixed_v1_784195855_6262", "problem": "Let $n = 7$ and $k = 5$. Define $r = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Let $s = |r| \\mod 11$. Compute the remainder when the Bell number $B_s$ is divided by 65108.", "answer": 50867, "graph": "graphs = [\n Graph(\n let={\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 \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))), modulus=Const(65108)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/ENDING_bell_mod"], "recipe_id": "6d07c6", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T08:31:30.440334Z", "verification": {"verified": true, "answer": 50867, "timestamp": "2026-02-08T08:31:30.448775Z"}, "problem_hash": "ebc820", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "ENDING_bell_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "b11215", "alias": "nt_gcd_compute_v1_458359167_211", "problem": "Let $a = 595947$ and $b = 1029363$. Define $r = \\gcd(a, b)$. Let $m$ be the largest integer $k$ such that $2^k \\leq 5$. Compute the value of $$\\sum_{n=\\varphi(m)}^{|r|} \\tau(n) \\mod 68060,$$ where $\\tau(n)$ denotes the number of positive divisors of $n$ and $\\varphi$ is Euler's totient function.", "answer": 54408, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(595947),\n \"b\": Const(1029363),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(5))))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(68060)),\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/ONE_PHI_2/ENDING_sum_divisor_count"], "recipe_id": "4cc040", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_sum_divisor_count", "MAX_VAL", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:04:28.419309Z", "verification": {"verified": true, "answer": 54408, "timestamp": "2026-02-08T03:04:28.421729Z"}, "problem_hash": "42c0c7", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "ENDING_sum_divisor_count": "ok_later", "ONE_PHI_2": "ok_later", "K16": "same_pattern_wrong", "COUNT_PRIMES": "no", "K15": "no", "L3c": "no", "V1": "no", "V8": "no"}} -{"id": "de9fda", "alias": "nt_count_divisible_v1_458359167_781", "problem": "Let $A$ be the set of positive integers $n$ such that $n \\leq 30625$ and $n$ is divisible by 26. Let $r = |A|$. For each positive integer $k \\leq 124$, let $$s_k = \\left\\lfloor \\frac{t}{k} \\right\\rfloor,$$ where $t$ is the number of integers expressible as $3a + 2b + 4$ for some integers $a, b$ with $1 \\leq a \\leq 10$ and $1 \\leq b \\leq 50$, and $9 \\leq 3a + 2b + 4 \\leq 134$. Define $$c = \\sum_{k=1}^{124} \\phi(k) \\cdot s_k.$$ Compute $c - r$.", "answer": 6573, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(124),\n \"upper\": Const(30625),\n \"divisor\": 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(\"divisor\")), Const(0))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=50)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=134)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=4)))))))), Var(\"k\"))))),\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/K2/ENDING_negation_mod"], "recipe_id": "dd12c6", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.843, "created_at": "2026-02-08T03:32:48.100009Z", "verification": {"verified": true, "answer": 6573, "timestamp": "2026-02-08T03:32:50.943149Z"}, "problem_hash": "e2461f", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "K2": "ok_later", "C2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "2882b2", "alias": "modular_count_residue_v1_1742523217_1473", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\le n \\le 53361$ and $n \\equiv 19 \\pmod{20}$. Let $B$ be the number of positive integers $n$ such that $1 \\le n \\le 6000$ and the sum of the decimal digits of $n$ is odd. Compute the remainder when $\\left(A \\bmod{199}\\right) + B \\cdot \\left(A \\bmod{499}\\right)$ is divided by $72469$.", "answer": 11971, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(53361),\n \"m\": Const(20),\n \"r\": Const(19),\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=Const(199)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6000)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))), Mod(value=Ref(\"result\"), modulus=Const(499)))), modulus=Const(72469)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_two_moduli"], "recipe_id": "90c8a5", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 4.511, "created_at": "2026-02-08T04:00:34.561342Z", "verification": {"verified": true, "answer": 11971, "timestamp": "2026-02-08T04:00:39.072588Z"}, "problem_hash": "368612", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "ENDING_two_moduli": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "9e521f", "alias": "antilemma_v1_legendre_784195855_4216", "problem": "Let $m = 17$ and $n = 8908$. Let $x$ be the largest integer $k$ such that $m^k$ divides $n!$. Let $c$ be the smallest prime divisor of $75220913$. Compute the remainder when $c \\cdot x$ is divided by $89072$.", "answer": 1407, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(8908),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(75220913))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(89072)),\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", "V1"], "recipe_id": "645fcf", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T06:55:51.110837Z", "verification": {"verified": true, "answer": 1407, "timestamp": "2026-02-08T06:55:51.112280Z"}, "problem_hash": "b18c69", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "ENDING_affine_mod": "ok_later", "K5": "same_pattern_wrong", "DS2": "no", "K15": "no", "K16": "no", "MAX_VAL": "no", "MOD_SUB": "no"}} -{"id": "505a33", "alias": "antilemma_product_of_sums_v1_151522320_1555", "problem": "Let $S$ be the set of all primes $n$ such that $2 \\leq n \\leq 128$. Let $m = 2$. Let $T$ be the set of integers $j$ such that $0 \\leq j \\leq |S|$ and $\\binom{31}{j} \\equiv 1 \\pmod{2}$. Compute the sum of all elements in $T$. Let this sum be $S_1$. Let $U$ be the set of all ordered pairs $(k, j)$ where $k$ is an integer with $1 \\leq k \\leq 6$ and $j$ is an integer with $1 \\leq j \\leq 2$. Let $S_2$ be the sum of all values of $k$ over all pairs $(k, j)$ in $U$. Compute $S_1 \\cdot S_2$.", "answer": 20832, "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\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(128)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))), Eq(Mod(value=Binom(n=Const(31), k=Var(\"j\")), modulus=Ref(\"_n\")), 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(6)), right=IntegerRange(start=Const(1), end=Const(2)))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "PRODUCT_OF_SUMS"], "recipe_id": "4c267c", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:05:33.878596Z", "verification": {"verified": true, "answer": 20832, "timestamp": "2026-02-08T04:05:33.885017Z"}, "problem_hash": "bf233a", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_PRIMES": "ok_later", "K13": "no", "K14": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "97763c", "alias": "nt_count_divisible_and_v1_677425708_3911", "problem": "Let $d_1$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 10$, $1 \\leq j \\leq 10$, and $i + j = 11$.\n\nLet $d_2 = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function.\n\nCompute the number of positive integers $n$ such that $n \\leq 39540$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 1318, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"upper\": Const(39540),\n \"d1\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(11)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(10))))),\n \"d2\": Summation(var=\"k\", start=Const(1), end=Const(5), 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(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "K2"], "recipe_id": "8eb943", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "K2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.341, "created_at": "2026-02-08T06:02:48.005464Z", "verification": {"verified": true, "answer": 1318, "timestamp": "2026-02-08T06:02:49.346930Z"}, "problem_hash": "bcb175", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "K2": "ok", "DS2": "no", "K14": "no", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no"}} -{"id": "7946df", "alias": "antilemma_v1_legendre_1520064083_4697", "problem": "Let $c = 71401$ and $m = 98701$. Let $d_1$ be the smallest prime divisor of $294151$ that is at least $2$. Define $x$ to be the largest integer $k$ such that $d_1^k$ divides $c!$. Let $d_2$ be the smallest prime divisor of $537251$ that is at least $2$. Let $r = |x| \\mod d_2$. Let $B_r$ denote the $r$th Bell number, which counts the number of partitions of a set of $r$ elements. Compute the remainder when $B_r$ is divided by $m$.", "answer": 17274, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(71401),\n \"_m\": Const(98701),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(294151))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_c\")), base=Ref(\"_n\")),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_bell_mod", "MIN_PRIME_FACTOR/V1", "V1"], "recipe_id": "1d275d", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T06:23:19.519384Z", "verification": {"verified": true, "answer": 17274, "timestamp": "2026-02-08T06:23:19.533116Z"}, "problem_hash": "ab5312", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "ENDING_bell_mod": "ok_later", "K5": "same_pattern_wrong", "K15": "no", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}} -{"id": "8e7142", "alias": "nt_lcm_compute_v1_677425708_611", "problem": "Let $a=1900$ and $b=860$. Let $L$ be the least common multiple of $a$ and $b$. Compute $L$.", "answer": 81700, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(1900),\n \"b\": Const(860),\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": "V5", "lemma_paths": ["V5/B3/WILSON", "OMEGA_ONE"], "recipe_id": "b38118", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "OMEGA_ONE", "V5", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:36:39.001503Z", "verification": {"verified": true, "answer": 81700, "timestamp": "2026-02-08T03:36:39.007960Z"}, "problem_hash": "fe9c57", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 81700, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 499}, "timestamp": "2026-02-08T20:50:43.867Z"}], "lemma_applicability": {"OMEGA_ONE": "ok", "V5": "ok", "B3": "ok_later", "WILSON": "ok_later", "DS2": "no", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "93f884", "alias": "nt_count_primes_v1_124444284_1480", "problem": "Let $N$ be the number of prime numbers $n$ such that $2\\le n\\le 62001$. Let $r$ be the remainder when $|N|$ is divided by $11$, so that $0\\le r\\le 10$ and $r\\equiv N\\pmod{11}$. Let $Q$ be the $r$-th Bell number, that is, the number of ways to partition a set of $r$ elements into nonempty subsets.\n\nFind the value of $Q$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(62001),\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\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SUM/ENDING_bell_mod", "BIG_OMEGA_ONE"], "recipe_id": "3b2900", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ONE", "ENDING_bell_mod", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 10.483, "created_at": "2026-02-08T03:55:53.742152Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T03:56:04.225622Z"}, "problem_hash": "2a8603", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "a3ac04", "alias": "antilemma_sum_primes_v1_1125832087_1169", "problem": "Let $c=12$. 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 \\text{start}$, $n \\leq \\text{upper}$, and $\\gcd(n, 337) = 1$. Let $Q$ be the remainder when $78957$ times this value of $n$ is divided by $78130$. Compute $Q$.", "answer": 31024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(9),\n \"b\": Const(3),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Const(2)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(79),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"start\": Const(3721),\n \"upper\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(38611)), IsPrime(Var(\"n\"))))), Ref(\"m\")), Ref(\"e\")),\n \"modulus\": Const(337),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(78957),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(78130)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/DIVISOR_PARITY/LIOUVILLE_MINUS_ONE"], "recipe_id": "936dd0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.034, "created_at": "2026-02-08T03:24:03.884982Z", "verification": {"verified": true, "answer": 31024, "timestamp": "2026-02-08T03:24:03.918975Z"}, "problem_hash": "d90d46", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "L3b": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V3": "no"}} -{"id": "fb71ca", "alias": "nt_gcd_compute_v1_677425708_2784", "problem": "Let $p = 19$ and define $f \\equiv (p-1)! + 1 \\pmod{p}$. Let $n$ be the sum of $f$ and the number of positive integers $k \\leq 2816$ that are divisible by $128$. Define $m$ as the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$, minus $n$ itself. Let $a = 432579 + m$ and $b = 803361$. Find the value of $\\gcd(a, b)$.", "answer": 61797, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(128),\n \"p\": Const(19),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(2816)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"f\")),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Sum(Const(432579), Ref(\"m\")),\n \"b\": Const(803361),\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/WILSON/EULER_TOTIENT_SUM"], "recipe_id": "ad8adb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C2", "EULER_TOTIENT_SUM", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T05:15:50.877357Z", "verification": {"verified": true, "answer": 61797, "timestamp": "2026-02-08T05:15:50.881006Z"}, "problem_hash": "cb9f28", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "EULER_TOTIENT_SUM": "ok_later", "WILSON": "ok_later", "MOD_ADD": "no", "MOD_MUL": "no", "V1": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "6b8bd8", "alias": "antilemma_sum_primes_v1_168721529_122", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 3$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $Q$ be the remainder when the number of elements in $S$ minus $x$ is divided by $69804$. Find the value of $Q$.", "answer": 69801, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(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(\"x\")), modulus=Const(69804)),\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_negation_mod", "SUM_PRIMES"], "recipe_id": "2e4a7d", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_negation_mod", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T12:50:01.357351Z", "verification": {"verified": true, "answer": 69801, "timestamp": "2026-02-08T12:50:01.360308Z"}, "problem_hash": "df88bb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 69801, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 1384}, "timestamp": "2026-02-08T21:03:57.885Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 371}, "timestamp": "2026-02-09T13:43:27.510Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.37, "mid": 4.19, "hi": 8.01}} -{"id": "9904b0", "alias": "antilemma_sum_primes_v1_677425708_1692", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 9$. Let $c$ be the number of positive integers $p$ for which there exists an integer $q$ such that $p < q$, $pq = 3897608912052956100$, and $\\gcd(p, q) = 1$. Define $Q = c - x$. Compute $Q$.", "answer": 495, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\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=3897608912052956100)), 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\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_negation_mod", "SUM_PRIMES"], "recipe_id": "2e4a7d", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_negation_mod", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:22:41.567229Z", "verification": {"verified": true, "answer": 495, "timestamp": "2026-02-08T04:22:41.569561Z"}, "problem_hash": "7f86d1", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "80f0d9", "alias": "comb_factorial_compute_v1_784195855_6072", "problem": "Let $m$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18$. Let $n$ be the largest prime number that is at least $m$ and at most the number of elements in $T$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), 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\")), Ref(\"_m\")))))), 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", "COMB1/MAX_PRIME_BELOW"], "recipe_id": "dcb61f", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T08:18:35.217369Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T08:18:35.220148Z"}, "problem_hash": "3cc2e6", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "K5": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "5a02f7", "alias": "nt_sum_divisors_range_v1_1520064083_604", "problem": "Let $m = 3$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all prime numbers $k$ such that $n \\leq k \\leq m$. Let $T$ be the set of all positive integers $a$ such that $a \\leq 10816$ and $a$ is in $S$. Compute the sum of the number of positive divisors of each element in $T$. Let $Q$ be the multiplicative order of $2$ modulo $2 \\cdot |T| + 3$. Determine the value of $Q$.", "answer": 10200, "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=12)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(10816),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES/ONE_PHI_2"], "recipe_id": "1afa3d", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.417, "created_at": "2026-02-08T03:29:17.085887Z", "verification": {"verified": true, "answer": 10200, "timestamp": "2026-02-08T03:29:17.502670Z"}, "problem_hash": "bb20fa", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "ONE_PHI_2": "ok_later", "K14": "no", "K17": "no", "K18": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "def82e", "alias": "diophantine_sum_product_min_v1_153355830_2611", "problem": "Let $c = 53$ and $m = 2$. Let $n$ be the largest prime number such that $m \\leq n \\leq c$. Let $S$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 36$ such that $\\gcd(i,j) = 1$. Let $P$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 129600$. Determine the value of $x$ such that $1 \\leq x \\leq n$ and $x(S - x) = P$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(53),\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 \"S\": 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(36))))),\n \"P\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(129600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_n\")), 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": "COUNT_PRIMES", "lemma_paths": ["MAX_PRIME_BELOW/B3", "COUNT_COPRIME_GRID"], "recipe_id": "b257a9", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.019, "created_at": "2026-02-08T07:14:39.697443Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T07:14:39.716086Z"}, "problem_hash": "ca964f", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "B3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V8_SUM": "no"}} -{"id": "b65315", "alias": "nt_count_coprime_and_v1_784195855_589", "problem": "Let $A$ be the set of all positive integers $n$ such that $2 \\leq n \\leq 78561$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $k_1$ be the number of positive integers $n$ with $1 \\leq n \\leq 18$ such that the sum of the digits of $n$ is even, and let $k_2 = 11$. Now let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq |A|$ and $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Compute the number of elements in $B$.", "answer": 4328, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Const(78561)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(18)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"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": "ONE_PHI_2", "lemma_paths": ["ONE_PHI_2", "L3C", "L3B"], "recipe_id": "c245b3", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "L3C", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.74, "created_at": "2026-02-08T04:29:20.989992Z", "verification": {"verified": true, "answer": 4328, "timestamp": "2026-02-08T04:29:21.729936Z"}, "problem_hash": "58dfd9", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "L3C": "ok", "ONE_PHI_2": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "c65b4d", "alias": "comb_catalan_compute_v1_1353956133_102", "problem": "Let $n = 10$. Define $C_n$ to be the $n$-th Catalan number. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers such that $x_1 + x_2 = 4$, $x_1$ is odd, and $x_2$ is odd. Compute the number of elements in $S$, and denote it by $k$. Let $m$ be the number of decimal digits of $C_n$. Now define\n$$\nQ = \\left( \\sum_{i=0}^{m-1} \\left( \\text{the } i\\text{-th digit of } C_n \\right) \\cdot (i+1)^k \\right) \\cdot 10.\n$$\nFind the value of $Q$.", "answer": 315, "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(92)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(90)), right=IntegerRange(start=Const(1), end=Const(90))))),\n \"n\": Const(10),\n \"result\": Catalan(Ref(\"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=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)))))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/ENDING_digits_weighted_mod"], "recipe_id": "95e3d6", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_digits_weighted_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T11:18:56.344095Z", "verification": {"verified": true, "answer": 315, "timestamp": "2026-02-08T11:18:56.351203Z"}, "problem_hash": "885b91", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "COMB1": "ok_later", "ENDING_digits_weighted_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "8d8647", "alias": "comb_count_surjections_v1_1248542787_1", "problem": "Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 12$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 2$, $1 \\leq b \\leq 3$, and $t = 3a + 2b$. Let $k = 5$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Compute $r + \\phi(|r| + 1) + \\tau(|r| + 1)$, where $\\phi$ denotes Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 3602, "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=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 \"k\": Const(5),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_FACTORIAL_0", "lemma_paths": ["ONE_FACTORIAL_0", "LIN_FORM"], "recipe_id": "31042a", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_FACTORIAL_0"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:52:15.806497Z", "verification": {"verified": true, "answer": 3602, "timestamp": "2026-02-08T02:52:15.809591Z"}, "problem_hash": "e9065d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 3902}, "timestamp": "2026-02-08T19:55:20.680Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 1128}, "timestamp": "2026-02-08T21:05:36.499Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 5651}, "timestamp": "2026-02-08T23:15:11.149Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.12, "hi": 1.77}} -{"id": "2bac74", "alias": "nt_count_divisible_and_v1_153355830_1654", "problem": "Let $m = 17$ and $n = 9$. Define $d_1$ to be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $x \\cdot y = 9$. Let $d_2$ be the number of positive integers $n \\le 145$ that are divisible by 5 and relatively prime to 12. Let $S$ be the set of positive integers $n \\le 68700$ such that $n \\equiv \\sum_{d \\mid m} \\mu(d) \\pmod{d_1}$ and $n \\equiv 0 \\pmod{d_2}$, where $\\mu$ is the M\\\"obius function. Let $Q = \\sum_{n=1}^{|S|} \\tau(n)$, where $\\tau(n)$ is the number of positive divisors of $n$. Compute $Q$.", "answer": 18075, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(9),\n \"upper\": Const(68700),\n \"d1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(145)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=Ref(name='_m'), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "B3", "C5"], "recipe_id": "e66275", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.626, "created_at": "2026-02-08T06:32:34.139772Z", "verification": {"verified": true, "answer": 18075, "timestamp": "2026-02-08T06:32:36.765356Z"}, "problem_hash": "cb5da9", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C5": "ok", "MOBIUS_SUM": "ok", "K13": "no", "K17": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "8a88ec", "alias": "comb_factorial_compute_v1_1742523217_3948", "problem": "Let $m = 83222$ and let $n$ be the number of positive integers at most 22 that are even and relatively prime to 35. Compute the remainder when $n!$ is multiplied by 49229 and then divided by $m$.", "answer": 68580, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(83222),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(7)))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22)), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(49229), 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_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/C5"], "recipe_id": "008eb2", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "COUNT_CARTESIAN"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:09:27.885640Z", "verification": {"verified": true, "answer": 68580, "timestamp": "2026-02-08T06:09:27.887523Z"}, "problem_hash": "96681e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C5": "ok_later", "COUNT_SUM_EQUALS": "no", "K13": "no", "K14": "no", "K17": "no", "V5": "no"}} -{"id": "711721", "alias": "antilemma_v7_kummer_677425708_4214", "problem": "Let $ x $ be the largest integer such that $ 2^x $ divides $ \\binom{1265}{506} $. Let $ Q $ be $ x $ multiplied by the largest prime number less than or equal to 3580. Find the value of $ Q $.", "answer": 32139, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(1265),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(506)), base=Ref(\"_m\")),\n \"Q\": Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3580)), IsPrime(Var(\"n\"))))), Ref(\"x\")),\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_affine_mod", "V7"], "recipe_id": "a682ea", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "MAX_PRIME_BELOW", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T06:29:47.525807Z", "verification": {"verified": true, "answer": 32139, "timestamp": "2026-02-08T06:29:47.535888Z"}, "problem_hash": "56a7b6", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V7": "ok", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K18": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "20b12f", "alias": "nt_num_divisors_compute_v1_1742523217_3840", "problem": "Let $p_1$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_1 = p_1^k$, where $k$ is the largest prime number between $2$ and $3$, inclusive. Let $h = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Let $p = 2$ and let $u$ be the remainder when $(p-1)! + 1$ is divided by $p$. Define $n = 30276 + h + u$. Let $d$ be the number of positive divisors of $n$. Compute the remainder when $32033 \\cdot d$ is divided by $80297$.", "answer": 61921, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80297),\n \"p1\": 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 \"n1\": Pow(Ref(\"p1\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\")))))),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"p\": Const(2),\n \"u\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(30276), Ref(\"h\"), Ref(\"u\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(32033),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE", "COPRIME_PAIRS/LIOUVILLE_MINUS_ONE", "WILSON"], "recipe_id": "2b4cb0", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:06:53.518265Z", "verification": {"verified": true, "answer": 61921, "timestamp": "2026-02-08T06:06:53.523439Z"}, "problem_hash": "c06b39", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "WILSON": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "L3c": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no", "V7": "no"}} -{"id": "b8130b", "alias": "nt_num_divisors_compute_v1_153355830_1713", "problem": "Let $n = 66564$. Compute the number of positive divisors of $n$.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(66564),\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/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "457fb8", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["EULER_TOTIENT_SUM", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T06:35:14.410364Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T06:35:14.420022Z"}, "problem_hash": "a81cb6", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "b1904b", "alias": "modular_min_linear_v1_458359167_885", "problem": "Let $a = 8500$ and let $b$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 6635776$. Let $m = 33997$, and let $r$ be the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $ax \\equiv b \\pmod{m}$. Let $d$ be the smallest divisor of $21002198468789$ that is at least $2$. Compute the remainder when $d \\cdot r$ is divided by $62741$.", "answer": 377, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(8500),\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(6635776)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(33997),\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\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(21002198468789))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(62741)),\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/ENDING_affine_mod", "B3"], "recipe_id": "214d7f", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_affine_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.661, "created_at": "2026-02-08T04:08:54.078259Z", "verification": {"verified": true, "answer": 377, "timestamp": "2026-02-08T04:08:56.739222Z"}, "problem_hash": "cb4026", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "DS2": "no", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no"}} -{"id": "0af94d", "alias": "nt_sum_divisors_compute_v1_1978505735_308", "problem": "Let $m = 1484$ and $n = 2$. Let $N = 65536$. Compute the sum of all positive divisors of $N$. Let $P$ be the largest prime number at most $m$, and let $Q$ be the largest prime number at most $P$. Compute the remainder when $Q$ multiplied by the sum of the divisors of $N$ is divided by $66747$.", "answer": 11029, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1484),\n \"_n\": Const(2),\n \"n\": Const(65536),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_m\")), IsPrime(Var(\"n2\")))))), IsPrime(Var(\"n1\"))))), Ref(\"result\")), modulus=Const(66747)),\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_affine_mod"], "recipe_id": "8237f8", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "MAX_PRIME_BELOW"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T15:17:50.519294Z", "verification": {"verified": true, "answer": 11029, "timestamp": "2026-02-08T15:17:50.523600Z"}, "problem_hash": "077427", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}} -{"id": "2d11d9", "alias": "modular_product_range_v1_1520064083_2707", "problem": "Let $m = 301$. Compute the product $\\prod_{i=121}^{m} i$. Find the remainder when this product is divided by $10289$; call this remainder $r$. Let $p$ be the largest prime number such that $2 \\leq p \\leq 9012$. Determine the value of $10289 \\cdot r$ modulo $83402$.", "answer": 28045, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(301),\n \"_n\": Const(2),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(121), end=Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10289)),\n \"Q\": Mod(value=Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9012)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(83402)),\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_affine_mod"], "recipe_id": "8237f8", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "MAX_PRIME_BELOW"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:57:12.809452Z", "verification": {"verified": true, "answer": 28045, "timestamp": "2026-02-08T04:57:12.814152Z"}, "problem_hash": "b54f4a", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_affine_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}} -{"id": "387741", "alias": "antilemma_sum_factor_cartesian_v1_677425708_4010", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers with $1 \\le i \\le 14$ and $1 \\le j \\le 20$ such that\n$$\n\\sum_{d \\mid \\gcd(5,7)} \\mu(d) = 1,\n$$\ndefined by the Möbius function $\\mu$. Let $T$ be the set of all values $ij$ for $(i,j) \\in S$. Compute the sum of all elements in $T$, take its absolute value, and let $n$ be the number of integers $t$ with $5 \\le t \\le 17$ for which there exist positive integers $a$ and $b$ such that $1 \\le a \\le 4$, $1 \\le b \\le 3$, and $t = 2a + 3b$. Determine the value of the Bell number $B_k$, where $k$ is the remainder when the absolute sum is divided by $n$. Find the value of $B_k$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=5), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(20)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='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=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["LIN_FORM/ENDING_bell_mod", "SUM_FACTOR_CARTESIAN", "MOBIUS_COPRIME"], "recipe_id": "ee97b0", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "LIN_FORM", "MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T06:08:08.431525Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T06:08:08.443043Z"}, "problem_hash": "645577", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K5": "no", "L3c": "no", "V3": "no"}} -{"id": "8900d7", "alias": "modular_product_range_v1_458359167_48", "problem": "Let $m=2$ and $c=97$. Let $n$ be the largest prime number with $m\\le n\\le c$.\n\nLet\n$$P = \\prod_{i=88}^{S} i,$$\nwhere\n$$S = \\sum_{k=1}^{30} k.$$\nLet $R$ be the remainder when $P$ is divided by $10909$.\n\nLet $T$ 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 p_2$ such that $p_2 \\cdot q = 1080$ and $\\gcd(p_2, q) = 1$. Let $h$ be the number of distinct prime factors of $n_1$. Let $n = 67^2 \\cdot 11$ and let $u = (\\mu(n))^2$, where $\\mu$ is the M\\\"obius function. Let $r$ be the number of positive integers $n_3 \\le 46656$ that are divisible by $23$. Compute $r + 2^{r \\bmod 14} \\bmod (78866 \\cdot h)$.", "answer": 6124, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24),\n \"_n\": Const(14),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_m\")), IsPrime(Var(\"n2\"))))),\n \"n1\": Pow(Ref(\"p1\"), CountOverSet(set=SolutionsSet(var=Var(\"p2\"), condition=And(IsPositive(arg=Var(name='p2')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p2'), Var(name='q')), right=Const(value=1080)), Eq(left=GCD(a=Var(name='p2'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p2'), right=Var(name='q')))))))),\n \"h\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(67),\n \"q\": Const(11),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"u\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(46656),\n \"divisor\": Const(23),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Const(1)), Leq(Var(\"n3\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n3\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Sum(Const(2), Ref(\"u\")), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\"))), modulus=Mul(Const(78866), Ref(\"h\")))),\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/OMEGA_ONE", "COPRIME_PAIRS/OMEGA_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "cdced4", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "OMEGA_ONE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 1.58, "created_at": "2026-02-08T15:33:17.024108Z", "verification": {"verified": true, "answer": 6124, "timestamp": "2026-02-08T15:33:18.604073Z"}, "problem_hash": "adb029", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok", "OMEGA_ONE": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "7ac22a", "alias": "nt_sum_gcd_range_mod_v1_1742523217_4669", "problem": "Let $N$ be the number of integers $t$ such that $21 \\leq t \\leq 23799$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1132$, $1 \\leq b \\leq 1135$, and $t = 12a + 9b$. Let $k$ be the number of positive integers $k'$ such that $1 \\leq k' \\leq 10332$ and the greatest common divisor of $k'$ and $151$ is $1$ divides $k'$. Define\n\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\n\nLet $Q$ be the smallest positive integer such that the $Q$-th Fibonacci number is divisible by $|\\text{sum} \\mod 11579| + 2$. Compute $Q$.", "answer": 2658, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10332),\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=1132)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1135)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=23799)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(151)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"M\": Const(11579),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/C2", "LIN_FORM"], "recipe_id": "91f71f", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "C4", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.365, "created_at": "2026-02-08T09:01:38.195431Z", "verification": {"verified": true, "answer": 2658, "timestamp": "2026-02-08T09:01:38.560700Z"}, "problem_hash": "2fff2c", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "C2": "ok_later", "DS2": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "3565ea", "alias": "antilemma_cartesian_v1_1125832087_720", "problem": "Let $m = 1776$. Define $A$ to be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $n$ be the number of elements in $A$.\n\nDefine $B$ to be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$.\n\nLet $x$ be the number of ordered pairs $(a, b)$ where $a$ and $b$ are integers satisfying $1 \\le a \\le 31$ and $1 \\le b \\le 31$.\n\nLet $d_0, d_1, \\dots, d_{t-1}$ be the decimal digits of $|x|$, where $d_0$ is the units digit and $d_{t-1}$ is the most significant digit. Compute the sum\n$$\n\\sum_{i=0}^{t-1} d_i (i+1)^2.\n$$\n\nLet $Q$ be the sum of this value and the number of elements in $B$. Determine the value of $Q$.", "answer": 550, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1776),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(31)))),\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=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": "COMB1", "lemma_paths": ["COMB1/COMB1/ENDING_digits_weighted_mod", "COUNT_CARTESIAN"], "recipe_id": "f33b0d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_digits_weighted_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:13:53.191136Z", "verification": {"verified": true, "answer": 550, "timestamp": "2026-02-08T03:13:53.195703Z"}, "problem_hash": "682686", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "8e8ab4", "alias": "nt_gcd_compute_v1_153355830_149", "problem": "Let $p = 43$ and $q = 17$, and define $n = pq$. Let $\\lambda(n)$ denote the Liouville function. Let $a_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq 1276$ and the sum of the decimal digits of $n$ is odd. Let $b_1 = 568 \\cdot \\lambda(n)$. Let $m = \\sum_{d \\mid \\gcd(a_1, b_1)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $a = 959231 + m$ and $b = 1549527$. Compute $\\gcd(a, b)$.", "answer": 73787, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(43),\n \"q\": Const(17),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"a1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1276)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"b1\": Mul(Const(568), Ref(\"c\")),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Sum(Const(959231), Ref(\"m\")),\n \"b\": Const(1549527),\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": "L3B", "lemma_paths": ["L3B/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "992ffb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T02:55:04.739285Z", "verification": {"verified": true, "answer": 73787, "timestamp": "2026-02-08T02:55:04.740950Z"}, "problem_hash": "0f22c3", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K15": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "731678", "alias": "antilemma_k2_v1_1520064083_1125", "problem": "Let $N = 388$ and define\n$$x = \\sum_{k=1}^{N} \\varphi(k) \\left\\lfloor \\frac{N}{k} \\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $c = 33$.\nDefine\n\\[\nQ \\equiv 353702\\bigl(|x| \\bmod 97\\bigr)\n+ 329703\\Bigl(\\bigl(x^2 + \\sum_{d \\mid 84} \\varphi(d)\\bigr) \\bmod 101\\Bigr)\n+ 215534\\bigl((|x| + c) \\bmod 103\\bigr)\n\\pmod{1009091},\n\\]\nand then reduce $Q$ again modulo $77735$ so that $0 \\le Q < 77735$.\nFind the value of $Q$.", "answer": 46543, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(388),\n \"x\": Summation(var=\"k\", start=Const(1), end=Const(388), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"_c\": Const(33),\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)), Pow(SumOverDivisors(n=Const(value=84), var='d', expr=EulerPhi(n=Var(name='d'))), Const(0))), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(77735)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/IDENTITY_POW_ZERO/ENDING_crt_mix_3", "K2"], "recipe_id": "1e4431", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "IDENTITY_POW_ZERO", "K2", "K3"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:48:08.569272Z", "verification": {"verified": true, "answer": 46543, "timestamp": "2026-02-08T03:48:08.571640Z"}, "problem_hash": "3e0475", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "K3": "ok", "ENDING_crt_mix_3": "ok_later", "IDENTITY_POW_ZERO": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "89cb53", "alias": "antilemma_sum_primes_v1_784195855_4894", "problem": "Let $T$ be the set of integers $t$ with $10 \\leq t \\leq 34$ such that $t = 6a + 4b$ for some integers $a, b$ with $1 \\leq a \\leq 3$ and $1 \\leq b \\leq 4$. Let $d$ be the largest power of $11$ that divides $12^{11} - 1^{|T|}$. Let $x$ be the number of prime numbers $n$ such that $d \\leq n \\leq 6$. Compute the multiplicative order of $2$ modulo $2|x| + 3$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(6),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Sub(Pow(Const(12), Ref(\"_m\")), Pow(Const(1), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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'))))))))))), base=Const(11))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='x')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIN_FORM/LTE_DIFF/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "8167bc", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T07:28:01.566795Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T07:28:01.583710Z"}, "problem_hash": "d57a78", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "LTE_DIFF": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "d3655e", "alias": "diophantine_fbi2_min_v1_1440796553_1261", "problem": "Let $k = 6$. Define $U$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 5659500$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all integers $d$ such that $2 \\leq d \\leq U$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Define $r$ to be the minimum element of $S$. Compute $r^2 + 36r + \\sum_{i=1}^{59} i$.", "answer": 1846, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(59),\n \"_n\": Const(2),\n \"k\": Const(6),\n \"upper\": 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=5659500)), 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\": 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\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(36), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\"))),\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/ENDING_quadratic_mod", "COPRIME_PAIRS"], "recipe_id": "2620b3", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_quadratic_mod", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T13:36:59.974537Z", "verification": {"verified": true, "answer": 1846, "timestamp": "2026-02-08T13:36:59.980118Z"}, "problem_hash": "8e4ef3", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "ENDING_quadratic_mod": "ok_later", "K13": "no", "K5": "no", "LTE_DIFF": "no", "V3": "no", "V8": "no"}} -{"id": "72f474", "alias": "sequence_fibonacci_compute_v1_153355830_2133", "problem": "Let $m$ be the largest prime number between $2$ and $4$, inclusive. Let $n = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor$, where $\\phi(k)$ is Euler's totient function. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\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\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2/SUM_ARITHMETIC"], "recipe_id": "b74e1d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:56:07.297363Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T06:56:07.299462Z"}, "problem_hash": "9a0e6d", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "K2": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "V3": "no"}} -{"id": "044c60", "alias": "modular_sum_quadratic_residues_v1_1918700295_993", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq = 180, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nAmong all ordered pairs $(x,y)$ of positive integers such that $xy = m$, let $n$ be the minimum possible value of $x + y$.\n\nLet $p$ be the smallest integer greater than or equal to $2$ that divides $394399573$.\n\nLet\n$$R = \\frac{p\\bigl(p - \\varphi(2)\\bigr)}{n},$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nCompute $R$. ", "answer": 4658, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\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=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 \"_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 \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(394399573))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), EulerPhi(n=Ref(\"_c\")))), 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": ["COPRIME_PAIRS/B3/MIN_PRIME_FACTOR", "ONE_PHI_2"], "recipe_id": "18ce24", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T05:26:15.663656Z", "verification": {"verified": true, "answer": 4658, "timestamp": "2026-02-08T05:26:15.669749Z"}, "problem_hash": "afb1ec", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "B3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "L3c": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "910681", "alias": "antilemma_sum_factor_cartesian_v1_151522320_1209", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 11$. Let $x = \\sum_{(i,j) \\in S} ij$. Let $d_k$ denote the $k$-th digit of $|x|$ in base 10, starting from the units digit (so $k=0$ is the units digit). Let $c$ be the number of positive integers $p < q$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Compute $\\sum_{k=0}^{\\lfloor \\log_{10} |x| \\rfloor} d_k (k+1)^c + 29929$.", "answer": 30043, "graph": "graphs = [\n Graph(\n let={\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(11)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": Const(29929),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), EulerPhi(n=Const(1))), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), 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=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))))), Ref(\"_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", "SUM_FACTOR_CARTESIAN", "ONE_PHI_1"], "recipe_id": "46e814", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_digits_weighted_mod", "ONE_PHI_1", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:50:39.740907Z", "verification": {"verified": true, "answer": 30043, "timestamp": "2026-02-08T03:50:39.743334Z"}, "problem_hash": "98fe26", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_digits_weighted_mod": "ok_later", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "4e63c8", "alias": "comb_binomial_compute_v1_151522320_744", "problem": "Let $n = 14$ and $k = 8$. Define $d$ to be the number of positive integers $m$ such that $1 \\leq m \\leq 11$ and $\\gcd(m, 21) = 1$. Let $\\mu$ denote the M\\\"obius function. Compute $$\\sum_{t=\\sum_{d'\\mid d} \\mu(d')}^{|\\binom{n}{k}|} \\tau(t),$$ where $\\tau(t)$ denotes the number of positive divisors of $t$.", "answer": 24522, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(14),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Summation(var=\"n\", start=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=11)), Eq(left=GCD(a=Var(name='n'), b=Const(value=21)), right=Const(value=1))))), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MOBIUS_COPRIME/ENDING_sum_divisor_count"], "recipe_id": "9333a9", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "ENDING_sum_divisor_count", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:29:36.136306Z", "verification": {"verified": true, "answer": 24522, "timestamp": "2026-02-08T03:29:36.138409Z"}, "problem_hash": "7dea79", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "ENDING_sum_divisor_count": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "698179", "alias": "antilemma_product_of_sums_v1_677425708_1163", "problem": "Let $m=9801$. Among all ordered pairs $(x,y)$ of positive integers such that $xy=m$, let $n$ be the minimum possible value of $x+y$.\n\nLet $S_1$ be the sum of all integers $j$ such that $0\\le j\\le 7$ and $\\binom{7}{j}$ is odd.\n\nLet $S_2$ be the sum\n$$S_2=\\sum_{k=1}^{t} k,$$\nwhere $t$ is the number of integers $n'$ such that $1\\le n'\\le n$ and\n$$n'\\equiv \\left\\lfloor \\frac{n'}{2} \\right\\rfloor \\pmod{11}.$$\n\nLet $x=S_1S_2$. Define\n$$Q\\equiv 2^{|x|}+32\\pmod{99991},$$\nwith $0\\le Q<99991$.\n\nFind the value of $Q$.", "answer": 1387, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9801),\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=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(7)), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(32)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "9c2667", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T04:01:25.551746Z", "verification": {"verified": true, "answer": 1387, "timestamp": "2026-02-08T04:01:25.554997Z"}, "problem_hash": "811812", "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-09T16:28:15.654Z"}], "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "L3C": "ok_later", "SUM_ARITHMETIC": "ok_later", "K13": "no", "K18": "no", "L3b": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "2b87b6", "alias": "nt_gcd_compute_v1_153355830_2675", "problem": "Compute the greatest common divisor of $471256$ and $883605$.", "answer": 58907, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(471256),\n \"b\": Const(883605),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/DIVISOR_PARITY", "EULER_TOTIENT_SUM"], "recipe_id": "d96df3", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["DIVISOR_PARITY", "EULER_TOTIENT_SUM", "LTE_DIFF"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T07:15:50.592212Z", "verification": {"verified": true, "answer": 58907, "timestamp": "2026-02-08T07:15:50.609812Z"}, "problem_hash": "519bc7", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "LTE_DIFF": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "L3c": "no", "V3": "no", "V5": "no"}} -{"id": "736862", "alias": "antilemma_sum_primes_v1_1125832087_963", "problem": "Let $m = 4$ and $n = 2$. Define $S$ as the set of all positive integers $x$ and $y$ such that $x + y = 4$. Let $P$ be the set of all values of $xy$ as $(x, y)$ ranges over $S$. Let $r$ be the maximum element of $P$. Now, let $T$ be the set of all integers $k$ such that $2 \\leq k \\leq r$ and $k$ is prime. Compute the number of elements in $T$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=Var(\"n\"), 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(4)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Const(0)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/SUM_DIVISIBLE/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "8afe75", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "SUM_DIVISIBLE", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:23:21.566049Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T03:23:21.568422Z"}, "problem_hash": "325be3", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_PRIMES": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V3": "no"}} -{"id": "5954e9", "alias": "antilemma_product_of_sums_v1_1742523217_3248", "problem": "Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 7$. Let $x_1$ be the sum of all integers $j$ with $0 \\leq j \\leq 7$ such that $\\binom{\\max(S)}{j}$ is odd. Let $S'$ be the set of all ordered pairs $(k, \\ell)$ of positive integers such that $1 \\leq k \\leq 15$ and $1 \\leq \\ell \\leq 2$. Let $x_2$ be the sum of all values of $k$ as $(k, \\ell)$ ranges over $S'$. Define $x = x_1 \\cdot x_2$. Compute the remainder when $50020 \\cdot x$ is divided by $77583$.", "answer": 44844, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(7)), IsPrime(Var(\"n\"))))), k=Var(\"j\")), modulus=Const(2)), Const(1))))), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=EulerPhi(n=Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\")))),\n \"_c\": Const(50020),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(77583)),\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", "ONE_PHI_1"], "recipe_id": "89cb15", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_1", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:44:57.686487Z", "verification": {"verified": true, "answer": 44844, "timestamp": "2026-02-08T05:44:57.689542Z"}, "problem_hash": "1314db", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "L3c": "no", "LTE_SUM": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "e12c9c", "alias": "nt_sum_divisors_range_v1_1520064083_978", "problem": "Let $m = 102$ and $n = 93700$. Let $U = 10731$. Define $S$ as the set of all positive integers $k$ such that $1 \\leq k \\leq U$. Let $T$ be the sum of the number of positive divisors of each element in $S$. Let $P$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i, j \\leq 100$ and $i + j = \\sum\\{ k : 1 \\leq k \\leq m \\text{ and } k \\equiv 0 \\pmod{102} \\}$. Compute the remainder when $P - T$ is divided by $n$.", "answer": 86230, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(102),\n \"_n\": Const(93700),\n \"upper\": Const(10731),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=Var(\"n\"), modulus=Const(102)), Const(0)))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(100)), right=IntegerRange(start=Const(1), end=Const(100))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/COUNT_SUM_EQUALS/ENDING_negation_mod"], "recipe_id": "f94da5", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_negation_mod", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.789, "created_at": "2026-02-08T03:41:59.899207Z", "verification": {"verified": true, "answer": 86230, "timestamp": "2026-02-08T03:42:00.688454Z"}, "problem_hash": "beb1dd", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "COUNT_SUM_EQUALS": "ok_later", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "MOD_FACTORIAL": "no"}} -{"id": "32ebb5", "alias": "comb_sum_binomial_row_v1_865884756_1116", "problem": "Let $j$ be a positive integer such that $1 \\leq j \\leq 4$ and $j^4 \\leq 256$. Let $c$ be the number of such integers $j$. Define $n = \\sum_{k=1}^{c} k$. Let $r = 2^n$. Let $p$ be the largest prime number less than or equal to $6$. Compute the remainder when $p - r$ is divided by $50977$.", "answer": 49958, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(6),\n \"n\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(4)), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(256))), domain='positive_integers')), expr=Var(\"k\")),\n \"result\": Pow(Const(2), Ref(\"n\")),\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=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50977)),\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/ENDING_negation_mod", "C3/SUM_ARITHMETIC"], "recipe_id": "c747e7", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "ENDING_negation_mod", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T15:47:47.582194Z", "verification": {"verified": true, "answer": 49958, "timestamp": "2026-02-08T15:47:47.587864Z"}, "problem_hash": "60b2e6", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_negation_mod": "ok_later", "SUM_ARITHMETIC": "ok_later", "K14": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "7c7235", "alias": "diophantine_fbi2_min_v1_153355830_1570", "problem": "Let $k = 15$. Determine the smallest integer $d$ such that $4 \\leq d \\leq 25$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(15),\n \"a\": Const(3),\n \"b\": Const(2),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["COUNT_CARTESIAN/C4"], "recipe_id": "793bab", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C4", "COUNT_CARTESIAN"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.063, "created_at": "2026-02-08T06:29:50.969296Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T06:29:51.032273Z"}, "problem_hash": "6f58bc", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C4": "ok_later", "K14": "no", "K15": "no", "MOD_ADD": "no", "V1": "no", "V8": "no"}} -{"id": "6275a0", "alias": "antilemma_v8_lucas_1125832087_723", "problem": "Let $a = \\gcd(105, 75)$. Compute\n$$\ns = \\sum_{d \\mid a} \\mu(d),\n$$\nwhere $\\mu$ denotes the M\\\"obius function.\n\nLet $F$ be the set of all integers $n$ with $1 \\le n \\le 20$ such that $11$ divides the $n$-th Fibonacci number. Let $d = |F|$.\n\nNow, let $S$ be the set of all integers $j$ such that $s \\le j \\le 64960$ and\n$$\n\\binom{64960}{j} \\equiv 1 \\pmod{d}.\n$$\nLet $x = |S|$.\n\nCompute $x + \\left(2^{(x \\bmod 16)} \\bmod 88246\\right)$.", "answer": 513, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=GCD(a=Const(value=105), b=Const(value=75)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Const(64960)), Eq(Mod(value=Binom(n=Const(64960), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n'))))))), Const(1))), domain='nonnegative_integers')),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Const(16))), modulus=Const(88246))),\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/V8", "MOBIUS_COPRIME", "V8"], "recipe_id": "d326d3", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:13:53.248588Z", "verification": {"verified": true, "answer": 513, "timestamp": "2026-02-08T03:13:53.254520Z"}, "problem_hash": "b1f539", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok", "V8": "ok", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K18": "no", "K5": "no", "V3": "no"}} -{"id": "251bd7", "alias": "antilemma_sum_factor_cartesian_v1_458359167_1490", "problem": "Let $x$ be the sum of $ij$ over all ordered pairs $(i,j)$ with $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 6$. Let $A$ be the set of positive integers $n \\leq 23$ such that the sum of the decimal digits of $n$ is even. Define $m = |A|$. Compute the remainder when the Bell number $B_{|x| \\bmod m}$ is divided by $76019$.", "answer": 39956, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23),\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(23)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='x')), 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(76019)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/ENDING_bell_mod", "SUM_FACTOR_CARTESIAN"], "recipe_id": "2702c5", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "L3B", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:38:02.687644Z", "verification": {"verified": true, "answer": 39956, "timestamp": "2026-02-08T04:38:02.688974Z"}, "problem_hash": "a73742", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_bell_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "ad15d0", "alias": "nt_count_gcd_equals_v1_124444284_2195", "problem": "Let $k = 301$ and $d = 7$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 7569$ and $\\gcd(n, k) = d$.", "answer": 1056, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(7569),\n \"k\": Const(301),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V5", "LIN_FORM"], "recipe_id": "3e5ff3", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.946, "created_at": "2026-02-08T04:30:36.616167Z", "verification": {"verified": true, "answer": 1056, "timestamp": "2026-02-08T04:30:38.562381Z"}, "problem_hash": "130e20", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "V5": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}} -{"id": "2d7d5e", "alias": "nt_gcd_compute_v1_784195855_1024", "problem": "Let $a_1$ be the largest positive divisor of $657621$ that is at most $801$. Let $b_1 = 267$. Let $d_0 = \\gcd(a_1, b_1)$. Define $s = \\sum_{d \\mid d_0} \\mu(d)$, where $\\mu$ is the M\\\"{o}bius function. Let $p = 97$, $n = p^2$, and $u = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $r = \\gcd(147112, 273208)$. Compute the remainder when $(79380 + s) \\cdot u \\cdot r$ is divided by $72461$.", "answer": 52938, "graph": "graphs = [\n Graph(\n let={\n \"a1\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(801)), Divides(divisor=Var(\"d\"), dividend=Const(657621))))),\n \"b1\": Const(267),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(97),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"a\": Const(147112),\n \"b\": Const(273208),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Mul(Sum(Const(79380), Ref(\"s\")), Ref(\"u\")), Ref(\"result\")), modulus=Const(72461)),\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/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "83eb61", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T04:47:42.215957Z", "verification": {"verified": true, "answer": 52938, "timestamp": "2026-02-08T04:47:42.217609Z"}, "problem_hash": "d61c86", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MAX_DIVISOR": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K15": "no", "K5": "no"}} -{"id": "d0d46f", "alias": "diophantine_fbi2_min_v1_168721529_1953", "problem": "Let $n = 3$ and $k = 6$. Define $d$ to be an integer such that $3 \\leq d \\leq 16$, $d$ divides $k$, and $\\frac{k}{d} \\geq c$, where $c$ is the number of prime integers $n$ satisfying $2 \\leq n \\leq 3$. Let $r$ be the smallest such $d$. Let $C$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 82$, $1 \\leq j \\leq 179$, and $\\gcd(i,j) = 1$. Compute $C - r$.", "answer": 8997, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(6),\n \"upper\": Const(16),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))))))),\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(82)), right=IntegerRange(start=Const(1), end=Const(179))))),\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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_negation_mod", "COUNT_PRIMES"], "recipe_id": "bfc035", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_PRIMES", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T14:01:56.799291Z", "verification": {"verified": true, "answer": 8997, "timestamp": "2026-02-08T14:01:56.808444Z"}, "problem_hash": "e6eabc", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "ok", "ENDING_negation_mod": "ok_later", "COUNT_SUM_EQUALS": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}} -{"id": "0cc5b4", "alias": "nt_sum_divisors_compute_v1_151522320_788", "problem": "Let $n_0=25281$ and $n_1=43529$. Let $\\lambda(n)$ denote the function defined by $\\lambda(n)=(-1)^{\\Omega(n)}$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity.\n\nLet\n$$c=\\lambda(n_1)+\\varphi(1),$$\nwhere $\\varphi$ is Euler's totient function. Let $p$ be the sum of $c$ and the largest prime number between $2$ and $18$, inclusive. Let $w$ be the number of prime factors of $p$, counted with multiplicity, and let\n$$n = n_0\\cdot w.$$\n\nLet $S$ be the sum of all positive divisors of $n$.\n\nCompute $S$.", "answer": 37219, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25281),\n \"n1\": Const(43529),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n1')), EulerPhi(n=Const(1))),\n \"p\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(18)), IsPrime(Var(\"n\"))))), Ref(\"c\")),\n \"w\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE/BIG_OMEGA_ONE", "ONE_PHI_1"], "recipe_id": "cc1b2f", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:31:19.785465Z", "verification": {"verified": true, "answer": 37219, "timestamp": "2026-02-08T03:31:19.792317Z"}, "problem_hash": "2733dc", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "BIG_OMEGA_ONE": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "MOD_MUL": "no"}} -{"id": "13e5b6", "alias": "nt_gcd_compute_v1_151522320_871", "problem": "Let $a = 429000$ and $b = 804375$. Let $d = \\gcd(a, b)$. Let $k$ be the number of positive integers $n \\leq 133$ such that $7$ divides $n$ and $\\gcd(n, 30) = 1$. Compute the remainder when\n$$\n353702 \\cdot (d \\bmod 97) + 329703 \\cdot (d^2 + 1 \\bmod 101) + 215534 \\cdot \\left(d + \\sum_{j=1}^{k} j \\bmod 103\\right)\n$$\nis divided by $1009091$, and then find the remainder when that result is divided by $85360$.", "answer": 3919, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(85360),\n \"a\": Const(429000),\n \"b\": Const(804375),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(133)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))), expr=Var(\"k\"))), modulus=Const(103)))), 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": "C5", "lemma_paths": ["C5/SUM_ARITHMETIC/ENDING_crt_mix_3"], "recipe_id": "2201a4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_crt_mix_3", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:37:04.638925Z", "verification": {"verified": true, "answer": 3919, "timestamp": "2026-02-08T03:37:04.644215Z"}, "problem_hash": "567955", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "ENDING_crt_mix_3": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}} -{"id": "589f5c", "alias": "nt_sum_over_divisible_v1_1918700295_1098", "problem": "Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Let $D$ be the maximum value of $xy$ over all such pairs. Let $s$ be the sum of all positive integers $n \\leq 48841$ such that $n \\equiv \\sum_{d \\mid \\gcd(12,24)} \\mu(d) \\pmod{D}$, where $\\mu$ is the M\\\"obius function. Compute the remainder when $38722 \\cdot s$ is divided by 97995.", "answer": 61560, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(38722),\n \"upper\": Const(48841),\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\")), Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\")))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=24)), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(97995)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "K2/B1"], "recipe_id": "68cb1b", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "K2", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.34, "created_at": "2026-02-08T05:33:59.899525Z", "verification": {"verified": true, "answer": 61560, "timestamp": "2026-02-08T05:34:05.239210Z"}, "problem_hash": "0c2652", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "MOBIUS_COPRIME": "ok", "B1": "ok_later", "K16": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}} -{"id": "b0c2e5", "alias": "diophantine_fbi2_count_v1_677425708_526", "problem": "Let $S_1$ be the set of all integers $t$ such that $11 \\le t \\le 268$ and there exist positive integers $a \\le 60$, $b \\le 4$ satisfying $t = 4a + 7b$. Let $k$ be the number of elements in $S_1$.\n\nLet $S_2$ be the set of all integers $t$ such that $14 \\le t \\le 156$ and there exist positive integers $a \\le 26$, $b \\le 7$ satisfying $t = 4a + 7b + 3$. Let $m$ be the number of elements in $S_2$.\n\nLet $D$ be the set of all integers $d$ such that $5 \\le d \\le m$, $d$ divides $k$, $3 \\le \\frac{k}{d} \\le n_{\\min}$, where $n_{\\min}$ is the smallest positive integer $n$ such that $3^{59}$ divides $n!$.\n\nLet $r$ be the number of elements in $D$.\n\nCompute $21025 - r$.", "answer": 21011, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21025),\n \"_n\": Const(5),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=60)), 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=268)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=26)), 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=156)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=3))))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(59)), domain='Z_{>0}')))))),\n \"Q\": Sub(Ref(\"_m\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE", "LIN_FORM", "V5"], "recipe_id": "f1648d", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE", "V5"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T03:35:24.580490Z", "verification": {"verified": true, "answer": 21011, "timestamp": "2026-02-08T03:35:24.594472Z"}, "problem_hash": "d9c063", "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": 361, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:42:38.324Z"}], "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SQUAREFREE": "ok", "V5": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "91e58e", "alias": "antilemma_sum_primes_v1_1125832087_132", "problem": "Let $S$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq d$, where $d$ is the smallest divisor of $\\pi$ that is at least $2$, and $\\pi$ is the number of prime numbers between $2$ and $5039$, inclusive. Let $x$ be the sum of all elements in $S$. Compute the remainder when $44121 \\cdot x$ is divided by $71671$.", "answer": 5592, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(2),\n \"x\": SumOverSet(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=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5039)), IsPrime(Var(\"n\")))))))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Const(71671)),\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/MIN_PRIME_FACTOR/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "6b30f0", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:52:43.772474Z", "verification": {"verified": true, "answer": 5592, "timestamp": "2026-02-08T02:52:43.775389Z"}, "problem_hash": "f0e094", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "K14": "no", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_MUL": "no"}} -{"id": "3f0e05", "alias": "nt_min_coprime_above_v1_865884756_3542", "problem": "Let $S$ be the set of all integers $t$ such that $7 \\le t \\le 1955$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 265$, $1 \\le b \\le 315$, and $t = 5a + 2b$. Let $u$ be the number of elements in $S$. Let $r$ be the smallest integer $n$ such that $1787 < n \\le u$ and $\\gcd(n, 148) = 1$. Let $c$ be the smallest divisor greater than 1 of 518122164716209. Find the remainder when $c \\cdot r$ is divided by 57934.", "answer": 55487, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(1787),\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=265)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=315)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=1955)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"modulus\": Const(148),\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\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(518122164716209))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(57934)),\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/ENDING_affine_mod", "LIN_FORM"], "recipe_id": "0f04f8", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.04, "created_at": "2026-02-08T17:29:52.400250Z", "verification": {"verified": true, "answer": 55487, "timestamp": "2026-02-08T17:29:52.440390Z"}, "problem_hash": "814b5f", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "L3c": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "754e19", "alias": "antilemma_count_primes_v1_1248542787_926", "problem": "Let $m = 32240$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq v_{13}(m!)$, where $v_{13}(m!)$ denotes the largest integer $k$ such that $13^k$ divides $m!$. Compute the number of elements in $P$.", "answer": 389, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(32240),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Ref(\"_m\")), base=Const(13))), 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": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "0b29e1", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:29:37.294029Z", "verification": {"verified": true, "answer": 389, "timestamp": "2026-02-08T03:29:37.296064Z"}, "problem_hash": "e67810", "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": 191, "completion_tokens": 8192}, "timestamp": "2026-02-09T10:09:46.093Z"}], "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "K15": "no", "K17": "no", "LTE_DIFF": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "3e8c7e", "alias": "antilemma_count_primes_v1_1520064083_832", "problem": "Let $m$ be the largest integer such that $5^m$ divides $5230!$. Let $p$ be the largest prime number that is at most $m$. Determine the number of prime numbers $n$ such that $2 \\le n \\le p$.", "answer": 213, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxKDivides(target=Factorial(Const(5230)), base=Ref(\"_m\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), 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": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "0b29e1", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:37:31.297666Z", "verification": {"verified": true, "answer": 213, "timestamp": "2026-02-08T03:37:31.299756Z"}, "problem_hash": "425313", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MOD_ADD": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "384d77", "alias": "nt_count_gcd_equals_v1_677425708_2084", "problem": "Let $c=12$, and let $m$ be the greatest prime number $n$ with $2\\le n\\le c$. Let $n_0=3$.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le115$ and $1\\le j\\le125$ such that $\\gcd(i,j)=1$. Let $\\text{upper}$ be the number of such ordered pairs.\n\nLet $k$ be the greatest integer $t$ such that $n_0^t$ divides $957!$. Let $d=95$. Let $\\text{result}$ be the number of integers $n$ with $1\\le n\\le\\text{upper}$ and $\\gcd(n,k)=d$.\n\nLet $r$ be the remainder when $|\\text{result}|$ is divided by $m$, so $0\\le r p$ such that $pq = 533610$ and $\\gcd(p, q) = 1$. Compute the remainder when $R + 2^{R \\bmod T}$ is divided by 75580.", "answer": 65519, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75580),\n \"upper\": Const(50400),\n \"divisor\": Summation(var=\"k\", start=Const(1), end=Const(13), expr=Var(\"k\")),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=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=533610)), 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(75580))), 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/ENDING_mod_exp", "SUM_ARITHMETIC"], "recipe_id": "1ff019", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_mod_exp", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.615, "created_at": "2026-02-08T05:54:07.097630Z", "verification": {"verified": true, "answer": 65519, "timestamp": "2026-02-08T05:54:08.712633Z"}, "problem_hash": "ba2525", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "ENDING_mod_exp": "ok_later", "DS2": "no", "K15": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}} -{"id": "8424e2", "alias": "nt_count_coprime_v1_124444284_2360", "problem": "Let $d$ range over the positive divisors of $5184$, and define $T = \\sum_{d \\mid 5184} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $x$ and $y$ be positive integers such that $xy = T$. Consider the set of all such ordered pairs $(x, y)$, and let $S$ be the set of values $x + y$. Let $n$ be the minimum value in $S$. Now, consider all positive integers $x, y$ such that $xy = n$, and let $S'$ be the set of values $x + y$. Let $k$ be the minimum value in $S'$. Determine the number of positive integers $n \\leq 32768$ such that $\\gcd(n, k) = 1$.", "answer": 10923, "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\")), SumOverDivisors(n=Const(value=5184), var='d', expr=EulerPhi(n=Var(name='d')))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(32768),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "B3", "lemma_paths": ["B3/B3", "K3/B3"], "recipe_id": "c7ff75", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 2.514, "created_at": "2026-02-08T04:36:17.656194Z", "verification": {"verified": true, "answer": 10923, "timestamp": "2026-02-08T04:36:20.169955Z"}, "problem_hash": "f395ef", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K3": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "2d66c3", "alias": "nt_count_with_divisor_count_v1_677425708_456", "problem": "Let $p = 71$ and $q = 59$, and define $n_1 = p^2 q$. Let $u = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Let $n = 4819$ and let $e = \\sum_{d\\mid n} \\phi(d) - n$, where $\\phi$ is Euler's totient function. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 19518724$. Let $s$ be the minimum value of $x + y$ as $(x,y)$ ranges over $T$. Define $\\text{upper} = s + u + e$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $n$ has exactly 9 positive divisors.", "answer": 31, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(71),\n \"q\": Const(59),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"u\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Const(4819),\n \"e\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": 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(19518724)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"u\"), Ref(\"e\")),\n \"div_count\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_SQUAREFREE/EULER_TOTIENT_SUM"], "recipe_id": "3b8a44", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.366, "created_at": "2026-02-08T03:33:14.677301Z", "verification": {"verified": true, "answer": 31, "timestamp": "2026-02-08T03:33:15.043294Z"}, "problem_hash": "28f622", "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": 305, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:36:13.624Z"}], "lemma_applicability": {"B3": "ok", "EULER_TOTIENT_SUM": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K13": "no", "K15": "no", "K17": "no", "K5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "7cd1be", "alias": "antilemma_cartesian_v1_1978505735_320", "problem": "Let $x$ be the number of ordered pairs $(m,n)$ of integers such that $1 \\le m \\le 15$ and $1 \\le n \\le 43$.\n\nLet $A$ be the set of all ordered pairs $(u,v)$ of positive integers such that $u$ and $v$ are odd and $u+v=8$. Let $y$ be the number of elements of $A$.\n\nLet $B$ be the set of all ordered pairs $(r,s)$ of positive integers such that $r$ and $s$ are odd and $r+s=y$. Let $z$ be the number of elements of $B$.\n\nLet $C$ be the set of all integers $t$ such that $21 \\le t \\le 102$ and there exist integers $a$ and $b$ with $1 \\le a \\le 6$ and $1 \\le b \\le 4$ for which\n$$t = 9a + 12b.$$\nLet $w$ be the number of elements of $C$.\n\nLet $D$ be the number of ordered pairs $(p,q)$ of integers such that $1 \\le p \\le 75$ and $1 \\le q \\le 75$.\n\nLet\n$$N = x^{z} \\cdot w \\cdot x + D.$$\nLet $Q$ be the remainder when $N$ is divided by $81552$.\n\nFind the value of $Q$. ", "answer": 28080, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81552),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"Q\": Mod(value=Sum(Pow(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\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x11\"), Var(\"x21\")]), condition=And(IsPositive(arg=Var(name='x11')), IsPositive(arg=Var(name='x21')), IsOdd(arg=Var(name='x11')), IsOdd(arg=Var(name='x21')), Eq(Sum(Var(\"x11\"), Var(\"x21\")), Const(8)))))))))), 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=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=102)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))), Ref(\"x\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(75)), right=IntegerRange(start=Const(1), end=Const(75))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1/ENDING_quadratic_mod", "COUNT_CARTESIAN/ENDING_quadratic_mod", "LIN_FORM/ENDING_quadratic_mod", "COUNT_CARTESIAN"], "recipe_id": "7a8604", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_quadratic_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T15:18:12.547280Z", "verification": {"verified": true, "answer": 28080, "timestamp": "2026-02-08T15:18:12.555885Z"}, "problem_hash": "825ba3", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "b51604", "alias": "nt_sum_over_divisible_v1_1742523217_5238", "problem": "Let $g = \\gcd(9, 14)$. Define $m = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all positive integers $n$ such that $m \\leq n \\leq 35721$ and $n$ is divisible by $72$. Let $\\mathcal{S}$ be the sum of all elements in $S$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 49$, and let $\\sigma$ be the minimum value of $x + y$ over all such pairs. Let $Q$ be the remainder when $\\mathcal{S} + 2^{(\\mathcal{S} \\bmod \\sigma)}$ is divided by $94664$. Compute $Q$.", "answer": 70681, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94664),\n \"upper\": Const(35721),\n \"divisor\": Const(72),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=9), b=Const(value=14)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))))), modulus=Ref(\"_n\"))), modulus=Const(94664)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_mod_exp", "MOBIUS_COPRIME"], "recipe_id": "ea0c5f", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_mod_exp", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.267, "created_at": "2026-02-08T10:52:17.829515Z", "verification": {"verified": true, "answer": 70681, "timestamp": "2026-02-08T10:52:19.096165Z"}, "problem_hash": "e098c3", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ENDING_mod_exp": "ok_later", "K5": "no", "L3b": "no", "L3c": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "27563d", "alias": "nt_count_digit_sum_v1_677425708_1306", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $$\nx y = \\left(1 + \\sum_{j=0}^{50220} \\left[ \\binom{50220}{j} \\equiv 1 \\pmod{2} \\right] \\right) + 17,\n$$ where the bracket is 1 if the congruence holds and 0 otherwise. Let $T$ be the set of all values $x + y$ for $(x, y) \\in S$. Let $s$ be the minimum value in $T$.\n\nNow, consider the set of all positive integers $n$ such that $1 \\leq n \\leq 99235$ and the sum of the decimal digits of $n$ equals $s$. Compute the number of such integers $n$.", "answer": 4840, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50220),\n \"upper\": Const(99235),\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\")), Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(50220), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(17))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/B3", "ONE_PHI_2"], "recipe_id": "c98a92", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.252, "created_at": "2026-02-08T04:05:00.011630Z", "verification": {"verified": true, "answer": 4840, "timestamp": "2026-02-08T04:05:04.263752Z"}, "problem_hash": "0f93dc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7074, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 6259}, "timestamp": "2026-02-09T18:17:33.743Z"}], "lemma_applicability": {"ONE_PHI_2": "ok", "V8": "ok", "B3": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "K13": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "4dd162", "alias": "modular_product_range_v1_1978505735_592", "problem": "Let $d$ be the smallest divisor of $1773593$ that is at least $2$. Let $n$ be the number of integers $t$ such that $15 \\leq t \\leq 72$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 3$, and $t = 9a + 6b$. Let $P$ be the product of all integers $i$ from $d$ to the maximum value of $xy$ over all pairs of positive integers $(x, y)$ satisfying $x + y = n$. Compute the remainder when $P$ is divided by $10253$.", "answer": 6664, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10253),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1773593))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=72)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_m\"), end=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIN_FORM", "LIN_FORM/B1"], "recipe_id": "40e8c6", "seed_template_id": "modular_product_range_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.009, "created_at": "2026-02-08T15:28:14.071635Z", "verification": {"verified": true, "answer": 6664, "timestamp": "2026-02-08T15:28:14.080210Z"}, "problem_hash": "5c143e", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}} -{"id": "8dd341", "alias": "algebra_vieta_sum_v1_153355830_1601", "problem": "Let $r_1, r_2, \\dots, r_k$ be the integer roots of the equation $x^3 - x^2 - 76x - 140 = 0$. Compute the product $r_1 r_2 \\cdots r_k$, take its absolute value, find the remainder when that value is divided by 11, and then compute the Bell number corresponding to that remainder.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=3)), Mul(Const(value=-1), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=-76), Var(name='x')), Const(value=-140)), right=Const(value=0)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_bell_mod", "COPRIME_PAIRS"], "recipe_id": "96b91a", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_bell_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.214, "created_at": "2026-02-08T06:31:36.629111Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T06:31:36.842978Z"}, "problem_hash": "540295", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_bell_mod": "ok_later", "K15": "no", "K16": "no", "K5": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}} -{"id": "7b30f4", "alias": "antilemma_sum_primes_v1_1520064083_4605", "problem": "Let $m = 27$. Define $N$ to be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.$$ Let $S$ 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 $T$ be the set of all prime numbers $n$ such that $|S| \\leq n \\leq N$. Compute the sum of all elements in $T$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(27),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"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=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 },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["COPRIME_PAIRS/SUM_PRIMES", "L3C/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "e676ce", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3C", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T06:20:36.693531Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T06:20:36.709915Z"}, "problem_hash": "ae204d", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "SUM_PRIMES": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K17": "no", "K18": "no", "V1": "no"}} -{"id": "e283f4", "alias": "diophantine_fbi2_count_v1_458359167_233", "problem": "Let $k$ be the number of positive integers $n$ such that $1 \\le n \\le p_{\\max}$, where $p_{\\max}$ is the largest prime less than or equal to $1267$, and $\\gcd(n, 12) = 1$. Determine the number of positive integers $d$ such that $5 \\le d \\le 125$, $d$ divides $k$, and $3 \\le \\frac{k}{d} \\le 123$.", "answer": 17, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(5),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1267)), IsPrime(Var(\"n\")))))), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Const(125)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(123))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MAX_PRIME_BELOW/C4", "B1"], "recipe_id": "48997b", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C4", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.097, "created_at": "2026-02-08T03:05:26.715297Z", "verification": {"verified": true, "answer": 17, "timestamp": "2026-02-08T03:05:26.812786Z"}, "problem_hash": "f76e01", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "C4": "ok_later", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8": "no"}} -{"id": "3d8664", "alias": "nt_sum_phi_v1_865884756_2812", "problem": "Let $m = 2$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 769$ and the sum of the digits of $n$ leaves a remainder of 1 when divided by $m$. Let $d$ be the smallest divisor of $|A|$ that is at least 2. Let $B$ be the set of all positive integers $j$ such that $1 \\leq j \\leq 465$ and $j^d \\leq 21740261540625$. Let $S = \\sum_{n=1}^{|B|} \\phi(n)$, where $\\phi$ is Euler's totient function. Find the remainder when $82269 \\cdot S$ is divided by 51031.", "answer": 26109, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_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(769)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(1))))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(465)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(21740261540625))), domain='positive_integers')),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n1\")))),\n \"_c\": Const(82269),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51031)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MIN_PRIME_FACTOR/C3"], "recipe_id": "b700bc", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.056, "created_at": "2026-02-08T16:57:12.167000Z", "verification": {"verified": true, "answer": 26109, "timestamp": "2026-02-08T16:57:12.223470Z"}, "problem_hash": "146689", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "C3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K16": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}} -{"id": "fcbb2e", "alias": "nt_max_prime_below_v1_784195855_2143", "problem": "Let $P$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 108$, and $\\gcd(p, q) = 1$. Let $m$ be the number of elements in $P$. Let $n$ range over the prime numbers from $m$ to 67600, inclusive. Let $N$ be the largest such prime $n$. Let $c$ be the number of integers $t$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 4$, $1 \\leq b \\leq 9$, $10 \\leq t \\leq 55$, and $t = 7a + 3b$. Compute $11^N \\bmod 99991$, and add $c$ to this result. Find the value of this sum.", "answer": 44853, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(67600),\n \"result\": 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=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"upper\")), 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=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=55)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_two_stage_modexp", "COPRIME_PAIRS"], "recipe_id": "4651ef", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_two_stage_modexp", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.704, "created_at": "2026-02-08T05:30:51.241579Z", "verification": {"verified": true, "answer": 44853, "timestamp": "2026-02-08T05:30:53.946047Z"}, "problem_hash": "3ccaa2", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}} -{"id": "8be690", "alias": "nt_max_prime_below_v1_1520064083_3472", "problem": "Let $d$ be a positive integer. Define $A$ to 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 $s$ be the number of elements in the set of all ordered pairs $(x_1, x_2)$ of positive odd integers satisfying $x_1 + x_2 = 720$. Let $D$ be the set of all positive integers $d$ such that $d$ divides $s$ and $d \\geq |A|$. Let $m$ be the smallest element of $D$. Define $S$ to be the set of all prime numbers $n$ such that $m \\leq n \\leq 50000$. Let $p_{\\text{max}}$ be the largest element of $S$. Compute the remainder when $44121 \\cdot p_{\\text{max}}$ is divided by $95306$.", "answer": 53203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(720),\n \"_n\": Const(44121),\n \"upper\": Const(50000),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), 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=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')))))))), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\")))))))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(95306)),\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/MIN_PRIME_FACTOR", "COMB1/MIN_PRIME_FACTOR"], "recipe_id": "e4ea6b", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.177, "created_at": "2026-02-08T05:41:50.674394Z", "verification": {"verified": true, "answer": 53203, "timestamp": "2026-02-08T05:41:51.851035Z"}, "problem_hash": "47b8d8", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "f72f28", "alias": "modular_min_modexp_v1_677425708_2856", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 61$ and $\\gcd(n,30)=1$.\n\nLet $b$ be the largest integer $k$ such that $N^k$ divides\n$$\n272843561753653169767435615050624325866274580142388791900214521038955085904188409449281578168966401\\\\\n\\times 5607005320601059253161325667991103602003892399764752527847859167616581809464321.\n$$\nLet $m=367$. Among the integers $x$ with $1\\le x\\le 183$ that satisfy\n$$\n2^x \\equiv b \\pmod{367},\n$$\nlet $r$ be the smallest such $x$.\n\nDefine\n$$\nQ \\equiv 3^{|r|} + 50176 \\pmod{75421}, \\quad 0\\le Q < 75421.\n$$\n\nFind the value of $Q$.", "answer": 61298, "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(61)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))),\n \"a\": Const(2),\n \"b\": MaxKDivides(target=Mul(Const(272843561753653169767435615050624325866274580142388791900214521038955085904188409449281578168966401), Const(5607005320601059253161325667991103602003892399764752527847859167616581809464321)), base=Ref(\"_n\")),\n \"m\": Const(367),\n \"upper\": Const(183),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(50176)), modulus=Const(75421)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/K13"], "recipe_id": "87f031", "seed_template_id": "modular_min_modexp_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C4", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.046, "created_at": "2026-02-08T05:20:20.308370Z", "verification": {"verified": true, "answer": 61298, "timestamp": "2026-02-08T05:20:20.354062Z"}, "problem_hash": "3405d5", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "K13": "ok_later", "C2": "no", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "53b1dd", "alias": "antilemma_sum_primes_v1_865884756_787", "problem": "Let $S$ be the set of all prime numbers $n_2$ such that $2 \\leq n_2 \\leq 1188$. Let $T$ be the set of all prime numbers $n_1$ such that $2 \\leq n_1 \\leq \\max(S)$. Let $U$ be the set of all integers $n$ such that $2 \\leq n \\leq |T|$ and $n$ is prime. Compute the number of elements in $U$.", "answer": 3831, "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\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Const(1188)), IsPrime(Var(\"n2\")))))), 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": "COUNT_PRIMES", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "ca97da", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.035, "created_at": "2026-02-08T15:36:36.968537Z", "verification": {"verified": true, "answer": 3831, "timestamp": "2026-02-08T15:36:37.003749Z"}, "problem_hash": "095f4e", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_PRIMES": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "MOD_ADD": "no", "V5": "no", "V8": "no"}} -{"id": "c97e95", "alias": "modular_min_linear_v1_784195855_2431", "problem": "Let $a$ be the number of integers $t$ with $7 \\leq t \\leq 5091$ for which there exist positive integers $a'$ and $b'$ such that $t = 2a' + 5b'$, $1 \\leq a' \\leq 2268$, and $1 \\leq b' \\leq 111$. Let $b$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 71353$. Let $m = 19377$. Let $x$ be the smallest positive integer $x$ with $1 \\leq x \\leq m$ such that $a \\cdot x \\equiv b \\pmod{m}$. Let $d$ be the smallest divisor of $3207515513$ that is at least $2$. Compute the remainder when $d - x$ is divided by $80992$.", "answer": 61900, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80992),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2268)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=111)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5091)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(71353)), IsPrime(Var(\"n\"))))),\n \"m\": Const(19377),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3207515513))))), Ref(\"result\")), modulus=Ref(\"_m\")),\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/ENDING_negation_mod", "COUNT_PRIMES", "LIN_FORM"], "recipe_id": "f7b011", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_negation_mod", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 4.136, "created_at": "2026-02-08T05:44:37.650661Z", "verification": {"verified": true, "answer": 61900, "timestamp": "2026-02-08T05:44:41.786239Z"}, "problem_hash": "4cc074", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_ADD": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "d57494", "alias": "sequence_fibonacci_compute_v1_784195855_2775", "problem": "Let $d = 169$. Let $c$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = d$. Let $m$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = c$. Let $n'$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = m$. Define $n$ as the number of ordered pairs of integers $(i, j)$ such that $1 \\leq i \\leq 25$, $1 \\leq j \\leq 26$, and $i + j = n'$. Compute the $n$-th Fibonacci number.", "answer": 75025, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(169),\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(\"_d\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(26))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/B3/COUNT_SUM_EQUALS"], "recipe_id": "45ed32", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T06:02:19.242364Z", "verification": {"verified": true, "answer": 75025, "timestamp": "2026-02-08T06:02:19.253474Z"}, "problem_hash": "f5d6db", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "B1": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b5e96f", "alias": "nt_sum_phi_v1_1520064083_2117", "problem": "Let $m = 2$. Let $p$ be a positive integer. Suppose there exists a positive integer $q$ such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of such integers $p$. Let $\\phi$ denote Euler's totient function. Define $r = \\sum_{k=1}^{625} \\phi(k)$. Let $d$ be the smallest integer $\\geq n$ that divides $92179973$. Compute the value of\n$$\n\\left( 353702 \\cdot |r| \\bmod d + 329703 \\cdot \\left( |r|^m \\bmod 101 \\right) + 215534 \\cdot \\left( |r| \\bmod 2 \\right) \\bmod 103 \\right) \\bmod 1009091\n$$\nand then find the remainder when this result is divided by $63799$.", "answer": 54095, "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=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(625),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(92179973))))))), 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')), Const(2)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(63799)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR/ENDING_crt_mix_3"], "recipe_id": "54a100", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_crt_mix_3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.065, "created_at": "2026-02-08T04:31:07.410836Z", "verification": {"verified": true, "answer": 54095, "timestamp": "2026-02-08T04:31:07.475819Z"}, "problem_hash": "6f6400", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ENDING_crt_mix_3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF": "no"}} -{"id": "112f45", "alias": "nt_count_divisible_and_v1_1742523217_2700", "problem": "Let $a = 432$ and $b = 245$. Define $m = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $p = 47$ and $q = 79$, and define $n = p \\cdot q$. Define $f = \\sum_{d \\mid n} \\mu(d)$. Let $d_1$ be the number of integers $t$ with $5 \\le t \\le 15$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 3$, $1 \\le b \\le 3$, and $t = 2a + 3b$. Let $d_2 = 12m + f$. Let $\\text{result}$ be the number of positive integers $n$ with $1 \\le n \\le 168948$ such that $n$ is divisible by both $d_1$ and $d_2$. Find the remainder when $67441 \\cdot \\text{result}$ is divided by $63973$.", "answer": 26182, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(432),\n \"b\": Const(245),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(47),\n \"q\": Const(79),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(168948),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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 \"d2\": Sum(Mul(Const(12), Ref(\"m\")), Ref(\"f\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(67441),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63973)),\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", "MOBIUS_SUM", "LIN_FORM"], "recipe_id": "94857c", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 9.05, "created_at": "2026-02-08T04:55:03.872246Z", "verification": {"verified": true, "answer": 26182, "timestamp": "2026-02-08T04:55:12.922711Z"}, "problem_hash": "b2c8f9", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "e12982", "alias": "nt_lcm_compute_v1_677425708_2425", "problem": "Let $m=15$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=23270976$. For each such pair, form the sum $x+y$. Let $n_0$ be the smallest value of $x+y$ obtained in this way.\n\nLet $a$ be the number of integers $n$ with $1\\le n\\le 15776$ such that $4$ divides $n$ and $\\gcd(n,m)=1$.\n\nLet $b$ be the number of integers $n$ with $1\\le n\\le n_0$ such that $7$ divides the $n$th Fibonacci number $F_n$.\n\nLet $r=\\operatorname{lcm}(a,b)$. Define\n$$S=\\sum_{n=1}^{|r|} d(n),$$\nwhere $d(n)$ is the number of positive divisors of $n$.\n\nLet $Q$ be the remainder when $S$ is divided by $58637$.\n\nFind the value of $Q$.", "answer": 24225, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(23270976)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15776)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(7), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(58637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE", "C5"], "recipe_id": "50b811", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "C5", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:02:08.885595Z", "verification": {"verified": true, "answer": 24225, "timestamp": "2026-02-08T05:02:08.889166Z"}, "problem_hash": "80c150", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C5": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K13": "no", "K14": "no", "K16": "no", "K18": "no", "V3": "no"}} -{"id": "02fd81", "alias": "nt_sum_divisors_compute_v1_784195855_3453", "problem": "Let $m = 4$ and $n = 21349$. Let $n_2$ be the largest integer $k$ such that $5^k$ divides $5^m$. Let $f$ be the number of distinct prime factors of $n_2$. Let $p$ be the largest prime number less than or equal to 10. Let $n_1 = p^{3f}$. Let $u$ be the number of distinct prime factors of $n_1$. Let $n = 64516$. Compute the sum of all positive divisors of $n$. Multiply this sum by $n \\cdot u$, where the first $n$ is $21349$, and then find the remainder when the result is divided by $97450$. Compute this remainder.", "answer": 66351, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(21349),\n \"n2\": MaxKDivides(target=Pow(Const(5), Ref(\"_m\")), base=Const(5)),\n \"f\": SmallOmega(n=Ref(name='n2')),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(10)), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Ref(\"p\"), Mul(Const(3), Ref(\"f\"))),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(64516),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Mul(Ref(\"_n\"), Ref(\"u\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(97450)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/OMEGA_ONE", "K14/OMEGA_ONE"], "recipe_id": "262fd0", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K14", "MAX_PRIME_BELOW", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T06:27:16.824840Z", "verification": {"verified": true, "answer": 66351, "timestamp": "2026-02-08T06:27:16.830349Z"}, "problem_hash": "053f98", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "MAX_PRIME_BELOW": "ok", "OMEGA_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "3acfc3", "alias": "diophantine_fbi2_min_v1_784195855_5066", "problem": "Let $c = 11$ and $m = 3$. Let $n$ be the largest prime number such that $2 \\leq n \\leq 18$. Define $k$ to be the largest integer such that $n^k$ divides $410338673^{11}$. Let $\\text{upper}$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 11$ and $1 \\leq j \\leq 12$ such that $\\gcd(i, j) = 1$. Let $\\text{result}$ be the smallest integer $d$ such that $m \\leq d \\leq \\text{upper}$, $d$ divides $k$, and $k/d \\geq 3$. Compute the sum $\\sum_{n=1}^{|\\text{result}|} \\tau(n)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(11),\n \"_m\": Const(3),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(18)), IsPrime(Var(\"n\"))))),\n \"k\": MaxKDivides(target=Pow(Const(410338673), Ref(\"_c\")), base=Ref(\"_n\")),\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(11)), right=IntegerRange(start=Const(1), end=Const(12))))),\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\")), Const(3))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14", "COUNT_COPRIME_GRID"], "recipe_id": "027c1e", "seed_template_id": "diophantine_fbi2_min_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.008, "created_at": "2026-02-08T07:39:00.413758Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T07:39:00.421608Z"}, "problem_hash": "f06b80", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "K15": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}} -{"id": "985550", "alias": "nt_gcd_compute_v1_677425708_3147", "problem": "Let $n = 16625$. Define $v$ to be the number of distinct prime factors of $27$. Let $S$ be the set of all integers $t$ such that $17 \\leq t \\leq 147$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 11$, $1 \\leq b \\leq 31$, and $t = 4a + 3b + 10$. Let $n'$ be the number of elements in $S$, and let $u$ be the number of distinct prime factors of $n'$. Define $a = n \\cdot v \\cdot u$ and $b = 30875$. Compute $\\gcd(a, b)$.", "answer": 2375, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16625),\n \"n1\": Const(27),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=31)), Geq(left=Var(name='t'), right=Const(value=17)), Leq(left=Var(name='t'), right=Const(value=147)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=10)))))))),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"a\": Mul(Ref(\"_n\"), Ref(\"v\"), Ref(\"u\")),\n \"b\": Const(30875),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/OMEGA_ONE"], "recipe_id": "3d4ecf", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "OMEGA_ONE"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 0.005, "created_at": "2026-02-08T05:30:25.745117Z", "verification": {"verified": true, "answer": 2375, "timestamp": "2026-02-08T05:30:25.750294Z"}, "problem_hash": "ca03d4", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ONE": "ok_later", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V3": "no", "V7": "no"}} -{"id": "e99cbb", "alias": "nt_count_phi_equals_v1_1440796553_705", "problem": "Let $k = 168$. Define $u$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $1936$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\phi(n) = k$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 49$. Compute $r + 2^{r \\bmod s}$.", "answer": 4108, "graph": "graphs = [\n Graph(\n let={\n \"upper\": SumOverDivisors(n=Const(value=1936), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"k\": Const(168),\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(Ref(\"result\"), Mod(value=Pow(Const(2), 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\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Const(76311))),\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", "K3"], "recipe_id": "f79c1a", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_mod_exp", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.131, "created_at": "2026-02-08T11:55:39.132413Z", "verification": {"verified": true, "answer": 4108, "timestamp": "2026-02-08T11:55:39.263734Z"}, "problem_hash": "3beb1c", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K3": "ok", "ENDING_mod_exp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no", "K18": "no", "MOD_MUL": "no"}} -{"id": "b1b6df", "alias": "modular_product_range_v1_865884756_261", "problem": "Let $m = 16$ and $n = 83475$. Define $\\text{prod}$ to be the product $\\prod_{i=m}^{86} i$. Let $r$ be the remainder when $\\text{prod}$ is divided by $10667$. Let $c$ be the largest prime number between $2$ and $42$, inclusive. Compute the remainder when\n\\[\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left(|r|^2 + 1 \\bmod d_{\\text{max}}\\right) + 215534 \\cdot \\left(|r| + c \\bmod 103\\right)\n\\]\nis divided by $1009091$, where $d_{\\text{max}}$ is the largest divisor of $11009$ that is at most $101$. Then find the remainder when this result is divided by $n$. Denote this final value by $Q$. Compute $Q$.", "answer": 64493, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": Const(83475),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_m\"), end=Const(86)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10667)),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(42)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(101)), Divides(divisor=Var(\"d\"), dividend=Const(11009))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_crt_mix_3", "MAX_DIVISOR/ENDING_crt_mix_3"], "recipe_id": "8bb558", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T15:17:23.459607Z", "verification": {"verified": true, "answer": 64493, "timestamp": "2026-02-08T15:17:23.473005Z"}, "problem_hash": "1c45a2", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no"}} -{"id": "d1ecd6", "alias": "nt_count_squarefree_v1_151522320_1765", "problem": "Let $S$ 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 $k$ be the largest integer such that $7^k$ divides the number of elements in $S$. Let $n$ be a positive integer such that $1 \\leq n \\leq 34191$ and $\\mu(n)^2 = \\phi(2)$, where $\\mu$ denotes the M\\\"obius function and $\\phi$ denotes Euler's totient function. Determine the number of such integers $n$. Let this number be $r$. Compute the remainder when $41531 \\cdot r$ is divided by $61828$.", "answer": 533, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(34191),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=MaxKDivides(target=Pow(Const(7), 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')))))))), base=Const(7)))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), EulerPhi(n=Ref(\"_n\")))))),\n \"_c\": Const(41531),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61828)),\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/K14/ONE_PHI_2"], "recipe_id": "cbf2f6", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K14", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.735, "created_at": "2026-02-08T04:20:57.597904Z", "verification": {"verified": true, "answer": 533, "timestamp": "2026-02-08T04:21:02.333148Z"}, "problem_hash": "60609d", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "K14": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "72592a", "alias": "nt_count_divisible_and_v1_1918700295_926", "problem": "Let $N = 65536$ and $U = 32508$. Let $D$ be the set of all positive integers $d \\leq 512$ that divide $276992$. Let $M$ be the maximum element of $D$. Define $d_2$ to be the largest integer $k$ such that $2^k$ divides $M \\cdot 512$. Let $d_1 = 12$. Define $A$ to be the set of all positive integers $n \\leq U$ such that $n$ is divisible by both $d_1$ and $d_2$. Let $r$ be the number of elements in $A$. Compute $N - r$. Determine the value of this difference.", "answer": 64633, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65536),\n \"upper\": Const(32508),\n \"d1\": Const(12),\n \"d2\": MaxKDivides(target=Mul(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(512)), Divides(divisor=Var(\"d\"), dividend=Const(276992))))), Const(512)), base=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(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/K13"], "recipe_id": "01bcb8", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.296, "created_at": "2026-02-08T05:24:06.224875Z", "verification": {"verified": true, "answer": 64633, "timestamp": "2026-02-08T05:24:07.520479Z"}, "problem_hash": "ac323d", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K18": "no", "V5": "no", "V8": "no"}} -{"id": "85bda0", "alias": "nt_sum_totient_over_divisors_v1_1520064083_4620", "problem": "Let $p = 13$, and let $e$ be the remainder when $(p-1)! + \\phi(2)$ is divided by $p$. Let $n_1 = 43$, and define $m = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Let $n = (62637 + e) \\cdot m$. Define $\\text{result}$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ is Euler's totient function. Compute $\\text{result}$.", "answer": 62637, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(13),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), EulerPhi(n=Const(2))), modulus=Ref(\"p\")),\n \"n1\": Const(43),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(Sum(Const(62637), Ref(\"e\")), Ref(\"m\")),\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": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "WILSON", "ONE_PHI_2"], "recipe_id": "98b424", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "ONE_PHI_2", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T06:21:33.503928Z", "verification": {"verified": true, "answer": 62637, "timestamp": "2026-02-08T06:21:33.507457Z"}, "problem_hash": "8ff945", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_SQUAREFREE": "ok", "ONE_PHI_2": "ok", "WILSON": "ok", "K14": "no", "K17": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "c91e0b", "alias": "antilemma_product_of_sums_v1_458359167_1210", "problem": "Let $p$ be the greatest prime number between $2$ and $24$, inclusive.\n\nLet\n$$f\\equiv (p-1)!+1\\pmod p,$$\nwith $0\\le f a$, $n \\leq b$, and $\\gcd(n, m) = 1$. Let $d_0$ be the smallest integer $d \\geq 2$ that divides $9494537219$. Let $c_0$ be the number of positive integers $j$ such that $1 \\leq j \\leq 103$ and $j^5 \\leq 11592740743$. Compute the remainder when\n$$\n353702 \\cdot |r| \\bmod d_0 + 329703 \\cdot (r^2 \\bmod 1) \\bmod 101 + 215534 \\cdot (|r| \\bmod n_0) \\bmod c_0\n$$\nis divided by $1009091$, and then compute the remainder when that result is divided by $92645$.", "answer": 34130, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48),\n \"start\": Const(70500),\n \"upper\": Const(70536),\n \"modulus\": Const(26),\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=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(9494537219))))))), 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=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(103)), Leq(Pow(Var(\"j\"), Const(5)), Const(11592740743))), domain='positive_integers'))))), modulus=Const(1009091)), modulus=Const(92645)),\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/ENDING_crt_mix_3", "C3/ENDING_crt_mix_3"], "recipe_id": "ef17bd", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "ENDING_crt_mix_3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T04:48:01.142718Z", "verification": {"verified": true, "answer": 34130, "timestamp": "2026-02-08T04:48:01.152211Z"}, "problem_hash": "a5d969", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}} -{"id": "4efe43", "alias": "antilemma_v1_legendre_677425708_2508", "problem": "Let $m = 18$ and $n = 17$. Let $p$ be the largest prime number less than or equal to $m$. Define $d$ to be the largest integer $k$ such that\n$$\n\\left( \\sum_{\\substack{n=1 \\\\ p \\mid n}}^{n} 1 \\right)^k\n$$\ndivides $129217!$. Compute $12544 - d$.", "answer": 4469, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\n \"_n\": Const(17),\n \"x\": MaxKDivides(target=Factorial(Const(129217)), base=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Const(0)))))),\n \"Q\": Sub(Const(12544), Ref(\"x\")),\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_DIVISIBLE/V1", "V1"], "recipe_id": "dc932a", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_DIVISIBLE", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:06:14.383962Z", "verification": {"verified": true, "answer": 4469, "timestamp": "2026-02-08T05:06:14.386758Z"}, "problem_hash": "1db4c8", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "SUM_DIVISIBLE": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "K14": "no", "L3c": "no", "LTE_SUM": "no", "V5": "no"}} -{"id": "2707f7", "alias": "antilemma_v7_kummer_784195855_2682", "problem": "Let $C=44121$ and $M=12216$. Consider all ordered triples $(a,b,t)$ of integers satisfying\n\\begin{align*}\n1&\\le a\\le 311,\\\\\n1&\\le b\\le 191,\\\\\n9&\\le t\\le 2559,\\\\\nt&=7a+2b.\n\\end{align*}\nLet $T$ be the set of all integers $t$ for which there exists at least one such pair $(a,b)$, and let $N$ be the number of elements in $T$.\n\nNext, let $S$ be the set of all positive integers $n$ such that $1\\le n\\le M$ and $6$ divides the $n$th Fibonacci number $F_n$, where $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all positive integers $n$. Let $K$ be the number of elements in $S$.\n\nLet $D$ be the set of all positive integers $d$ such that $1\\le d\\le K$ and $d$ divides $1049558$, and let $r$ be the maximum element of $D$. Consider the binomial coefficient $\\binom{N}{r}$, and let $b$ be the largest integer $k$ such that $p^k$ divides $\\binom{N}{r}$, where $p$ is the number of positive integers $u$ for which there exists a positive integer $v$ such that\n$$uv=12, \\quad \\gcd(u,v)=1, \\quad u p$ such that $pq = 108$ and $\\gcd(p, q) = 1$. Let $k$ be the number of such integers $p$. Determine the largest integer $e$ such that $k^e$ divides $\\binom{n}{40}$. Compute the value of $e$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(40),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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 \"x\": MaxKDivides(target=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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(1562500)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), 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": "LIN_FORM", "lemma_paths": ["COPRIME_PAIRS/V7", "B3/B3/V7", "V7"], "recipe_id": "f76fe3", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.259, "created_at": "2026-02-08T02:23:13.969523Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T02:23:14.228529Z"}, "problem_hash": "0b2a9d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 1929}, "timestamp": "2026-02-08T18:28:24.862Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 1796}, "timestamp": "2026-02-08T19:14:45.357Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:03:56.387Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2062}, "timestamp": "2026-02-09T14:03:05.652Z"}], "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "V7": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "a2446e", "alias": "diophantine_sum_product_min_v1_124444284_520", "problem": "Let $e$ be the number of prime factors of $17$ counted with multiplicity, and let $h$ be the number of prime factors of $1$ counted with multiplicity. Define $S = 37e + h$. Let $P$ be the number of integers $t$ in the range $7 \\leq t \\leq 352$ for which there exist positive integers $a \\leq 44$ and $b \\leq 55$ such that $t = 3a + 4b$. Let $x$ be the smallest positive integer $x \\leq 36$ such that $x(S - x) = P$. Compute $x$.", "answer": 17, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36),\n \"p\": Const(17),\n \"e\": BigOmega(n=Ref(name='p')),\n \"n\": Const(1),\n \"h\": BigOmega(n=Ref(name='n')),\n \"S\": Sum(Mul(Const(37), Ref(\"e\")), Ref(\"h\")),\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=44)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=55)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=352)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_n\")), 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": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "BIG_OMEGA_ONE", "LIN_FORM"], "recipe_id": "f8c9cf", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "BIG_OMEGA_ZERO", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.018, "created_at": "2026-02-08T03:20:27.920277Z", "verification": {"verified": true, "answer": 17, "timestamp": "2026-02-08T03:20:27.938206Z"}, "problem_hash": "d9b75c", "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": 254, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:50:23.996Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 5107}, "timestamp": "2026-02-09T02:57:32.141Z"}], "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": 3.6, "mid": 7.25, "hi": 10.0}} -{"id": "aec168", "alias": "nt_count_divisible_v1_168721529_1921", "problem": "Let $m = 12$. Compute the largest integer $k$ such that $11^k$ divides $12^{11} - 1$. Let $n$ be this value of $k$. Let $P$ be the set of all prime numbers $p$ such that $n \\leq p \\leq m$. Compute the number of elements in $P$. Let $r$ be this number. Now consider the set of all positive integers $n$ at most $35344$ that are divisible by $23$. Compute the number of elements in this set, and let $s$ be the absolute value of this number. Determine the value of the Bell number $B_s \\mod |P|$, where $B_s$ is the $s$-th Bell number and the result is taken modulo the size of $P$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(12), Const(11)), Const(1)), base=Const(11)),\n \"upper\": Const(35344),\n \"divisor\": Const(23),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=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": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/MAX_PRIME_BELOW/ENDING_bell_mod"], "recipe_id": "559bcb", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "LTE_DIFF", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.159, "created_at": "2026-02-08T13:59:07.788550Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T13:59:08.947148Z"}, "problem_hash": "c217bc", "license": "CC BY 4.0", "lemma_applicability": {"LTE_DIFF": "ok", "ENDING_bell_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "aa44ea", "alias": "nt_sum_divisors_range_v1_784195855_3187", "problem": "Let $m = 2$ and $n = 101$. Let $u$ be the number of positive integers $j$ such that $1 \\leq j \\leq 6724$ and $j^m \\leq 45212176$. Define $r$ to be the sum of the number of positive divisors of each integer $n$ with $1 \\leq n \\leq u$. Compute the remainder when\n\n$$\n353702 \\cdot (r \\bmod 97) + 329703 \\cdot \\left(r^2 \\bmod 7^{101} \\right) + 215534 \\cdot \\left(r \\bmod 50 \\right)\n$$\n\nis divided by $1009091$.", "answer": 23935, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(6724)), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(45212176))), 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=NumDivisors(n=Var(\"n\")))),\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=MaxKDivides(target=Pow(Const(7), Ref(\"_n\")), base=Const(7)))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(50)), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/ENDING_crt_mix_3", "C3"], "recipe_id": "6b0299", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "ENDING_crt_mix_3", "K14"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.41, "created_at": "2026-02-08T06:17:34.027220Z", "verification": {"verified": true, "answer": 23935, "timestamp": "2026-02-08T06:17:35.436821Z"}, "problem_hash": "36cdab", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "K14": "ok", "ENDING_crt_mix_3": "ok_later", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "25dc6f", "alias": "comb_binomial_compute_v1_349078426_14", "problem": "Let $r = \\binom{12}{7}$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = t$, where $t$ is the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers satisfying $x + y = 88$. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers satisfying $x + y = s$. Define $Q$ to be the sum $$ \\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |r| \\right) \\cdot (i+1)^2 + c, $$ where $d$ is the number of digits in $|r|$. Compute $Q$.", "answer": 2037, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(12),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(88)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(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": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/B1/ENDING_digits_weighted_mod"], "recipe_id": "bf7554", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_digits_weighted_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T12:46:53.177495Z", "verification": {"verified": true, "answer": 2037, "timestamp": "2026-02-08T12:46:53.186012Z"}, "problem_hash": "582bb2", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok_later", "ENDING_digits_weighted_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "5450ae", "alias": "nt_count_intersection_v1_1440796553_945", "problem": "Let $N$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 50$ and $1 \\leq b \\leq 100$. Let $a = 7$. Let $b$ be the sum of all even integers $n$ satisfying $1 \\leq n \\leq 6$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq N$, $7$ divides $n$, and $\\gcd(n, b) = 1$.", "answer": 238, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(50)), right=IntegerRange(start=Const(1), end=Const(100)))),\n \"a\": Const(7),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6)), Eq(Mod(value=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(\"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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "SUM_DIVISIBLE"], "recipe_id": "7d6259", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "SUM_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.183, "created_at": "2026-02-08T12:04:12.530485Z", "verification": {"verified": true, "answer": 238, "timestamp": "2026-02-08T12:04:12.713575Z"}, "problem_hash": "33b9d6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "SUM_DIVISIBLE": "ok", "COUNT_COPRIME_GRID": "no", "L3c": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "8839ea", "alias": "nt_gcd_compute_v1_784195855_1203", "problem": "Let $n_1$ be the number of integers $n$ with $1 \\leq n \\leq 59$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $u = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $n = 12201$ and $h = \\mu(n)^2$. Define $a = 730656 + u + h$ and $b = 1380128$. Let $g = \\gcd(a, b)$. Compute the remainder when $90057 \\cdot g$ is divided by $68000$.", "answer": 31488, "graph": "graphs = [\n Graph(\n let={\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(59)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(12201),\n \"h\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Sum(Const(730656), Ref(\"u\"), Ref(\"h\")),\n \"b\": Const(1380128),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(90057), Ref(\"result\")), modulus=Const(68000)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE", "ONE_PHI_1"], "recipe_id": "9ea676", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3C", "MOBIUS_SQUAREFREE", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T04:54:11.861558Z", "verification": {"verified": true, "answer": 31488, "timestamp": "2026-02-08T04:54:11.869805Z"}, "problem_hash": "709f0b", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MOBIUS_SQUAREFREE": "ok", "ONE_PHI_1": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "638e58", "alias": "antilemma_product_of_sums_v1_784195855_5257", "problem": "Let $A$ be the sum of all values of $j$ for which $0 \\leq j \\leq 31$ and $\\binom{31}{j}$ is odd. Let $B$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 6$. Define $x = A \\cdot B$. Compute the value of $x + \\phi(|x| + 1) + \\tau(|x| + 1)$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 13816, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": Mul(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=Ref(\"_n\")), Const(1))))), Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))), expr=Var(\"k\"))),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/SUM_ARITHMETIC", "PRODUCT_OF_SUMS", "ONE_PHI_1"], "recipe_id": "4051b5", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_1", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T07:48:24.008426Z", "verification": {"verified": true, "answer": 13816, "timestamp": "2026-02-08T07:48:24.011616Z"}, "problem_hash": "917d4a", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "MOD_SUB": "no", "V3": "no", "V8": "no"}} -{"id": "ddd96e", "alias": "nt_euler_phi_compute_v1_1520064083_972", "problem": "Let $p = 11$ and $n_2 = p^4$. Let $n_1$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 10$. Define $h$ as the sum of $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$. Let $n = 65536 + h$ and let $r = \\phi(n)$. Let $u$ be the number of distinct prime factors of $n_2$. Compute the remainder when $12996u - r$ is divided by $67786$.", "answer": 48014, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67786),\n \"p\": Const(11),\n \"n2\": Pow(Ref(\"p\"), Const(4)),\n \"u\": SmallOmega(n=Ref(name='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(10)))), 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\": Sum(Const(65536), Ref(\"h\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(Mul(Const(12996), Ref(\"u\")), 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/EULER_TOTIENT_SUM", "OMEGA_ONE"], "recipe_id": "7c4aef", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:41:37.886395Z", "verification": {"verified": true, "answer": 48014, "timestamp": "2026-02-08T03:41:37.889507Z"}, "problem_hash": "966af0", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "OMEGA_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "K5": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "3fa05c", "alias": "nt_sum_divisors_compute_v1_784195855_5201", "problem": "Let $f = \\lambda(13^3) + 1$, where $\\lambda(n)$ is the Liouville function. Let $a = 5429$ and let $b$ be the largest prime number at most $17$. Define $e = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $r = \\sigma(59536)$, the sum of the positive divisors of $59536$. Compute the value of $Q$, where $Q$ is the remainder when $(44121 + f) \\cdot e \\cdot r$ is divided by $87250$.", "answer": 15283, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(13),\n \"n1\": Pow(Ref(\"p\"), Const(3)),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"a\": Const(5429),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(17)), IsPrime(Var(\"n\"))))),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(59536),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Sum(Const(44121), Ref(\"f\")), Ref(\"e\")), Ref(\"result\")), modulus=Const(87250)),\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", "LIOUVILLE_MINUS_ONE"], "recipe_id": "0de1a7", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T07:44:52.775064Z", "verification": {"verified": true, "answer": 15283, "timestamp": "2026-02-08T07:44:52.781472Z"}, "problem_hash": "ff82f6", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no"}} -{"id": "da7cf1", "alias": "nt_sum_divisors_compute_v1_784195855_2299", "problem": "Let $n = 32761$. Compute the sum of the positive divisors of $n$. Let $c$ be the number of positive integers $k$ such that $k$ is at most the sum of all positive multiples of $127$ that are at most $254$, and $\\gcd(k, 10) = 1$. Compute the remainder when $\\left(\\text{sum of divisors of } n\\right)^2 + 13 \\cdot \\left(\\text{sum of divisors of } n\\right) + c$ is divided by $69497$.", "answer": 57024, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(2),\n \"n\": Const(32761),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(254)), Eq(Mod(value=Var(\"n\"), modulus=Const(127)), Const(0)))))), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Ref(\"_m\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(69497)),\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/C4/ENDING_quadratic_mod"], "recipe_id": "53a1bc", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_quadratic_mod", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:38:38.808337Z", "verification": {"verified": true, "answer": 57024, "timestamp": "2026-02-08T05:38:38.810451Z"}, "problem_hash": "b41f1f", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "C4": "ok_later", "ENDING_quadratic_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "a8e024", "alias": "diophantine_fbi2_min_v1_677425708_308", "problem": "Let $T$ be the set of integers $t$ such that $7 \\le t \\le 22$ and there exist positive integers $a \\le 6$, $b \\le 2$ satisfying $t = 2a + 5b$. Let $k$ be the number of elements in $T$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 121$, and define $s_{\\min}$ to be the minimum value of $x+y$ over all such pairs. Let $d_{\\min}$ be the smallest divisor $d$ of $k$ such that $d \\ge 3$ and $k/d \\ge 3$. Let $m$ be the smallest divisor of $17303$ that is at least $2$. Compute the Bell number $B_r$, where $r$ is the remainder when $|d_{\\min}|$ is divided by $m$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(121)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(17303))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_bell_mod", "LIN_FORM", "B3"], "recipe_id": "fdf3c4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_bell_mod", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.035, "created_at": "2026-02-08T03:12:58.912994Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T03:12:58.948254Z"}, "problem_hash": "e40fc9", "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": 314, "completion_tokens": 1605}, "timestamp": "2026-02-08T20:27:39.572Z"}], "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "L3b": "no", "LTE_DIFF": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "6b0815", "alias": "nt_sum_totient_over_divisors_v1_1440796553_285", "problem": "Let $n = 50389$. Define $\\varphi(k)$ to be Euler's totient function, which counts the number of positive integers less than or equal to $k$ that are relatively prime to $k$. Let\n$$\nA = \\sum_{d \\mid n} \\varphi(d).\n$$\nLet $B$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(17, C)$, where $C$ is the smallest divisor greater than or equal to 2 of $437$. Let $D = \\operatorname{NumDivisors}(|A| + 1)$. Compute the value of\n$$\nA + \\varphi(|A| + B) + D.\n$$", "answer": 70549, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(437),\n \"n\": Const(50389),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), SumOverDivisors(n=GCD(a=Const(value=17), 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'))))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_arith_invariants"], "recipe_id": "a3e092", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_arith_invariants", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T11:42:25.926524Z", "verification": {"verified": true, "answer": 70549, "timestamp": "2026-02-08T11:42:25.928427Z"}, "problem_hash": "f660cb", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_arith_invariants": "ok_later", "MOBIUS_COPRIME": "ok_later", "K14": "no", "K18": "no", "V5": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "2ddafd", "alias": "nt_sum_over_divisible_v1_1520064083_1356", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 13689$ and $n$ is divisible by 77. Let $S$ be the sum of all such integers $n$. Let $d$ be a positive divisor of 1773593 with $d \\geq 2$, and let $T$ be the sum of $\\mu(d)$ over all such divisors $d$, where $\\mu$ denotes the Möbius function. Define $A = \\gcd(\\min\\{d \\geq 2 : d \\mid 1773593\\}, 19)$. Define $B = |S| + T$ and $C = \\tau(|S| + 1)$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Compute the remainder when $S + \\phi(B) + C$ is divided by 55508, where $\\phi$ denotes Euler's totient function.", "answer": 39205, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55508),\n \"upper\": Const(13689),\n \"divisor\": Const(77),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=1773593))))), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d'))))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_arith_invariants"], "recipe_id": "a3e092", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_arith_invariants", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.622, "created_at": "2026-02-08T03:55:58.041470Z", "verification": {"verified": true, "answer": 39205, "timestamp": "2026-02-08T03:55:58.663454Z"}, "problem_hash": "98dce5", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_arith_invariants": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "L3b": "no", "LTE_DIFF": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "c13de2", "alias": "comb_count_permutations_fixed_v1_1520064083_808", "problem": "Let $m=5$. Let $t$ be the smallest integer $d\\ge 2$ such that $d$ divides $13475$.\n\nFor each integer $n$ with $1\\le n\\le 64$, define\n$$S = \\sum_{k=1}^{t} \\varphi(k)\\left\\lfloor \\frac{m}{k} \\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $G$ be the number of integers $n$ with $1\\le n\\le 64$ such that $\\gcd(n,S)=1$.\n\nLet $r$ be the smallest integer $d\\ge 2$ such that $d$ divides $G$.\n\nLet $n=9$, and define\n$$T = \\binom{n}{r}\\,!(n-r),$$\nwhere $!(n-r)$ is the number of derangements of $n-r$ objects.\n\nLet $Q$ be the smallest positive integer $q$ such that the Fibonacci number $F_q$ is divisible by $|T|+2$.\n\nCompute $Q$.", "answer": 420, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(64)), Eq(GCD(a=Var(\"n\"), b=Summation(var=\"k\", start=Const(1), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13475))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\")))))), Const(1))))),\n \"n\": Const(9),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["MIN_PRIME_FACTOR/K2/C4/MIN_PRIME_FACTOR"], "recipe_id": "ea35b0", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C4", "K2", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.048, "created_at": "2026-02-08T03:37:08.821732Z", "verification": {"verified": true, "answer": 420, "timestamp": "2026-02-08T03:37:08.869853Z"}, "problem_hash": "9833f0", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "C4": "ok_later", "K2": "ok_later", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "65700d", "alias": "diophantine_fbi2_count_v1_1742523217_4672", "problem": "Let $e$ be the number of distinct prime factors of $1$, and let $n = 2^3$. Define $u = \\lambda(n) + 1 + e$, where $\\lambda(n)$ is the Liouville function. Let $k = 480 + u$. Let $\\text{result}$ be the number of integers $d$ such that $3 \\leq d \\leq 66$, $d$ divides $k$, and the quotient $k/d$ satisfies\n\n$$\n3 \\leq \\frac{k}{d} \\leq \\min\\left\\{ x + y : x, y \\in \\mathbb{Z}^+,\\ xy = 1089 \\right\\}.\n$$\n\nCompute the remainder when $44121 \\cdot \\text{result}$ is divided by $87739$.", "answer": 3018, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(2),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"e\")),\n \"k\": Sum(Const(480), Ref(\"u\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(66)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1089)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(87739)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "OMEGA_ZERO", "B3"], "recipe_id": "c658c6", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T09:01:43.559754Z", "verification": {"verified": true, "answer": 3018, "timestamp": "2026-02-08T09:01:43.567345Z"}, "problem_hash": "6fcf73", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIOUVILLE_MINUS_ONE": "ok", "OMEGA_ZERO": "ok", "K13": "no", "K15": "no", "K5": "no", "L3c": "no", "VAL_SUM_EQ": "no"}} -{"id": "b62de1", "alias": "nt_gcd_compute_v1_677425708_1036", "problem": "Let $p = 17$. Let $n = p^k$, where $k$ is the number of positive integers $p$ such that there exists a positive integer $q$ with $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $u$ be the number of distinct prime factors of $n$. Let $a_1$ be the smallest divisor of 2491 that is at least 2, and let $b_1 = 48$. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a_1, b_1)$. Let $a = 407253$ and $b = 756327$. Let $\\text{result} = \\gcd(a, b)$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $62677 \\cdot u \\cdot c$.", "answer": 41801, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62677),\n \"p\": Const(17),\n \"n\": 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=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 \"u\": SmallOmega(n=Ref(name='n')),\n \"a1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2491))))),\n \"b1\": Const(48),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(407253),\n \"b\": Const(756327),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Mul(Ref(\"_n\"), Ref(\"u\")), 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/MOBIUS_COPRIME", "COPRIME_PAIRS/OMEGA_ONE"], "recipe_id": "7390e0", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T03:57:30.624857Z", "verification": {"verified": true, "answer": 41801, "timestamp": "2026-02-08T03:57:30.637400Z"}, "problem_hash": "042b15", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 41801, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 316, "completion_tokens": 6918}, "timestamp": "2026-02-09T15:04:11.432Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "OMEGA_ONE": "ok_later", "K15": "no", "K17": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "1f1f62", "alias": "antilemma_sum_primes_v1_677425708_2996", "problem": "Let $c = 15$ and $m = 2$. Let $n$ be the number of positive integers $n'$ such that $1 \\leq n' \\leq N$ and $\\gcd(n', 15) = 1$, where $N$ is the number of integers $t$ with $25 \\leq t \\leq 182$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 6$, $1 \\leq b \\leq 34$, and $t = 5a + 4b + 16$. Define $x$ to be the sum of all prime numbers $n$ such that $m \\leq n \\leq n$. Compute the value of\n$$\nQ = x + 2^{x \\bmod c} \\bmod 92725.\n$$", "answer": 840, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(15),\n \"_m\": Const(2),\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=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=34)), Geq(left=Var(name='t'), right=Const(value=25)), Leq(left=Var(name='t'), right=Const(value=182)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=16))))))))), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Ref(\"_c\"))), modulus=Const(92725))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIN_FORM/C4/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "a5e099", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.039, "created_at": "2026-02-08T05:25:39.463217Z", "verification": {"verified": true, "answer": 840, "timestamp": "2026-02-08T05:25:39.501736Z"}, "problem_hash": "5e3a70", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "C4": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K5": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "c85764", "alias": "nt_count_squarefree_v1_1520064083_1181", "problem": "Let $m=5$, and let $v$ be the largest integer $k$ such that $5^k$ divides $24560!$. Let $p$ be the smallest integer $d\\ge 2$ such that $d$ divides $v$.\n\nLet $n_1$ be the value of\n$$\\sum_{d\\mid \\gcd(11,13)} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function. Let $w$ be the number of prime factors of $n_1$, counted with multiplicity. Define\n$$n=p^{2+w},$$\nand let $\\lambda(n)$ be $(-1)^{\\Omega(n)}$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Let\n$$U=78961\\,\\lambda(n).$$\n\nLet $Q$ be the number of integers $t$ with $1\\le t\\le U$ such that $\\mu(t)^2=1$.\n\nCompute $Q$.", "answer": 47998, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxKDivides(target=Factorial(Const(24560)), base=Ref(\"_m\")),\n \"n1\": SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"w\": 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=Ref(\"_n\"))))),\n \"n\": Pow(Ref(\"p\"), Sum(Const(2), Ref(\"w\"))),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Mul(Const(78961), Ref(\"c\")),\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": "V1", "lemma_paths": ["V1/MIN_PRIME_FACTOR/LIOUVILLE_ONE", "BIG_OMEGA_ZERO", "MOBIUS_COPRIME"], "recipe_id": "b5f7dc", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "V1"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 12.166, "created_at": "2026-02-08T03:49:21.359138Z", "verification": {"verified": true, "answer": 47998, "timestamp": "2026-02-08T03:49:33.524875Z"}, "problem_hash": "381179", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok", "V1": "ok", "LIOUVILLE_ONE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K14": "no", "K17": "no", "MAX_VAL": "no", "MOD_ADD": "no"}} -{"id": "b3e5b0", "alias": "modular_count_residue_v1_168721529_747", "problem": "Let $m$ be the largest prime number less than or equal to 27. Let $r = 1 + 2 + 3 + 4 + 5$. Determine the number of positive integers $n$ such that $1 \\le n \\le 36481$ and $n \\equiv r \\pmod{m}$.", "answer": 1586, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(2),\n \"upper\": Const(36481),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(27)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"r\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "recipe_id": "72c9e9", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.607, "created_at": "2026-02-08T13:15:49.539959Z", "verification": {"verified": true, "answer": 1586, "timestamp": "2026-02-08T13:15:51.146606Z"}, "problem_hash": "840876", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1586, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 870}, "timestamp": "2026-02-09T08:40:45.972Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1586, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 1996}, "timestamp": "2026-02-09T21:06:50.320Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_ARITHMETIC": "ok", "K15": "no", "K5": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "4f64c5", "alias": "sequence_fibonacci_compute_v1_865884756_3164", "problem": "Let $c = 31$. Define $m$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 1426$ and $c$ divides $k$. Define $n_1$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of integers $n_1$ with $1 \\leq n_1 \\leq m$ such that the sum of the decimal digits of $n_1$ is divisible by $n_1$. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 28657, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(31),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1426)), Divides(divisor=Ref(\"_c\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Ref(\"_n\")), Const(0))))),\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": "C2", "lemma_paths": ["C2/COPRIME_PAIRS/L3B"], "recipe_id": "f838bf", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T17:12:25.734328Z", "verification": {"verified": true, "answer": 28657, "timestamp": "2026-02-08T17:12:25.737529Z"}, "problem_hash": "07227e", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok_later", "L3B": "ok_later", "K13": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "f72bd3", "alias": "antilemma_sum_factor_cartesian_v1_865884756_241", "problem": "Let $n_1 = 589$, and let $f$ be the value of $(-1)^{\\Omega(n_1)}$, where $\\Omega(n_1)$ is the total number of prime factors of $n_1$, counted with multiplicity. Let $p = 23f$ and $q = 89$, and define $n = pq$.\n\nLet $m$ be the remainder when the number of positive divisors of $n$ is divided by $2$.\n\nConsider all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 26$ and $1 \\le j \\le 19$. Let $x$ be the sum of all products $ij$ over these pairs.\n\nLet $N$ be the largest prime number between $2$ and $8994$, inclusive. Define $c = N + m$.\n\nLet $Q$ be the remainder when $cx$ is divided by $92598$. Find the value of $Q$. ", "answer": 312, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(589),\n \"f\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Mul(Const(23), Ref(\"f\")),\n \"q\": Const(89),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=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(26)), right=IntegerRange(start=Const(1), end=Const(19)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Ref(\"_n\")), Leq(Var(\"n2\"), Const(8994)), IsPrime(Var(\"n2\"))))), Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(92598)),\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/DIVISOR_PARITY/ENDING_affine_mod", "SUM_FACTOR_CARTESIAN", "LIOUVILLE_ONE"], "recipe_id": "21930d", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "ENDING_affine_mod", "LIOUVILLE_ONE", "MAX_PRIME_BELOW", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T15:16:11.394852Z", "verification": {"verified": true, "answer": 312, "timestamp": "2026-02-08T15:16:11.396889Z"}, "problem_hash": "7659ec", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MAX_PRIME_BELOW": "ok", "SUM_FACTOR_CARTESIAN": "ok", "DIVISOR_PARITY": "ok_later", "ENDING_affine_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "K5": "no", "V5": "no"}} -{"id": "f2213f", "alias": "algebra_poly_eval_v1_458359167_717", "problem": "Let $n_1$ be the number of positive integers $k$ such that $1 \\leq k \\leq 8100$ and $27$ divides $k$. Let $n_2$ be the number of positive integers $n$ such that $1 \\leq n \\leq 2359$, $7$ divides $n$, and $\\gcd(n, 15) = 1$. Compute the value of\n$$\n\\frac{n_1 \\cdot 23^4 + n_2 \\cdot 23^{\\sum_{k=1}^{2} \\phi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor} - 210 \\cdot 23^2 + 432 \\cdot 23}{16974}.\n$$", "answer": 5069, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16974),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(8100)), Divides(divisor=Const(27), dividend=Var(\"k\"))), domain='positive_integers')),\n \"z\": Const(23),\n \"result\": Div(Sum(Mul(Ref(\"_n\"), Pow(Ref(\"z\"), Const(4))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2359)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))), Pow(Ref(\"z\"), Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))))), Mul(Const(-210), Pow(Ref(\"z\"), Const(2))), Mul(Const(432), Ref(\"z\"))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/K2", "C5"], "recipe_id": "dce945", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "C5", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T03:31:16.786289Z", "verification": {"verified": true, "answer": 5069, "timestamp": "2026-02-08T03:31:16.793315Z"}, "problem_hash": "bb23c4", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "C5": "ok", "K2": "ok_later", "K17": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8": "no"}} -{"id": "62e9b0", "alias": "nt_sum_gcd_range_mod_v1_1742523217_1603", "problem": "Let $n_1 = 1$. Define $w$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the Möbius function. Let $p = 19$ and $q = 11w$. Define $n = pq$. Let $c = \\mu(n)^2$. Let $N$ be the largest positive divisor of $4970614$ that is at most $2222$. Define $k = 240c$. Compute the sum $\\sum_{m=1}^{N} \\gcd(m, k)$, and let $M = 11197$. Find the remainder when this sum is divided by $M$.", "answer": 8706, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(240),\n \"n1\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(19),\n \"q\": Mul(Const(11), Ref(\"w\")),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2222)), Divides(divisor=Var(\"d\"), dividend=Const(4970614))))),\n \"k\": Mul(Ref(\"_n\"), Ref(\"c\")),\n \"M\": Const(11197),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "MAX_DIVISOR"], "recipe_id": "e78b9e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_DIVISOR", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.104, "created_at": "2026-02-08T04:04:28.815369Z", "verification": {"verified": true, "answer": 8706, "timestamp": "2026-02-08T04:04:28.919577Z"}, "problem_hash": "ceb447", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF": "no", "V8_SUM": "no"}} -{"id": "515272", "alias": "antilemma_sum_primes_v1_784195855_1004", "problem": "Let $S$ 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$ as $(x, y)$ ranges over $S$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = M$. Let $N$ be the maximum value of $xy$ as $(x, y)$ ranges over $T$. Let $X$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq N$. Compute the number of elements in $X$, multiply this number by $44121$, and find the remainder when the result is divided by $66475$.", "answer": 21180, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66475),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), 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\"))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), 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/B1/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "183f94", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T04:44:47.790840Z", "verification": {"verified": true, "answer": 21180, "timestamp": "2026-02-08T04:44:47.794868Z"}, "problem_hash": "e58f1e", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_PRIMES": "ok", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no", "V7": "no"}} -{"id": "ff781e", "alias": "antilemma_sum_primes_v1_784195855_547", "problem": "Let $m$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 4$. Let $S$ be the set of all prime numbers $n$ satisfying $2 \\leq n \\leq m' $, where $m'$ is the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = m$. Compute the number of elements in $S$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(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=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\"))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B1/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "183f94", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:27:16.034415Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T04:27:16.036933Z"}, "problem_hash": "cadd19", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_SUM": "no", "V1": "no", "V8": "no"}} -{"id": "e3e6cc", "alias": "antilemma_v1_legendre_784195855_5163", "problem": "Let $x$ be the largest integer $k$ such that $p^k$ divides $84337!$, where $p$ is the largest prime number satisfying $2 \\le p \\le 11$. Let $c$ be the smallest divisor of $1037153$ that is greater than or equal to $2$. Compute the remainder when $c - x$ is divided by $64265$.", "answer": 55846, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64265),\n \"_n\": Const(84337),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\")))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1037153))))),\n \"Q\": Mod(value=Sub(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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_negation_mod", "MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "9d5aca", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.001, "created_at": "2026-02-08T07:42:31.126382Z", "verification": {"verified": true, "answer": 55846, "timestamp": "2026-02-08T07:42:31.127872Z"}, "problem_hash": "db095b", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "V1": "ok", "ENDING_negation_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_FACTORIAL": "no", "V7": "no"}} -{"id": "50a238", "alias": "antilemma_v1_legendre_677425708_2385", "problem": "Let $c = 17303$. Let $m$ be the smallest divisor of $c$ that is at least 2. Let $n$ be the number of positive integers $t$ between 7 and 9615, inclusive, for which there exist positive integers $a \\leq 1731$ and $b \\leq 897$ such that $t = 4a + 3b$. Determine the largest integer $k$ such that $m^k$ divides $n!$. Compute $k$.", "answer": 959, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(17303),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_c\"))))),\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=1731)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=897)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=9615)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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/LIN_FORM/V1", "V1"], "recipe_id": "3cb1ac", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:01:36.938658Z", "verification": {"verified": true, "answer": 959, "timestamp": "2026-02-08T05:01:36.941775Z"}, "problem_hash": "baba80", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "LIN_FORM": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8": "no"}} -{"id": "df479c", "alias": "antilemma_v8_lucas_458359167_1227", "problem": "Let $n_1=13$, and let\n$$u = \\sum_{d\\mid n_1} \\varphi(d) - n_1,$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $p=73$ and $q=53$, and let $n=pq$. Define $s$ to be the Liouville function of $n$.\n\nLet $N=98295$. Let $x$ be the number of integers $j$ with $0\\le j\\le N$ such that $\\binom{N}{j}$ is odd.\n\nLet $M$ be the largest positive integer $d$ such that $1\\le d\\le 361$ and $d$ divides $132487$.\n\nDefine\n$$Q \\equiv x^2 + (29+u)sx + M \\pmod{57238},$$\nwith $0\\le Q<57238$.\n\nFind the value of $Q$.", "answer": 49007, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(13),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"p\": Const(73),\n \"q\": Const(53),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"s\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Const(98295),\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(98295), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Mul(Sum(Const(29), Ref(\"u\")), Ref(\"s\")), Ref(\"x\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(361)), Divides(divisor=Var(\"d\"), dividend=Const(132487)))))), modulus=Const(57238)),\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/EULER_TOTIENT_SUM/LIOUVILLE_ONE/ENDING_quadratic_mod", "V8"], "recipe_id": "b6aaf7", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["ENDING_quadratic_mod", "EULER_TOTIENT_SUM", "LIOUVILLE_ONE", "MAX_DIVISOR", "V8"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:30:11.110180Z", "verification": {"verified": true, "answer": 49007, "timestamp": "2026-02-08T04:30:11.114822Z"}, "problem_hash": "f00a9d", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "V8": "ok", "ENDING_quadratic_mod": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "LIOUVILLE_ONE": "ok_later", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "240035", "alias": "nt_euler_phi_compute_v1_677425708_820", "problem": "Let $A$ be the set of all ordered pairs $(p,q)$ of positive integers such that $pq=36$, $\\gcd(p,q)=1$, and $p p$ with $pq = 108$ and $\\gcd(p, q) = 1$. Let $B$ be the number of elements in $T$. Let $D$ be the smallest integer $d \\geq B$ that divides 213932573339. Compute the remainder when $A \\cdot D \\cdot 44039$ is divided by 94007.", "answer": 84212, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(94007),\n \"_m\": Const(44039),\n \"_n\": Const(10657),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=203)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=357)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=4074)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), 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=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(213932573339)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "LIN_FORM/B3"], "recipe_id": "c83abc", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.013, "created_at": "2026-02-08T15:24:45.657606Z", "verification": {"verified": true, "answer": 84212, "timestamp": "2026-02-08T15:24:45.670691Z"}, "problem_hash": "c4eed9", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "B3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "c5f326", "alias": "diophantine_fbi2_min_v1_1520064083_43", "problem": "Let $g=7$, $m=9$, and $n_1=9$. Define\n\\[a_1=gm,\\qquad b_1=gn_1.\n\\]\nLet\n\\[u=\\sum_{d\\mid \\gcd(a_1,b_1)} \\mu(d),\\]\nwhere $\\mu$ is the Möbius function, and define\n\\[n=49+u.\n\\]\nLet $\\lambda(n)$ denote the Liouville function at $n$, and set $t=\\lambda(n)$. Also let $k=15$ and $N_0=3$.\n\nLet $d$ be the smallest integer with $2\\le d\\le 25$ such that $d$ divides $k$ and $k/d\\ge 5$.\n\nDefine\n\\[Q\\equiv 7^{\\lvert d\\rvert}+v\\pmod{99991},\\]\nwhere\n\\[v=\\nu_{N_0}\\bigl(9^{45}\\bigr)\\,t,\\]\nand $\\nu_{N_0}(9^{45})$ is the largest integer $s$ such that $N_0^{s}$ divides $9^{45}$.\n\nCompute $Q$.", "answer": 433, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"g\": Const(7),\n \"m\": Const(9),\n \"n1\": Const(9),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(49), Ref(\"u\")),\n \"t\": LiouvilleLambda(n=Ref(name='n')),\n \"k\": Const(15),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Mul(MaxKDivides(target=Pow(Const(9), Const(45)), base=Ref(\"_n\")), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/LIOUVILLE_ONE/ENDING_two_stage_modexp", "MOBIUS_COPRIME"], "recipe_id": "abafb5", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["ENDING_two_stage_modexp", "K14", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T02:58:12.360691Z", "verification": {"verified": true, "answer": 433, "timestamp": "2026-02-08T02:58:12.366867Z"}, "problem_hash": "ed6cfb", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "MOBIUS_COPRIME": "ok", "ENDING_two_stage_modexp": "ok_later", "LIOUVILLE_ONE": "ok_later", "DS2": "no", "K15": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "0b7285", "alias": "comb_count_derangements_v1_124444284_7", "problem": "Let $S$ be the set of all integers $t$ such that $7 \\le t \\le 29$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 3$, $1 \\le b \\le 7$, and $t = 5a + 2b$. Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le |S|$ and $\\gcd(n, 6) = 1$. Let $r = !N$, the number of derangements of $N$ elements. Let $c$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\le i \\le 33$, $1 \\le j \\le 34$, and $i + j = 35$. Compute the value of $c - r$, and then take the result modulo $84119$. Find the value of this final quantity.", "answer": 82298, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(35),\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=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=7)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": 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(33)), right=IntegerRange(start=Const(1), end=Const(34))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(84119)),\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/ENDING_negation_mod", "LIN_FORM/C4"], "recipe_id": "418b17", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "COUNT_SUM_EQUALS", "ENDING_negation_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T02:52:53.831024Z", "verification": {"verified": true, "answer": 82298, "timestamp": "2026-02-08T02:52:53.842400Z"}, "problem_hash": "cd3776", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 82298, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 3101}, "timestamp": "2026-02-08T19:58:16.498Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 82298, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 2250}, "timestamp": "2026-02-08T21:10:29.681Z"}], "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C4": "ok_later", "ENDING_negation_mod": "ok_later", "K14": "no", "K16": "no", "K5": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "33c7c4", "alias": "nt_count_gcd_equals_v1_153355830_205", "problem": "Let $k = 171$ and $d = 57$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 44100$ and $\\gcd(n, k) = d$. Call this number $r$. Let $S$ be the set of positive integers $m$ such that $1 \\leq m \\leq 14$ and $m$ is divisible by $14$. Compute $r + 2^r \\bmod 98016$, where the exponentiation is taken modulo the sum of the elements in $S$.", "answer": 4612, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"upper\": Const(44100),\n \"k\": Const(171),\n \"d\": Const(57),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))))), modulus=Const(98016))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/ENDING_mod_exp"], "recipe_id": "06757b", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "SUM_DIVISIBLE"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 3.345, "created_at": "2026-02-08T02:57:36.517024Z", "verification": {"verified": true, "answer": 4612, "timestamp": "2026-02-08T02:57:39.862151Z"}, "problem_hash": "ba10a3", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "ENDING_mod_exp": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K17": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "99bb37", "alias": "geo_count_lattice_triangle_v1_784195855_2565", "problem": "Let $A$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 1427$, and let $a = |A|$. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 3311$, $7 \\mid n$, and $\\gcd(n, 10) = 1$. Let $b = |B|$. Define\n\\[\n\\text{area}_{2x} = \\left| 225 \\cdot 222 + 190 \\cdot (0 - 240) \\right|\n\\]\nand\n\\[\n\\text{boundary} = \\gcd(a, 240) + \\gcd(|b - 225|, |222 - 240|) + \\gcd(190, 222).\n\\]\nLet $\\text{result} = \\frac{\\text{area}_{2x} + 2 - \\text{boundary}}{2}$. Compute the multiplicative order of $2$ modulo $2|\\text{result}| + 3$.", "answer": 2168, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(225),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_n'), Const(value=222)), Mul(Const(value=190), Sub(left=Const(value=0), right=Const(value=240))))),\n \"boundary\": Sum(GCD(a=Abs(arg=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_m')), Leq(left=Var(name='n'), right=Const(value=1427)), IsPrime(arg=Var(name='n')))))), b=Abs(arg=Const(value=240))), GCD(a=Abs(arg=Sub(left=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=3311)), Divides(divisor=Const(value=7), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=10)), right=Const(value=1))))), right=Const(value=225))), b=Abs(arg=Sub(left=Const(value=222), right=Const(value=240)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=190))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=222))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "C5"], "recipe_id": "429d02", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "COUNT_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T05:52:38.890217Z", "verification": {"verified": true, "answer": 2168, "timestamp": "2026-02-08T05:52:38.904754Z"}, "problem_hash": "2de8a3", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "COUNT_PRIMES": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MAX_VAL": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "392416", "alias": "nt_count_squarefree_v1_151522320_34", "problem": "Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides 77. Let $n_1 = 89^2 \\cdot 79 \\cdot d_{\\min}$. Define $t = \\mu(n_1)^2$, where $\\mu$ is the Möbius function. Let $n = \\sum_{d \\mid \\gcd(13,17)} \\mu(d)$. Define $s = \\sum_{d \\mid n} \\mu(d)$. Let $u = 52326 \\cdot s$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\mu(n)^2 = 1$. Compute the remainder when $(44121 + t)$ times this count is divided by 77309.", "answer": 10102, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"p\": Const(89),\n \"q\": Const(79),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"s\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(Const(52326), Ref(\"s\")),\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=Mul(Sum(Const(44121), Ref(\"t\")), Ref(\"result\")), modulus=Const(77309)),\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", "MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "160f70", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 23.658, "created_at": "2026-02-08T02:55:40.300389Z", "verification": {"verified": true, "answer": 10102, "timestamp": "2026-02-08T02:56:03.958814Z"}, "problem_hash": "5f0206", "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": 287, "completion_tokens": 8192}, "timestamp": "2026-02-08T21:51:35.023Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "L3b": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "7da6ae", "alias": "antilemma_sum_primes_v1_53965629_105", "problem": "Let $m=3$ and let $n_0$ be the smallest positive integer $n$ such that the highest power of $2$ dividing $n!$ is at least $m$.\n\nLet $A$ be the set of all ordered pairs $(p,q)$ of positive integers such that $pq=24$, $\\gcd(p,q)=1$, and $p 0.\n$$\nLet $S_2$ be the sum of $i \\cdot j$ over all pairs of positive integers $(i, j)$ with $1 \\leq i \\leq 3$, $1 \\leq j \\leq 3$, for which $\\phi(2) = 1$. Compute $S_1 \\cdot S_2$.", "answer": 2016, "graph": "graphs = [\n Graph(\n let={\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=17), b=Const(value=19)), 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(2)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(2)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3)))), 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": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "43c91f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_2", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:20:38.286856Z", "verification": {"verified": true, "answer": 2016, "timestamp": "2026-02-08T04:20:38.288104Z"}, "problem_hash": "add36d", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "K18": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "9a98f3", "alias": "antilemma_sum_factor_cartesian_v1_151522320_577", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 20$ and $1 \\leq j \\leq 10$. Let $x$ be the sum of $i \\cdot j$ over all pairs $(i,j)$ in $S$. Define $Q$ to be the sum of $2^{|x|} \\bmod 99991$ and the number of integers $t$ such that $21 \\leq t \\leq 96$ and $t = 6a + 15b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 6$ and $1 \\leq b \\leq 4$. Compute $Q$.", "answer": 52582, "graph": "graphs = [\n Graph(\n let={\n \"x\": 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(20)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Sum(ModExp(base=Const(2), 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=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=96)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=15), 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_two_stage_modexp", "SUM_FACTOR_CARTESIAN", "ONE_PHI_2"], "recipe_id": "af0222", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "LIN_FORM", "ONE_PHI_2", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T03:22:55.903845Z", "verification": {"verified": true, "answer": 52582, "timestamp": "2026-02-08T03:22:55.907451Z"}, "problem_hash": "f62181", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}} -{"id": "354852", "alias": "diophantine_fbi2_min_v1_1915831931_968", "problem": "Let $k$ be the number of ordered pairs of positive integers $(i, j)$ such that $i + j = 49$ and $1 \\leq i, j \\leq 48$. Let $d$ be the smallest integer such that $2 \\leq d \\leq 58$, $d$ divides $k$, and $\\frac{k}{d} \\geq \\max\\{p \\mid p \\text{ is prime}, 2 \\leq p \\leq 7\\}$. Compute $44121 \\cdot d$.", "answer": 88242, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(44121),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(49)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(48)), right=IntegerRange(start=Const(1), end=Const(48))))),\n \"upper\": Const(58),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))))),\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": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "MAX_PRIME_BELOW"], "recipe_id": "a9245e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T15:47:17.418994Z", "verification": {"verified": true, "answer": 88242, "timestamp": "2026-02-08T15:47:17.440767Z"}, "problem_hash": "608494", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}} -{"id": "e6d8d5", "alias": "antilemma_product_of_sums_v1_1742523217_923", "problem": "Let $m = 308$ and $n = 7$. Let $S$ be the set of all nonnegative integers $j$ such that $\\binom{7}{j}$ is odd and $0 \\leq j \\leq k$, where $k$ is the largest integer for which $2^k$ divides $\\binom{t}{308}$, and $t$ is the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 148225$. Let $S_1$ be the sum of the elements in $S$. Let $S_2$ be the sum of $ij$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 3$ and $1 \\leq j \\leq 3$. Compute $S_1 \\cdot S_2$.", "answer": 1008, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(308),\n \"_n\": Const(7),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxKDivides(target=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(148225)))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Ref(\"_m\")), base=Const(2))), Eq(Mod(value=Binom(n=Ref(\"_n\"), 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(3)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Ref(\"x\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "PRODUCT_OF_SUMS", "lemma_paths": ["PRODUCT_OF_SUMS", "B3/V7"], "recipe_id": "9fdf9e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "PRODUCT_OF_SUMS", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:21:25.090524Z", "verification": {"verified": true, "answer": 1008, "timestamp": "2026-02-08T03:21:25.093879Z"}, "problem_hash": "2cb212", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 1008, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 302, "completion_tokens": 2254}, "timestamp": "2026-02-09T08:38:59.976Z"}], "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "V7": "ok_later", "C2": "no", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "180729", "alias": "sequence_lucas_compute_v1_153355830_2823", "problem": "Let $m = 73$. Define $n$ to be the number of prime numbers less than or equal to $m$. Let $L_n$ denote the $n$-th Lucas number, where the Lucas sequence is defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$. Let $P$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 11478$. Compute the remainder when the product of $|P|$ and $L_n$ is divided by 98645.", "answer": 95929, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(73),\n \"_n\": Const(98645),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(11478))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_affine_mod", "COUNT_PRIMES"], "recipe_id": "b7046a", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:22:43.505758Z", "verification": {"verified": true, "answer": 95929, "timestamp": "2026-02-08T07:22:43.508524Z"}, "problem_hash": "2068b2", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_PRIMES": "ok", "ENDING_affine_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "b88468", "alias": "nt_count_intersection_v1_1742523217_324", "problem": "Let $p = 7$ and $n_1 = p^3$. Let $e = \\lambda(n_1) + 1$, where $\\lambda$ is the Liouville function. Let $S$ be the set of all integers $t$ such that $9 \\le t \\le 73$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 7$, $1 \\le b \\le 9$, and $t = 4a + 5b$. Let $p'$ be the number of elements in $S$. Let $d_{\\max}$ be the largest positive divisor of $1333$ that is at most $31$. Let $n = p' \\cdot d_{\\max}$. Let $v = \\tau(n) \\bmod 2$, where $\\tau(n)$ is the number of positive divisors of $n$. Let $N = 100000 + v$. Let $a = 11$ and $b = 15 + e$. Compute the number of positive integers $n$ such that $1 \\le n \\le N$, $a$ divides $n$, and $\\gcd(n, b) = 1$.", "answer": 4848, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1333),\n \"_n\": Const(15),\n \"p1\": Const(7),\n \"n1\": Pow(Ref(\"p1\"), Const(3)),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\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=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=73)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(31)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"N\": Sum(Const(100000), Ref(\"v\")),\n \"a\": Const(11),\n \"b\": Sum(Ref(\"_n\"), Ref(\"e\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/DIVISOR_PARITY", "LIN_FORM/DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE"], "recipe_id": "8c0519", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "MAX_DIVISOR"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 3.729, "created_at": "2026-02-08T02:58:20.707936Z", "verification": {"verified": true, "answer": 4848, "timestamp": "2026-02-08T02:58:24.436887Z"}, "problem_hash": "ff4451", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4848, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 367, "completion_tokens": 2420}, "timestamp": "2026-02-09T16:22:59.296Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 4848, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 371, "completion_tokens": 6822}, "timestamp": "2026-02-09T01:50:29.616Z"}], "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MAX_DIVISOR": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "4ac864", "alias": "nt_sum_phi_v1_1874849503_42", "problem": "Let $e = \\left( \\sum_{d \\mid 8} \\phi(d) \\right) - 8$, and let $n = 497 + e$. Let $t = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $u$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 40$. Compute the sum of $\\phi(m)$ over all positive integers $m$ such that $1 \\leq m \\leq u \\cdot t$.", "answer": 48678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(497),\n \"n1\": Const(8),\n \"e\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"e\")),\n \"t\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": 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(40)))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"t\")),\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": "K13", "lemma_paths": ["B1/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "5fcedc", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "LIOUVILLE_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.12, "created_at": "2026-02-08T12:46:19.796942Z", "verification": {"verified": true, "answer": 48678, "timestamp": "2026-02-08T12:46:19.917356Z"}, "problem_hash": "ba09fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:32:11.270Z"}], "lemma_applicability": {"B1": "ok", "EULER_TOTIENT_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "f8533a", "alias": "antilemma_sum_primes_v1_1248542787_957", "problem": "Let $m=2$ and $N=44121$. Let $T$ be the set of all integers $t$ with $5\\le t\\le 1034$ for which there exist integers $a$ and $b$ with $1\\le a\\le 152$, $1\\le b\\le 289$, and\n$$t=3a+2b.$$\nLet $A$ be the number of elements of $T$.\n\nLet $U$ be the set of all integers $j$ with $0\\le j\\le A$ such that\n$$\\binom{S}{j}\\equiv 1\\pmod{2},$$\nwhere $S$ is the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers satisfying\n$$xy=264196.$$\nLet $B$ be the number of elements of $U$.\n\nLet $x$ be the sum of all prime integers $n$ with\n$$2\\le n\\le B.$$\n\nDefine\n$$Q\\equiv N\\cdot x\\pmod{82079},$$\nwhere $0\\le Q<82079$.\n\nFind the value of $Q$.", "answer": 56447, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(44121),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), 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=152)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=289)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=1034)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Eq(Mod(value=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(264196)))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers'))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"x\")), modulus=Const(82079)),\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/V8/SUM_PRIMES", "B3/V8/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "16ecbb", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "SUM_PRIMES", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:30:53.323186Z", "verification": {"verified": true, "answer": 56447, "timestamp": "2026-02-08T03:30:53.328813Z"}, "problem_hash": "20b51a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 56447, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 370, "completion_tokens": 6777}, "timestamp": "2026-02-09T10:34:30.235Z"}], "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "SUM_PRIMES": "ok", "V8": "ok_later", "K18": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "91358c", "alias": "nt_sum_divisors_compute_v1_784195855_198", "problem": "Let $n = 30976$ and define $r = \\sigma(n)$, the sum of the positive divisors of $n$. Let $c$ be the largest integer $k$ such that $2^k$ divides $5^{16777216} - 3^{16777216}$. Compute the remainder when $r^2 + 33r + c$ is divided by $84964$.", "answer": 20215, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n\": Const(30976),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MaxKDivides(target=Sub(Pow(Ref(\"_n\"), Const(16777216)), Pow(Const(3), Const(16777216))), base=Const(2)),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(33), Ref(\"result\")), Ref(\"_c\")), modulus=Const(84964)),\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/ENDING_quadratic_mod"], "recipe_id": "fe41f1", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "LTE_DIFF_P2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:01:25.845759Z", "verification": {"verified": true, "answer": 20215, "timestamp": "2026-02-08T03:01:25.850430Z"}, "problem_hash": "6ffd9a", "license": "CC BY 4.0", "lemma_applicability": {"LTE_DIFF_P2": "ok", "ENDING_quadratic_mod": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "9bd48e", "alias": "algebra_poly_eval_v1_153355830_1119", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 81$. Define $a = \\min(x+y)$ over all $(x,y) \\in S$. Let $d = 4$ and $m = 24$. Compute the sum of all positive divisors $d'$ of $d$ such that $d'$ is prime and $2 \\leq d' \\leq \\sum_{d'\\mid d} \\phi(d')$. Denote this sum as $s$. Let $n = 8$. Compute the value of\n$$\n\\frac{a \\cdot n^4 - 26n^2 - 24n - 40}{m \\cdot n^s}.\n$$\nNow, let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 100$, and define $b = \\min(x+y)$ over all $(x,y) \\in T$. Divide the result of the above expression by $b$. Multiply this quotient by $49853$, and find the remainder when the product is divided by $70917$.", "answer": 51066, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(4),\n \"_m\": Const(24),\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(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": Const(8),\n \"result\": Div(Sum(Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(81)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Pow(Ref(\"n\"), Const(4))), Mul(Ref(\"_m\"), Pow(Ref(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), SumOverDivisors(n=Ref(name='_d'), var='d', expr=EulerPhi(n=Var(name='d')))), IsPrime(Var(\"n\"))))))), Mul(Const(-26), Pow(Ref(\"n\"), Const(2))), Mul(Const(-24), Ref(\"n\")), Const(-40)), Ref(\"_n\")),\n \"_c\": Const(49853),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(70917)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_PRIME_BELOW", "B3/MAX_PRIME_BELOW"], "recipe_id": "b7856d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T04:24:58.710105Z", "verification": {"verified": true, "answer": 51066, "timestamp": "2026-02-08T04:24:58.721411Z"}, "problem_hash": "54fe71", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K5": "no", "L3b": "no", "MOD_ADD": "no"}} -{"id": "e74b69", "alias": "nt_count_with_divisor_count_v1_677425708_1824", "problem": "Let $n = 9$, $u = 59049$, and $d = 10$. Define $r$ to be the number of positive integers $n'$ with $1 \\leq n' \\leq u$ such that $n'$ has exactly $d$ positive divisors. Let $c$ be the number of positive integers $n''$ with $1 \\leq n'' \\leq 16785$ such that $n$ divides $n''$ and $\\gcd(n'', 14) = 1$. Compute the value of $$\\sum_{i=0}^{k-1} \\left( \\text{digit}_i(r) \\cdot (i + \\varphi(1))^2 \\right) + c,$$ where $k$ is the number of decimal digits of $r$, $\\text{digit}_i(r)$ is the $i$-th digit of $r$ (starting from the units digit at $i=0$), and $\\varphi$ is Euler's totient function.", "answer": 889, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"upper\": Const(59049),\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 \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16785)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), 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=Const(1))), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_digits_weighted_mod", "ONE_PHI_1"], "recipe_id": "225bd8", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_digits_weighted_mod", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.553, "created_at": "2026-02-08T04:28:58.626107Z", "verification": {"verified": true, "answer": 889, "timestamp": "2026-02-08T04:29:01.179325Z"}, "problem_hash": "0d16f5", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "ENDING_digits_weighted_mod": "ok_later", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "a9f7dc", "alias": "nt_euler_phi_compute_v1_677425708_1498", "problem": "Let $n_1$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 10$. Let $v = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ denotes Euler's totient function. Let $h = \\lambda(31) + 1$, where $\\lambda$ denotes the Liouville function. Define $n = 45369 + h + v$. Compute $\\phi(n)$.", "answer": 29820, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(45369),\n \"n2\": Const(31),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\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(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"h\"), 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": "B1", "lemma_paths": ["B1/EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "recipe_id": "71d15c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T04:13:49.498707Z", "verification": {"verified": true, "answer": 29820, "timestamp": "2026-02-08T04:13:49.503134Z"}, "problem_hash": "8aacda", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29820, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 857}, "timestamp": "2026-02-09T20:42:55.940Z"}], "lemma_applicability": {"B1": "ok", "LIOUVILLE_MINUS_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}} -{"id": "827e13", "alias": "nt_sum_divisors_compute_v1_784195855_2743", "problem": "Let $n_2$ be the largest prime number between $2$ and $63$, inclusive. Define $f = \\lambda(n_2) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n_1 = 1 + f$. Define $h = \\Omega(n_1)$, the number of prime factors of $n_1$ counted with multiplicity. Let $n = 26569 + h$. Compute the sum of all positive divisors of $n$.", "answer": 26733, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(26569),\n \"n2\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(63)), IsPrime(Var(\"n\"))))),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Sum(Const(1), Ref(\"f\")),\n \"h\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "a457aa", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:57:22.776928Z", "verification": {"verified": true, "answer": 26733, "timestamp": "2026-02-08T05:57:22.778592Z"}, "problem_hash": "494c2d", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V5": "no"}} -{"id": "78e2af", "alias": "nt_count_divisible_and_v1_784195855_4976", "problem": "Let $ d_1 = \\sum_{k=1}^{3} k $ and $ d_2 = 8 $. Let $ r $ be the number of positive integers $ n $ at most $ 36552 $ such that $ n $ is divisible by both $ d_1 $ and $ d_2 $. Let\n$$\nQ = \\sum_{n = a}^{b} \\tau(n),\n$$\nwhere $ a = \\sum_{d \\mid \\gcd(15,22)} \\mu(d) $, $ b = |r| $, $ \\tau(n) $ is the number of positive divisors of $ n $, and $ \\mu $ is the M\\\"obius function. Compute $ Q $.", "answer": 11401, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": Const(36552),\n \"d1\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "ONE_PHI_1"], "recipe_id": "181c6e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.779, "created_at": "2026-02-08T07:32:32.688906Z", "verification": {"verified": true, "answer": 11401, "timestamp": "2026-02-08T07:32:37.468180Z"}, "problem_hash": "6a2733", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok", "K16": "no", "K18": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "d345b9", "alias": "antilemma_cartesian_v1_124444284_2356", "problem": "Let $M$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 8$, $1\\le j\\le 8$, and $i+j=9$.\n\nLet $X$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 28$ and $1\\le v\\le 46$.\n\nLet $C$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n\\[x_1+x_2=\\#\\{(y_1,y_2): y_1,y_2\\text{ are positive odd integers and }y_1+y_2=M\\},\\]\nwhere $\\#S$ denotes the number of elements of the set $S$.\n\nLet $Q$ be the remainder when $C-X$ is divided by $96842$, taken in the set $\\{0,1,2,\\dots,96841\\}$.\n\nCompute $Q$.", "answer": 95556, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(9),\n \"_m\": 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(8)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"_n\": Const(96842),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(46)))),\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\")), Ref(\"_m\"))))))))),\n \"Q\": Mod(value=Sub(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_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1/ENDING_negation_mod", "COMB1/COMB1/ENDING_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "c92dce", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T04:36:17.490329Z", "verification": {"verified": true, "answer": 95556, "timestamp": "2026-02-08T04:36:17.502085Z"}, "problem_hash": "95c30e", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "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": "0e1d0f", "alias": "nt_sum_divisors_compute_v1_1520064083_2636", "problem": "Let $a$ be the largest prime number $n$ such that $2 \\leq n \\leq 159$.\n\nLet $b$ be the sum of all positive integers $n$ such that $1 \\leq n \\leq 107$ and $n$ is divisible by 107.\n\nLet $g = \\gcd(a, b)$. Define $h = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ is the M\\\"obius function.\n\nLet $p = 79$, and define $n_1 = p^{2h}$. Let $w = \\lambda(n_1)$, where $\\lambda$ is the Liouville function.\n\nLet $n = 20443 \\cdot w$. Define $s$ to be the sum of all positive divisors of $n$.\n\nCompute $70756 - s$.", "answer": 50312, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(20443),\n \"_n\": Const(2),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(159)), IsPrime(Var(\"n\"))))),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(107)), Eq(Mod(value=Var(\"n\"), modulus=Const(107)), Const(0))))),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(79),\n \"n1\": Pow(Ref(\"p\"), Mul(Ref(\"_n\"), Ref(\"h\"))),\n \"w\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_m\"), Ref(\"w\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Const(70756),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "SUM_DIVISIBLE/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "536e6d", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:53:41.439180Z", "verification": {"verified": true, "answer": 50312, "timestamp": "2026-02-08T04:53:41.442195Z"}, "problem_hash": "74f0df", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MAX_PRIME_BELOW": "ok", "SUM_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok_later", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}} -{"id": "de2eca", "alias": "modular_modexp_compute_v1_1520064083_991", "problem": "Let $m = 169$ and $n = 11$. Let $a = 41$. Define $S$ to be the set of all positive integers $k$ such that $1 \\leq k \\leq 1524380$ and $m$ divides $k$. Let $e$ be the largest integer such that $n^e$ divides $|S|!$. Let $m' = 77284$ and let $\\text{result}$ be the remainder when $a^e$ is divided by $m'$. Find the value of $\\text{result}$.", "answer": 65029, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(169),\n \"_n\": Const(11),\n \"a\": Const(41),\n \"e\": MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1524380)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers'))), base=Ref(\"_n\")),\n \"m\": Const(77284),\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": "C2", "lemma_paths": ["C2/V1"], "recipe_id": "ed5736", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:42:01.408921Z", "verification": {"verified": true, "answer": 65029, "timestamp": "2026-02-08T03:42:01.412251Z"}, "problem_hash": "d4edd5", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "V1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}} -{"id": "3352e3", "alias": "diophantine_fbi2_count_v1_1116507919_338", "problem": "Let $m = 11$ and $n = 2$. Define $k = 120$. Let $S$ be the set of all positive integers $d$ such that $d \\geq n$, $d$ divides $k$, $\\frac{k}{d} \\geq 6$, and $\\frac{k}{d} \\leq 69$. Furthermore, let $T$ be the set of all positive integers $k'$ such that $1 \\leq k' \\leq 21120$ and $32$ divides $k'$. Let $N = m^e$, where $e$ is the largest integer such that $m^e$ divides $|T|!$. Determine the number of elements in $S$ that are at most $e$. Compute this number.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"k\": Const(120),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(21120)), Divides(divisor=Const(32), dividend=Var(\"k\"))), domain='positive_integers'))), base=Ref(\"_m\"))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(69))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["C2/V1"], "recipe_id": "ed5736", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.079, "created_at": "2026-02-08T02:31:44.616757Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T02:31:44.696140Z"}, "problem_hash": "c776ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 611}, "timestamp": "2026-02-08T19:23:25.211Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 277, "completion_tokens": 1352}, "timestamp": "2026-02-09T15:57:43.395Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 7986}, "timestamp": "2026-02-09T19:50:11.113Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 1348}, "timestamp": "2026-02-09T19:37:06.080Z"}], "lemma_applicability": {"C2": "ok", "V1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "42f094", "alias": "nt_max_prime_below_v1_784195855_6640", "problem": "Let $n$ be a positive integer. Define $A$ as the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 144$. For each pair $(x,y)$ in $A$, compute the product $xy$. Let $S$ be the set of all such products.\\\\\nLet $m$ be the maximum element of $S$, and let $$c = \\sum_{d \\mid m} \\phi(d),$$ where $\\phi$ denotes Euler's totient function.\\\\\nLet $p$ be the largest prime number less than or equal to $72771$.\\\\\nCompute the remainder when $c - p$ is divided by $61635$.", "answer": 55687, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61635),\n \"upper\": Const(72771),\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\": 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=144)))), expr=Mul(Var(name='x'), Var(name='y')))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/K3/ENDING_negation_mod"], "recipe_id": "b3efb5", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.107, "created_at": "2026-02-08T08:46:22.811160Z", "verification": {"verified": true, "answer": 55687, "timestamp": "2026-02-08T08:46:26.918211Z"}, "problem_hash": "914b99", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "ENDING_negation_mod": "ok_later", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_SUM": "no", "V1": "no", "V7": "no"}} -{"id": "eb58b6", "alias": "comb_sum_binomial_row_v1_865884756_1490", "problem": "Let $n = \\sum_{k=1}^{4} k$. Let $Q$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18818$, minus $2^n$. Compute $Q$.", "answer": 8385, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(18818),\n \"n\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Sub(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(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_negation_mod", "SUM_ARITHMETIC"], "recipe_id": "c09728", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_negation_mod", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T16:04:48.277112Z", "verification": {"verified": true, "answer": 8385, "timestamp": "2026-02-08T16:04:48.279046Z"}, "problem_hash": "2b4f1d", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "SUM_ARITHMETIC": "ok", "ENDING_negation_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "23dfca", "alias": "antilemma_k3_v1_1125832087_721", "problem": "Let $A$ be the set of all integers $x$ such that\n$$\nx^2 - 79x - 6996 = 25 - 25.\n$$\nLet $s$ be the sum of all elements in $A$.\n\nLet $B$ be the set of all integers $x$ such that\n$$\nx^2 - 2883x - 90334 = s - 79.\n$$\nLet $n$ be the sum of all elements in $B$.\n\nLet $D$ be the set of all positive divisors of $n$. Compute the sum of $\\phi(d)$ over all $d \\in D$, where $\\phi$ denotes Euler's totient function.", "answer": 2883, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": SumOverDivisors(n=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Ref(name='_n')), Mul(Const(value=-2883), Var(name='x')), Const(value=-90334)), right=Sub(left=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Ref(name='_m')), Mul(Const(value=-79), Var(name='x')), Const(value=-6996)), right=Sub(left=Const(value=25), right=Const(value=25))))), right=Const(value=79))))), 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/IDENTITY_SUB_SELF/VIETA_SUM/K3", "K3"], "recipe_id": "c11cd5", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_SUB_SELF", "K3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:13:53.218715Z", "verification": {"verified": true, "answer": 2883, "timestamp": "2026-02-08T03:13:53.222858Z"}, "problem_hash": "9505f3", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "IDENTITY_SUB_SELF": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_DIFF": "no", "V7": "no", "V8": "no"}} -{"id": "4f2e0f", "alias": "antilemma_v8_lucas_1520064083_4783", "problem": "Let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $847$ such that $d \\geq 2$, where $\\mu$ denotes the Möbius function. Let $x$ be the number of nonnegative integers $j$ such that $s \\leq j \\leq 94203$ and $\\binom{94203}{j}$ is odd. Compute $x$.", "answer": 16384, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94203),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=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=847))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(94203), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SUM/V8", "V8"], "recipe_id": "612594", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_SUM", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:25:44.888027Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T06:25:44.889667Z"}, "problem_hash": "5fd62b", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "MOBIUS_SUM": "ok_later", "K13": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "ef5672", "alias": "nt_count_phi_equals_v1_151522320_2151", "problem": "Let $k = 612$ and $N$ be the number of positive integers $n \\leq 1849$ such that $\\phi(n) = k$. Compute the Bell number $B_r$, where $r = |N| \\mod 11$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(1849),\n \"k\": Const(612),\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\": 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": "LIN_FORM", "lemma_paths": ["C4/COUNT_PRIMES"], "recipe_id": "be6d5a", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.713, "created_at": "2026-02-08T04:39:19.201958Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T04:39:19.914743Z"}, "problem_hash": "b96dd8", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "COUNT_PRIMES": "ok_later", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}} -{"id": "baf967", "alias": "diophantine_fbi2_count_v1_784195855_849", "problem": "Let $n = 3$ and $k = 60$. Let $S$ be the set of all integers $d$ such that $d \\ge 3$, $d \\le 62$, $d$ divides $60$, $\\frac{60}{d} \\ge 4$, and $\\frac{60}{d} \\le 145$. Compute the number of elements in $S$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Const(62)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(145)), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["C2", "C4"], "recipe_id": "3ebe66", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "C4"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.047, "created_at": "2026-02-08T04:39:22.886511Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T04:39:22.933592Z"}, "problem_hash": "279f65", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "C4": "ok", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3c": "no", "LTE_DIFF": "no"}} -{"id": "3b6aea", "alias": "nt_gcd_compute_v1_1456120455_49", "problem": "Let $n_1 = 3$. Define $e = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function. Let $S$ be the set of all integers $t$ such that $7 \\leq t \\leq 5341$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1091$, $1 \\leq b \\leq 517$, and $t = 3a + 4b$. Let $n = |S| \\cdot e$. Define $m = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $a = 737352$ and $b = 1273608$. Compute $\\gcd(a, b)$, and denote this value by $\\text{result}$. Let $c = 94135 \\cdot m$. Determine the value of $c \\cdot \\text{result} \\bmod 91284$.", "answer": 50820, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94135),\n \"n1\": Const(3),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1091)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=517)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5341)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"e\")),\n \"m\": LiouvilleLambda(n=Ref(name='n')),\n \"a\": Const(737352),\n \"b\": Const(1273608),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Mul(Ref(\"_n\"), Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91284)),\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_SQUAREFREE/LIOUVILLE_ONE"], "recipe_id": "e283b1", "seed_template_id": "nt_gcd_compute_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.151, "created_at": "2026-02-08T02:51:33.436542Z", "verification": {"verified": true, "answer": 50820, "timestamp": "2026-02-08T02:51:33.587570Z"}, "problem_hash": "0f448c", "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": 326, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:57:41.707Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 50820, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 322, "completion_tokens": 3575}, "timestamp": "2026-02-09T20:43:55.107Z"}], "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_ONE": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K14": "no", "K5": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "f2bbc1", "alias": "nt_count_divisors_in_range_v1_865884756_3122", "problem": "Let $n = 15120$ and $a = 35$. Let $b$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 2809$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the remainder when $$353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot (|r|^2 + 1 \\bmod 101) + 215534 \\cdot \\left(|r| + 33 \\bmod d_{\\min}\\right)$$ is divided by $63758$, where $d_{\\min}$ is the smallest divisor greater than $1$ of $130940501$.", "answer": 46717, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(33),\n \"n\": Const(15120),\n \"a\": Const(35),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(2809)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=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(\"_n\")), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(130940501)))))))), modulus=Const(1009091)), modulus=Const(63758)),\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", "L3C"], "recipe_id": "7b901e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.27, "created_at": "2026-02-08T17:11:00.539416Z", "verification": {"verified": true, "answer": 46717, "timestamp": "2026-02-08T17:11:00.809907Z"}, "problem_hash": "1d5962", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K15": "no", "MAX_VAL": "no", "MOD_MUL": "no"}} -{"id": "27bf24", "alias": "nt_count_digit_sum_v1_1440796553_258", "problem": "Let $n$ be a positive integer such that $n$ is at least $\\sum_{d\\mid \\gcd(12,25)} \\mu(d)$, at most $500000$, and the sum of its decimal digits is $28$. Compute the number of such integers $n$. Let $c = \\sum_{k=1}^{82} k$. Find the remainder when $c$ minus this count is divided by $53963$.", "answer": 31405, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53963),\n \"upper\": Const(500000),\n \"target_sum\": Const(28),\n \"result\": 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(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(82), expr=Var(\"k\")),\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": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/ENDING_negation_mod", "MOBIUS_COPRIME"], "recipe_id": "5669da", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 20.455, "created_at": "2026-02-08T11:41:06.277333Z", "verification": {"verified": true, "answer": 31405, "timestamp": "2026-02-08T11:41:26.732129Z"}, "problem_hash": "06e6ae", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "ENDING_negation_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "V3": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "c7403c", "alias": "diophantine_product_count_v1_784195855_4893", "problem": "Let $k=840$ and $u=414$. Let $N$ be the number of integers $x$ with $1\\le x\\le u$ such that $x$ divides $k$ and $\\dfrac{k}{x}\\le u$.\n\nCompute $N$.", "answer": 28, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(840),\n \"upper\": Const(414),\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\": 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/MAX_PRIME_BELOW/OMEGA_ONE", "B3/BIG_OMEGA_ZERO", "ONE_PHI_1"], "recipe_id": "1f50ea", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "COPRIME_PAIRS", "MAX_PRIME_BELOW", "OMEGA_ONE", "ONE_PHI_1"], "num_lemmas": 6, "num_base_lemmas": 6, "generation_time": 0.091, "created_at": "2026-02-08T07:28:01.458634Z", "verification": {"verified": true, "answer": 28, "timestamp": "2026-02-08T07:28:01.549177Z"}, "problem_hash": "f5d1ca", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "BIG_OMEGA_ZERO": "ok_later", "MAX_PRIME_BELOW": "ok_later", "OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "L3b": "no", "L3c": "no", "LTE_DIFF": "no"}} -{"id": "86a726", "alias": "nt_euler_phi_compute_v1_1742523217_882", "problem": "Let $n_2$ be the number of positive integers $n \\leq 78$ such that the sum of the digits of $n$ is even. Let $e = \\sum_{d \\mid n_2} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $p$ be the largest prime number at most $29$. Define $n_1 = p^3$ and $c = \\lambda(n_1) + 1 + e$, where $\\lambda$ is the Liouville function. Let $n = 30661 + c$. Compute $\\varphi(n)$, the number of positive integers at most $n$ that are relatively prime to $n$.", "answer": 30660, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(78)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(0))))),\n \"e\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1), Ref(\"e\")),\n \"n\": Sum(Const(30661), Ref(\"c\")),\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/LIOUVILLE_MINUS_ONE", "L3B/MOBIUS_SUM"], "recipe_id": "b3e0fb", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:19:22.855946Z", "verification": {"verified": true, "answer": 30660, "timestamp": "2026-02-08T03:19:22.860471Z"}, "problem_hash": "2aedf7", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 30660, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 3501}, "timestamp": "2026-02-09T08:10:25.309Z"}], "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "K15": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "28f0fa", "alias": "sequence_count_fib_divisible_v1_1918700295_1042", "problem": "Let $A$ be the set of positive integers $n \\leq 1191$ such that the digit sum of $n$ is even. Let $m$ be the largest prime number in $A$. Define $\\text{upper}$ to be the number of positive integers $n \\leq m$ that are relatively prime to 30. Let $d = 11$ and let $\\text{result}$ be the number of positive integers $n \\leq \\text{upper}$ such that $d$ divides the $n$-th Fibonacci number. Compute the remainder when $44121 \\times \\text{result}$ is divided by 92167.", "answer": 16646, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30),\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(1191)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))), IsPrime(Var(\"n\"))))),\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=Ref(\"_m\")), Const(1))))),\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 \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(92167)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MAX_PRIME_BELOW/C4"], "recipe_id": "6b51ed", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "L3B", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T05:31:58.478143Z", "verification": {"verified": true, "answer": 16646, "timestamp": "2026-02-08T05:31:58.489381Z"}, "problem_hash": "00171c", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "C4": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_SUB": "no"}} -{"id": "0d3dd7", "alias": "antilemma_v7_kummer_677425708_878", "problem": "Let $T$ be the set of all positive integers $t$ such that $11 \\leq t \\leq 133$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 14$, $1 \\leq b \\leq 11$, and $t = 4a + 7b$. Let $N$ be the number of elements in $T$. \n\nLet $M$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 42$ and $n$ is divisible by $42$. Let $m$ be the sum of all elements in $M$. \n\nLet $k$ be the largest integer such that $7^k$ divides $\\binom{N}{m}$. \n\nCompute $k$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(42)), Eq(Mod(value=Var(\"n\"), modulus=Const(42)), Const(0))))),\n \"_n\": Const(7),\n \"x\": MaxKDivides(target=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=14)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=133)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))), 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": "B3", "lemma_paths": ["SUM_DIVISIBLE/LIN_FORM/V7", "V7"], "recipe_id": "f44abc", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T03:50:03.488052Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:50:03.501712Z"}, "problem_hash": "ea126b", "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": 288, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:45:34.847Z"}], "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V7": "ok", "LIN_FORM": "ok_later", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K15": "no", "K18": "no", "V1": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "642d8c", "alias": "diophantine_fbi2_min_v1_153355830_575", "problem": "Let $m = 8$. Let $T$ be the set of positive integers $n$ such that $1 \\leq n \\leq 10$ and $n \\equiv 0 \\pmod{5}$. Let $s = \\sum_{n \\in T} 1$, and let $g = \\gcd(m, s)$. Compute $\\sum_{d \\mid g} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $P$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 6$, $1 \\leq j \\leq 34$, and $\\gcd(i, j) = \\sum_{d \\mid g} \\mu(d)$. Let $u$ be the number of such pairs. Now let $k = 120$ and $n = 3$. Consider the set of all positive integers $d$ such that $d \\geq 3$, $d \\leq u$, $d$ divides $k$, and $k/d \\geq n$. Determine the minimum value of such $d$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": Const(3),\n \"k\": Const(120),\n \"upper\": 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='_m'), 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=10)), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=5)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(34))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME/COUNT_COPRIME_GRID"], "recipe_id": "3d3aeb", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.059, "created_at": "2026-02-08T03:10:21.209819Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T03:10:21.269052Z"}, "problem_hash": "738d82", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "COUNT_COPRIME_GRID": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K14": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}} -{"id": "8952df", "alias": "nt_count_coprime_and_v1_784195855_6009", "problem": "Let $k_1 = 3$ and $k_2 = 11$. Let $\\text{result}$ be the number of positive integers $n$ from 1 to 10225 inclusive such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Let $\\alpha$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\beta$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 44$ and $1 \\leq j \\leq 46$. Compute $\\text{result}^\\alpha + 36 \\cdot \\text{result} + \\beta$, and find the remainder when this sum is divided by 86571.", "answer": 17259, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86571),\n \"upper\": Const(10225),\n \"k1\": Const(3),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=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=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(36), Ref(\"result\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(44)), right=IntegerRange(start=Const(1), end=Const(46))))), modulus=Ref(\"_n\")),\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/ENDING_quadratic_mod", "COPRIME_PAIRS/ENDING_quadratic_mod"], "recipe_id": "5befe7", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN", "ENDING_quadratic_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.059, "created_at": "2026-02-08T08:15:14.978494Z", "verification": {"verified": true, "answer": 17259, "timestamp": "2026-02-08T08:15:16.037913Z"}, "problem_hash": "932cbb", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K14": "no", "K5": "no"}} -{"id": "e38429", "alias": "v7_endings_v1_1742523217_4607", "problem": "Let $x$ be the number of integers $k$ with $0 \\leq k \\leq 4596$ such that $3$ divides $\\binom{4596}{k}$. Let $s$ be the number of integers $t$ such that $16 \\leq t \\leq 232$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 22$, $1 \\leq b \\leq 10$, and $t = 6a + 10b$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $1201289$. Define\n$$\nQ = \\left( 353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot \\left( (x^2 + 1) \\bmod s \\right) + 215534 \\cdot \\left( |x| \\bmod 19 \\right) \\right) \\bmod d_{\\text{min}},\n$$\nand then take the remainder when $Q$ is divided by $55466$. Compute this final value of $Q$.", "answer": 18090, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(0)), Leq(Var(\"k\"), Const(4596)), Divides(divisor=Ref(\"_n\"), dividend=Binom(n=Const(4596), k=Var(\"k\")))))),\n \"_c\": Const(19),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=22)), 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=232)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(1201289)))))))), modulus=Const(1009091)), modulus=Const(55466)),\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_crt_mix_3", "LIN_FORM/ENDING_crt_mix_3", "V7"], "recipe_id": "66c09b", "seed_template_id": "v7_endings_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "LIN_FORM", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T08:58:40.541724Z", "verification": {"verified": true, "answer": 18090, "timestamp": "2026-02-08T08:58:40.545362Z"}, "problem_hash": "616aeb", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "V7": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}} -{"id": "e1c2bc", "alias": "comb_sum_binomial_mod_v1_1520064083_1255", "problem": "Let $m = 45$ and $n = 5$. For each integer $k$ from 83 to 190 and each integer $j$ from 1 to 9, compute $\\phi(1)$, which is 1, and define a value associated with each such pair $(k, j)$. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le 90$ and $n$ is divisible by 18. Let $s_k = \\binom{|T|}{k}$ for each $k$ from 83 to 190. Compute the sum of $s_k$ over all such $k$, multiply the result by $n$, and divide by $m$ to obtain a value $\\text{sum}$. Let $r$ be the remainder when $\\text{sum}$ is divided by 10369. Compute the remainder when $27469 \\cdot r$ is divided by 66762. Determine the value of this remainder.", "answer": 5898, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(45),\n \"_n\": Const(5),\n \"sum\": Div(Mul(Ref(\"_n\"), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=EulerPhi(n=Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(83), end=Const(190)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(90)), Eq(Mod(value=Var(\"n\"), modulus=Const(18)), Const(0))))), k=Var(\"k\"))))), Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10369)),\n \"Q\": Mod(value=Mul(Const(27469), Ref(\"result\")), modulus=Const(66762)),\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/SUM_INDEPENDENT", "ONE_PHI_1"], "recipe_id": "9e5d44", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "SUM_DIVISIBLE", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.033, "created_at": "2026-02-08T03:53:26.934947Z", "verification": {"verified": true, "answer": 5898, "timestamp": "2026-02-08T03:53:26.967598Z"}, "problem_hash": "790c88", "license": "CC BY 4.0", "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_DIVISIBLE": "ok", "SUM_INDEPENDENT": "ok_later", "K16": "no", "L3c": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "849016", "alias": "nt_max_prime_below_v1_458359167_2166", "problem": "Let $p$ be the largest prime number less than or equal to 83160. Let $S$ be the set of all nonnegative integers $j$ such that $j$ is at most the number of positive divisors of $333$, and\n$$\n\\binom{450}{j} \\equiv 1 \\pmod{2}.\n$$\nLet $c$ be the number of elements in $S$. Let $d_k$ denote the $k$-th decimal digit of $p$ (with $k=0$ being the units digit). Compute\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} p \\rfloor} d_i (i+1)^2 + c.\n$$", "answer": 3876, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(333),\n \"_n\": Const(2),\n \"upper\": Const(83160),\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\": SumOverSet(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(149850)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers'))), Eq(Mod(value=Binom(n=Const(450), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_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)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/V8/ENDING_digits_weighted_mod"], "recipe_id": "9afd11", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "ENDING_digits_weighted_mod", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.066, "created_at": "2026-02-08T05:09:51.586612Z", "verification": {"verified": true, "answer": 3876, "timestamp": "2026-02-08T05:09:53.652335Z"}, "problem_hash": "e806a6", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "ENDING_digits_weighted_mod": "ok_later", "V8": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K13": "no"}} -{"id": "cca601", "alias": "antilemma_v1_legendre_1742523217_3878", "problem": "Let $m = 2$. Define $n$ to be the smallest positive integer such that $2^n$ divides $n!$. Let $T$ be the set of all positive integers $t$ for which there exist positive integers $a$ and $b$ satisfying $1 \\leq a \\leq 221$, $1 \\leq b \\leq 114$, $11 \\leq t \\leq 1682$, and $t = 4a + 7b$. Let $N$ be the number of elements in $T$. Find the largest integer $k$ such that $n^k$ divides $N!$.", "answer": 1647, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(1)), domain='Z_{>0}')),\n \"x\": MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=221)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=114)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=1682)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/LIN_FORM/V1", "V1"], "recipe_id": "293ec0", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "V1", "V5"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:07:20.192835Z", "verification": {"verified": true, "answer": 1647, "timestamp": "2026-02-08T06:07:20.194567Z"}, "problem_hash": "633864", "license": "CC BY 4.0", "lemma_applicability": {"V1": "ok", "V5": "ok", "LIN_FORM": "ok_later", "K5": "same_pattern_wrong", "K17": "no", "K18": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V8_SUM": "no"}} -{"id": "7cc817", "alias": "algebra_poly_eval_v1_1520064083_237", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 75. Let $a = 27$. Define\n$$\ne = \\frac{6 \\cdot a^d + 14 \\cdot a^2 - 16 \\cdot a - 40}{t},\n$$\nwhere $t$ is the number of ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 101$ such that $\\gcd(i,j) = 1$. Compute $e$.", "answer": 841, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(75))))),\n \"a\": Const(27),\n \"result\": Div(Sum(Mul(Const(6), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(Ref(\"_m\"), Pow(Ref(\"a\"), Const(2))), Mul(Const(-16), Ref(\"a\")), Const(-40)), 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(101)))))),\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/COUNT_COPRIME_GRID"], "recipe_id": "d4ec2b", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:08:55.153730Z", "verification": {"verified": true, "answer": 841, "timestamp": "2026-02-08T03:08:55.158838Z"}, "problem_hash": "df059a", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "ok_later", "K16": "no", "K17": "no", "K5": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}} -{"id": "5f26b3", "alias": "nt_count_divisible_and_v1_1918700295_1461", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 42000$, $n$ is divisible by 10, and $n$ is divisible by 15. Compute the number of such integers $n$.", "answer": 1400, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(42000),\n \"d1\": Const(10),\n \"d2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF", "B3"], "recipe_id": "cc8147", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "LTE_DIFF"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 4.392, "created_at": "2026-02-08T05:51:08.981161Z", "verification": {"verified": true, "answer": 1400, "timestamp": "2026-02-08T05:51:13.372718Z"}, "problem_hash": "260854", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LTE_DIFF": "ok", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF_P2": "no", "V5": "no"}} -{"id": "895dee", "alias": "antilemma_k2_v1_1742523217_5597", "problem": "Let $m = 375$ and $n = 101$. Define $$S = \\sum_{k=1}^{\\sum_{d \\mid m} \\phi(d)} \\phi(k) \\left\\lfloor \\frac{375}{k} \\right\\rfloor.$$ Let $A = |S|$, and let $R_1$ be the remainder when $A$ is divided by the number of real solutions to the equation $x^2 - 97x - 7748 = 0$. Let $R_2$ be the remainder when $A^2 + 1$ is divided by $n$, and let $R_3$ be the remainder when $|S| + 1$ is divided by 103. Compute the remainder when $$353702 \\cdot R_1 + 329703 \\cdot R_2 + 215534 \\cdot R_3$$ is divided by 1009091.", "answer": 3023, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(375),\n \"_n\": Const(101),\n \"x\": Summation(var=\"k\", start=Const(1), end=SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(375), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-97), Var(\"x\")), Const(-7748)), Const(0)))))), 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')), Const(13)), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/ENDING_crt_mix_3", "K3/K2", "K2"], "recipe_id": "090181", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "K2", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T11:05:32.939325Z", "verification": {"verified": true, "answer": 3023, "timestamp": "2026-02-08T11:05:32.950800Z"}, "problem_hash": "6426ae", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "K3": "ok", "VIETA_SUM": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "70aff4", "alias": "nt_sum_gcd_range_mod_v1_548369836_119", "problem": "Let $n = 57211$. Define $N$ to be the number of nonnegative integers $j$ such that $0 \\le j \\le 57211$ and $\\binom{57211}{j}$ is odd. Let $k$ be the number of ordered pairs $(a,b)$ where $a$ is an integer with $1 \\le a \\le 14$ and $b$ is an integer with $1 \\le b \\le 18$. Let $M = 10267$. Compute the remainder when\n\n$$\n\\sum_{i=1}^{N} \\gcd(i, k)\n$$\n\nis divided by $M$. Determine the value of this remainder.", "answer": 9320, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57211),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(57211)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(18)))),\n \"M\": Const(10267),\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\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "V8"], "recipe_id": "2b9d9f", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.491, "created_at": "2026-02-08T02:46:16.231266Z", "verification": {"verified": true, "answer": 9320, "timestamp": "2026-02-08T02:46:16.722199Z"}, "problem_hash": "cc7504", "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": 259, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:54:07.564Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 9320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 7293}, "timestamp": "2026-02-09T19:59:11.530Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:52:57.071Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 496}, "timestamp": "2026-02-09T02:31:45.812Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4563, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 2282}, "timestamp": "2026-02-09T09:01:50.971Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T07:57:01.204Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "V8": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}} -{"id": "04f00e", "alias": "modular_count_residue_v1_1874849503_1042", "problem": "Let $m$ be $7$ more than the number of nonnegative integers $j$ such that $0 \\leq j \\leq 20482$ and $\\binom{20482}{j}$ is odd. Let $r$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 3$ and $1 \\leq b \\leq 3$. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 33856$ and $n \\equiv r \\pmod{m}$.\n\nCompute the value of $N$.", "answer": 2257, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33856),\n \"m\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(20482)), Eq(Mod(value=Binom(n=Const(20482), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(7)),\n \"r\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "V8"], "recipe_id": "2b9d9f", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.373, "created_at": "2026-02-08T13:32:28.313243Z", "verification": {"verified": true, "answer": 2257, "timestamp": "2026-02-08T13:32:29.685971Z"}, "problem_hash": "35ef1c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "V8": "ok", "K15": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "db2dbe", "alias": "nt_sum_over_divisible_v1_677425708_3218", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 55696$ and $n$ is divisible by $14$. Let $r$ be the sum of all elements in $A$. Let $B$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 14$. Let $c$ be the maximum value of $xy$ over all such pairs. Compute\n\\[\n353702 \\cdot (|r| \\bmod s) + 329703 \\cdot \\left( |r|^2 \\bmod 101 \\right) + 215534 \\cdot \\left( |r| \\bmod 103 \\right),\n\\]\nwhere $s$ is the sum of the roots of the quadratic equation $x^2 - 97x + 282 = 0$. Then compute the remainder when this sum is divided by $1009091$, and finally compute the remainder when that result is divided by $76530$. Find the value of this final remainder.", "answer": 24637, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": Const(55696),\n \"divisor\": Const(14),\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(14)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-97), Var(\"x\")), Const(282)), Const(0)))))), 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(76530)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/ENDING_crt_mix_3", "B1/ENDING_crt_mix_3"], "recipe_id": "4da26e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "ENDING_crt_mix_3", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.769, "created_at": "2026-02-08T05:32:26.899328Z", "verification": {"verified": true, "answer": 24637, "timestamp": "2026-02-08T05:32:28.668219Z"}, "problem_hash": "619a4b", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "VIETA_SUM": "ok", "ENDING_crt_mix_3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "58ea59", "alias": "nt_count_divisible_and_v1_1918700295_60", "problem": "For each $k$ from 1 to 4 and each $j$ from 1 to 7, compute the value of $k$. Let $T$ be the set of all such $k$ values. Let $s$ be the sum of the elements in $T$. Define $d_1 = \\frac{6s}{42}$ and $d_2 = 12$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 44700$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 745, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(44700),\n \"d1\": Div(Mul(Const(6), 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(7)))), expr=Var(\"k\")))), Const(42)),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT/SUM_ARITHMETIC", "ONE_PHI_1"], "recipe_id": "952e8f", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.919, "created_at": "2026-02-08T02:58:01.343710Z", "verification": {"verified": true, "answer": 745, "timestamp": "2026-02-08T02:58:05.262895Z"}, "problem_hash": "c88fcb", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 745, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1396}, "timestamp": "2026-02-08T22:26:11.390Z"}], "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_INDEPENDENT": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "0639a2", "alias": "nt_sum_over_divisible_v1_153355830_1961", "problem": "Let $n_1 = \\phi(2)$, where $\\phi$ denotes Euler's totient function. Define $$c = \\sum_{d \\mid n_1} \\mu(d),$$ where $\\mu$ denotes the M\\\"obius function. Let $n = n_1 \\cdot c$ and let $h$ be the number of distinct prime factors of $n$. Let $m = 114 + h$. Compute the sum of all positive integers $n$ such that $1 \\leq n \\leq 30625$ and $n \\equiv 0 \\pmod{m}$. Let $s$ be this sum. Find the smallest positive integer $k$ such that $$2^k \\equiv 1 \\pmod{2s + 3}.$$", "answer": 3060, "graph": "graphs = [\n Graph(\n let={\n \"n1\": EulerPhi(n=Const(2)),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(EulerPhi(n=Const(2)), Ref(\"c\")),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(30625),\n \"divisor\": Sum(Const(114), Ref(\"h\")),\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\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "OMEGA_ZERO", "lemma_paths": ["OMEGA_ZERO", "MOBIUS_SUM", "ONE_PHI_2"], "recipe_id": "c6cf2c", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SUM", "OMEGA_ZERO", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.079, "created_at": "2026-02-08T06:49:15.511791Z", "verification": {"verified": true, "answer": 3060, "timestamp": "2026-02-08T06:49:16.590313Z"}, "problem_hash": "ca8c00", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_SUM": "ok", "OMEGA_ZERO": "ok", "ONE_PHI_2": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V3": "no", "V7": "no"}} -{"id": "ca9d2d", "alias": "nt_euler_phi_compute_v1_784195855_1949", "problem": "Let $P$ be the minimum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9604$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = P$. Let $Q$ be the minimum value of $x + y$ over all pairs in $S$. Let $n_1 = Q + \\omega(1)$, where $\\omega(1)$ denotes the number of distinct prime factors of 1. Let $w = \\sum_{d \\mid n_1} \\phi(d) - n_1$, and let $n = 34225 + w$. Compute $\\phi(n)$.", "answer": 26640, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(34225),\n \"n2\": Const(1),\n \"v\": SmallOmega(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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(9604)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"v\")),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"w\")),\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": "B3", "lemma_paths": ["B3/B3/OMEGA_ZERO/EULER_TOTIENT_SUM"], "recipe_id": "daded3", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "EULER_TOTIENT_SUM", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:24:45.588575Z", "verification": {"verified": true, "answer": 26640, "timestamp": "2026-02-08T05:24:45.590739Z"}, "problem_hash": "e71ec7", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "EULER_TOTIENT_SUM": "ok_later", "OMEGA_ZERO": "ok_later", "K13": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}} -{"id": "376221", "alias": "nt_euler_phi_compute_v1_124444284_998", "problem": "Let $a = 60$ and let $b$ be the largest prime number not exceeding 62. Define $h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $p = 17$ and $q = 31$, and define $n_1 = p \\cdot q$. Let $w = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Define $n = 40401 \\cdot h \\cdot w$. Find the value of $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 26532, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(60),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(62)), IsPrime(Var(\"n\"))))),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(17),\n \"q\": Const(31),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"w\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(40401), Ref(\"h\"), Ref(\"w\")),\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/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "390ba8", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:38:38.071868Z", "verification": {"verified": true, "answer": 26532, "timestamp": "2026-02-08T03:38:38.075436Z"}, "problem_hash": "718dfd", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 26532, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 1040}, "timestamp": "2026-02-09T08:23:33.389Z"}], "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MOD_SUB": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "3ab77a", "alias": "sequence_fibonacci_compute_v1_458359167_704", "problem": "Let $n$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 5$, $1 \\le b \\le 5$, $14 \\le t \\le 70$, and\n$$t = 6a + 8b.$$\nLet $F_n$ denote the $n$th Fibonacci number defined by $F_1 = 1$, $F_2 = 1$, and $F_{k+2} = F_{k+1} + F_k$ for all integers $k \\ge 1$. Let $R = F_n$.\n\nLet $A$ 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 < q.$$\nConsider the sum\n$$S = \\sum_{k=A}^{|R|} \\varphi(k),$$\nwhere $\\varphi$ is Euler's totient function. Let $Q$ be the remainder when $S$ is divided by $75321$.\n\nFind the value of $Q$. ", "answer": 21730, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75321),\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=5)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=70)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2/ENDING_sum_totient", "LIN_FORM"], "recipe_id": "d1f240", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_sum_totient", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 5.233, "created_at": "2026-02-08T03:30:37.139064Z", "verification": {"verified": true, "answer": 21730, "timestamp": "2026-02-08T03:30:42.372175Z"}, "problem_hash": "0460bb", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "ENDING_sum_totient": "ok_later", "ONE_PHI_2": "ok_later", "C2": "no", "K15": "no", "LTE_DIFF": "no", "V3": "no", "V7": "no"}} -{"id": "cb8953", "alias": "antilemma_product_of_sums_v1_153355830_1116", "problem": "Let $m=65768$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=49$. Let $n$ be the minimum value of $x+y$ over all such pairs $(x,y)$.\n\nFor each ordered pair $(i,j)$ of integers with $1\\le i\\le 3$ and $1\\le j\\le 8$, define $N(i,j)$ to be the number of positive integers $k$ with $1\\le k\\le n$ such that $7$ divides $k$. Let $\\varphi$ denote Euler's totient function, and consider only those ordered pairs $(i,j)$ for which $\\varphi(N(i,j))$ is defined (that is, $N(i,j)\\ge1$). Let $S_1$ be the sum of $ij$ over all such ordered pairs $(i,j)$.\n\nLet $S_2=\\sum_{k=1}^{10} k$ and let $x=S_1S_2$. Define\n$$Q\\equiv 44121x\\pmod{m},\\qquad 0\\le Q< m.$$\n\nFind the value of $Q$.", "answer": 48646, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(65768),\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 \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(7), dividend=Var(\"k\"))), domain='positive_integers'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", 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=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C2/ONE_PHI_2/SUM_FACTOR_CARTESIAN", "PRODUCT_OF_SUMS"], "recipe_id": "bd401a", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T04:24:33.631905Z", "verification": {"verified": true, "answer": 48646, "timestamp": "2026-02-08T04:24:33.635112Z"}, "problem_hash": "9275b2", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "C2": "ok_later", "ONE_PHI_2": "ok_later", "SUM_FACTOR_CARTESIAN": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "L3c": "no", "MOD_FACTORIAL": "no"}} -{"id": "491bf9", "alias": "antilemma_k3_v1_168721529_2072", "problem": "Let $m = 97$ and $n = 31945$. Define $x = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $$ 353702 \\cdot (|x| \\bmod \\sum_{d \\mid m} \\phi(d)) + 329703 \\cdot ((|x|^2 + 1) \\bmod 101) + 215534 \\cdot ((|x| + 33) \\bmod 103) $$ is divided by $84230$, after first reducing modulo $1009091$.", "answer": 77706, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97),\n \"_n\": Const(31945),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(33)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(84230)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/ENDING_crt_mix_3", "K3"], "recipe_id": "f0b5ef", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T14:04:32.546471Z", "verification": {"verified": true, "answer": 77706, "timestamp": "2026-02-08T14:04:32.549322Z"}, "problem_hash": "8e98a0", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_PRIMES": "no", "K16": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "128e43", "alias": "antilemma_k3_v1_1742523217_5505", "problem": "Let $n = 101$ and $c = 19$. Let $x$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $78405$. Let $m_1$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $97$. Compute the value of\n$$\n353702 \\cdot (|x| \\bmod m_1) + 329703 \\cdot (|x|^2 \\bmod 1) + 215534 \\cdot (|x| \\bmod c) \\bmod 19\n$$\ntaken modulo $1009091$. Note that $|x|^2 \\bmod 1 = 0$. Find the remainder when this result is divided by $1009091$.", "answer": 31424, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\n \"x\": SumOverDivisors(n=Const(value=78405), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(19),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverDivisors(n=Const(value=97), var='d', expr=EulerPhi(n=Var(name='d'))))), 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(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/ENDING_crt_mix_3", "K3"], "recipe_id": "f0b5ef", "seed_template_id": "antilemma_k3_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_crt_mix_3", "K3"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T11:02:10.782070Z", "verification": {"verified": true, "answer": 31424, "timestamp": "2026-02-08T11:02:10.783428Z"}, "problem_hash": "ab1a37", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "ENDING_crt_mix_3": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "V8_SUM": "no"}} -{"id": "e8d4b3", "alias": "algebra_poly_eval_v1_1520064083_1245", "problem": "Let $t$ be an integer. A pair of positive integers $(a, b)$ is called \\emph{eligible} if $1 \\leq a \\leq 2$, $1 \\leq b \\leq 4$, and $t = 3a + 2b$. Define $S$ to be the set of all integers $t$ such that $5 \\leq t \\leq 14$ and there exists an eligible pair $(a, b)$ for $t$. Let $k$ be the number of elements in $S$. \n\nLet $P$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $d$ be the number of elements in $P$. Compute the value of \n$$\nk^4 + 4 \\cdot k^{\\sum_{i=1}^{2} \\varphi(i) \\cdot \\left\\lfloor \\frac{2}{i} \\right\\rfloor} - 9k^d - 2k + 7.$$\n", "answer": 5559, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(7),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=14)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": Sum(Pow(Ref(\"k\"), Const(4)), Mul(Ref(\"_m\"), Pow(Ref(\"k\"), Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))))), Mul(Const(-9), 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=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'))))))))), Mul(Const(-2), Ref(\"k\")), 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", "LIN_FORM", "K2"], "recipe_id": "01a264", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:53:22.206570Z", "verification": {"verified": true, "answer": 5559, "timestamp": "2026-02-08T03:53:22.212127Z"}, "problem_hash": "80b1da", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "K2": "ok", "LIN_FORM": "ok", "L3b": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "9a670f", "alias": "antilemma_k2_v1_865884756_843", "problem": "Let $m$ be the value of\n$$m = \\sum_{d\\mid 200} \\varphi(d),$$\nwhere $\\varphi$ is Euler's totient function. Let $n=2$ and $c=2$.\n\nLet $T$ be the set of all integers $x$ such that\n$$x^2 - 200x + y = 0$$\nfor some integer $y$ satisfying\n$$y^2 - 8844y - 740941 = 0.$$\nLet $S$ be the sum of all elements of $T$.\n\nDefine\n$$x_0 = \\sum_{k=1}^{m} \\varphi(k)\\left\\lfloor \\frac{S}{k} \\right\\rfloor.$$\nLet\n$$N = |x_0| + 1,$$\nand let $Q$ be given by\n$$Q = x_0 + \\varphi(N) + \\tau(N),$$\nwhere $\\tau(N)$ is the number of positive divisors of $N$.\n\nFind the value of $Q$.", "answer": 40202, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": SumOverDivisors(n=Const(value=200), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_n\": Const(2),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_n\")), Mul(Const(-200), Var(\"x1\")), SumOverSet(set=SolutionsSet(var=Var(\"x2\"), condition=Eq(Sum(Pow(Var(\"x2\"), Ref(\"_c\")), Mul(Const(-8844), Var(\"x2\")), Const(-740941)), Const(0))))), Const(0)))), Var(\"k\"))))),\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": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/VIETA_SUM/K2", "K3/VIETA_SUM/K2", "IDENTITY_POW_ZERO", "K2"], "recipe_id": "7eeed6", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "K2", "K3", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T15:37:39.907833Z", "verification": {"verified": true, "answer": 40202, "timestamp": "2026-02-08T15:37:39.919736Z"}, "problem_hash": "934899", "license": "CC BY 4.0", "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "K2": "ok", "K3": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "5aa009", "alias": "nt_num_divisors_compute_v1_1742523217_2261", "problem": "Let $n_2 = \\phi(1)$, where $\\phi$ is Euler's totient function. Define $u$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_2$, where $\\mu$ is the Möbius function. Let $p = 11$ and $q = 5$, and define $n_1 = p^{2u} \\cdot q$. Let $e = \\mu(n_1)^k$, where $k$ is the number of ordered pairs $(p, q)$ of positive integers such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $n = 180$, and let $\\tau(n)$ denote the number of positive divisors of $n$. Compute the remainder when $(61295 + e) \\cdot \\tau(n)$ is divided by $62064$.", "answer": 48222, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61295),\n \"n2\": EulerPhi(n=Const(1)),\n \"u\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(11),\n \"q\": Const(5),\n \"n1\": Mul(Pow(Ref(\"p\"), Mul(Const(2), Ref(\"u\"))), Ref(\"q\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Const(180),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Ref(\"_n\"), Ref(\"e\")), Ref(\"result\")), modulus=Const(62064)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SQUAREFREE", "MOBIUS_SUM", "ONE_PHI_1"], "recipe_id": "10e268", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SQUAREFREE", "MOBIUS_SUM", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:38:53.081268Z", "verification": {"verified": true, "answer": 48222, "timestamp": "2026-02-08T04:38:53.086739Z"}, "problem_hash": "658f98", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "L3b": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V7": "no"}} -{"id": "3a699d", "alias": "nt_count_coprime_v1_1742523217_1455", "problem": "Let $\\mathcal{T}$ be the set of all integers $t$ such that $9 \\leq t \\leq 43$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 11$, and $t = 7a + 2b$. Let $n$ be the number of elements in $\\mathcal{T}$. Let $k$ be the largest integer $\\ell$ such that $n^\\ell$ divides\n$$\n62623297589448778360828428329074752308805325441 \\cdot 353814783205469041.\n$$\nLet $s$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 49$. Define $d = \\sum_{e \\mid \\gcd(9,s)} \\mu(e)$, where $\\mu$ denotes the Möbius function. Let $r$ be the number of positive integers $n$ with $1 \\leq n \\leq 78400$ such that $\\gcd(n, k) = d$. Determine the value of $r$.", "answer": 35636, "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=11)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=43)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"upper\": Const(78400),\n \"k\": MaxKDivides(target=Mul(Const(62623297589448778360828428329074752308805325441), Const(353814783205469041)), 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(\"k\")), SumOverDivisors(n=GCD(a=Const(value=9), 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=49)))), 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_COPRIME", "LIN_FORM/K13"], "recipe_id": "9b53a9", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K13", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 19.639, "created_at": "2026-02-08T03:59:53.048930Z", "verification": {"verified": true, "answer": 35636, "timestamp": "2026-02-08T04:00:12.687748Z"}, "problem_hash": "fe87d8", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "K13": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K5": "no", "L3b": "no", "V8": "no"}} -{"id": "8d61c9", "alias": "diophantine_fbi2_min_v1_458359167_1115", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 2039184$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $U$ be the sum of all positive integers $x$ such that $x^2 - 250x + n = 0$. Let $D$ be the set of all positive integers $d$ such that $d \\geq 6$, $d \\leq U$, $d$ divides 240, and $\\frac{240}{d} \\geq 5$. Let $r$ be the minimum element of $D$. Let $c$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 53$, $1 \\leq j \\leq 61$, and $\\gcd(i,j) = 1$. Compute $c - r$.", "answer": 2018, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(6),\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(2039184)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(240),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_d\")), Mul(Const(-250), Var(\"x\")), Ref(\"_n\")), Const(0)))),\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\")), Const(5))))),\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(53)), right=IntegerRange(start=Const(1), end=Const(61))))),\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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_negation_mod", "B3/VIETA_SUM"], "recipe_id": "53b836", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "ENDING_negation_mod", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T04:23:17.369206Z", "verification": {"verified": true, "answer": 2018, "timestamp": "2026-02-08T04:23:17.382728Z"}, "problem_hash": "71be26", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "ENDING_negation_mod": "ok_later", "VIETA_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}} -{"id": "39f4ff", "alias": "comb_count_derangements_v1_677425708_500", "problem": "Let $M$ be the greatest positive integer $d$ with $d\\le 6400$ such that $d$ divides $41273600$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=M$. For each such pair, form the sum $x+y$. Let $S$ be the smallest value among all these sums.\n\nLet $C$ be the value of\n$$\\sum_{k=1}^{5} \\varphi(k)\\left\\lfloor \\frac{5}{k} \\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $n$ be the number of integers $m$ such that $1\\le m\\le S$ and $C$ divides the Fibonacci number $F_m$.\n\nLet $D$ be the number of derangements of $n$ objects (that is, $D=!n$). Define\n$$Q \\equiv \\sum_{m=1}^{|D|} \\tau(m) \\pmod{68471},$$\nwhere $\\tau(m)$ denotes the number of positive divisors of $m$, and $0\\le Q<68471$.\n\nFind the value of $Q$.", "answer": 7819, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(6400)), Divides(divisor=Var(\"d\"), dividend=Const(41273600))))),\n \"_n\": Const(68471),\n \"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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_c\"), Var(\"k\"))))), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/B3/COUNT_FIB_DIVISIBLE", "K2/COUNT_FIB_DIVISIBLE"], "recipe_id": "d69ca4", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "K2", "MAX_DIVISOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:34:28.665386Z", "verification": {"verified": true, "answer": 7819, "timestamp": "2026-02-08T03:34:28.670893Z"}, "problem_hash": "9383ed", "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": 369, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:40:20.900Z"}], "lemma_applicability": {"K2": "ok", "MAX_DIVISOR": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "C2": "no", "K17": "no", "K5": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "c5e2a3", "alias": "nt_count_divisors_in_range_v1_458359167_3061", "problem": "Let $n = 498960$, $a = 32$, and $b = 11090$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute this number.", "answer": 148, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(498960),\n \"a\": Const(32),\n \"b\": Const(11090),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/L3B", "B1/B3"], "recipe_id": "dd7187", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_PRIMES", "L3B"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.183, "created_at": "2026-02-08T06:55:28.863465Z", "verification": {"verified": true, "answer": 148, "timestamp": "2026-02-08T06:55:29.046113Z"}, "problem_hash": "ae2432", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "ok", "B3": "ok_later", "L3B": "ok_later", "K13": "no", "K17": "no", "MOD_ADD": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "48f0b0", "alias": "nt_sum_over_divisible_v1_1248542787_84", "problem": "Let $\\mathcal{N}$ be the set of all positive integers $n$ such that $1 \\le n \\le 9409$ and $n \\equiv \\sum_{k=0}^{9} (-1)^k \\binom{9}{k} \\pmod{138}$. Compute the sum of all elements in $\\mathcal{N}$. Let $F_n$ denote the $n$-th Fibonacci number. Let $c$ be the number of positive integers $n$ such that $1 \\le n \\le 20586$ and $4$ divides $F_n$. Find the remainder when $c$ times the sum of $\\mathcal{N}$ is divided by $59753$.", "answer": 30871, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59753),\n \"upper\": Const(9409),\n \"divisor\": Const(138),\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(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\")))))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20586)), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/ENDING_affine_mod", "BINOMIAL_ALTERNATING"], "recipe_id": "8715d3", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_FIB_DIVISIBLE", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.301, "created_at": "2026-02-08T02:56:26.184659Z", "verification": {"verified": true, "answer": 30871, "timestamp": "2026-02-08T02:56:26.485344Z"}, "problem_hash": "829511", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 30871, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2988}, "timestamp": "2026-02-09T00:09:51.995Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30871, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2117}, "timestamp": "2026-02-09T12:13:45.475Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:21:27.724Z"}], "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_FIB_DIVISIBLE": "ok", "ENDING_affine_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "99d7ae", "alias": "algebra_poly_eval_v1_784195855_6313", "problem": "Let $T$ be the set of all positive integers $t$ such that $19 \\leq t \\leq 44$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 4$, and $t = 2a + 5b + 12$. Let $t_0$ be the number of elements in $T$. Let $d_{\\min}$ be the smallest divisor of $15$ that is at least $2$. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Let $m_{\\max}$ be the maximum value of $xy$ over all $(x,y) \\in P$. Compute the value of $5 \\cdot t_0^{d_{\\min}} - 4 \\cdot t_0^2 + m_{\\max} \\cdot t_0 - 10$.", "answer": 51492, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(5),\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=4)), Geq(left=Var(name='t'), right=Const(value=19)), 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=5), Var(name='b')), Const(value=12)))))))),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"t\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(15))))))), Mul(Const(-4), Pow(Ref(\"t\"), 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\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"t\")), Const(-10)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "LIN_FORM", "B1"], "recipe_id": "015460", "seed_template_id": "algebra_poly_eval_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.009, "created_at": "2026-02-08T08:34:42.218008Z", "verification": {"verified": true, "answer": 51492, "timestamp": "2026-02-08T08:34:42.227187Z"}, "problem_hash": "5f24a8", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K5": "no", "L3b": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "2d1861", "alias": "nt_gcd_compute_v1_677425708_1215", "problem": "Let $p = 5$, and define $e = ( (p-1)! + 1 ) \\bmod p$. Let $n = \\phi(2)$, where $\\phi$ is Euler's totient function, and let $h$ be the number of prime factors of $n$ counted with multiplicity. Let $a = 210222$ and $b = 490518 + e + h$. Compute $\\gcd(a, b)$, then multiply the result by $64335$ and take the remainder when divided by $91582$. Find the value of this remainder.", "answer": 86840, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(5),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": EulerPhi(n=Const(2)),\n \"h\": BigOmega(n=Ref(name='n')),\n \"a\": Const(210222),\n \"b\": Sum(Const(490518), Ref(\"e\"), Ref(\"h\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(64335),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91582)),\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", "WILSON", "ONE_PHI_2"], "recipe_id": "d1c2a4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "ONE_PHI_2", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T04:02:15.526074Z", "verification": {"verified": true, "answer": 86840, "timestamp": "2026-02-08T04:02:15.530518Z"}, "problem_hash": "d488b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 86840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 2200}, "timestamp": "2026-02-09T17:09:36.681Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "ONE_PHI_2": "ok", "WILSON": "ok", "K15": "no", "K5": "no", "MOD_SUB": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "8cc476", "alias": "v7_endings_v1_677425708_2296", "problem": "Let $a_1 = 20$. Compute the number of prime numbers $n$ such that $2 \\leq n \\leq 73$, and denote this count by $b_1$. Let $v$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a_1, b_1)$, where $\\mu$ is the M\\\"obius function. Let $a$ be the sum of all positive integers $n$ such that $n \\leq 134$ and $n \\equiv 0 \\pmod{134}$. Let $b = 55v$. Let $f$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$. Let $x$ be the number of integers $k$ such that $0 \\leq k \\leq 1256$ and $\\binom{1256}{k}$ is divisible by $3$. Compute the remainder when $76783 \\cdot x$ is divided by $56582 \\cdot f$.", "answer": 20659, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"a1\": Const(20),\n \"b1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(73)), IsPrime(Var(\"n\"))))),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(134)), Eq(Mod(value=Var(\"n\"), modulus=Const(134)), Const(0))))),\n \"b\": Mul(Const(55), Ref(\"v\")),\n \"f\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Const(1256),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(0)), Leq(Var(\"k\"), Const(1256)), Divides(divisor=Ref(\"_m\"), dividend=Binom(n=Ref(\"_n\"), k=Var(\"k\")))))),\n \"_c\": Const(76783),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Mul(Const(56582), Ref(\"f\"))),\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", "COUNT_PRIMES/MOBIUS_COPRIME", "V7"], "recipe_id": "a8a8e9", "seed_template_id": "v7_endings_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "MOBIUS_COPRIME", "SUM_DIVISIBLE", "V7"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:58:30.939715Z", "verification": {"verified": true, "answer": 20659, "timestamp": "2026-02-08T04:58:30.942673Z"}, "problem_hash": "dfbf5b", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_DIVISIBLE": "ok", "V7": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K14": "no", "MOD_MUL": "no"}} -{"id": "c3ab66", "alias": "nt_sum_divisors_mod_v1_784195855_709", "problem": "Let $n_2$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 50$. Let $e$ be the number of distinct prime factors of $n_2$. Let $t$ be the largest integer $k$ such that $19^k$ divides $19^{25}$. Define $n_1 = t^2$, and let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $n = 15120 \\cdot e$. Define $M = 10271 \\cdot s$. Let $\\sigma$ be the sum of the positive divisors of $n$. Compute the remainder when $\\sigma$ is divided by $M$.", "answer": 8165, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(25),\n \"_n\": Const(15120),\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(50)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"e\": SmallOmega(n=Ref(name='n2')),\n \"t\": MaxKDivides(target=Pow(Const(19), Ref(\"_m\")), base=Const(19)),\n \"n1\": Pow(Ref(\"t\"), Const(2)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Mul(Ref(\"_n\"), Ref(\"e\")),\n \"M\": Mul(Const(10271), Ref(\"s\")),\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": "K14", "lemma_paths": ["K14/DIVISOR_PARITY", "B1/OMEGA_ONE"], "recipe_id": "ccf8b7", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B1", "DIVISOR_PARITY", "K14", "OMEGA_ONE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T04:33:55.474946Z", "verification": {"verified": true, "answer": 8165, "timestamp": "2026-02-08T04:33:55.478712Z"}, "problem_hash": "642595", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "K14": "ok", "DIVISOR_PARITY": "ok_later", "OMEGA_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "f92e87", "alias": "modular_product_range_v1_784195855_1283", "problem": "Let $m = 99615$. Let $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 3$ and $1 \\leq j \\leq 22$ such that $\\gcd(i, j) = \\phi(1)$, where $\\phi$ is Euler's totient function. Let $P$ be the product of all integers from $n$ to 137 inclusive. Let $r$ be the remainder when $P$ is divided by 10993. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 55$ and $1 \\leq j \\leq 147$ such that $\\gcd(i, j) = 1$. Compute the remainder when $c \\cdot r$ is divided by $m$.", "answer": 66573, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(99615),\n \"_n\": 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(3)), right=IntegerRange(start=Const(1), end=Const(22))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=Const(137)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10993)),\n \"Q\": Mod(value=Mul(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(55)), right=IntegerRange(start=Const(1), end=Const(147))))), 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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID/ENDING_affine_mod", "ONE_PHI_1"], "recipe_id": "2c427d", "seed_template_id": "modular_product_range_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_affine_mod", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:57:29.151152Z", "verification": {"verified": true, "answer": 66573, "timestamp": "2026-02-08T04:57:29.153779Z"}, "problem_hash": "4502b6", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "ENDING_affine_mod": "ok_later", "COUNT_CARTESIAN": "no", "K13": "no", "K18": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}} -{"id": "8ecc7a", "alias": "antilemma_v8_lucas_124444284_1242", "problem": "Let $n = 52$. Define $f$ as the sum of $\\mu(d)$ over all positive divisors $d$ of $n$, where $\\mu$ denotes the M\\\"obius function. Let $p = 29 + f$. Define $c$ as the number of prime factors of $p$ counted with multiplicity. Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 89079$ and $\\binom{89079}{j}$ is odd. Compute the value of $$\nx^2 + 16x + 2304c \\bmod{57350}.\n$$", "answer": 28040, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(52),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Sum(Const(29), Ref(\"f\")),\n \"c\": BigOmega(n=Ref(name='p')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(89079)), Eq(Mod(value=Binom(n=Const(89079), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(16), Ref(\"x\")), Mul(Const(2304), Ref(\"c\"))), modulus=Const(57350)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ONE", "lemma_paths": ["BIG_OMEGA_ONE", "MOBIUS_SUM", "V8"], "recipe_id": "b35c64", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MOBIUS_SUM", "V8"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:46:21.770289Z", "verification": {"verified": true, "answer": 28040, "timestamp": "2026-02-08T03:46:21.773997Z"}, "problem_hash": "4217d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 28040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 1908}, "timestamp": "2026-02-09T11:20:31.056Z"}], "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MOBIUS_SUM": "ok", "V8": "ok", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "993b39", "alias": "nt_sum_divisors_compute_v1_1918700295_1714", "problem": "Let $n = 47961$ and $m = 23$. Let $s$ be the sum of all positive divisors of $n$. Let $T$ be the set of all integers $t$ such that $18 \\leq t \\leq 56$ and there exist positive integers $a \\leq 7$, $b \\leq 2$ satisfying $t = 4a + 14b$. Let $k = |T|$. Compute\n$$\ns + \\left( \\nu_{23}(23 \\cdot m) \\right)^{s \\bmod k},\n$$\nwhere $\\nu_{23}(23 \\cdot m)$ denotes the largest integer $e$ such that $23^e$ divides $23 \\cdot m$, and return the result.", "answer": 70241, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(23),\n \"n\": Const(47961),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(MaxKDivides(target=Mul(Const(23), Ref(\"_n\")), base=Const(23)), 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=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=18)), Leq(left=Var(name='t'), right=Const(value=56)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))))), modulus=Const(84855))),\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_mod_exp", "K13/ENDING_mod_exp"], "recipe_id": "d97898", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "K13", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:58:26.856660Z", "verification": {"verified": true, "answer": 70241, "timestamp": "2026-02-08T05:58:26.858648Z"}, "problem_hash": "3a8059", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "LIN_FORM": "ok", "ENDING_mod_exp": "ok_later", "C2": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "ff2916", "alias": "diophantine_fbi2_min_v1_865884756_1050", "problem": "Let $d_{\\min}$ be the smallest divisor of $27614957$ that is at least $2$. Let $k = 35$. Let $S$ be the set of all integers $d_1$ such that $3 \\leq d_1 \\leq 45$, $d_1$ divides $k$, and $k / d_1 \\geq 7$. Let $r$ be the minimum element of $S$. Let $d_2$ be the smallest divisor of $16387202345537$ that is at least $2$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 345$, and let $p_{\\max}$ be the largest element of $P$. Define\n$$\nQ = (r \\bmod d_{\\min}) + d_2 \\cdot (r \\bmod p_{\\max}).\n$$\nCompute $Q$.", "answer": 10020, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(27614957))))),\n \"k\": Const(35),\n \"upper\": Const(45),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_m\")), Leq(Var(\"d1\"), Ref(\"upper\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(7))))),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d2\"), condition=And(Geq(Var(\"d2\"), Const(2)), Divides(divisor=Var(\"d2\"), dividend=Const(16387202345537))))), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(345)), IsPrime(Var(\"n\")))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MIN_PRIME_FACTOR/ENDING_two_moduli", "MAX_PRIME_BELOW/ENDING_two_moduli"], "recipe_id": "9a08a4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_moduli", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T15:44:21.561946Z", "verification": {"verified": true, "answer": 10020, "timestamp": "2026-02-08T15:44:21.570134Z"}, "problem_hash": "0b9e42", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "DS2": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "b46530", "alias": "antilemma_v8_lucas_784195855_2004", "problem": "Let $N = 65527$. Define $m = \\sum_{d \\mid 24} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $x$ be the number of integers $j$ with $m \\leq j \\leq N$ such that $\\binom{N}{j} \\equiv \\phi(1) \\pmod{2}$, where $\\phi$ denotes Euler's totient function. Compute $x$. ", "answer": 32768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65527),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=Const(value=24), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Const(65527)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), EulerPhi(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": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "ONE_PHI_1", "V8"], "recipe_id": "1eb359", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "ONE_PHI_1", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:25:27.771956Z", "verification": {"verified": true, "answer": 32768, "timestamp": "2026-02-08T05:25:27.773347Z"}, "problem_hash": "49386e", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "V8": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "7ca4f5", "alias": "nt_count_squarefree_v1_784195855_2378", "problem": "Let $p = 43$ and $q = 13$, and define $n = p \\cdot q$. Let $t = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Let $a$ be the number of positive integers $n$ with $1 \\leq n \\leq 354$ such that the sum of the decimal digits of $n$ is even. Let $b = 166$, and define $m = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$. Let the upper bound be $47524 \\cdot t$, and let $\\text{result}$ be the number of positive integers $n$ with $1 \\leq n \\leq 47524 \\cdot t$ such that $\\mu(n)^2 = 1$. Determine the value of the Bell number $B_k$, where $k$ is the remainder when $|\\text{result}|$ is divided by $11m$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(43),\n \"q\": Const(13),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(354)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"b\": Const(166),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(Const(47524), Ref(\"t\")),\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\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Mul(Const(11), 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/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "recipe_id": "37e52c", "seed_template_id": "nt_count_squarefree_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": 7.194, "created_at": "2026-02-08T05:42:04.047180Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T05:42:11.240809Z"}, "problem_hash": "b99673", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_SUM": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "cdff37", "alias": "antilemma_sum_primes_v1_784195855_511", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 56$ such that $\\gcd(i,j) = \\sum_{d \\mid \\gcd(7,11)} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $n$ be the number of elements in $S$. Compute the remainder when $49295$ times the sum of all prime numbers between $2$ and $n$ inclusive is divided by $78748$.", "answer": 58268, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(78748),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(56))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(49295), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/SUM_PRIMES", "MOBIUS_COPRIME", "SUM_PRIMES"], "recipe_id": "4af3e3", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:25:06.550437Z", "verification": {"verified": true, "answer": 58268, "timestamp": "2026-02-08T04:25:06.552982Z"}, "problem_hash": "a55de8", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok", "SUM_PRIMES": "ok", "COUNT_INTEGER_RANGE": "no", "K15": "no", "K5": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "a73711", "alias": "nt_gcd_compute_v1_153355830_2019", "problem": "Let $a = 228494$ and $b = 424346$. Define $d = \\gcd(a, b)$. Let $m = 6$ and $n = 2$. Consider the set of all positive integers $k$ such that $1 \\leq k \\leq \\sum_{j=1}^{m} \\phi(j) \\left\\lfloor \\frac{6}{j} \\right\\rfloor$ and the sum of the decimal digits of $k$ leaves a remainder of $1$ when divided by $n$. Let $c$ be the number of such integers $k$. Define $Q = B_{|d| \\bmod c}$, where $B_k$ denotes the $k$th Bell number. Find the value of $Q$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(2),\n \"a\": Const(228494),\n \"b\": Const(424346),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\")))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/L3B/ENDING_bell_mod"], "recipe_id": "9396b6", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "K2", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:51:14.529879Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T06:51:14.531733Z"}, "problem_hash": "c27a40", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "ENDING_bell_mod": "ok_later", "L3B": "ok_later", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "3b111b", "alias": "nt_count_divisors_in_range_v1_1915831931_2306", "problem": "Let $n$ be the number of positive integers at most $15119$ whose digit sum is odd. Let $a = 10$ and $b = 1268$. Let $r$ be the number of positive divisors of $n$ that are at least $a$ and at most $b$. Let $c$ be the number of prime numbers at most $11321$. Compute $c - r$.", "answer": 1319, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11321),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(15119)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Const(2)), Const(1))))),\n \"a\": Const(10),\n \"b\": Const(1268),\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=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\"))))),\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": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/ENDING_negation_mod", "L3B"], "recipe_id": "29782f", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_negation_mod", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T16:43:48.724580Z", "verification": {"verified": true, "answer": 1319, "timestamp": "2026-02-08T16:43:48.750737Z"}, "problem_hash": "a6c5e3", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "LTE_DIFF_P2": "no", "V8": "no"}} -{"id": "7e2171", "alias": "diophantine_fbi2_min_v1_677425708_3368", "problem": "Let $m$ be the number of prime numbers between 2 and 11, inclusive. Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 32400$. Let $u$ be the number of integers $t$ with $18 \\leq t \\leq 780$ for which there exist positive integers $a \\leq 10$ and $b \\leq 85$ such that $t = 10a + 8b$. Find the smallest integer $d \\geq 2$ such that $d \\leq u$, $d$ divides $k$, and $k/d \\geq m$. Compute the remainder when $53985$ times this value of $d$ is divided by $50662$.", "answer": 6646, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))),\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(32400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=85)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=780)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"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\")), Ref(\"_m\"))))),\n \"Q\": Mod(value=Mul(Const(53985), Ref(\"result\")), modulus=Const(50662)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/LIN_FORM", "B3"], "recipe_id": "c20eb1", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T05:40:37.163004Z", "verification": {"verified": true, "answer": 6646, "timestamp": "2026-02-08T05:40:37.180033Z"}, "problem_hash": "83c3bf", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "LIN_FORM": "ok_later", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "78939b", "alias": "nt_gcd_compute_v1_1116507919_347", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 9$. Let $h$ be the remainder when $ (p_1 - 1)! + 1 $ is divided by $p_1$. Let $p = 13$ and $n = p^3$. Let $t$ be the number of distinct prime factors of $n$. Define $a = 491484 + h$ and $b = 912756 \\cdot t$. Compute $\\gcd(a, b)$.", "answer": 70212, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Const(13),\n \"n\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"t\": SmallOmega(n=Ref(name='n')),\n \"a\": Sum(Const(491484), Ref(\"h\")),\n \"b\": Mul(Const(912756), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/WILSON", "OMEGA_ONE"], "recipe_id": "9bea62", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "OMEGA_ONE", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:31:57.139287Z", "verification": {"verified": true, "answer": 70212, "timestamp": "2026-02-08T02:31:57.140619Z"}, "problem_hash": "d31317", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 70212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 764}, "timestamp": "2026-02-08T19:24:27.750Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 70212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 763}, "timestamp": "2026-02-09T16:20:08.228Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 70212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 7633}, "timestamp": "2026-02-09T20:00:26.852Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 70212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 1736}, "timestamp": "2026-02-09T19:45:16.012Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "OMEGA_ONE": "ok", "WILSON": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K15": "no", "L3c": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "520e78", "alias": "comb_sum_binomial_row_v1_677425708_2290", "problem": "Let $ n = \\frac{2}{20} \\sum_{k=1}^{4} \\sum_{j=1}^{10} k $. Let $ S $ be the set of all positive integers $ p $ for which there exists a positive integer $ q $ such that $ pq = 54 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Define $ r = |S|^n $. Compute the remainder when $ 44121 \\cdot r $ is divided by $ 51217 $.", "answer": 6510, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(51217),\n \"_n\": Const(44121),\n \"n\": Div(Mul(Const(2), 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(10)))), expr=Var(\"k\")))), Const(20)),\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=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'))))))), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT", "SUM_ARITHMETIC", "COPRIME_PAIRS"], "recipe_id": "7f5224", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:58:27.434260Z", "verification": {"verified": true, "answer": 6510, "timestamp": "2026-02-08T04:58:27.439218Z"}, "problem_hash": "7ca8f6", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "fd1280", "alias": "diophantine_fbi2_min_v1_865884756_2068", "problem": "Let $S$ be the set of all ordered pairs $(k_1, j)$ of integers such that $1 \\leq k_1 \\leq 5$ and $1 \\leq j \\leq 7$. Define $k$ to be twice the sum of all values of $k_1$ as $(k_1, j)$ ranges over $S$, divided by 14. Let $u = 25$. Define $d$ to be the smallest integer such that $3 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq 5$. Compute $47895$ minus this value of $d$. Find the value of this result.", "answer": 47892, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"k\": Div(Mul(Const(2), 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(7)))), expr=Var(\"k1\")))), Const(14)),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\"))))),\n \"Q\": Sub(Const(47895), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT", "SUM_ARITHMETIC", "COPRIME_PAIRS"], "recipe_id": "7f5224", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T16:29:39.044086Z", "verification": {"verified": true, "answer": 47892, "timestamp": "2026-02-08T16:29:39.050460Z"}, "problem_hash": "3b623b", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V3": "no", "V5": "no"}} -{"id": "f12121", "alias": "antilemma_sum_primes_v1_1116507919_40", "problem": "Let $m = 7744$. Define $S$ to be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $t$ be the minimum value of $x + y$ over all pairs in $S$, and let $s$ be the maximum value of $x + y$ over all such pairs. Compute the sum of all prime numbers $n$ such that $2 \\leq n \\leq s$ and $n \\leq t$.", "answer": 3087, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7744),\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\"), 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\")))))), 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/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "08153d", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T02:24:01.836614Z", "verification": {"verified": true, "answer": 3087, "timestamp": "2026-02-08T02:24:01.848207Z"}, "problem_hash": "fbeb86", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3087, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 3162}, "timestamp": "2026-02-08T18:31:52.834Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3087, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 1503}, "timestamp": "2026-02-09T12:04:39.319Z"}, {"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-09T14:28:40.414Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3087, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 1614}, "timestamp": "2026-02-09T14:25:20.271Z"}], "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "66e8fc", "alias": "diophantine_sum_product_min_v1_1520064083_2230", "problem": "Let $S = 83$ and $P = 1302$. Determine the value of $x$, where $1 \\leq x \\leq 82$, that satisfies\n$$\nx(S - x) = P,\n$$\nand is the smallest such integer $x$ satisfying this equation.", "answer": 21, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(83),\n \"P\": Const(1302),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(82)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["LIN_FORM/COUNT_CARTESIAN", "B3"], "recipe_id": "1aac58", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.175, "created_at": "2026-02-08T04:35:21.431722Z", "verification": {"verified": true, "answer": 21, "timestamp": "2026-02-08T04:35:21.606992Z"}, "problem_hash": "e388ba", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_CARTESIAN": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "cfb0b6", "alias": "antilemma_sum_equals_v1_1915831931_716", "problem": "Let $c$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 2$ and $1 \\leq b \\leq 101$. 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 100$ and $1 \\leq j \\leq 100$ such that $i + j = m$. Let $x$ be the number of ordered pairs $(i_1, j_1)$ with $1 \\leq i_1 \\leq 99$ and $1 \\leq j_1 \\leq 100$ such that $i_1 + j_1 = n$. Compute $x$.", "answer": 99, "graph": "graphs = [\n Graph(\n let={\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(101)))),\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(100)), right=IntegerRange(start=Const(1), end=Const(100))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(100))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_CARTESIAN/COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "a7a683", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.098, "created_at": "2026-02-08T15:38:49.445953Z", "verification": {"verified": true, "answer": 99, "timestamp": "2026-02-08T15:38:49.544282Z"}, "problem_hash": "9be375", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "COMB1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "88d874", "alias": "nt_sum_totient_over_divisors_v1_1742523217_3522", "problem": "Let $n = 23847$. Define $\\text{result}$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function. Let $A = 7^{\\text{result}} \\mod 99991$, where the result is taken as the unique integer in $[0, 99990]$. Let $B$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 48463$ and $\\binom{48463}{j}$ is odd. Define $Q = A + B$. Compute $Q$.", "answer": 67496, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48463),\n \"n\": Const(23847),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(48463)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), EulerPhi(n=Const(2)))), domain='nonnegative_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/ENDING_two_stage_modexp", "ONE_PHI_2"], "recipe_id": "cbf81e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_two_stage_modexp", "ONE_PHI_2", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:55:34.926359Z", "verification": {"verified": true, "answer": 67496, "timestamp": "2026-02-08T05:55:34.928443Z"}, "problem_hash": "1b4eef", "license": "CC BY 4.0", "lemma_applicability": {"ONE_PHI_2": "ok", "V8": "ok", "ENDING_two_stage_modexp": "ok_later", "COUNT_SUM_EQUALS": "no", "DS2": "no", "K18": "no", "L3c": "no", "V3": "no"}} -{"id": "d29e92", "alias": "nt_euler_phi_compute_v1_1874849503_301", "problem": "Let $a$ be the number of prime numbers between $2$ and $p_\\text{max}$ inclusive, where $p_\\text{max}$ is the greatest prime less than or equal to $93$. Let $b=3$, and let\n\\[\nh=\\sum_{d\\mid \\gcd(a,b)} \\mu(d),\n\\]\nwhere $\\mu$ denotes the Möbius function. Let $p=23$ and\n\\[\ne\\equiv (p-1)!+1 \\pmod{p},\n\\]\nwith $e$ taken as the remainder in $\\{0,1,\\dots,22\\}$. Define\n\\[\nn=40320+h+e.\n\\]\nLet $Q$ be the value of $\\varphi(n)$, where $\\varphi$ is Euler's totient function.\n\nCompute $Q$.", "answer": 9216, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": 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(93)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"b\": Const(3),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(23),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(40320), Ref(\"h\"), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/MOBIUS_COPRIME", "WILSON"], "recipe_id": "4d6f22", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T12:55:59.420065Z", "verification": {"verified": true, "answer": 9216, "timestamp": "2026-02-08T12:55:59.425829Z"}, "problem_hash": "d4dc7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 9216, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 876}, "timestamp": "2026-02-09T15:28:38.948Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "WILSON": "ok", "COUNT_PRIMES": "ok_later", "MOBIUS_COPRIME": "ok_later", "K13": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "7ba0c8", "alias": "nt_count_digit_sum_v1_1742523217_4193", "problem": "Let $N = 61724195567569706272359647549877425175543608978769304597816164882262634297618067720709826295561426316909651962818753209886544601938689360611964054106570894052631213139392980375291532976024920120427865076587783283400604921965128511123533434924721784629706548645907654423114623189142167315683697714503883907096104280343768223350506068862672433156859939847763738337692921173737993622526718456028489904708636641200119451814690807590771348377070296844042873379166525223139405504655403010771711905151773496193491297709108726098174420705204366219766101872561090236423567400313864453985769516093180123341016287046142943459275350118130509554584213759791557094565324070910861276614065233548236019133671326195954443658823088524512007045505111570612587652068875878044085880437371008824800806341701524155380967187889723144184781564995690640528858992868376215718725449237442157775819268602000752737993001986632720406681191550885449548250932343311243503037537171544027922593912831348845740283124713101125778667813703045625849022950221272376279508822526230869717446075423597006783504467488199188057074038614199362456923799453571678838724399821503805517967318663355650357120602974061114285230825684176897865269218953574395335413456967927026801633505842616329602654879308903971421733042897962528753240170508252593447689623328941778746814900853683064087024813475382958030198042971684559260466188427283544567267317398974331996168172962500753927188896571209576608619638414217968935315403215285694615470129352530869249834814461885942806082760700000410911947652662838346137029094377113619709017657611168057993092016207576127950622379344444070831856595240643091101478195906517990530794273452705959831193595963710600743325801381164475742253380116499738364089973761075424468993936369788698283901402091196240898190375591704706541825202580223402777651940705291090487151378244679317088974372570045238420024622023708165430810095160502377001268857044037287834657893371984837319416861894681656523916058277342093897236264933629369832726481649088896254109896228619939227922146397125763237099249364312584648188628809538028792105158709511113875132579249566947151550618856817635290422806722967573475059144344271592102805778977641272839837149590243340556806887878712874008451995639539419733331547135601224360399578838185632145514399281761210336735548732280263970497139765153766665713924847861982540671788812148278710519627816935322574834898331587400853190760318238380609067715436210544847573675900705974688374683064944769538446431242078691931874007955940127347404921123697538552847378893958143084361813845463067240858727214063941900689494028488483639628877301052743099885322354142039302219177874319301795318214287466119407155526078441515927113493964480024001235356893254711779722332150836805291291322798624053596385681323741975462423012986936177556437017708784550625511213605951816041532635965209732548381108800012497184216500638665946528634986457212342269706718435652376334933911105335971455962269489590504871619267077880611772159595461811089701273283012890207464251464707298095157997822059185986566668010046893672968105580899102984790691292963358461500091401614864437579677829048532338898768198682968306874257014656854389469184054494767839306008439209171209566786321899043433404597329011003208667460620573099291774792622727392591937445203612659917207237074822548157377941056899952979047909658475394312425572451915117438169610464049401129699305879349990630072450124738096369508847760856651674282453324178184177120567601263785817821581434411977127497879091086365392336022966028940896904416138400192405604340731885312489169067441230470292745803313524393516278472565587137597511265535970569043503472537042989728968259263212483696496760511182518085213984673748961953178100925845216169838177047588017322647149677265772060170914967503626194134706681039790488803569669971220217595805268072732987561721989902110281336171633056580531157492335241812435745328685082468406793746953049743$. Define $k$ to be the largest integer such that $47^k$ divides $N$. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 19998$. Let $T$ be the set of all positive integers $n \\leq |S|$ such that the sum of the decimal digits of $n$ is 20. Compute the remainder when $|T|^2 + 22|T| + k$ is divided by 50172.", "answer": 16375, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Mul(Const(61724195567569706272359647549877425175543608978769304597816164882262634297618067720709826295561426316909651962818753209886544601938689360611964054106570894052631213139392980375291532976024920120427865076587783283400604921965128511123533434924721784629706548645907654423114623189142167315683697714503883907096104280343768223350506068862672433156859939847763738337692921173737993622526718456028489904708636641200119451814690807590771348377070296844042873379166525223139405504655403010771711905151773496193491297709108726098174420705204366219766101872561090236423567400313864453985769516093180123341016287046142943459275350118130509554584213759791557094565324070910861276614065233548236019133671326195954443658823088524512007045505111570612587652068875878044085880437371008824800806341701524155380967187889723144184781564995690640528858992868376215718725449237442157775819268602000752737993001986632720406681191550885449548250932343311243503037537171544027922593912831348845740283124713101125778667813703045625849022950221272376279508822526230869717446075423597006783504467488199188057074038614199362456923799453571678838724399821503805517967318663355650357120602974061114285230825684176897865269218953574395335413456967927026801633505842616329602654879308903971421733042897962528753240170508252593447689623328941778746814900853683064087024813475382958030198042971684559260466188427283544567267317398974331996168172962500753927188896571209576608619638414217968935315403215285694615470129352530869249834814461885942806082760700000410911947652662838346137029094377113619709017657611168057993092016207576127950622379344444070831856595240643091101478195906517990530794273452705959831193595963710600743325801381164475742253380116499738364089973761075424468993936369788698283901402091196240898190375591704706541825202580223402777651940705291090487151378244679317088974372570045238420024622023708165430810095160502377001268857044037287834657893371984837319416861894681656523916058277342093897236264933629369832726481649088896254109896228619939227922146397125763237099249364312584648188628809538028792105158709511113875132579249566947151550618856817635290422806722967573475059144344271592102805778977641272839837149590243340556806887878712874008451995639539419733331547135601224360399578838185632145514399281761210336735548732280263970497139765153766665713924847861982540671788812148278710519627816935322574834898331587400853190760318238380609067715436210544847573675900705974688374683064944769538446431242078691931874007955940127347404921123697538552847378893958143084361813845463067240858727214063941900689494028488483639628877301052743099885322354142039302219177874319301795318214287466119407155526078441515927113493964480024001235356893254711779722332150836805291291322798624053596385681323741975462423012986936177556437017708784550625511213605951816041532635965209732548381108800012497184216500638665946528634986457212342269706718435652376334933911105335971455962269489590504871619267077880611772159595461811089701273283012890207464251464707298095157997822059185986566668010046893672968105580899102984790691292963358461500091401614864437579677829048532338898768198682968306874257014656854389469184054494767839306008439209171209566786321899043433404597329011003208667460620573099291774792622727392591937445203612659917207237074822548157377941056899952979047909658475394312425572451915117438169610464049401129699305879349990630072450124738096369508847760856651674282453324178184177120567601263785817821581434411977127497879091086365392336022966028940896904416138400192405604340731885312489169067441230470292745803313524393516278472565587137597511265535970569043503472537042989728968259263212483696496760511182518085213984673748961953178100925845216169838177047588017322647149677265772060170914967503626194134706681039790488803569669971220217595805268072732987561721989902110281336171633056580531157492335241812435745328685082468406793746953049743), Const(8098918857005640091563758915623603795953452095033395450672236175348408927977465852169610242072938260240504053452146919584538474693217772077558237552307684592199218800293549226115764866677326707881306450374684269056000606802105930867271402228978685947464736050839706612625194607519644901461098631072485340960552092454314511653915545020774420941399394836792013766569386262671344552615679549427728914996517462680277087842724378030436661287350532287701897074820578498401377589748035729523585684375207943241828769050408224481489573323352660257131443781422653790736105403529933916142792934303894723063904362746388286779396790161553391930431036176466192864655341336441278458204404956695205780292933005117296105247681867116653389933049849124523655601827533288031715411693775008188143882838549518261749527236993605037262652466089429397774250451122627962793426029810125691651273182404915969797834892178857304612071090582911218135911057547980571669014927702869242785949117197014414072673568893114747086760148671859592318064045062478700535736003458851020390762900815225814896060777083972079474810277974151714839285933331606004540738731508436606114874304126583957159809688337847757679575703287481619482301216167980311862236229746024160554820047418914908273699295024504500427459922959123879236287890945910255702850139247)), base=Const(47)),\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(19998))))),\n \"target_sum\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(22), Ref(\"result\")), Ref(\"_n\")), modulus=Const(50172)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/COMB1/ENDING_quadratic_mod"], "recipe_id": "c4a810", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_quadratic_mod", "K13"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.358, "created_at": "2026-02-08T07:07:16.808461Z", "verification": {"verified": true, "answer": 16375, "timestamp": "2026-02-08T07:07:17.166350Z"}, "problem_hash": "92f0c2", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "COMB1": "ok_later", "ENDING_quadratic_mod": "ok_later", "K16": "no", "L3c": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}} -{"id": "26f785", "alias": "antilemma_cartesian_v1_1125832087_549", "problem": "Let $x$ be the number of elements in the Cartesian product of the sets $\\{1,2,3,\\dots,26\\}$ and $\\{1,2,3,\\dots,36\\}$.\n\nLet $A$ be the set of all ordered pairs $(u,v)$ of positive integers such that $u$ and $v$ are odd and $u+v=24$. Let $N$ be the number of elements in $A$.\n\nLet\n$$T=\\sum_{k=0}^{8}(-1)^k\\binom{8}{k}.$$\n\nDefine\n$$S=\\sum_{n=N}^{|x|} \\varphi(n),$$\nwhere $\\varphi(n)$ denotes the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nLet $Q$ be the remainder when $S$ is divided by $86502$.\n\nFind the value of $Q$.", "answer": 6814, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(24))))), k=Summation(var=\"k\", start=Const(0), end=Const(8), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"_n\"), k=Var(\"k\"))))), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(86502)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_0/ENDING_sum_totient", "BINOMIAL_ALTERNATING", "COUNT_CARTESIAN"], "recipe_id": "302cb5", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN", "ENDING_sum_totient", "ONE_BINOM_0"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.026, "created_at": "2026-02-08T03:09:05.058508Z", "verification": {"verified": true, "answer": 6814, "timestamp": "2026-02-08T03:09:05.084054Z"}, "problem_hash": "4a3736", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_sum_totient": "ok_later", "ONE_BINOM_0": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "8a3588", "alias": "nt_count_divisors_in_range_v1_865884756_262", "problem": "Let $t = 24$ and define $n_1 = t^2$. Let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $a_1 = 6557$ and let $b_1$ be the smallest divisor of $337747$ that is at least $2$. Define $v$ to be the sum of $\\mu(d_1)$ over all positive divisors $d_1$ of $\\gcd(a_1, b_1)$, where $\\mu$ is the M\\\"obius function. Let $n = 221760$, $a = v$, and let $b$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\le i \\le 94$ and $1 \\le j \\le 110$ such that $\\gcd(i, j) = 1$. Let $\\text{result}$ be the number of positive divisors $d_2$ of $n$ such that $a \\le d_2 \\le b$. Compute the remainder when $|\\text{result}|$ is divided by $57072 \\cdot s$. Denote this value by $Q$. Find the value of $Q$.", "answer": 144, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"t\": Const(24),\n \"n1\": Pow(Ref(\"t\"), Const(2)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Ref(\"_n\")),\n \"a1\": Const(6557),\n \"b1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(337747))))),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d1', expr=MoebiusMu(n=Var(name='d1'))),\n \"n\": Const(221760),\n \"a\": Ref(\"v\"),\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(94)), right=IntegerRange(start=Const(1), end=Const(110))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d2\"), condition=And(Divides(divisor=Var(\"d2\"), dividend=Ref(\"n\")), Geq(Var(\"d2\"), Ref(\"a\")), Leq(Var(\"d2\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Mul(Const(57072), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "COUNT_COPRIME_GRID", "DIVISOR_PARITY"], "recipe_id": "1375cb", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "DIVISOR_PARITY", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.266, "created_at": "2026-02-08T15:17:23.507844Z", "verification": {"verified": true, "answer": 144, "timestamp": "2026-02-08T15:17:23.774300Z"}, "problem_hash": "e135b3", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "DIVISOR_PARITY": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "L3b": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "5a84b8", "alias": "nt_count_coprime_v1_1742523217_3370", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 25000000$. Let $m$ be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 10$. Let $p$ be the maximum value of $xy$ over all such pairs. Let $k$ be the largest prime number $n$ such that $2 \\leq n \\leq p$. Let $U$ be the set of all positive integers $n$ such that $1 \\leq n \\leq m$ and $\\gcd(n, k) = 1$. Compute the number of elements in $U$.", "answer": 9566, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_PRIME_BELOW", "B3"], "recipe_id": "b81747", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.764, "created_at": "2026-02-08T05:49:08.410422Z", "verification": {"verified": true, "answer": 9566, "timestamp": "2026-02-08T05:49:09.174792Z"}, "problem_hash": "4231ba", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}} -{"id": "733e9c", "alias": "modular_count_residue_v1_1520064083_3286", "problem": "Let $t$ be an integer satisfying $9 \\leq t \\leq 3139$. Define $\\tau$ to be the number of such $t$ for which there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 908$, $1 \\leq b \\leq 189$, and $t = 2a + 7b$. \n\nLet $m$ be the largest integer $k$ such that $5^k$ divides $6^{3125} - 1$. \n\nCompute the number of positive integers $n$ such that $1 \\leq n \\leq 84100$ and $n \\equiv 3 \\pmod{m}$.", "answer": 14017, "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=908)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=189)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=3139)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"upper\": Const(84100),\n \"m\": MaxKDivides(target=Sub(Pow(Const(6), Const(3125)), Const(1)), base=Const(5)),\n \"r\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LTE_DIFF"], "recipe_id": "dc9e56", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 2.916, "created_at": "2026-02-08T05:33:40.316950Z", "verification": {"verified": true, "answer": 14017, "timestamp": "2026-02-08T05:33:43.232838Z"}, "problem_hash": "aa120f", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF": "ok_later", "DS2": "no", "LTE_SUM": "no", "V1": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "a89fa8", "alias": "modular_min_linear_v1_168721529_1601", "problem": "Let $m = 61006$ and $n = 22$. Define $a$ to be the number of positive integers $k$ with $1 \\leq k \\leq m$ such that $n$ divides $k$. Define $b$ to be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 135$ such that $\\gcd(i, j) = 1$. Let $m' = 15682$. Define $x_0$ to be the smallest positive integer $x$ with $1 \\leq x \\leq m'$ such that $a x \\equiv b \\pmod{m'}$. Compute the remainder when $80235 x_0$ is divided by $52219$. Find the value of this remainder.", "answer": 51346, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(61006),\n \"_n\": Const(22),\n \"a\": 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')),\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(10)), right=IntegerRange(start=Const(1), end=Const(135))))),\n \"m\": Const(15682),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(80235), Ref(\"result\")), modulus=Const(52219)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "C2"], "recipe_id": "aee8c0", "seed_template_id": "modular_min_linear_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.619, "created_at": "2026-02-08T13:48:21.445870Z", "verification": {"verified": true, "answer": 51346, "timestamp": "2026-02-08T13:48:22.065303Z"}, "problem_hash": "f0dac1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 37670, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 5473}, "timestamp": "2026-02-09T19:19:16.475Z"}], "lemma_applicability": {"C2": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_CARTESIAN": "no", "DS2": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "df5dee", "alias": "nt_count_squarefree_v1_151522320_1324", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 58081$ and $\\mu(n)^2 = 1$, where $\\mu$ denotes the Möbius function. Define $A$ to be the number of such integers $n$.\n\nLet $t$ be an integer satisfying $10 \\leq t \\leq 32$. Suppose there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 2$ such that $t = 4a + 6b$. Define $B$ to be the number of such integers $t$.\n\nLet $C$ be the number of positive integers $n$ such that $1 \\leq n \\leq 20223$, $7$ divides $n$, and $\\gcd(n, B) = 1$.\n\nCompute the remainder when $11^{|A|} + C$ is divided by $99991$.", "answer": 33512, "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=10)), Leq(left=Var(name='t'), right=Const(value=32)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"upper\": Const(58081),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20223)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/C5/ENDING_two_stage_modexp"], "recipe_id": "435b02", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "ENDING_two_stage_modexp", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 8.227, "created_at": "2026-02-08T03:53:01.253714Z", "verification": {"verified": true, "answer": 33512, "timestamp": "2026-02-08T03:53:09.480790Z"}, "problem_hash": "90374d", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "C5": "ok_later", "ENDING_two_stage_modexp": "ok_later", "DS2": "no", "K17": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "b3c3fc", "alias": "algebra_poly_eval_v1_677425708_598", "problem": "Let $S$ be the set of all integers $n$ such that $2 \\leq n \\leq 3$ and $n$ is prime. Define\n$$\ny = \\sum_{k=1}^{\\max(S)} \\varphi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor,\n$$\nwhere $\\varphi$ denotes Euler's totient function. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 25$. Define $s$ to be the minimum value of $x + y$ over all such pairs in $T$. Compute the remainder when \n$$\n6y^4 - y^3 - 6y^2 - s \\cdot y + 2\n$$\nis divided by $86353$.", "answer": 67996, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(86353),\n \"_m\": Const(6),\n \"_n\": Const(41495),\n \"y\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"result\": Sum(Mul(Ref(\"_m\"), Pow(Ref(\"y\"), Const(4))), Mul(Const(-1), Pow(Ref(\"y\"), Const(3))), Mul(Const(-6), Pow(Ref(\"y\"), Const(2))), Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"y\")), Const(2)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2", "B3"], "recipe_id": "dbe43c", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:36:34.472473Z", "verification": {"verified": true, "answer": 67996, "timestamp": "2026-02-08T03:36:34.478786Z"}, "problem_hash": "b2fce4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7286, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 1042}, "timestamp": "2026-02-08T20:48:37.501Z"}], "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "K2": "ok_later", "DS2": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "033839", "alias": "nt_sum_phi_v1_151522320_60", "problem": "Let $k$ be the largest integer such that $13^k$ divides the product of $78049830691762371033908575156622715083471375128470017466832405375575492801853821011766762338803595010296359895153559501366652664295690280682336234170025387893695590250670867228563741776146619941636929312010740149449039612416799482658694406393937924204246457521573656049059242484384475997067273924970559524331522787863536607172350063687324273111543836839169811656297288300400929372471145664903327151780012620794965826881320722287206926091197196558092312800851768813791519168873280304987040319044863785427606489142934092965635400838701367403339753434965562002204505096586559012202721365999812194082349970836496607457291823755041358296188432807395573958044439134572623583501832668653510998263650720201065995072936848946186143420593419386911910730851473035059318935879348506379909446157616704514979233485226117681661130139054596031836845114662104245696340940961099039626388657045957092341491017194343585279975498807498949191780655216666035936801450772672384296604196443668287805072294879733355363412433060358652812383496321720818527272888520847417070421195534698051309026771489105887401582312062969$. Let $m$ be the number of pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = k$. Compute the sum of $\\phi(n)$ for all positive integers $n \\leq m$, where $\\phi$ is Euler's totient function. Find the remainder when $90079$ times this sum is divided by $2$.", "answer": 54482, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65000),\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\")), MaxKDivides(target=Mul(Const(13137654881719944549844207353704004923526887094237548816639263081829368261926934712559817176557936487217301165986189172047192267281834346707639625158410991859693685642635574293418938256592913042755411161215839935443062897716113124831831743452661335058575030910250329), Const(78049830691762371033908575156622715083471375128470017466832405375575492801853821011766762338803595010296359895153559501366652664295690280682336234170025387893695590250670867228563741776146619941636929312010740149449039612416799482658694406393937924204246457521573656049059242484384475997067273924970559524331522787863536607172350063687324273111543836839169811656297288300400929372471145664903327151780012620794965826881320722287206926091197196558092312800851768813791519168873280304987040319044863785427606489142934092965635400838701367403339753434965562002204505096586559012202721365999812194082349970836496607457291823755041358296188432807395573958044439134572623583501832668653510998263650720201065995072936848946186143420593419386911910730851473035059318935879348506379909446157616704514979233485226117681661130139054596031836845114662104245696340940961099039626388657045957092341491017194343585279975498807498949191780655216666035936801450772672384296604196443668287805072294879733355363412433060358652812383496321720818527272888520847417070421195534698051309026771489105887401582312062969)), base=Const(13)))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(90079),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/COMB1"], "recipe_id": "abe802", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.045, "created_at": "2026-02-08T02:56:29.362901Z", "verification": {"verified": true, "answer": 54482, "timestamp": "2026-02-08T02:56:29.408091Z"}, "problem_hash": "147582", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 582, "completion_tokens": 1832}, "timestamp": "2026-02-08T22:21:06.513Z"}], "lemma_applicability": {"K13": "ok", "COMB1": "ok_later", "K5": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "36da99", "alias": "nt_count_digit_sum_v1_153355830_251", "problem": "Let $m = 19$. Let $n$ be the largest integer $k$ such that $m^k$ divides $$\n 30034640110980377619945846078500632729311721 \\times 37589973457545958193355601.\n$$ Let $T$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Compute the number of positive integers $n'$ with $1 \\leq n' \\leq 361201$ such that the sum of the decimal digits of $n'$ is equal to $T$.", "answer": 19131, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(19),\n \"_n\": MaxKDivides(target=Mul(Const(30034640110980377619945846078500632729311721), Const(37589973457545958193355601)), base=Ref(\"_m\")),\n \"upper\": Const(361201),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/COMB1"], "recipe_id": "abe802", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 13.235, "created_at": "2026-02-08T02:58:53.842105Z", "verification": {"verified": true, "answer": 19131, "timestamp": "2026-02-08T02:59:07.076626Z"}, "problem_hash": "1d8ab1", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "COMB1": "ok_later", "K15": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V1": "no"}} -{"id": "be0795", "alias": "nt_num_divisors_compute_v1_1742523217_4377", "problem": "Let $n = 19044$. Let $r$ be the number of positive divisors of $n$. Compute the sum $\\sum_{k=1}^{|r|} d(k)$, where $d(k)$ denotes the number of positive divisors of $k$. Find the value of this sum.", "answer": 95, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(19044),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["ONE_PHI_1", "ONE_PHI_2", "L3C"], "recipe_id": "d29995", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T07:14:02.640250Z", "verification": {"verified": true, "answer": 95, "timestamp": "2026-02-08T07:14:02.665862Z"}, "problem_hash": "9bd36b", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "COUNT_PRIMES": "no", "K16": "no", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}} -{"id": "e3a760", "alias": "nt_min_phi_inverse_v1_1125832087_2319", "problem": "Let $N$ be the number of integers $t$ such that $20\\le t\\le 6702$ and there exist integers $a$ and $b$ with $1\\le a\\le 1019$ and $1\\le b\\le 42$ satisfying\n$$t=6a+14b.$$\nLet $u$ be the smallest integer with $1\\le u\\le 70$ and $\\varphi(u)=20$, where $\\varphi$ denotes Euler's totient function.\n\nLet $M$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=9261000,\\quad \\gcd(p,q)=1,\\quad p s$, $n \\leq u$, and $\\gcd(n, 178) = 1$. Find the value of $r$.", "answer": 6767, "graph": "graphs = [\n Graph(\n let={\n \"start\": SumOverDivisors(n=Const(value=6765), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(625770)), Divides(divisor=Const(90), dividend=Var(\"k\"))), domain='positive_integers'))), Leq(Pow(Var(\"j\"), Const(2)), Const(48344209))), domain='positive_integers')),\n \"modulus\": Const(178),\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": "C2", "lemma_paths": ["C2/C3", "K3"], "recipe_id": "59f91d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "C3", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.03, "created_at": "2026-02-08T08:18:21.632185Z", "verification": {"verified": true, "answer": 6767, "timestamp": "2026-02-08T08:18:21.662261Z"}, "problem_hash": "8d6147", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "K3": "ok", "C3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "MOD_FACTORIAL": "no"}} -{"id": "cb10e8", "alias": "nt_euler_phi_compute_v1_1742523217_2093", "problem": "Let $m = 137$. Let $n$ be the largest prime number less than or equal to 138 that is at least 2. Define $a_1$ to be the sum of all positive integers at most $m$ that are divisible by $n$. Let $b_1 = 86$. Define $m'$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a_1, b_1)$, where $\\mu$ is the M\\\"obius function. Let $a = 147$, $b = 104$, and define $c$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$. Let $n' = 47961 \\cdot m' \\cdot c$. Compute $\\varphi(n')$, where $\\varphi$ denotes Euler's totient function.", "answer": 31536, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(137),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(138)), IsPrime(Var(\"n\"))))),\n \"a1\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"b1\": Const(86),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(147),\n \"b\": Const(104),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(47961), Ref(\"m\"), Ref(\"c\")),\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/SUM_DIVISIBLE/MOBIUS_COPRIME"], "recipe_id": "497121", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T04:27:46.607899Z", "verification": {"verified": true, "answer": 31536, "timestamp": "2026-02-08T04:27:46.613276Z"}, "problem_hash": "141532", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "SUM_DIVISIBLE": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K15": "no", "K17": "no", "V7": "no"}} -{"id": "f932af", "alias": "algebra_vieta_sum_v1_1874849503_453", "problem": "Let $S$ be the set of all real numbers $x$ such that $x^2 + 11x + 10 = 0$. Compute the product of all elements of $S$. Determine the value of this product.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(Const(value=11), Var(name='x')), Const(value=10)), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "BINOMIAL_ALTERNATING"], "recipe_id": "2013ff", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.072, "created_at": "2026-02-08T13:03:59.596424Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T13:03:59.668224Z"}, "problem_hash": "58a5e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 366}, "timestamp": "2026-02-09T17:06:58.619Z"}], "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "ced87c", "alias": "comb_catalan_compute_v1_151522320_706", "problem": "Let $N$ be the number of integers $t$ such that $11 \\leq t \\leq 6126$ and $t = 4a + 7b$ for some positive integers $a$ and $b$ with $1 \\leq a \\leq 1150$ and $1 \\leq b \\leq 218$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = N$. Let $R = C_{10}$, where $C_n$ denotes the $n$th Catalan number. Compute the remainder when $c \\cdot R$ is divided by $83271$.", "answer": 82610, "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=1150)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=218)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=6126)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"n\": Const(10),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83271)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/ENDING_affine_mod"], "recipe_id": "3b3567", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "ENDING_affine_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:27:52.517707Z", "verification": {"verified": true, "answer": 82610, "timestamp": "2026-02-08T03:27:52.521803Z"}, "problem_hash": "0d262e", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "COMB1": "ok_later", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "cc78fd", "alias": "nt_count_coprime_v1_677425708_1125", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 65536$ and $\\gcd(n, 4) = 1$. Compute the remainder when $2401 - |S|$ is divided by $65437$.", "answer": 35070, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65536),\n \"k\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Sub(Const(2401), Ref(\"result\")), modulus=Const(65437)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/C3/ENDING_negation_mod"], "recipe_id": "ccc297", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "ENDING_negation_mod"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 7.103, "created_at": "2026-02-08T04:00:17.601779Z", "verification": {"verified": true, "answer": 35070, "timestamp": "2026-02-08T04:00:24.705226Z"}, "problem_hash": "1ecb88", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 35070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 651}, "timestamp": "2026-02-09T15:57:21.298Z"}], "lemma_applicability": {"C3": "ok", "ENDING_negation_mod": "ok_later", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "35317d", "alias": "comb_count_surjections_v1_1125832087_639", "problem": "Let $m = 22$. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $n_0$ be the number of elements in $S$.\n\nLet $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 9$ such that $i + j = n_0$.\n\nLet $k$ be the number of ordered pairs $(a, b)$ where $a \\in \\{1, 2\\}$ and $b \\in \\{1, 2\\}$.\n\nCompute the value of $k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind.", "answer": 40824, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"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(9)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "bf5531", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T03:10:56.406129Z", "verification": {"verified": true, "answer": 40824, "timestamp": "2026-02-08T03:10:56.418290Z"}, "problem_hash": "0a1313", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "faf1fc", "alias": "antilemma_coprime_grid_v1_1520064083_3546", "problem": "Let $n = 13$. Define $S$ as the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 36$ and $1 \\le j \\le 60$, and\n\\[\n\\gcd(i,j) = \\sum_{d \\mid \\gcd\\left(2^{k}, n\\right)} \\mu(d),\n\\]\nwhere $k$ is the largest integer such that $2^k$ divides $\\binom{4265}{1706}$, and $\\mu$ denotes the Möbius function.\n\nLet $x$ be the number of elements in $S$. Compute the remainder when $44121x$ is divided by $86258$.", "answer": 15570, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13),\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=MaxKDivides(target=Binom(n=Const(value=4265), k=Const(value=1706)), base=Const(value=2)), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(36)), right=IntegerRange(start=Const(1), end=Const(60))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(86258)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["V7/MOBIUS_COPRIME/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "330195", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:44:06.976218Z", "verification": {"verified": true, "answer": 15570, "timestamp": "2026-02-08T05:44:06.977431Z"}, "problem_hash": "363419", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V7": "ok", "MOBIUS_COPRIME": "ok_later", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "306cd3", "alias": "nt_count_gcd_equals_v1_1248542787_55", "problem": "Let $a = 7$ and $b = 8$. Define $n_1 = ab + 1$. Let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $p = 37$, $n = p^2$, and $u = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Define $k = (377 + e) \\cdot u$ and $d = 29$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 41616$ and $\\gcd(n, k) = d$. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 94$. Compute $c - |A|$.", "answer": 884, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(7),\n \"b\": Const(8),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(37),\n \"n\": Pow(Ref(\"p\"), Const(2)),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(41616),\n \"k\": Mul(Sum(Const(377), Ref(\"e\")), Ref(\"u\")),\n \"d\": Const(29),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(94)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_negation_mod", "DIVISOR_PARITY", "LIOUVILLE_ONE"], "recipe_id": "4bf08f", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "DIVISOR_PARITY", "ENDING_negation_mod", "LIOUVILLE_ONE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 3.271, "created_at": "2026-02-08T02:55:49.701745Z", "verification": {"verified": true, "answer": 884, "timestamp": "2026-02-08T02:55:52.973161Z"}, "problem_hash": "8a9095", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 1376}, "timestamp": "2026-02-08T23:55:17.023Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 301, "completion_tokens": 1358}, "timestamp": "2026-02-08T23:15:16.574Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 7240}, "timestamp": "2026-02-08T23:59:16.478Z"}], "lemma_applicability": {"B1": "ok", "DIVISOR_PARITY": "ok", "LIOUVILLE_ONE": "ok", "ENDING_negation_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.12, "hi": 1.77}} -{"id": "9b16fb", "alias": "diophantine_fbi2_min_v1_168721529_928", "problem": "Let $a_1$ be the number of integers $t$ such that there exist positive integers $a$ and $b$ satisfying $1 \\le a \\le 15$, $1 \\le b \\le 22$, $32 \\le t \\le 235$, and $t = 7a + 5b + 20$. Let $b_1$ be the sum of all positive integers $n$ such that $1 \\le n \\le 16$ and $n$ is divisible by 8. Let $t = \\sum_{d \\mid \\gcd(a_1, b_1)} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $k = 64$ and $\\text{upper} = 74$. Define $\\text{result}$ to be the smallest integer $d$ such that $3 \\le d \\le \\text{upper}$, $d$ divides $k$, and $\\frac{k}{d} \\ge 7$. Compute the value of\n$$\nQ = \\sum_{i=0}^{\\text{NumDigits}(|\\text{result}|) - 1} \\left( \\text{Digit}(|\\text{result}|, i) \\cdot (i+1)^2 \\right) + 16 + t.\n$$", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"a1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=22)), Geq(left=Var(name='t'), right=Const(value=32)), Leq(left=Var(name='t'), right=Const(value=235)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=20)))))))),\n \"b1\": 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(8)), Const(0))))),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"k\": Const(64),\n \"upper\": Const(74),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(16), Ref(\"t\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME", "LIN_FORM/MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "99535f", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.037, "created_at": "2026-02-08T13:20:54.799597Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T13:20:54.837009Z"}, "problem_hash": "4a0638", "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": 396, "completion_tokens": 8192}, "timestamp": "2026-02-09T10:54:03.772Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "SUM_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K17": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "b3fc2e", "alias": "nt_count_gcd_equals_v1_1520064083_4584", "problem": "Let $n = 3$, $k = 163$, and $d = 1$. Let $A$ be the set of all positive integers $n$ such that $1 \\le n \\le 23716$ and $\\gcd(n, 163) = 1$. Let $a$ be the number of elements in $A$. Let $c$ be the number of positive integers $j$ such that $j \\le 2$ and $j^3 \\le 8$. Define\n$$\nQ = c + \\sum_{i=0}^{\\lfloor \\log_{10} a \\rfloor} \\left( \\text{the } i\\text{-th digit of } a \\right) \\cdot \\left( i + \\sum_{d \\mid \\gcd(4,9)} \\mu(d) \\right)^2.\n$$\nCompute the value of $Q$.", "answer": 174, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": Const(23716),\n \"k\": Const(163),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(2)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(8))), 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\"), SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), 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": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/ENDING_digits_weighted_mod", "MOBIUS_COPRIME"], "recipe_id": "fb8afe", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_digits_weighted_mod", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.027, "created_at": "2026-02-08T06:20:00.253495Z", "verification": {"verified": true, "answer": 174, "timestamp": "2026-02-08T06:20:03.280443Z"}, "problem_hash": "2e1b7a", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "MOBIUS_COPRIME": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "3040b1", "alias": "nt_count_digit_sum_v1_168721529_1722", "problem": "Let $m = 48$. Let $n$ be the largest prime number such that $2 \\leq n \\leq m$. Let $s$ be the largest integer $k$ such that $n^k$ divides $47^{33}$. Let $N$ be the number of integers $a$ such that $1 \\leq a \\leq 108900$ and the sum of the decimal digits of $a$ is equal to $s$. Compute $N$.", "answer": 1761, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(48),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"upper\": Const(108900),\n \"target_sum\": MaxKDivides(target=Pow(Const(47), Const(33)), base=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(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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14", "ONE_PHI_2"], "recipe_id": "0ab5a0", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.39, "created_at": "2026-02-08T13:53:37.775652Z", "verification": {"verified": true, "answer": 1761, "timestamp": "2026-02-08T13:53:43.165336Z"}, "problem_hash": "a0713b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:49:54.185Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "K14": "ok_later", "C2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "0783cb", "alias": "nt_count_coprime_and_v1_784195855_1197", "problem": "Let $k_1$ be the number of positive integers $k$ such that $1 \\leq k \\leq 288$ and $32$ divides $k$. Let $k_2$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6987750$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq 73683$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute $\\text{result}$.", "answer": 24561, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(288),\n \"upper\": Const(73683),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(1))), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(32), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k2\": 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=6987750)), 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\"), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "ONE_PHI_1", "C2"], "recipe_id": "7f4687", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 8.222, "created_at": "2026-02-08T04:53:59.152959Z", "verification": {"verified": true, "answer": 24561, "timestamp": "2026-02-08T04:54:07.375180Z"}, "problem_hash": "664d9e", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}} -{"id": "e843fc", "alias": "nt_count_squarefree_v1_1742523217_4643", "problem": "Let $n$ be a positive integer. Define the result to be the number of integers $n$ with $1 \\leq n \\leq 36100$ such that $\\mu(n)^2 = 1$, where $\\mu$ denotes the Möbius function. Let $Q$ be the sum of two terms: the first term is the sum over the digits $d_i$ of the absolute value of the result, where each digit at position $i$ (starting from the units place as position 0) is multiplied by $(i+1)^2$, and the second term is the largest integer $k$ such that $11^k$ divides $31372!$. Compute $Q$.", "answer": 3305, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"upper\": Const(36100),\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\": Sum(Summation(var=\"i\", start=Const(0), 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)))), MaxKDivides(target=Factorial(Const(31372)), base=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/ENDING_digits_weighted_mod", "ONE_PHI_1"], "recipe_id": "3a1fd0", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "ONE_PHI_1", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 16.102, "created_at": "2026-02-08T09:00:36.853359Z", "verification": {"verified": true, "answer": 3305, "timestamp": "2026-02-08T09:00:52.955751Z"}, "problem_hash": "78d561", "license": "CC BY 4.0", "lemma_applicability": {"ONE_PHI_1": "ok", "V1": "ok", "ENDING_digits_weighted_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}} -{"id": "49bf4e", "alias": "nt_lcm_compute_v1_1918700295_2695", "problem": "Let $T$ be the set of all integers $t$ such that $20 \\le t \\le 120$ and $t = 14a + 6b$ for some integers $a$ and $b$ with $1 \\le a \\le 3$ and $1 \\le b \\le 13$. Let $k$ be the largest integer such that $7^k$ divides $3219905755813179726837607^{|T|}$. Let $U$ be the set of all integers $t$ such that $5 \\le t \\le 1426$ and $t = 3a + 2b$ for some integers $a$ and $b$ with $1 \\le a \\le 390$ and $1 \\le b \\le 128$. Let $m = |U|$. Let $L$ be the least common multiple of $k$ and $m$. Compute the remainder when $L + \\phi(L + 1) + \\tau(L + 1)$ is divided by $75963$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 27713, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(75963),\n \"a\": MaxKDivides(target=Pow(Const(3219905755813179726837607), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=13)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), base=Ref(\"_m\")),\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=390)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=128)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=1426)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=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)))), 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/K14", "ONE_PHI_1"], "recipe_id": "991ac6", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T08:09:51.367688Z", "verification": {"verified": true, "answer": 27713, "timestamp": "2026-02-08T08:09:51.373224Z"}, "problem_hash": "3f02e5", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "K14": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}} -{"id": "51024f", "alias": "comb_factorial_compute_v1_168721529_1488", "problem": "Let $m = 2$ and let $s = \\sum_{k=1}^{4} k$. Let $n$ be the largest prime number satisfying $m \\leq n \\leq s$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Const(4), expr=Var(\"k\")),\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\": Factorial(Ref(\"n\")),\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/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "b2e31c", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:43:56.051587Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T13:43:56.053820Z"}, "problem_hash": "f64f48", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 175}, "timestamp": "2026-02-09T17:55:39.059Z"}], "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "c7b7ff", "alias": "nt_min_with_divisor_count_v1_677425708_2481", "problem": "Let $S$ be the set of positive integers $t$ such that $14 \\leq t \\leq 330$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 31$, $1 \\leq b \\leq 18$, and $t = 6a + 8b$. Let $d = \\gcd(|S|, 119)$. Let $n_0$ be the smallest positive integer $n$ such that $1 \\leq n \\leq 59049$ and $n$ has exactly 9 positive divisors. Compute $$ \\sum_{i=1}^{k-1} d_i (i+1)^2 + 45796, $$ where $k$ is the number of digits of $n_0$, and $d_i$ is the $i$-th digit of $n_0$ (from the left, starting at $i=1$).", "answer": 45814, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(59049),\n \"div_count\": Const(9),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=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=31)), 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=14)), Leq(left=Var(name='t'), right=Const(value=330)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), b=Const(value=119)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(45796)),\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/MOBIUS_COPRIME/ENDING_digits_weighted_mod"], "recipe_id": "cbf504", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.952, "created_at": "2026-02-08T05:04:25.722232Z", "verification": {"verified": true, "answer": 45814, "timestamp": "2026-02-08T05:04:28.673864Z"}, "problem_hash": "d6be29", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "ENDING_digits_weighted_mod": "ok_later", "MOBIUS_COPRIME": "ok_later", "K13": "no", "L3b": "no", "LTE_SUM": "no", "V5": "no", "V7": "no"}} -{"id": "7207a5", "alias": "comb_binomial_compute_v1_677425708_3266", "problem": "Let $m = 15$. Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 6$, $1 \\leq j \\leq 7$, and $i + j = 8$. Let $k$ be the number of elements in $S$. Define $n_2 = 4$, and let $\\delta_2 = \\sum_{k=0}^{4} (-1)^k \\binom{4}{k}$. Let $u = 3$, and define $n_1 = u + 1 + \\delta_2$. Let $\\delta_1 = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Define $n = m + \\delta_1$. Compute $\\binom{n}{k}$.", "answer": 5005, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"n2\": Const(4),\n \"m\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"u\": Const(3),\n \"n1\": Sum(Ref(\"u\"), Const(1), Ref(\"m\")),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Ref(\"_m\"), Ref(\"w\")),\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(6)), right=IntegerRange(start=Const(1), end=Const(7))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COUNT_SUM_EQUALS", "BINOMIAL_ALTERNATING"], "recipe_id": "73c8a1", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T05:35:58.306739Z", "verification": {"verified": true, "answer": 5005, "timestamp": "2026-02-08T05:35:58.319255Z"}, "problem_hash": "e239e1", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "4f0a20", "alias": "nt_sum_divisors_range_v1_677425708_1966", "problem": "Let $\\_m = 5$ and let $\\_n$ be the largest integer $k$ such that $\\_m^k$ divides $25^{85}$. Let $\\text{result}$ be the sum of the number of positive divisors of each integer from 1 to 11236. Let $M$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = \\_n$. Compute the remainder when $M - \\text{result}$ is divided by 66551.", "answer": 33771, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxKDivides(target=Pow(Const(25), Const(85)), base=Ref(\"_m\")),\n \"upper\": Const(11236),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(66551)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/B1/ENDING_negation_mod"], "recipe_id": "b8c82d", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "K14"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.831, "created_at": "2026-02-08T04:40:46.347417Z", "verification": {"verified": true, "answer": 33771, "timestamp": "2026-02-08T04:40:47.178107Z"}, "problem_hash": "26e3be", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "B1": "ok_later", "ENDING_negation_mod": "ok_later", "K17": "no", "L3c": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V3": "no"}} -{"id": "2b26d6", "alias": "comb_count_partitions_v1_1742523217_2822", "problem": "Let $m = 70$ and let $n = 45$. Define $p(n)$ to be the number of integer partitions of $n$. Let $k$ be the largest integer that can be expressed as $x \\cdot y$, where $x$ and $y$ are positive integers satisfying $x + y = 3^{m}$. Compute the remainder when $k - p(n)$ is divided by $63272$.", "answer": 42310, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70),\n \"_n\": MaxKDivides(target=Pow(Const(9), Ref(\"_m\")), base=Const(3)),\n \"n\": Const(45),\n \"result\": Partition(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(63272)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/B1/ENDING_negation_mod"], "recipe_id": "b8c82d", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "K14"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:24:12.133689Z", "verification": {"verified": true, "answer": 42310, "timestamp": "2026-02-08T05:24:12.135711Z"}, "problem_hash": "b50ca2", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "B1": "ok_later", "ENDING_negation_mod": "ok_later", "C2": "no", "K18": "no", "MOD_ADD": "no", "V1": "no", "V7": "no"}} -{"id": "6b18cc", "alias": "nt_euler_phi_compute_v1_458359167_1914", "problem": "Let $n = 41905$. Let $\\phi(n)$ denote Euler's totient function. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 419904$. Let $m$ be the minimum value of $x + y$ over all such pairs. Compute the remainder when\n$$\n\\phi(n)^2 + \\left( \\sum_{d \\mid 29} \\phi(d) \\right) \\cdot \\phi(n) + m\n$$\nis divided by $93527$.", "answer": 29884, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(93527),\n \"n\": Const(41905),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(SumOverDivisors(n=Const(value=29), var='d', expr=EulerPhi(n=Var(name='d'))), 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(419904)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), 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_quadratic_mod", "K3/ENDING_quadratic_mod"], "recipe_id": "764f19", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ENDING_quadratic_mod", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:55:55.680425Z", "verification": {"verified": true, "answer": 29884, "timestamp": "2026-02-08T04:55:55.682338Z"}, "problem_hash": "08fd94", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K3": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "K14": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8": "no"}} -{"id": "fd4f71", "alias": "antilemma_v7_kummer_1520064083_1645", "problem": "Let $x$ be the largest integer $k$ such that $2^k$ divides $\\binom{180}{72}$. Let $x^2+22x$ be the sum of $x^2$ and $22x$.\n\nLet $M$ be the sum of all positive integers $n$ such that $1\\le n\\le 1134$ and $n\\equiv 0\\pmod{189}$. Let $T$ be the number of positive integers $j$ such that $1\\le j\\le M$ and $j^5\\le 984930291881790849$.\n\nLet\n$$Q = x^2+22x+T.$$\n\nFind the value of $Q$.", "answer": 4017, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(22),\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Binom(n=Const(180), k=Const(72)), base=Ref(\"_n\")),\n \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_m\")), Mul(Ref(\"_c\"), Ref(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1134)), Eq(Mod(value=Var(\"n\"), modulus=Const(189)), Const(0)))))), Leq(Pow(Var(\"j\"), Const(5)), Const(984930291881790849))), domain='positive_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["SUM_DIVISIBLE/C3/ENDING_quadratic_mod", "V7"], "recipe_id": "b2094d", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "ENDING_quadratic_mod", "SUM_DIVISIBLE", "V7"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T04:09:13.399220Z", "verification": {"verified": true, "answer": 4017, "timestamp": "2026-02-08T04:09:13.410605Z"}, "problem_hash": "f36124", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V7": "ok", "C3": "ok_later", "ENDING_quadratic_mod": "ok_later", "COUNT_INTEGER_RANGE": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}} -{"id": "76229d", "alias": "diophantine_product_count_v1_677425708_788", "problem": "Let $m = 15$ and $c = 4$. Define $n$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 139129$. Let $k$ be the number of positive integers $n \\leq 7560$ such that $c$ divides the $n$th Fibonacci number. Define $\\text{upper}$ to be the number of positive integers $n \\leq n$ (using the previously defined $n$) that are coprime to $m$. Determine the value of the number of positive integers $x \\leq \\text{upper}$ such that $x$ divides $k$ and $\\frac{k}{x} \\leq \\text{upper}$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(15),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(139129)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(7560)), Divides(divisor=Ref(\"_c\"), dividend=Fibonacci(arg=Var(name='n')))))),\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=Ref(\"_m\")), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "B3/C4"], "recipe_id": "24faa0", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C4", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.89, "created_at": "2026-02-08T03:43:53.567573Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T03:43:59.457828Z"}, "problem_hash": "cd9aa8", "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": 279, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:16:44.504Z"}], "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok", "C4": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K17": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "f36f16", "alias": "antilemma_cartesian_v1_1125832087_459", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 9, inclusive, and $b$ is an integer from 1 to 14, inclusive. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 4$. Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 28$. Compute the value of $x + \\left( |S| \\bmod |T| \\right)^{|S|}$, and then take the result modulo 57743.", "answer": 127, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(28),\n \"_n\": Const(57743),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(14)))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(4))))), Mod(value=Ref(\"x\"), modulus=CountOverSet(set=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\"))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_mod_exp", "COUNT_CARTESIAN"], "recipe_id": "392991", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_mod_exp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:06:53.569733Z", "verification": {"verified": true, "answer": 127, "timestamp": "2026-02-08T03:06:53.572067Z"}, "problem_hash": "36f16b", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_mod_exp": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}} -{"id": "e95c28", "alias": "antilemma_cartesian_v1_1520064083_3432", "problem": "Let $n = 32$. Let $x$ be the number of ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 12$ and $1 \\leq b \\leq 31$. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and $x_1 + x_2 = n$. Let $y$ be the number of elements in $S$. Compute $x + (2^y \\bmod 97732)$.", "answer": 388, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(31)))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"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\"))))))), modulus=Const(97732))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ENDING_mod_exp", "COUNT_CARTESIAN"], "recipe_id": "392991", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_mod_exp"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:39:08.859716Z", "verification": {"verified": true, "answer": 388, "timestamp": "2026-02-08T05:39:08.860857Z"}, "problem_hash": "1a0840", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_mod_exp": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "5c1c58", "alias": "comb_count_partitions_v1_1742523217_2070", "problem": "Let $N$ be the number of integers $n$ such that $1 \\le n \\le 279$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $P(N)$ denote the number of integer partitions of $N$. Compute the remainder when $97349 \\cdot P(N)$ is divided by $52748$.", "answer": 22921, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97349),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(31)))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=5), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(52748)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/L3C", "MOBIUS_COPRIME"], "recipe_id": "545f7c", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "L3C", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:26:29.799321Z", "verification": {"verified": true, "answer": 22921, "timestamp": "2026-02-08T04:26:29.801661Z"}, "problem_hash": "4b3ce3", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MOBIUS_COPRIME": "ok", "L3C": "ok_later", "K13": "no", "K5": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V3": "no"}} -{"id": "75cffc", "alias": "antilemma_v8_lucas_784195855_2440", "problem": "Let $n = 55295$. Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 55295$ and $\\binom{55295}{j}$ is odd. Let $c$ be the largest prime number less than or equal to $1597$. Compute the remainder when $c - x$ is divided by $80189$.", "answer": 65402, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55295),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(55295)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1597)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(80189)),\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/ENDING_negation_mod", "V8"], "recipe_id": "7c22e8", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:44:45.268186Z", "verification": {"verified": true, "answer": 65402, "timestamp": "2026-02-08T05:44:45.270152Z"}, "problem_hash": "5a7d17", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V8": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "L3b": "no", "V7": "no"}} -{"id": "e77ec6", "alias": "nt_count_coprime_v1_677425708_3573", "problem": "Let $k=45$ and let $N$ be the number of integers $n$ with $1\\le n\\le 46656$ and $\\gcd(n,k)=1$.\n\nLet $A$ be the number of integers $n$ with $1\\le n\\le 10261$ such that\n\\[n\\equiv \\left\\lfloor\\frac{n}{2}\\right\\rfloor \\pmod{7}.\n\\]\nLet $B$ be the number of integers $n$ with $1\\le n\\le A$ such that $5$ divides $F_n$, where $F_n$ denotes the $n$th Fibonacci number.\n\nLet $d$ be the smallest integer with $d\\ge 2$ such that $d$ divides $25060027$.\n\nDefine\n\\[Q\\equiv N\\bmod B + d\\cdot (N\\bmod 337) \\pmod{84825},\\]\nwhere each $\\bmod$ expression denotes the remainder upon division by the specified modulus, and the outermost $\\pmod{84825}$ reduction is taken after performing the indicated sum and product.\n\nFind the value of $Q$.", "answer": 53917, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(337),\n \"_n\": Const(84825),\n \"upper\": Const(46656),\n \"k\": Const(45),\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=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(10261)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))), Divides(divisor=Const(5), dividend=Fibonacci(arg=Var(name='n'))))))), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(25060027))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_m\")))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/COUNT_FIB_DIVISIBLE/ENDING_two_moduli", "MIN_PRIME_FACTOR/ENDING_two_moduli"], "recipe_id": "072f91", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_two_moduli", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 4.37, "created_at": "2026-02-08T05:50:02.624988Z", "verification": {"verified": true, "answer": 53917, "timestamp": "2026-02-08T05:50:06.995090Z"}, "problem_hash": "a498c0", "license": "CC BY 4.0", "lemma_applicability": {"L3C": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "ENDING_two_moduli": "ok_later", "C2": "no", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}} -{"id": "a2ce4c", "alias": "antilemma_v1_legendre_1125832087_1046", "problem": "Let $n = 22$. Define $S$ to be the set of all positive integers $k$ such that $1 \\le k \\le n$ and $\\gcd(k, 21) = 1$. Let $c$ be the number of elements in $S$. Determine the largest integer $x$ such that $c^x$ divides $56797!$.", "answer": 4731, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(22),\n \"x\": MaxKDivides(target=Factorial(Const(56797)), base=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(21)), Const(1)))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/V1", "V1"], "recipe_id": "0b9652", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "V1"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:29:16.237335Z", "verification": {"verified": true, "answer": 4731, "timestamp": "2026-02-08T03:29:16.238255Z"}, "problem_hash": "56dc57", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K14": "no", "K15": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}} -{"id": "18e77f", "alias": "nt_count_coprime_v1_1520064083_1004", "problem": "Let $p = 13$. Define $c$ to be the remainder when $(p-1)! + 1$ is divided by $p$. Let $n = 22$ and define\n$$\nf = \\left( \\sum_{d \\mid n} \\phi(d) \\right) - n,\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $k = 29$ and let $\\mathcal{S}$ be the set of all integers $n$ such that $1 \\leq n \\leq 55696$ and $\\gcd(n, k) = \\phi(1)$. Let $r$ be the number of elements in $\\mathcal{S}$. Compute the remainder when $(24551 + c) \\cdot r$ is divided by $99774 + f$.", "answer": 45008, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(13),\n \"c\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Const(22),\n \"f\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Const(55696),\n \"k\": Const(29),\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 \"Q\": Mod(value=Mul(Sum(Const(24551), Ref(\"c\")), Ref(\"result\")), modulus=Sum(Const(99774), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "WILSON", "ONE_PHI_1"], "recipe_id": "818f09", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "ONE_PHI_1", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 4.898, "created_at": "2026-02-08T03:42:25.147091Z", "verification": {"verified": true, "answer": 45008, "timestamp": "2026-02-08T03:42:30.044835Z"}, "problem_hash": "2dcc54", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "ONE_PHI_1": "ok", "WILSON": "ok", "COUNT_PRIMES": "no", "K16": "no", "K5": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}} -{"id": "0a9209", "alias": "comb_sum_binomial_row_v1_784195855_2750", "problem": "Let $n$ be the number of positive integers at most $72$ that are divisible by $4$ and relatively prime to the sum of all positive multiples of $35$ that are at most $35$. Let $r$ be the number of unordered factorizations $p \\cdot q = 108$ where $p$ and $q$ are positive integers, $p < q$, and $\\gcd(p, q) = 1$. Compute $r^n$.", "answer": 8192, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(35)), Eq(Mod(value=Var(\"n\"), modulus=Const(35)), Const(0)))))), Const(1))))),\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=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'))))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/C5", "COPRIME_PAIRS"], "recipe_id": "53a9c4", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COPRIME_PAIRS", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:57:35.717834Z", "verification": {"verified": true, "answer": 8192, "timestamp": "2026-02-08T05:57:35.721091Z"}, "problem_hash": "0e46fa", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_DIVISIBLE": "ok", "C5": "ok_later", "K14": "no", "K16": "no", "K18": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}} -{"id": "e99eac", "alias": "nt_lcm_compute_v1_124444284_779", "problem": "Let $n$ be the number of positive integers at most $19069$ whose digit sum is odd. Let $a = 1889$, and let $b$ be the sum of all real solutions $x$ to the equation $x^2 - 1912x + n = 0$. Let $r = \\mathrm{lcm}(a, b)$. Compute the remainder when $62149 \\cdot r$ is divided by $82366$.", "answer": 75030, "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(19069)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"a\": Const(1889),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1912), Var(\"x\")), Ref(\"_n\")), Const(0)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(62149),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82366)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/VIETA_SUM"], "recipe_id": "8d11a4", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:30:25.289767Z", "verification": {"verified": true, "answer": 75030, "timestamp": "2026-02-08T03:30:25.291947Z"}, "problem_hash": "df78b1", "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": 207, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:01:18.674Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 75030, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 3655}, "timestamp": "2026-02-09T05:52:01.588Z"}], "lemma_applicability": {"L3B": "ok", "VIETA_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K5": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "ab053c", "alias": "nt_gcd_compute_v1_784195855_710", "problem": "Let $n_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 45$. Define $t$ to be the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$ itself. Let $f$ be the number of prime factors of 1 counted with multiplicity. Let $a = 429894$ and $b = 812022 + t + f$. Let $\\text{result} = \\gcd(a, b)$. Define $Q$ to be the remainder when $91523 \\cdot \\text{result}$ is divided by 50118. Compute $Q$.", "answer": 44832, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(45)), IsPrime(Var(\"n\"))))),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"f\": BigOmega(n=Ref(name='n')),\n \"a\": Const(429894),\n \"b\": Sum(Const(812022), Ref(\"t\"), Ref(\"f\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(91523),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50118)),\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/EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "a77a7a", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T04:33:55.498560Z", "verification": {"verified": true, "answer": 44832, "timestamp": "2026-02-08T04:33:55.500899Z"}, "problem_hash": "f33bac", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok", "EULER_TOTIENT_SUM": "ok_later", "K13": "no", "K5": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no"}} -{"id": "0072ff", "alias": "antilemma_sum_equals_v1_784195855_4984", "problem": "Let $c=36$. Let $m$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1+x_2=c.$$\n\nLet $n$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 72$ and $1\\le j\\le 81$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 17$ and $1\\le j\\le 18$ such that\n$$i+j=m.$$\n\nLet $Q$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1+x_2=n,$$\nminus $x$.\n\nCompute $Q$.", "answer": 2899, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(36),\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=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(81)))),\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(17)), right=IntegerRange(start=Const(1), end=Const(18))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_CARTESIAN/COUNT_SUM_EQUALS", "COUNT_CARTESIAN/COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "cae7bb", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ENDING_negation_mod"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T07:32:41.561236Z", "verification": {"verified": true, "answer": 2899, "timestamp": "2026-02-08T07:32:41.572347Z"}, "problem_hash": "e4daaf", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "4d7ca0", "alias": "diophantine_fbi2_count_v1_1520064083_4709", "problem": "Let $k = 720$. Consider the set of all positive integers $d$ such that $3 \\leq d \\leq 171$, $d$ divides $k$, and $2 \\leq k/d \\leq t$, where $t$ is the number of positive integers $n$ with $1 \\leq n \\leq 2^{36}$, $n \\equiv \\lfloor n/2 \\rfloor \\pmod{7}$, and $n$ odd. Let $c$ be the number of such divisors $d$. Compute $\\sum_{n=1}^{c} \\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37),\n \"k\": Const(720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(171)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxKDivides(target=Mul(Const(43510401967103441382187610899263914996292033744994218261103082572642881352299832350660351638910416470401469159186248679397809320442476177150622685283005091786546462197434889281), Const(33224506909157485882970576468529059510619731375747441199711084811004233984759440456732014200282840394592804793903633591541584261985023427343253776394662187041203488450376272462220631088832616496056333508051161852659063537556607748971153425540833746438137998248642463431544190414021028776030066340786407843252909327500483655477767075022205031877287093123116999614453173829589135347901092038067509516843214510499892391872090485757371475147135097888794227315570251641342702869581526587038225586356819495290168079036250118554146663138699595326002979201336055571543596466978227390616337132608527476225891325821907221238374039211880602014414417098455344437178801698276802743425970250172133456034931385182227231303772851253370204837211878540914871748341343765075546092995964709629685532808311097826774502825091128194625601373180426939122653586147481733474935208420327704481503895018033037293202194521443241684502896828100368079746610691030097909301016460099309716494859581892253515410157460669470866306564419922154330209219479395019965311687419898881464864841857538881795231054930884073686060369890032562139375125318022813284083425754818597178775343070015227577123288887411369742847556310063220384977666175340673988201343213195565542239729004434283831692783316345533749131798036759439606905352681220138205422907844627346212552186587313238562233322924654799119897047435194830835178321847538965723730850516461149157540689121373104895865963544273325482137085762784163971924997769294069781586758099209397926844472568306400094569129112644022413297813717621085474071130991886022174594832919897798896415038214498352764859397587942488100691350159729783590976658416202160327576338382952515972835242442987529)), base=Ref(\"_n\"))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))))))),\n \"Q\": 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": "MIN_PRIME_FACTOR", "lemma_paths": ["K13/L3C"], "recipe_id": "4b8c73", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K13", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.068, "created_at": "2026-02-08T06:24:02.222347Z", "verification": {"verified": true, "answer": 150, "timestamp": "2026-02-08T06:24:02.290715Z"}, "problem_hash": "e8c2c4", "license": "CC BY 4.0", "lemma_applicability": {"K13": "ok", "L3C": "ok_later", "C2": "no", "K14": "no", "MAX_VAL": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "1c9c8b", "alias": "diophantine_fbi2_count_v1_784195855_5223", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 107$ and there exist positive integers $a \\leq 5$, $b \\leq 29$ satisfying $t = 4a + 3b$. Let $n = |T|$. Let $s = \\sum_{k=1}^{3} \\varphi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\varphi$ denotes Euler's totient function. Compute the number of positive divisors $d$ of $480$ such that $d \\geq s$, $d \\leq n$, and $3 \\leq \\frac{480}{d} \\leq 92$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\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=29)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=107)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"k\": Const(480),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\")))))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(92))))),\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/MAX_PRIME_BELOW", "K2"], "recipe_id": "6e9a51", "seed_template_id": "diophantine_fbi2_count_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.01, "created_at": "2026-02-08T07:46:47.548350Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T07:46:47.558182Z"}, "problem_hash": "8de82c", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V7": "no"}} -{"id": "86ee94", "alias": "sequence_lucas_compute_v1_865884756_746", "problem": "Let $n$ be the largest positive divisor of 589 that does not exceed 19. Define $L_n$ to be the $n$-th Lucas number, where $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$. Let $m$ be the smallest divisor of 26741 that is at least 2. Compute the remainder when the Bell number $B_{|L_n|}$ is divided by $m$, and then take the remainder of that result when divided by 62731.", "answer": 53244, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19),\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(589))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(26741))))))), modulus=Const(62731)),\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", "MAX_DIVISOR"], "recipe_id": "28ed76", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T15:35:30.964087Z", "verification": {"verified": true, "answer": 53244, "timestamp": "2026-02-08T15:35:30.966434Z"}, "problem_hash": "81e497", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_bell_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no"}} -{"id": "353774", "alias": "nt_sum_divisors_compute_v1_151522320_339", "problem": "Let $n = 28900$. Compute the sum of all positive divisors of $n$.", "answer": 66619, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(28900),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_ONE", "BIG_OMEGA_ONE"], "recipe_id": "e05740", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T03:09:39.290944Z", "verification": {"verified": true, "answer": 66619, "timestamp": "2026-02-08T03:09:39.297457Z"}, "problem_hash": "23640c", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 66619, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 681}, "timestamp": "2026-02-09T01:38:32.261Z"}], "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "LIOUVILLE_ONE": "ok_later", "K14": "no", "K17": "no", "K18": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "6b99f5", "alias": "antilemma_sum_equals_v1_458359167_2450", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of positive integers such that $i + j = 56$ and $1 \\leq i, j \\leq 56$. Let $A$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 194$. Let $B$ be the number of integers $t$ with $9 \\leq t \\leq 117$ such that $t = 7a + 2b$ for some integers $a$ and $b$ satisfying $1 \\leq a \\leq 11$ and $1 \\leq b \\leq 20$. Compute the remainder when \n\n$$\n353702 \\cdot (|x| \\bmod A) + 329703 \\cdot \\left(|x|^2 + 1 \\bmod 101\\right) + 215534 \\cdot \\left(|x| + 43 \\bmod B\\right)\n$$\n\nis divided by $1009091$, and then compute the remainder when that result is divided by $54092$. Find the value of this final remainder.", "answer": 46200, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54092),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(56)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(56)), right=IntegerRange(start=Const(1), end=Const(56))))),\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(\"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(194))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(43)), 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=20)), 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=7), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))))), modulus=Const(1009091)), 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/ENDING_crt_mix_3", "COMB1/ENDING_crt_mix_3", "COUNT_SUM_EQUALS"], "recipe_id": "24336a", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_crt_mix_3", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T05:25:31.214492Z", "verification": {"verified": true, "answer": 46200, "timestamp": "2026-02-08T05:25:31.228778Z"}, "problem_hash": "5388b0", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "910a4b", "alias": "antilemma_count_primes_v1_1520064083_2868", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Define $n$ to be the number of elements in $P$. Let $M = 14219$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq M$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $u$ be the number of elements in $A$. Define $B$ to be the set of all prime numbers $n$ such that $n \\geq n$ and $n \\leq u$. Compute the number of elements in $B$.", "answer": 413, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14219),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES", "L3C/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "7100af", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "L3C"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:16:45.842273Z", "verification": {"verified": true, "answer": 413, "timestamp": "2026-02-08T05:16:45.844871Z"}, "problem_hash": "e3e282", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "L3C": "ok", "C2": "no", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "097ae3", "alias": "nt_min_with_divisor_count_v1_153355830_939", "problem": "Let $ S $ be the set of all positive integers $ n \\leq 25200 $ that have exactly three positive divisors. Let $ r $ be the smallest element of $ S $. Compute the remainder when $ 40163 \\cdot r $ is divided by $ 83008 $.", "answer": 77644, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(25200),\n \"div_count\": Const(3),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mul(Const(40163), Ref(\"result\")), modulus=Const(83008)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/LTE_SUM"], "recipe_id": "5b1b00", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LTE_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 4.92, "created_at": "2026-02-08T04:16:49.469203Z", "verification": {"verified": true, "answer": 77644, "timestamp": "2026-02-08T04:16:54.389613Z"}, "problem_hash": "2feaf1", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LTE_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3b": "no", "L3c": "no", "V3": "no"}} -{"id": "cd3378", "alias": "nt_min_phi_inverse_v1_548369836_251", "problem": "Let $m = 4$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = m$. For each such pair, compute $x + y$, and let $n$ be the minimum of these sums. Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 180$, $\\gcd(p, q) = 1$, and $p < q$. Define $u = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{P}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Let $r$ be the smallest positive integer $n$ such that $1 \\leq n \\leq u$ and $\\phi(n) = 1$. Compute $68419 \\cdot r$.", "answer": 68419, "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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), 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=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'))))))), Var(\"k\"))))),\n \"k\": Const(1),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"_c\": Const(68419),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/K2", "B3/K2"], "recipe_id": "2bf208", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T02:49:42.140504Z", "verification": {"verified": true, "answer": 68419, "timestamp": "2026-02-08T02:49:42.145844Z"}, "problem_hash": "a598b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 1083}, "timestamp": "2026-02-08T20:17:02.161Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 1347}, "timestamp": "2026-02-09T21:32:33.081Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 612}, "timestamp": "2026-02-09T04:00:01.386Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 1479}, "timestamp": "2026-02-09T11:09:02.359Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-09T10:00:36.805Z"}], "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "K2": "ok_later", "K5": "no", "L3b": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -2.54, "mid": 1.1, "hi": 4.5}} -{"id": "41ae1d", "alias": "nt_euler_phi_compute_v1_677425708_1740", "problem": "Let $g = 9$, $n_2 = 7$, and $p = 7$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $15$. Define $a = g \\cdot d_{\\text{min}}$ and $b = g \\cdot n_2$. Let $h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the Möbius function. Define $n_1 = p^{1+h}$ and let $e$ be the number of distinct prime factors of $n_1$. Let $n = 82944 \\cdot e$. Compute $\\varphi(n)$, where $\\varphi$ denotes Euler's totient function.", "answer": 27648, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"g\": Const(9),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15))))),\n \"n2\": Const(7),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n2\")),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(7),\n \"n1\": Pow(Ref(\"p\"), Sum(Const(1), Ref(\"h\"))),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Const(82944), 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_COPRIME", "OMEGA_ONE"], "recipe_id": "4999b1", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T04:24:36.841281Z", "verification": {"verified": true, "answer": 27648, "timestamp": "2026-02-08T04:24:36.845235Z"}, "problem_hash": "5c3ea6", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V7": "no"}} -{"id": "8a60d8", "alias": "sequence_count_fib_divisible_v1_153355830_1356", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 15625$. Let $n$ be the minimum value of $x + y$ over all such pairs. Define $T$ to be the set of positive integers $k$ such that $1 \\leq k \\leq n$ and $16$ divides $F_k$, where $F_k$ is the $k$th Fibonacci number with $F_1 = F_2 = 1$ and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $m$ be the number of elements in $T$. Let $d$ be the number of decimal digits of $m$, and let $c = 12321$. Compute\n$$\nc + \\sum_{i=0}^{d-1} \\left( \\text{the $i$th digit of $m$} \\right) \\cdot (i+1)^{\\left|\\left\\{ (p, q) \\in \\mathbb{Z}^+ \\times \\mathbb{Z}^+ : pq = 216,\\ \\gcd(p, q) = 1,\\ p < q \\right\\}\\right|}.\n$$", "answer": 12329, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15625),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": Const(12321),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), 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)), 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')))))))))), 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_digits_weighted_mod", "ONE_PHI_1", "B3"], "recipe_id": "97fb35", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "ENDING_digits_weighted_mod", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.035, "created_at": "2026-02-08T06:20:45.395776Z", "verification": {"verified": true, "answer": 12329, "timestamp": "2026-02-08T06:20:45.430486Z"}, "problem_hash": "f9423a", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "ENDING_digits_weighted_mod": "ok_later", "DS2": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V7": "no", "V8": "no"}} -{"id": "745882", "alias": "comb_sum_binomial_row_v1_1742523217_1291", "problem": "Let $n$ be the sum of all integers $k$ from $\\sum_{d \\mid \\gcd(7,11)} \\mu(d)$ to $5$, inclusive. Let $r$ be the value of $\\left( \\sum_{d \\mid 2} \\phi(d) \\right)^n$. Compute $86436 - r$.", "answer": 53668, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(5), expr=Var(\"k\")),\n \"result\": Pow(SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_c\": Const(86436),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "K3"], "recipe_id": "d07224", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:35:51.143135Z", "verification": {"verified": true, "answer": 53668, "timestamp": "2026-02-08T03:35:51.145616Z"}, "problem_hash": "fe0c9b", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V5": "no"}} -{"id": "7ea0dd", "alias": "algebra_poly_eval_v1_865884756_4150", "problem": "Define $m$ as the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 72$, and $\\gcd(p, q) = 1$. Define $n$ as the number of positive integers $p_1$ for which there exists a positive integer $q$ such that $p_1 < q$, $p_1 q = 600$, and $\\gcd(p_1, q) = 1$. Define $a$ as the number of integers $t$ such that $15 \\le t \\le 45$ and there exist integers $a', b'$ with $1 \\le a' \\le 3$, $1 \\le b' \\le 3$, and $t = 9a' + 6b'$. Compute the value of\n$$\nn \\cdot a^{\\sum_{k=1}^{2} \\phi(k) \\cdot \\left\\lfloor \\frac{2}{k} \\right\\rfloor} - 7a^m - 10a - 4.\n$$\nLet this value be $r$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 1020100$. Find the remainder when $c - r$ is divided by $62184$.", "answer": 61949, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(62184),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": 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=600)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=45)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"a\"), Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))))), Mul(Const(-7), Pow(Ref(\"a\"), Ref(\"_m\"))), Mul(Const(-10), Ref(\"a\")), Const(-4)),\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(1020100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS", "B3/ENDING_negation_mod", "COPRIME_PAIRS/B3", "LIN_FORM", "K2"], "recipe_id": "bcc716", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "ENDING_negation_mod", "K2", "LIN_FORM"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.184, "created_at": "2026-02-08T17:45:55.794116Z", "verification": {"verified": true, "answer": 61949, "timestamp": "2026-02-08T17:45:55.977828Z"}, "problem_hash": "5f360c", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "K2": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "K17": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "9de030", "alias": "nt_sum_divisors_compute_v1_458359167_1173", "problem": "Let $n_2$ be the smallest divisor of $19154616739$ that is at least $2$. Let $f = \\lambda(n_2) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n_1 = \\phi(2) + f$, where $\\phi$ is Euler's totient function. Let $v = \\Omega(n_1)$, the number of prime factors of $n_1$ counted with multiplicity. Define $n = 73441 + v$. Compute the sum of all positive divisors of $n$.", "answer": 73713, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73441),\n \"n2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(19154616739))))),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Sum(EulerPhi(n=Const(2)), Ref(\"f\")),\n \"v\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Ref(\"_n\"), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO", "ONE_PHI_2"], "recipe_id": "291fa2", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:26:17.830809Z", "verification": {"verified": true, "answer": 73713, "timestamp": "2026-02-08T04:26:17.832797Z"}, "problem_hash": "e8b634", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF": "no"}} -{"id": "bb28c0", "alias": "modular_min_modexp_v1_1918700295_3112", "problem": "Let $m = 106$. Let $n$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = m$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = n$. Let $k$ be the number of positive integers $n \\leq 1156$ that are relatively prime to 21. Find the smallest positive integer $x \\leq 44$ such that $7^x \\equiv b \\pmod{k}$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(106),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"a\": 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\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1156)), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"upper\": Const(44),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3", "C4"], "recipe_id": "113e02", "seed_template_id": "modular_min_modexp_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "C4"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.067, "created_at": "2026-02-08T08:23:23.934109Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T08:23:24.000684Z"}, "problem_hash": "6f2d99", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "C4": "ok", "B3": "ok_later", "C2": "no", "K14": "no", "K15": "no", "L3b": "no", "MOD_MUL": "no"}} -{"id": "363245", "alias": "nt_gcd_compute_v1_677425708_4269", "problem": "Let $p$ be the number of integers $t$ with $7 \\leq t \\leq 29$ for which there exist positive integers $a \\leq 7$ and $b \\leq 3$ such that $t = 2a + 5b$. Let $q$ be the smallest integer $d \\geq 2$ that divides 3823963. Define $n_1 = p \\cdot q$. Let $u = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 49$ for which there exist positive integers $a \\leq 3$ and $b \\leq 20$ such that $t = 3a + 2b$. Define $v = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $a = 233055$ and $b = 543795 + v$. Let $g = \\gcd(a, b)$. Compute the remainder when $(47883 + u) \\cdot g$ is divided by 83818.", "answer": 31833, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(83818),\n \"_m\": Const(47883),\n \"_n\": Const(2),\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=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'))))))))),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3823963))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"u\": SumOverDivisors(n=Ref(name='n1'), 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=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=20)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=49)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"a\": Const(233055),\n \"b\": Sum(Const(543795), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Sum(Ref(\"_m\"), Ref(\"u\")), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR/MOBIUS_SUM", "LIN_FORM/MOBIUS_SUM"], "recipe_id": "524076", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:31:27.772074Z", "verification": {"verified": true, "answer": 31833, "timestamp": "2026-02-08T06:31:27.776022Z"}, "problem_hash": "02b7b0", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "DS2": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no", "V3": "no"}} -{"id": "66a59a", "alias": "nt_count_gcd_equals_v1_1116507919_200", "problem": "Let $p_1 = 79$, and define $n = p_1^2$. Let $e = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $p = 11$ and define $m$ to be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $\\text{upper}$ be the number of positive integers $n \\leq 15553$ such that the sum of the decimal digits of $n$ is odd. Let $k = 67 + m$ and $d = e$. Compute the number of positive integers $n \\leq \\text{upper}$ such that $\\gcd(n, k) = d$.", "answer": 7661, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(79),\n \"n\": Pow(Ref(\"p1\"), Const(2)),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"p\": Const(11),\n \"m\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15553)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))),\n \"k\": Sum(Const(67), Ref(\"m\")),\n \"d\": Ref(\"e\"),\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_ONE", "lemma_paths": ["LIOUVILLE_ONE", "WILSON", "L3B"], "recipe_id": "918796", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_ONE", "WILSON"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.553, "created_at": "2026-02-08T02:27:45.103315Z", "verification": {"verified": true, "answer": 7661, "timestamp": "2026-02-08T02:27:45.656184Z"}, "problem_hash": "c80879", "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": 266, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:12:56.884Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7661, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 3033}, "timestamp": "2026-02-09T14:19:16.887Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:30:18.133Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7661, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 3034}, "timestamp": "2026-02-09T17:15:11.565Z"}], "lemma_applicability": {"L3B": "ok", "LIOUVILLE_ONE": "ok", "WILSON": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": 3.32, "mid": 6.59, "hi": 9.27}} -{"id": "a04501", "alias": "antilemma_coprime_grid_v1_798873815_342", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 100$. Let $g$ be the minimum value of $x + y$ over all pairs in $S$. Let $n_1$ be the number of integers $t$ with $15 \\leq t \\leq 36$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 3$, $1 \\leq b \\leq 2$, and $t = 6a + 9b$. Let $a = g \\cdot 1$ and $b = g \\cdot n_1$. Let $u$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the M\\\"obius function. Let $w$ be the number of distinct prime factors of $841$. Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 50$ and $1 \\leq j \\leq 126$ such that $\\gcd(i, j) = 1$. Compute the remainder when $44121 \\cdot w \\cdot x$ is divided by $95950 + u$.", "answer": 16807, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"g\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": 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=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=36)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n1\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(841),\n \"w\": SmallOmega(n=Ref(name='n')),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(50)), right=IntegerRange(start=Const(1), end=Const(126))))),\n \"Q\": Mod(value=Mul(Mul(Ref(\"_n\"), Ref(\"w\")), Ref(\"x\")), modulus=Sum(Const(95950), Ref(\"u\"))),\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", "B3/MOBIUS_COPRIME", "COUNT_COPRIME_GRID", "OMEGA_ONE"], "recipe_id": "82a091", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "LIN_FORM", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 5, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T02:36:08.731659Z", "verification": {"verified": true, "answer": 16807, "timestamp": "2026-02-08T02:36:08.735732Z"}, "problem_hash": "ba36ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16807, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 397, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:23:29.784Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16807, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 393, "completion_tokens": 5780}, "timestamp": "2026-02-09T15:54:52.463Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 350, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:34:01.362Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:21:20.418Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16807, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 4497}, "timestamp": "2026-02-09T03:27:52.591Z"}, {"id": 6, "model": "PrimeIntellect/INTELLECT-3", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:02:36.374Z"}], "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.98, "mid": 4.17, "hi": 7.3}} -{"id": "e7935c", "alias": "comb_binomial_compute_v1_168721529_277", "problem": "Let $S$ be the set of all integers $t$ such that $5 \\leq t \\leq 29$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 7$, and $t = 2a + 3b$. Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq |S|$ and $\\gcd(n, 15) = 1$. Compute $\\binom{m}{7}$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(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=7)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"k\": Const(7),\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/C4", "ONE_PHI_1"], "recipe_id": "170cae", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T12:56:40.559626Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T12:56:40.568507Z"}, "problem_hash": "980ebe", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:11:17.420Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 3805}, "timestamp": "2026-02-09T15:03:49.115Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "C4": "ok_later", "DS2": "no", "K13": "no", "LTE_DIFF": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.37, "mid": 4.19, "hi": 8.01}} -{"id": "e83d26", "alias": "antilemma_v1_legendre_784195855_3417", "problem": "Let $n = 15000$ and $m = 3$. Let $x$ be the largest integer $k$ such that $3^k$ divides $15000!$. Let $S$ be the sum of the squares of the positions (starting from 1) of the nonzero digits in the base-10 representation of $|x|$, where the position is counted from the rightmost digit (units digit is position 1). Add to $S$ the number of positive integers $n \\leq 28985$ such that $5$ divides $n$ and $\\gcd(n, 14) = 1$. Compute the resulting value.", "answer": 2674, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(15000),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\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(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(28985)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_digits_weighted_mod", "V1"], "recipe_id": "7fd959", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "ENDING_digits_weighted_mod", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:25:28.413372Z", "verification": {"verified": true, "answer": 2674, "timestamp": "2026-02-08T06:25:28.415026Z"}, "problem_hash": "c09e11", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "V1": "ok", "ENDING_digits_weighted_mod": "ok_later", "K5": "same_pattern_wrong", "K17": "no", "K18": "no", "L3b": "no", "V7": "no", "V8": "no"}} -{"id": "eb9695", "alias": "nt_euler_phi_compute_v1_1248542787_407", "problem": "Let $n_2$ be the number of integers $t$ such that $9 \\leq t \\leq 2271$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 99$, $1 \\leq b \\leq 789$, and $t = 7a + 2b$. Let $m = \\sum_{d\\mid n_2} \\phi(d) - n_2$, where $\\phi$ is Euler's totient function. Let $s = \\Omega(1)$, the number of prime factors of 1 counted with multiplicity. Let $n = 75625$ and $c = 53105 + m + s$. Let $Q = (c \\cdot \\phi(n)) \\mod 74154$. Find the value of $Q$.", "answer": 71402, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53105),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=99)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=789)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=2271)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"n\": Const(75625),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Sum(Ref(\"_n\"), Ref(\"m\"), Ref(\"s\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(74154)),\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/EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "e5e86b", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:06:54.923536Z", "verification": {"verified": true, "answer": 71402, "timestamp": "2026-02-08T03:06:54.926181Z"}, "problem_hash": "5f8d92", "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": 295, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:51:33.656Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 71402, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 3903}, "timestamp": "2026-02-09T16:16:03.453Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:40:59.450Z"}], "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "093f20", "alias": "comb_binomial_compute_v1_1520064083_1225", "problem": "Let $m = 14$ and $n = 7$. Let $n_1$ be the number of positive integers $j$ such that $1 \\leq j \\leq 14$ and $j^3 \\leq 2744$. Let $k$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 7$ such that $i + j = 7$. Compute $\\binom{n_1}{k}$.", "answer": 3003, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": Const(7),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_m\")), Leq(Pow(Var(\"j\"), Const(3)), Const(2744))), domain='positive_integers')),\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(7)), right=IntegerRange(start=Const(1), end=Const(7))))),\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": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS", "C3"], "recipe_id": "33c42c", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T03:50:54.302669Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T03:50:54.319944Z"}, "problem_hash": "d12e69", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "15b104", "alias": "nt_sum_divisors_mod_v1_784195855_3984", "problem": "Let $p = 3$ and $q = 19$. Define $n_2 = pq$ and $w = \\mu(n_2)^2$, where $\\mu$ is the Möbius function. Let $h = \\lambda(29) + 1$, where $\\lambda$ is the Liouville function. Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 359$ and $\\gcd(k, 12) = 1$, plus $h$. Let $M = 11681 \\cdot w$ and let $\\sigma = \\sum_{d \\mid n} d$. Let $r$ be the remainder when $\\sigma$ is divided by $M$. Compute $2209 - r$.", "answer": 1849, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(3),\n \"q\": Const(19),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"w\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(29),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(359)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))), Ref(\"h\")),\n \"M\": Mul(Const(11681), Ref(\"w\")),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sub(Const(2209), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "29c141", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C4", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T06:43:46.421777Z", "verification": {"verified": true, "answer": 1849, "timestamp": "2026-02-08T06:43:46.425428Z"}, "problem_hash": "a15ee7", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MOBIUS_SQUAREFREE": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K15": "no", "K5": "no", "LTE_SUM": "no", "V3": "no", "VAL_SUM_EQ": "no"}} -{"id": "86ac10", "alias": "diophantine_sum_product_min_v1_1520064083_490", "problem": "Let $S = 89$ and $P = 790$. Consider the set of all positive integers $x$ such that $1 \\leq x \\leq 88$ and $x(S - x) = P$. Let $r$ be the smallest such $x$. Compute the remainder when the Bell number $B_{|r| \\bmod 11}$ is divided by $79712$.", "answer": 36263, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(89),\n \"P\": Const(790),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(88)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))), modulus=Const(79712)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/LIN_FORM"], "recipe_id": "565f4a", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.112, "created_at": "2026-02-08T03:26:39.838142Z", "verification": {"verified": true, "answer": 36263, "timestamp": "2026-02-08T03:26:39.949780Z"}, "problem_hash": "6c0037", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "101b44", "alias": "antilemma_v7_kummer_1742523217_4519", "problem": "Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 32$. Let $N$ be the binomial coefficient $\\binom{\\sum S}{64}$. Compute the largest integer $k$ such that $2^k$ divides $N$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(32)), IsPrime(Var(\"n\"))))), k=Const(64)), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["SUM_PRIMES/V7", "V7"], "recipe_id": "9b1966", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 6, "lemma_set": ["SUM_PRIMES", "V7"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T08:53:36.396491Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T08:53:36.397880Z"}, "problem_hash": "df94e7", "license": "CC BY 4.0", "lemma_applicability": {"SUM_PRIMES": "ok", "V7": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "L3c": "no", "V8_SUM": "no"}} -{"id": "ef778d", "alias": "nt_count_intersection_v1_1520064083_4226", "problem": "Let $N = 10000$. Consider the set of all positive integers $n$ such that $1 \\le n \\le N$, $5$ divides $n$, and $\\gcd(n, 6) = 1$. Let $k$ be the number of such integers.\n\nLet $r = |k| \\bmod 11$, so $r$ is the remainder when $k$ is divided by 11.\n\nThe Bell number $B_r$ is the number of partitions of a set of $r$ elements. Compute $B_r$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(10000),\n \"a\": Const(5),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": 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": ["SUM_ARITHMETIC/MAX_DIVISOR/MAX_PRIME_BELOW"], "recipe_id": "0838ee", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 8.073, "created_at": "2026-02-08T06:09:00.959694Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T06:09:09.032645Z"}, "problem_hash": "0b3c7d", "license": "CC BY 4.0", "lemma_applicability": {"SUM_ARITHMETIC": "ok", "MAX_DIVISOR": "ok_later", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "K16": "no", "LTE_SUM": "no", "V1": "no", "V3": "no"}} -{"id": "aa8380", "alias": "antilemma_product_of_sums_v1_151522320_692", "problem": "Let $S_1$ be the sum of $k$ over all ordered pairs $(k, j)$ with $1 \\leq k \\leq 8$ and $1 \\leq j \\leq 4$. Let $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 4$. Let $x = S_1 \\cdot S_2$. Let $C$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 50$ and $1 \\leq j \\leq 144$ such that $\\gcd(i, j) = 1$. Compute the remainder when $C \\cdot x$ is divided by $94212$.", "answer": 92232, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94212),\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(8)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(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(50)), right=IntegerRange(start=Const(1), end=Const(144))))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_affine_mod", "PRODUCT_OF_SUMS"], "recipe_id": "f0b125", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_affine_mod", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:27:40.820374Z", "verification": {"verified": true, "answer": 92232, "timestamp": "2026-02-08T03:27:40.823006Z"}, "problem_hash": "94286c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "PRODUCT_OF_SUMS": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}} -{"id": "f27848", "alias": "nt_max_prime_below_v1_1520064083_1288", "problem": "Let $n_1$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(11, 13)$, and let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$. Let $n = 5^3$ and $m = \\lambda(n) + 1$, where $\\lambda(n)$ is the Liouville function. Define $u = 11449 \\cdot s + m$. Let $p$ be the largest prime number less than or equal to $u$. Find the remainder when $44121 \\cdot p$ is divided by $61931$.", "answer": 5782, "graph": "graphs = [\n Graph(\n let={\n \"n1\": SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"s\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(5),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Mul(Const(11449), Ref(\"s\")), Ref(\"m\")),\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=Mul(Const(44121), Ref(\"result\")), modulus=Const(61931)),\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", "MOBIUS_SUM"], "recipe_id": "883872", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.267, "created_at": "2026-02-08T03:54:40.038874Z", "verification": {"verified": true, "answer": 5782, "timestamp": "2026-02-08T03:54:40.305693Z"}, "problem_hash": "45b20c", "license": "CC BY 4.0", "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "C2": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}} -{"id": "3e8c48", "alias": "nt_count_with_divisor_count_v1_1742523217_3979", "problem": "Let $p = 41$ and $n_1 = p^2$. Define $s = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function. Let $v = \\omega(1)$, the number of distinct prime factors of $1$. Define $d = 14s + v$. Let $n$ be the number of positive integers at most $5869$ that have exactly $d$ positive divisors. Let $c$ be the number of positive integers $j \\leq 5329$ such that $j^2 \\leq 28398241$. Compute the remainder when $11^n + c$ is divided by $99991$.", "answer": 93903, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(41),\n \"n1\": Pow(Ref(\"p\"), Const(2)),\n \"s\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(5869),\n \"div_count\": Sum(Mul(Const(14), Ref(\"s\")), Ref(\"v\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(5329)), Leq(Pow(Var(\"j\"), Const(2)), Const(28398241))), domain='positive_integers')),\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": "C3", "lemma_paths": ["C3/ENDING_two_stage_modexp", "LIOUVILLE_ONE", "OMEGA_ZERO"], "recipe_id": "5f531d", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C3", "ENDING_two_stage_modexp", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.239, "created_at": "2026-02-08T06:10:14.018521Z", "verification": {"verified": true, "answer": 93903, "timestamp": "2026-02-08T06:10:14.257460Z"}, "problem_hash": "a158de", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "LIOUVILLE_ONE": "ok", "OMEGA_ZERO": "ok", "ENDING_two_stage_modexp": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no"}} -{"id": "7a5cfd", "alias": "nt_sum_totient_over_divisors_v1_1520064083_624", "problem": "Let $m = 150$ and let $n$ be the largest integer such that $7^n$ divides $\\binom{150}{60}$. Define $N = 3298405373425259607612126134261475101689362001024197807662624517517639999039318430122489705670876658586191836853742515309796994372961355114600256703073105446567663412240797298429510469622379684047677320627272316853312544849439294149072316235192852913943993269545876245371820851194149985895112626887105465598514543051811148346637181128888656458006145788379647701072094435487919824999644248566817941905406544442294272 \\times 56793525161155202816571568684417748713714735423455699439036840876061183961106779848519450541221971148846197521860802533035113199779295201587377250136812215017674718082126461770355461634050680679156132804153181503055887000364898773073092113457321052463507377298567903628104742808774016858979559762609087064772686791803998245073019771910512062420558963022665219796685791653320162074198581663533280205630289549117345098452637017993218315108083185745849299369869406261184884477584111005849246726342702338805147376039690353946173661365810114758356482903386460932770616537562312978533168059564108322081973806621584578293519638446087651249924211114075563600410818100745784412088864984362966072239799284145676843124905437474506168286373828763782582637592920855941872213367094899638272$, and let $k$ be the largest integer such that $n^k$ divides $N$. Compute $\\sum_{d \\mid k} \\phi(d)$.", "answer": 3954, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(150),\n \"_n\": MaxKDivides(target=Binom(n=Ref(\"_m\"), k=Const(60)), base=Const(7)),\n \"n\": MaxKDivides(target=Mul(Const(3298405373425259607612126134261475101689362001024197807662624517517639999039318430122489705670876658586191836853742515309796994372961355114600256703073105446567663412240797298429510469622379684047677320627272316853312544849439294149072316235192852913943993269545876245371820851194149985895112626887105465598514543051811148346637181128888656458006145788379647701072094435487919824999644248566817941905406544442294272), Const(56793525161155202816571568684417748713714735423455699439036840876061183961106779848519450541221971148846197521860802533035113199779295201587377250136812215017674718082126461770355461634050680679156132804153181503055887000364898773073092113457321052463507377298567903628104742808774016858979559762609087064772686791803998245073019771910512062420558963022665219796685791653320162074198581663533280205630289549117345098452637017993218315108083185745849299369869406261184884477584111005849246726342702338805147376039690353946173661365810114758356482903386460932770616537562312978533168059564108322081973806621584578293519638446087651249924211114075563600410818100745784412088864984362966072239799284145676843124905437474506168286373828763782582637592920855941872213367094899638272)), base=Ref(\"_n\")),\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": "V7", "lemma_paths": ["V7/K13"], "recipe_id": "a3c267", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "V7"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:30:05.594899Z", "verification": {"verified": true, "answer": 3954, "timestamp": "2026-02-08T03:30:05.596320Z"}, "problem_hash": "ddbbcb", "license": "CC BY 4.0", "lemma_applicability": {"V7": "ok", "K13": "ok_later", "K14": "no", "K16": "no", "K17": "no", "K5": "no", "MOD_SUB": "no"}} -{"id": "fd4769", "alias": "algebra_poly_eval_v1_168721529_1284", "problem": "Let $A$ be the set of all positive integers $n$ with $1 \\leq n \\leq 5$ such that the sum of the digits of $n$ is even. Let $k$ be the number of elements in $A$, and let $m = 16$. Compute the quantity\n$$\nr = k \\cdot m^2 + 4m - 10.\n$$\nLet $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 110$, and let $M$ be the maximum value of $xy$ over all such pairs. Find the remainder when $r^2 + 10r + M$ is divided by $74024$.", "answer": 32945, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"m\": Const(16),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"m\"), Ref(\"_m\"))), Mul(Const(4), Ref(\"m\")), Const(-10)),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(10), 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\")), Const(110)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), modulus=Const(74024)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/ENDING_quadratic_mod", "L3B/B1"], "recipe_id": "2de90d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "L3B"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T13:33:52.635533Z", "verification": {"verified": true, "answer": 32945, "timestamp": "2026-02-08T13:33:52.643177Z"}, "problem_hash": "783116", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:14:57.274Z"}], "lemma_applicability": {"B1": "ok", "L3B": "ok", "ENDING_quadratic_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "e8cedf", "alias": "comb_count_derangements_v1_153355830_2922", "problem": "Let $m = \\sum_{k=1}^{10} \\phi(k) \\left\\lfloor \\frac{10}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $N$ be the number of positive integers $k$ such that $1 \\leq k \\leq 207515$ and $m$ divides $k$. Let $n$ be the smallest integer $n \\geq 2$ that divides $N$. Compute the number of derangements of $n$ elements, denoted $!n$. ", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10),\n \"_m\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(10), Var(\"k\"))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(207515)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/C2/MIN_PRIME_FACTOR"], "recipe_id": "906e56", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "K2", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:28:40.017913Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T07:28:40.019944Z"}, "problem_hash": "44316d", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "C2": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "MOD_FACTORIAL": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "e241a7", "alias": "comb_sum_binomial_row_v1_1874849503_446", "problem": "Let $d_0$ be the greatest common divisor of $19$ and the smallest divisor of $93347$ that is at least $2$. Let $s$ be the sum of the M\\\"obius function $\\mu(d)$ over all positive divisors $d$ of $d_0$. Let $N = 2^{13}$. Compute the remainder when $$\\sum_{n = |s|}^{N} \\phi(n)$$ is divided by $52728$.", "answer": 48602, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(13),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=Const(value=93347))))), b=Const(value=19)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(52728)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_sum_totient"], "recipe_id": "597a8b", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_sum_totient", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.419, "created_at": "2026-02-08T13:03:56.964134Z", "verification": {"verified": true, "answer": 48602, "timestamp": "2026-02-08T13:03:57.383521Z"}, "problem_hash": "70ff13", "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": 211, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:05:21.572Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_sum_totient": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "69806f", "alias": "nt_euler_phi_compute_v1_458359167_1111", "problem": "Let $d_0$ be the smallest integer $d \\geq 2$ that divides $245$. Let $m = \\sum_{d \\mid \\gcd(3, d_0)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $n = 44521$ and let $r = \\phi(n)$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $\\sum_{k=m}^{|r|} \\phi(k)$ is divided by $60946$.", "answer": 18630, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(44521),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=3), b=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=Const(value=245)))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(60946)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_sum_totient"], "recipe_id": "597a8b", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_sum_totient", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.486, "created_at": "2026-02-08T04:23:10.477363Z", "verification": {"verified": true, "answer": 18630, "timestamp": "2026-02-08T04:23:12.962893Z"}, "problem_hash": "523c6d", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_sum_totient": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K5": "no", "MOD_ADD": "no"}} -{"id": "3e4d6a", "alias": "modular_count_residue_v1_1520064083_4737", "problem": "Let $m$ be the number of positive integers $n$ with $1 \\leq n \\leq 182$ such that $13^7$ divides $n$ and $\\gcd(n, 15) = 1$. Let $r = 10$. Let $\\text{result}$ be the number of positive integers $n$ with $1 \\leq n \\leq 50000$ such that $n \\equiv r \\pmod{m}$. Compute the remainder when $83453 \\cdot \\text{result}$ is divided by $74468$.", "answer": 64195, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(83453),\n \"_n\": Const(74468),\n \"upper\": Const(50000),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(182)), Divides(divisor=MaxKDivides(target=Pow(Const(13), Const(7)), base=Const(13)), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\n \"r\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"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": "K14", "lemma_paths": ["K14/C5"], "recipe_id": "da5262", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "K14"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 5.98, "created_at": "2026-02-08T06:25:02.679236Z", "verification": {"verified": true, "answer": 64195, "timestamp": "2026-02-08T06:25:08.658790Z"}, "problem_hash": "782fba", "license": "CC BY 4.0", "lemma_applicability": {"K14": "ok", "C5": "ok_later", "DS2": "no", "K15": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}} -{"id": "1d8f20", "alias": "sequence_count_fib_divisible_v1_784195855_998", "problem": "Let $d = 7$ and let $U = 983$. Define $\\text{result}$ to be the number of positive integers $n$ with $1 \\leq n \\leq U$ such that $d$ divides the $n$-th Fibonacci number. Compute $\\text{result}$.", "answer": 122, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(983),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["MOBIUS_COPRIME", "C2", "B3"], "recipe_id": "0f713c", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.264, "created_at": "2026-02-08T04:44:41.409989Z", "verification": {"verified": true, "answer": 122, "timestamp": "2026-02-08T04:44:41.673583Z"}, "problem_hash": "18e344", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}} -{"id": "137df3", "alias": "algebra_poly_eval_v1_1520064083_1347", "problem": "Let $ m $ be the largest integer such that $ 2^m $ divides $ 7^{32768} - 5^{32768} $. Let $ a = \\sum_{d \\mid 5} \\phi(d) $, where $ \\phi $ denotes Euler's totient function. Define $ Q = |a \\cdot m^2 + 5m - 1| $. Compute $ Q $.", "answer": 1529, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"m\": MaxKDivides(target=Sub(Pow(Const(7), Const(32768)), Pow(Const(5), Const(32768))), base=Const(2)),\n \"result\": Sum(Mul(SumOverDivisors(n=Const(value=5), var='d', expr=EulerPhi(n=Var(name='d'))), Pow(Ref(\"m\"), Ref(\"_n\"))), Mul(Const(5), Ref(\"m\")), Const(-1)),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2", "K3"], "recipe_id": "5a02be", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "LTE_DIFF_P2"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:55:34.858298Z", "verification": {"verified": true, "answer": 1529, "timestamp": "2026-02-08T03:55:34.860067Z"}, "problem_hash": "4e582c", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "LTE_DIFF_P2": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "6c029b", "alias": "nt_gcd_compute_v1_784195855_295", "problem": "Let $n_0 = 36$. Consider all ordered pairs $(x, y)$ of positive integers such that $xy = n_0$. Let $m$ be the minimum value of $x + y$ over all such pairs. Let $g = 8$ and $n_1 = 8$. Define $a_1 = g \\cdot m$ and $b_1 = g \\cdot n_1$. Let $d = \\gcd(a_1, b_1)$. Compute the sum of $\\mu(d')$ over all positive divisors $d'$ of $d$, and let this sum be $v$. Let $n = 1 + v$. Let $s$ be the number of prime factors of $n$, counted with multiplicity. Define $a = 242802 + s$ and $b = 458626$. Compute $\\gcd(a, b)$. Determine the value of this greatest common divisor.", "answer": 26978, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36),\n \"g\": Const(8),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n1\": Const(8),\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(1), Ref(\"v\")),\n \"s\": BigOmega(n=Ref(name='n')),\n \"a\": Sum(Const(242802), Ref(\"s\")),\n \"b\": Const(458626),\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", "BIG_OMEGA_ZERO"], "recipe_id": "aa98d8", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:05:01.229387Z", "verification": {"verified": true, "answer": 26978, "timestamp": "2026-02-08T03:05:01.233833Z"}, "problem_hash": "b365ef", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}} -{"id": "abf55b", "alias": "nt_count_digit_sum_v1_458359167_1027", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 16$. Define $\\sigma = \\sum (x + y)$ over all pairs in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 15$ and $n \\equiv 0 \\pmod{15}$. Define $\\tau = \\sum_{n \\in T} n$. Let $g = \\gcd(\\sigma, \\tau)$, and define\n$$\ns = \\sum_{d \\mid g} \\mu(d),\n$$\nwhere $\\mu$ denotes the M\\\"obius function. Determine the number of positive integers $n$ such that $s \\leq n \\leq 372100$ and the sum of the decimal digits of $n$ is $24$. Multiply this count by $44121$, then find the remainder when the result is divided by $90362$.", "answer": 35248, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"upper\": Const(372100),\n \"target_sum\": Const(24),\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=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=15)), right=Const(value=0)))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(90362)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_COPRIME", "B3/MOBIUS_COPRIME"], "recipe_id": "8b5033", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 29.429, "created_at": "2026-02-08T04:13:53.056396Z", "verification": {"verified": true, "answer": 35248, "timestamp": "2026-02-08T04:14:22.485891Z"}, "problem_hash": "102b23", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "SUM_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok_later", "K17": "no", "K18": "no", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no"}} -{"id": "b628d3", "alias": "diophantine_product_count_v1_1918700295_2172", "problem": "Let $k = 360$ and $u = 297$. Let $A$ be the set of all positive integers $x$ such that $1 \\leq x \\leq 297$, $x$ divides $360$, and $\\frac{360}{x} \\leq 297$. Let $r$ be the number of elements in $A$.\n\nLet $m = 4056$. Let $B$ be the set of all positive integers $d$ such that $1 \\leq d \\leq 4056$ and $d$ divides $16544424$. Let $d_{\\max}$ be the largest element in $B$. Let $c$ be the largest integer $k$ such that $3^k$ divides $d_{\\max}!$.\n\nCompute $c - r$.", "answer": 2002, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4056),\n \"_n\": Const(3),\n \"k\": Const(360),\n \"upper\": Const(297),\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\": MaxKDivides(target=Factorial(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(16544424)))))), base=Ref(\"_n\")),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/V1/ENDING_negation_mod"], "recipe_id": "efe6ea", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "MAX_DIVISOR", "V1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T07:44:03.490929Z", "verification": {"verified": true, "answer": 2002, "timestamp": "2026-02-08T07:44:03.514462Z"}, "problem_hash": "46896f", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "ENDING_negation_mod": "ok_later", "V1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "V7": "no"}} -{"id": "bd7a9f", "alias": "modular_modexp_compute_v1_865884756_3116", "problem": "Let $a = 29$. Let $e$ be the largest positive integer $d$ such that $1 \\leq d \\leq 3969$ and $d$ divides $15887907$. Define $m = 36100$ and let $r = a^e \\bmod m$. Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq 114$, $6$ divides $n$, and $\\gcd(n, 35) = 1$. Compute the value of $r + 2^{r \\bmod k} \\bmod 58918$.", "answer": 8297, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3969),\n \"_n\": Const(58918),\n \"a\": Const(29),\n \"e\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(15887907))))),\n \"m\": Const(36100),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=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\"), Const(114)), Divides(divisor=Const(6), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_mod_exp", "MAX_DIVISOR"], "recipe_id": "a7dd1b", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "ENDING_mod_exp", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T17:10:53.017639Z", "verification": {"verified": true, "answer": 8297, "timestamp": "2026-02-08T17:10:53.022362Z"}, "problem_hash": "d6426b", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "MAX_DIVISOR": "ok", "ENDING_mod_exp": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}} -{"id": "d1a114", "alias": "nt_count_divisible_v1_1742523217_2999", "problem": "Let $n_1 = 67$. Define $w = \\left( \\sum_{d \\mid n_1} \\phi(d) \\right) - n_1$. Let $n$ be the largest positive divisor of 888 that is at most 24. Define $v = \\left( \\sum_{d \\mid n} \\phi(d) \\right) - n$. Let the upper limit be $51076 + w$ and the divisor be $15 + v$. Compute the number of positive integers $n$ from 1 to $51076 + w$ inclusive that are divisible by $15 + v$. Determine the value of this count.", "answer": 3405, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(888),\n \"n1\": Const(67),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(24)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Sum(Const(51076), Ref(\"w\")),\n \"divisor\": Sum(Const(15), Ref(\"v\")),\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_DIVISOR", "lemma_paths": ["MAX_DIVISOR/EULER_TOTIENT_SUM"], "recipe_id": "c00c68", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_DIVISOR"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 2.624, "created_at": "2026-02-08T05:29:44.099147Z", "verification": {"verified": true, "answer": 3405, "timestamp": "2026-02-08T05:29:46.722970Z"}, "problem_hash": "a74d46", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "EULER_TOTIENT_SUM": "ok_later", "K18": "no", "LTE_SUM": "no", "V3": "no", "V8": "no", "VAL_SUM_EQ": "no"}} -{"id": "9c98c9", "alias": "antilemma_sum_primes_v1_1520064083_4683", "problem": "Let $n$ be an integer. Define $x$ to be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 4$.\n\nCompute $$\n\\sum_{n=1}^{|x|} \\phi(n),\n$$ where $\\phi(n)$ denotes Euler's totient function.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Summation(var=\"n\", start=EulerPhi(n=Const(1)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["SUM_PRIMES", "ONE_PHI_1"], "recipe_id": "217c11", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:23:06.696330Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T06:23:06.697334Z"}, "problem_hash": "f4686a", "license": "CC BY 4.0", "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_PRIMES": "ok", "K14": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "b37e64", "alias": "comb_factorial_compute_v1_784195855_2591", "problem": "Let $M=85927$ and $n=8$, and let $n!$ denote the factorial of $n$. For each ordered pair $(x,y)$ of positive integers satisfying $xy=3600$, consider the sum $x+y$. Let $S$ be the set of all such sums $x+y$, and let $L$ be the minimum element of $S$.\n\nLet $T$ be the set of all positive integers $t$ such that $1\\le t\\le L$ and\n$$t\\equiv \\sum_{d\\mid 3} \\mu(d) \\pmod{40},$$\nwhere $\\mu$ denotes the Möbius function. Let $C$ be the number of elements in $T$.\n\nDefine\n$$Q\\equiv C-n! \\pmod{M},$$\nwhere $0\\le Q 61504$, $n \\leq 61931 + u$, and $\\gcd(n, M) = 1$.", "answer": 61505, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"m\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=21)), Leq(left=Var(name='t'), right=Const(value=159)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"m\")),\n \"start\": Const(61504),\n \"upper\": Sum(Const(61931), Ref(\"u\")),\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=41)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=58)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=874)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "recipe_id": "687ccd", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.082, "created_at": "2026-02-08T13:49:41.912785Z", "verification": {"verified": true, "answer": 61505, "timestamp": "2026-02-08T13:49:41.995257Z"}, "problem_hash": "23f0ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61505, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 309, "completion_tokens": 2733}, "timestamp": "2026-02-09T20:03:01.992Z"}], "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ZERO": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MOD_FACTORIAL": "no", "V3": "no"}} -{"id": "1b2a1b", "alias": "nt_count_divisors_in_range_v1_1918700295_3713", "problem": "Let $n=498960$, $a=41$, and $b=83161$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a\\le d\\le b$.\n\nLet $D$ be the smallest integer $d\\ge 2$ such that $d$ divides $12267706541$.\n\nLet $N$ be the number of ordered pairs $(i,j)$ of integers such that $1\\le i\\le 97$, $1\\le j\\le 98$, and $i+j=98$.\n\nLet $T$ be the number of integers $t$ such that there exist integers $u$ and $v$ with $1\\le u\\le 14$, $1\\le v\\le 8$, $12\\le t\\le 138$, and\n$$t=7u+5v.$$\n\nDefine\n\\begin{align*}\nQ\\equiv&\\;353702\\cdot\\bigl(|r|\\bmod N\\bigr)\n+329703\\cdot\\bigl(r^2+1\\bmod D\\bigr)\\\\\n&\\;+215534\\cdot\\bigl(|r|+6\\bmod T\\bigr)\\pmod{1009091}.\n\\end{align*}\nHere $|r|$ denotes the absolute value of $r$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 82089, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(12267706541))))),\n \"n\": Const(498960),\n \"a\": Const(41),\n \"b\": Const(83161),\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(6),\n \"Q\": Mod(value=Sum(Mul(Const(353702), 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\")), Ref(\"_m\")), 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='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=14)), 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=138)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), 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_SUM_EQUALS/ENDING_crt_mix_3", "LIN_FORM/ENDING_crt_mix_3"], "recipe_id": "e08ca0", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_crt_mix_3", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.889, "created_at": "2026-02-08T08:50:06.448234Z", "verification": {"verified": true, "answer": 82089, "timestamp": "2026-02-08T08:50:07.336845Z"}, "problem_hash": "cdbc59", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "ENDING_crt_mix_3": "ok_later", "DS2": "no", "K18": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}} -{"id": "f7a51b", "alias": "diophantine_fbi2_min_v1_784195855_2600", "problem": "Let $k=180$ and $U=190$. Let $E$ be the value of\n$$\\sum_{r=1}^{3} \\varphi(r)\\left\\lfloor\\frac{3}{r}\\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $D$ be the set of all integers $d$ such that $5\\le d\\le U$, $d$ divides $k$, and\n$$\\frac{k}{d}\\ge E.$$\nAssume $D$ is nonempty, and let $R$ be the minimum element of $D$.\n\nNext, consider all ordered pairs $(x,y)$ of positive integers satisfying $xy=15697444$. For each such pair, form the sum $x+y$. Let $S$ be the set of all such sums $x+y$, and let $L$ be the minimum element of $S$.\n\nLet $P$ be the set of all integers $n$ such that $2\\le n\\le L$ and $n$ is prime, and let $N$ be the maximum element of $P$. Finally, define\n$$Q = N\\cdot R.$$\nCompute $Q$. ", "answer": 39595, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(2),\n \"k\": Const(180),\n \"upper\": Const(190),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))))))),\n \"Q\": Mul(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(15697444)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))), 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/MAX_PRIME_BELOW/ENDING_affine_mod", "K2"], "recipe_id": "95baf6", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_affine_mod", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.016, "created_at": "2026-02-08T05:54:19.350697Z", "verification": {"verified": true, "answer": 39595, "timestamp": "2026-02-08T05:54:19.366980Z"}, "problem_hash": "de256a", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "K2": "ok", "ENDING_affine_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}} -{"id": "609834", "alias": "nt_sum_totient_over_divisors_v1_1248542787_372", "problem": "Let $ m = 29 $ and $ n = 16593 $. Define $ n_1 $ to be the largest integer $ k $ such that $ 29^k $ divides $ m^{961} $. Let $ u = \\lambda(1) $, where $ \\lambda $ denotes the Liouville function. Let $ S $ 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 $ s $ be the remainder when the number of divisors of $ n_1 $ is divided by the number of elements in $ S $. Define $ n = 16593 \\cdot u \\cdot s $. Compute the sum of $ \\phi(d) $ over all positive divisors $ d $ of $ n $, where $ \\phi $ is Euler's totient function.", "answer": 16593, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(29),\n \"_n\": Const(16593),\n \"n2\": Const(1),\n \"u\": LiouvilleLambda(n=Ref(name='n2')),\n \"n1\": MaxKDivides(target=Pow(Ref(\"_m\"), Const(961)), base=Const(29)),\n \"s\": 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=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"u\"), Ref(\"s\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/DIVISOR_PARITY", "K14/DIVISOR_PARITY", "LIOUVILLE_ONE"], "recipe_id": "9e4b84", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "K14", "LIOUVILLE_ONE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:05:06.026819Z", "verification": {"verified": true, "answer": 16593, "timestamp": "2026-02-08T03:05:06.033228Z"}, "problem_hash": "0f1d20", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16593, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 314, "completion_tokens": 1526}, "timestamp": "2026-02-09T03:22:22.897Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16593, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 310, "completion_tokens": 1319}, "timestamp": "2026-02-09T15:36:08.784Z"}, {"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-09T14:13:54.654Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "K14": "ok", "LIOUVILLE_ONE": "ok", "DIVISOR_PARITY": "ok_later", "K16": "no", "K5": "no", "LTE_DIFF": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "76c80b", "alias": "nt_count_intersection_v1_865884756_3029", "problem": "Let $a$ be the largest prime number satisfying $2 \\leq a \\leq 6$, and let $b = 12$. Let $N = 100000$. Define $r$ to be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq N$, $a$ divides $n_1$, and $\\gcd(n_1, b) = 1$.\n\nLet $s$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 35$ and $1 \\leq j \\leq 93$ such that $\\gcd(i, j) = 1$.\n\nCompute the remainder when $s - r$ is divided by $50157$.", "answer": 45509, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50157),\n \"N\": Const(100000),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(93))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_negation_mod", "MAX_PRIME_BELOW"], "recipe_id": "2e1ede", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.814, "created_at": "2026-02-08T17:07:30.276017Z", "verification": {"verified": true, "answer": 45509, "timestamp": "2026-02-08T17:07:36.089877Z"}, "problem_hash": "8840a3", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_negation_mod": "ok_later", "COUNT_CARTESIAN": "no", "K18": "no", "L3b": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "10e306", "alias": "antilemma_count_primes_v1_784195855_3151", "problem": "Let $p = 17$ and $q = 53$. Define $n = p^2 \\cdot q$. Let $f = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Let $a = 48$ and $b = 6125 + f$. Let $d_0 = \\gcd(a, b)$ and define $e = \\sum_{d \\mid d_0} \\mu(d)$. Let $m = 2$ and $n_0 = 2e$. Let $D$ be the set of all integers $d \\geq m$ that divide 9658469803. Let $M$ be the minimum element of $D$. Compute the number of prime numbers $n$ such that $n_0 \\leq n \\leq M$.", "answer": 64, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"p\": Const(17),\n \"q\": Const(53),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"f\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Const(48),\n \"b\": Sum(Const(6125), Ref(\"f\")),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Mul(Const(2), Ref(\"e\")),\n \"x\": 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\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(9658469803)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "MOBIUS_SQUAREFREE", "MOBIUS_COPRIME", "COUNT_PRIMES"], "recipe_id": "6bc70a", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:15:43.880858Z", "verification": {"verified": true, "answer": 64, "timestamp": "2026-02-08T06:15:43.883186Z"}, "problem_hash": "d0ae1a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SQUAREFREE": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "23bd5e", "alias": "antilemma_coprime_grid_v1_865884756_465", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 59$, $1 \\leq j \\leq 126$, and $\\gcd(i, j) = 1$. Let $C$ be the number of positive integers $t$ such that $8 \\leq t \\leq 8015$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 1195$, $1 \\leq b \\leq 680$, and $t = 5a + 3b$. Compute the value of\n\\[\nQ = (x^2 + 13x + C) \\bmod 84077.\n\\]", "answer": 33864, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(59)), right=IntegerRange(start=Const(1), end=Const(126))))),\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=1195)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=680)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=8015)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(13), Ref(\"x\")), Ref(\"_c\")), modulus=Const(84077)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_quadratic_mod", "COUNT_COPRIME_GRID"], "recipe_id": "992935", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_quadratic_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:25:29.581792Z", "verification": {"verified": true, "answer": 33864, "timestamp": "2026-02-08T15:25:29.584563Z"}, "problem_hash": "f7eda3", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "DS2": "no", "K16": "no", "K5": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "15e935", "alias": "comb_factorial_compute_v1_1874849503_108", "problem": "Let $n$ be the number of positive integers $k$ such that $\\gcd(k, 6) = 1$ and $1 \\leq k \\leq p$, where $p$ is the largest prime number at most $21$. Compute the value of $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(21)), IsPrime(Var(\"n\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C4", "ONE_PHI_2"], "recipe_id": "7c31e7", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T12:48:43.612544Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T12:48:43.616676Z"}, "problem_hash": "dafbd5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 3561}, "timestamp": "2026-02-09T13:52:07.217Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "C4": "ok_later", "K13": "no", "K16": "no", "K5": "no", "LTE_SUM": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "de8430", "alias": "modular_modexp_compute_v1_50713871_84", "problem": "Let $n = 2$. Define $a$ to be the smallest divisor $d$ of $224939$ such that $d \\geq n$. Let $g = \\gcd(11, 13)$. Define $s = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $e = \\sum_{k = s}^{71} k$. Define $m = 67081$. Compute the value of $a^e \\bmod m$.", "answer": 23311, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(224939))))),\n \"e\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(71), expr=Var(\"k\")),\n \"m\": Const(67081),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "recipe_id": "140ad5", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:44:50.681286Z", "verification": {"verified": true, "answer": 23311, "timestamp": "2026-02-08T02:44:50.682921Z"}, "problem_hash": "224aaa", "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": 226, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:48:24.156Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 23311, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 4462}, "timestamp": "2026-02-09T19:52:57.390Z"}], "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "e063e0", "alias": "nt_gcd_compute_v1_458359167_310", "problem": "Let $p$ be the largest prime number not exceeding 41. Let $q$ be the smallest divisor of 24655531 that is greater than or equal to 2. Define $n_1 = p \\cdot q$. Let $u$ be the value of the Liouville function $\\lambda(n_1)$, which is $(-1)^{\\Omega(n_1)}$, where $\\Omega(n_1)$ is the total number of prime factors of $n_1$ counted with multiplicity. Let $m = \\left( \\sum_{d \\mid 11} \\phi(d) \\right) - 11$, where $\\phi$ is Euler's totient function. Define $a = 416490 + m$ and $b = 916278 \\cdot u$. Compute $\\gcd(a, b)$.", "answer": 83298, "graph": "graphs = [\n Graph(\n let={\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(41)), IsPrime(Var(\"n\"))))),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(24655531))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"u\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(11),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Sum(Const(416490), Ref(\"m\")),\n \"b\": Mul(Const(916278), Ref(\"u\")),\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_ONE", "MAX_PRIME_BELOW/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "169d7d", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:11:33.332598Z", "verification": {"verified": true, "answer": 83298, "timestamp": "2026-02-08T03:11:33.336755Z"}, "problem_hash": "92712c", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "LTE_SUM": "no", "V8": "no"}} -{"id": "bc9f6e", "alias": "nt_euler_phi_compute_v1_458359167_1828", "problem": "Let $m=10$ and $r=2$. Let $t=1$, and let $e$ be the number of prime factors of $t$, counted with multiplicity.\n\nLet $C$ be the number of integers $n$ with $1\\le n\\le 41823$ such that $9$ divides $n$ and $\\gcd(n,m)=1$. Let $p$ be the smallest integer $d$ with $d\\ge r$ and $d\\mid C$. Let $u$ be the number of prime factors of $p$, counted with multiplicity.\n\nLet\n\\[N=(30307+e)u.\n\\]\nFinally, let $Q=\\varphi(N)$, where $\\varphi$ is Euler's totient function. Compute $Q$.", "answer": 30306, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(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(41823)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))))))),\n \"u\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Sum(Const(30307), Ref(\"e\")), Ref(\"u\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "20c77d", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "BIG_OMEGA_ZERO", "C5", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:52:13.582599Z", "verification": {"verified": true, "answer": 30306, "timestamp": "2026-02-08T04:52:13.587154Z"}, "problem_hash": "7f3072", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "C5": "ok", "BIG_OMEGA_ONE": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V1": "no"}} -{"id": "701941", "alias": "algebra_quadratic_discriminant_v1_865884756_966", "problem": "Let $a = -3$, $b = 5$, and $c = 1$. Define the discriminant $D = b^2 - 4ac$. Let $r$ be the value such that\n\n$$\nr = \\begin{cases}\n2 & \\text{if } D > 0, \\\\\n1 & \\text{if } D = 0, \\\\\n0 & \\text{if } D < 0.\n\\end{cases}\n$$\n\nLet $S$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = 2304$. Let $m$ be the minimum value of $x_1 + y_1$ over all pairs in $S$. Now, let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $c^*$ be the maximum value of $xy$ over all pairs in $T$.\n\nDefine $Q = r^2 + 7r + c^*$. Compute the value of $Q$.", "answer": 2322, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2304),\n \"_n\": Const(2),\n \"a\": Const(-3),\n \"b\": Const(5),\n \"c\": Const(1),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_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\")), 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(\"_m\")))), expr=Sum(Var(\"x1\"), Var(\"y1\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(7), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/ENDING_quadratic_mod"], "recipe_id": "fc7512", "seed_template_id": "algebra_quadratic_discriminant_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.005, "created_at": "2026-02-08T15:42:04.236288Z", "verification": {"verified": true, "answer": 2322, "timestamp": "2026-02-08T15:42:04.241398Z"}, "problem_hash": "0253b8", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "B1": "ok_later", "ENDING_quadratic_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "262ce3", "alias": "modular_count_residue_v1_1248542787_398", "problem": "Let $U = 70225$, $m = 2$, and $r = 1$. Let $R$ be the number of integers $n$ such that\n\\[1 \\le n \\le U \\quad \\text{and} \\quad n \\equiv r \\pmod{m}.\n\\]\nLet\n\\[T = \\min\\{x + y : x, y \\text{ are positive integers and } xy = 36\\}.\n\\]\nLet $M$ be the maximum element of the set of all integers $n$ such that\n\\[2 \\le n \\le T \\quad \\text{and} \\quad n \\text{ is prime}.\n\\]\nLet\n\\[s = |R| \\bmod M,\n\\]\nwhere $|R|$ denotes the absolute value of $R$. Finally, let $Q$ be the $s$-th Bell number $B_s$, the number of partitions of a set with $s$ elements.\n\nCompute $Q$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(70225),\n \"m\": Const(2),\n \"r\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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 },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW/ENDING_bell_mod", "ONE_PHI_1"], "recipe_id": "63381f", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ENDING_bell_mod", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.657, "created_at": "2026-02-08T03:06:41.796995Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:06:44.453725Z"}, "problem_hash": "2aea36", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 767}, "timestamp": "2026-02-09T03:39:23.244Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 682}, "timestamp": "2026-02-09T15:53:48.041Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 5630}, "timestamp": "2026-02-09T14:34:09.162Z"}], "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "ENDING_bell_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K18": "no", "K5": "no", "L3c": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.12, "hi": 1.77}} -{"id": "3804e0", "alias": "antilemma_sum_primes_v1_865884756_383", "problem": "Let $m = 13$ and $n = 4$. Define $S$ as the set of all prime numbers $n_1$ such that $\\max_k \\{ 13^k \\mid (14^{13} - 1^{13}) \\} \\leq n_1 \\leq 4$. Let $x$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq \\max(S)$. Compute $14877 \\cdot x$.", "answer": 74385, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(4),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), MaxKDivides(target=Sub(Pow(Const(14), Const(13)), Pow(Const(1), Const(13))), base=Ref(\"_m\"))), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mul(Const(14877), Ref(\"x\")),\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/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "a41e2a", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T15:20:08.329978Z", "verification": {"verified": true, "answer": 74385, "timestamp": "2026-02-08T15:20:08.333518Z"}, "problem_hash": "ae63aa", "license": "CC BY 4.0", "lemma_applicability": {"LTE_DIFF": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "L3c": "no", "V3": "no", "V8": "no"}} -{"id": "bdef90", "alias": "nt_gcd_compute_v1_1742523217_4094", "problem": "Let $a = 444675$ and $b = 825825$. Let $d$ be the greatest common divisor of $a$ and $b$. Define $\\alpha = |d| + \\phi(2)$ and $\\beta = \\sum_{d' \\mid \\gcd(8,15)} \\mu(d')$, where $\\phi$ denotes Euler's totient function and $\\mu$ denotes the M\\\"obius function. Compute the value of $d + \\phi(\\alpha) + \\tau(\\alpha + \\phi(\\beta))$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 93893, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(444675),\n \"b\": Const(825825),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=Const(2)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), EulerPhi(n=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": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ONE_PHI_2", "ONE_PHI_1"], "recipe_id": "1e1e54", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:59:32.581898Z", "verification": {"verified": true, "answer": 93893, "timestamp": "2026-02-08T06:59:32.584306Z"}, "problem_hash": "56143c", "license": "CC BY 4.0", "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}} -{"id": "b148fe", "alias": "comb_catalan_compute_v1_1116507919_167", "problem": "Let $n_1 = 0$ and $n_2 = 0$. Define $u = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$ and $h = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Let $n = 10$ and let $\\text{result} = C_{10}$, where $C_n$ denotes the $n$th Catalan number. Let $c$ be the number of elements in the Cartesian product of the sets $\\{1, 2, \\dots, 89\\}$ and $\\{1, 2, \\dots, 89\\}$. Let $Q$ be the remainder when $c - \\text{result}$ is divided by $69525 \\cdot u \\cdot h$. Compute $Q$.", "answer": 60650, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(69525),\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 \"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\": Const(10),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(89)), right=IntegerRange(start=Const(1), end=Const(89)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Mul(Ref(\"_n\"), Ref(\"u\")), Ref(\"h\"))),\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_negation_mod", "BINOMIAL_ALTERNATING"], "recipe_id": "4c47c6", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "ENDING_negation_mod"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T02:27:05.687739Z", "verification": {"verified": true, "answer": 60650, "timestamp": "2026-02-08T02:27:05.689981Z"}, "problem_hash": "a94b24", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 60650, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 811}, "timestamp": "2026-02-08T19:09:04.701Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 60650, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 735}, "timestamp": "2026-02-09T14:02:48.581Z"}, {"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-09T16:43:26.230Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 60650, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 729}, "timestamp": "2026-02-09T16:42:59.876Z"}], "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -1.87, "mid": 2.85, "hi": 7.08}} -{"id": "415b72", "alias": "antilemma_k2_v1_168721529_888", "problem": "Let $m = 372$. Define $n$ to be the sum of the solutions to the equation $x^2 - 372x + 740 = 0$. Let $s = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $t$ be the sum of the solutions to the equation $x^2 - 6889x - 55176 = 0$. Compute the remainder when $t - s$ is divided by $51204$.", "answer": 39919, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(372),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-372), Var(\"x\")), Const(740)), Const(0)))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"Q\": Mod(value=Sub(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-6889), Var(\"x\")), Const(-55176)), Const(0)))), Ref(\"x\")), modulus=Const(51204)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM/VIETA_SUM/K2", "VIETA_SUM/ENDING_negation_mod", "K2"], "recipe_id": "4bd08c", "seed_template_id": "antilemma_k2_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K2", "VIETA_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T13:20:20.386781Z", "verification": {"verified": true, "answer": 39919, "timestamp": "2026-02-08T13:20:20.391646Z"}, "problem_hash": "e9480f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39919, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 1943}, "timestamp": "2026-02-09T10:17:55.939Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 51100, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 370}, "timestamp": "2026-02-09T22:51:22.071Z"}], "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "ENDING_negation_mod": "ok_later", "K13": "no", "K15": "no", "K16": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "5e59c8", "alias": "diophantine_fbi2_min_v1_1742523217_777", "problem": "Let $ k = 12 $. Let $ d $ be an integer satisfying $ 2 \\leq d \\leq 22 $, $ d $ divides $ k $, and $ \\frac{k}{d} \\geq 2 $. Let $ r $ be the smallest such $ d $. Compute $ \\sum_{n=1}^{|r|} \\phi(n) $, where $ \\phi $ denotes Euler's totient function.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(12),\n \"a\": Const(1),\n \"b\": Const(1),\n \"upper\": Const(22),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIN_FORM", "K2", "C2"], "recipe_id": "36d654", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C2", "K2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.09, "created_at": "2026-02-08T03:14:16.518354Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:14:16.608131Z"}, "problem_hash": "a49b1c", "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": 200, "completion_tokens": 1427}, "timestamp": "2026-02-09T22:36:17.942Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 402}, "timestamp": "2026-02-09T06:53:17.399Z"}], "lemma_applicability": {"C2": "ok", "K2": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "K18": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "ee0c99", "alias": "nt_gcd_compute_v1_1742523217_953", "problem": "Let $a = 991445$ and $b = 1601565$. Let $g = \\gcd(a, b)$. Let $k_{\\max}$ be the largest prime number $k$ such that $2 \\leq k \\leq 5$. Define $s = \\sum_{k=1}^{k_{\\max}} k$. Compute the value of $g + 2^{g \\bmod s} \\bmod 75926$.", "answer": 76297, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"a\": Const(991445),\n \"b\": Const(1601565),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))), expr=Var(\"k\")))), modulus=Const(75926))),\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/SUM_ARITHMETIC/ENDING_mod_exp"], "recipe_id": "d9d0f9", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:22:03.431115Z", "verification": {"verified": true, "answer": 76297, "timestamp": "2026-02-08T03:22:03.433754Z"}, "problem_hash": "8ec297", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 371, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 824}, "timestamp": "2026-02-09T08:56:37.020Z"}], "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_mod_exp": "ok_later", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3c": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "cb6ea5", "alias": "diophantine_product_count_v1_1742523217_2517", "problem": "Let $a = 18$ and $b = 4$. Define $n_1 = ab + 1$. Let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $n = 361$ and define $h = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $k = 840 + s$. Let $m$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 9409$. Define $u = m \\cdot h$. Determine the number of positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(18),\n \"b\": Const(4),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(361),\n \"h\": LiouvilleLambda(n=Ref(name='n')),\n \"k\": Sum(Const(840), Ref(\"s\")),\n \"upper\": Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(9409)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"h\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LIOUVILLE_ONE", "DIVISOR_PARITY"], "recipe_id": "2de1bf", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "LIOUVILLE_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.145, "created_at": "2026-02-08T04:48:49.583653Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T04:48:49.728353Z"}, "problem_hash": "3139d4", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "DIVISOR_PARITY": "ok", "LIOUVILLE_ONE": "ok_later", "K17": "no", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V8": "no"}} -{"id": "6eb61f", "alias": "nt_count_intersection_v1_168721529_2089", "problem": "Let $p_1 = 61$, $q_1 = 83$, and $n_1 = p_1 q_1$. Let $w$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $p = 23$, $q = 79$, and $n = p q$. Define $e = (-1)^{\\Omega(n)}$, where $\\Omega(n)$ is the total number of prime factors of $n$ counted with multiplicity. Let $N = 5000$, $a = 9 + w$, and $b = e \\cdot s$, where $s$ is the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $x y = 49$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$.", "answer": 238, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(61),\n \"q1\": Const(83),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(23),\n \"q\": Const(79),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"N\": Const(5000),\n \"a\": Sum(Const(9), Ref(\"w\")),\n \"b\": 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(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"e\")),\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": "B3", "lemma_paths": ["B3/LIOUVILLE_ONE", "DIVISOR_PARITY"], "recipe_id": "2de1bf", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "LIOUVILLE_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 2.665, "created_at": "2026-02-08T14:07:00.642445Z", "verification": {"verified": true, "answer": 238, "timestamp": "2026-02-08T14:07:03.307254Z"}, "problem_hash": "3c05bc", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "DIVISOR_PARITY": "ok", "LIOUVILLE_ONE": "ok_later", "K14": "no", "K16": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}} -{"id": "45eca4", "alias": "nt_count_divisible_and_v1_1742523217_4401", "problem": "Let $d_1 = 6$.\n\nLet $d_2$ be one more than the number of nonnegative integers $j$ with $0 \\le j \\le 65560$ such that $\\binom{65560}{j}$ is odd.\n\nLet $R$ be the number of integers $n$ such that $1 \\le n \\le 16452$, $n \\equiv 0 \\pmod{d_1}$, and $n \\equiv 0 \\pmod{d_2}$.\n\nLet $C$ be the number of ordered pairs $(i,j)$ of integers with $1 \\le i \\le 114$, $1 \\le j \\le 115$, and $\\gcd(i,j) = 1$.\n\nLet $Q$ be the remainder when $CR$ is divided by $98054$.\n\nFind the value of $Q$.", "answer": 8220, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(65560),\n \"_n\": Const(98054),\n \"upper\": Const(16452),\n \"d1\": Const(6),\n \"d2\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(65560)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(1)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_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(114)), right=IntegerRange(start=Const(1), end=Const(115))))),\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": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_affine_mod", "V8"], "recipe_id": "feaafc", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_affine_mod", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.553, "created_at": "2026-02-08T07:15:53.738088Z", "verification": {"verified": true, "answer": 8220, "timestamp": "2026-02-08T07:15:54.291307Z"}, "problem_hash": "1e1dee", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V8": "ok", "ENDING_affine_mod": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K14": "no", "V8_SUM": "no"}} -{"id": "2dcba1", "alias": "antilemma_cartesian_v1_1125832087_718", "problem": "Let $m=14$. Let $k$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1+x_2=m.$$\n\nLet $X$ be the number of ordered pairs $(u,v)$ with $1\\le u\\le 20$ and $1\\le v\\le 23$.\n\nLet $r$ be the number of ordered triples $(x_1,x_2,x_3)$ of positive integers such that $x_1,x_2,x_3$ are all odd and\n$$x_1+x_2+x_3=k.$$\nDefine\n$$s=\\binom{r}{0}.$$\n\nLet\n$$Q=\\sum_{n=s}^{|X|} \\tau(n),$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nFind the value of $Q$.", "answer": 2897, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\"), Var(\"x3\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='x3')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), IsOdd(arg=Var(name='x3')), Eq(Sum(Var(\"x1\"), Var(\"x2\"), Var(\"x3\")), Ref(\"_n\"))))), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1/ONE_BINOM_0/ENDING_sum_divisor_count", "COUNT_CARTESIAN"], "recipe_id": "dfda8a", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_sum_divisor_count", "ONE_BINOM_0"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T03:13:53.124521Z", "verification": {"verified": true, "answer": 2897, "timestamp": "2026-02-08T03:13:53.128142Z"}, "problem_hash": "7c3702", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "ENDING_sum_divisor_count": "ok_later", "ONE_BINOM_0": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "42ef69", "alias": "nt_max_prime_below_v1_1125832087_1225", "problem": "Let $p_1 < p_2 < \\cdots < p_k$ be the prime numbers in the interval $[2, 80089]$. Let $m = 2$ and let $d_0$ be the smallest divisor of $29693347$ that is at least $m$. Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq d_0$. Let $A = |S|$ and let $B$ be the largest prime number in $[2, 80089]$. Compute the remainder when $A \\cdot B$ is divided by $67852$.", "answer": 23803, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(67852),\n \"upper\": Const(80089),\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=Mul(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(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(29693347)))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES/ENDING_affine_mod"], "recipe_id": "c221fd", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "ENDING_affine_mod", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.918, "created_at": "2026-02-08T03:37:21.365051Z", "verification": {"verified": true, "answer": 23803, "timestamp": "2026-02-08T03:37:23.282878Z"}, "problem_hash": "289274", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "ENDING_affine_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K18": "no", "V1": "no", "V5": "no"}} -{"id": "29a81e", "alias": "nt_count_coprime_v1_153355830_1107", "problem": "Let $n = 35344$ and let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 370440$. Let $S$ be the set of all integers $n$ with $1 \\le n \\le 17424$ such that $\\gcd(n, k) = 1$. Compute the value of $$\\sum_{i=0}^{d-1} \\left( \\text{digit}_i(|S|) \\cdot (i+1)^{\\sum_{d\\mid 2} \\phi(d)} \\right) + n,$$ where $d$ is the number of decimal digits of $|S|$, $\\text{digit}_i(m)$ denotes the $i$-th digit (starting from the units place as $i=0$) of $m$, and $\\phi$ is Euler's totient function. Find the value of this expression.", "answer": 35541, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35344),\n \"upper\": Const(17424),\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=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 \"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), 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)), SumOverDivisors(n=Const(value=2), var='d', expr=EulerPhi(n=Var(name='d')))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/ENDING_digits_weighted_mod", "COPRIME_PAIRS", "ONE_PHI_1"], "recipe_id": "8ef4a1", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_digits_weighted_mod", "K3", "ONE_PHI_1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 1.572, "created_at": "2026-02-08T04:24:09.242329Z", "verification": {"verified": true, "answer": 35541, "timestamp": "2026-02-08T04:24:10.814136Z"}, "problem_hash": "2a34fd", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "K3": "ok", "ONE_PHI_1": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}} -{"id": "3b0625", "alias": "comb_bell_compute_v1_1520064083_160", "problem": "Let $m = 2$. Define $A$ to be the sum of all even positive integers $n$ such that $1 \\leq n \\leq m$. Let $n = 8$, and let $B$ be the $n$th Bell number. Let $d$ be the smallest divisor of $103228434458407$ that is at least $A$. Compute the remainder when $d \\cdot B$ is divided by $54936$.", "answer": 39636, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=Var(\"n\"), modulus=Const(2)), Const(0))))),\n \"n\": Const(8),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(103228434458407))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(54936)),\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/MIN_PRIME_FACTOR/ENDING_affine_mod"], "recipe_id": "c6825c", "seed_template_id": "comb_bell_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:06:51.379067Z", "verification": {"verified": true, "answer": 39636, "timestamp": "2026-02-08T03:06:51.382143Z"}, "problem_hash": "d6d5f2", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "ENDING_affine_mod": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "a6f0dd", "alias": "nt_count_squarefree_v1_1125832087_582", "problem": "Let $m=7$. Let $P$ be the set of all integers $n$ with $2\\le n\\le 1553$ such that $n$ is prime, and let $N$ be the number of elements in $P$.\n\nLet $D$ be the set of all integers $d$ such that $d\\ge 2$ and $d$ divides $N$, and assume this set is nonempty. Let $g$ be the least element of $D$.\n\nFor each integer $t$ with $1\\le t\\le 32041$, define $f(t)$ to be $\\mu(t)^2$, where $\\mu$ is the function that takes values in $\\{-1,0,1\\}$ and is defined on the positive integers so that $\\mu(1)=1$, $\\mu(t)=0$ if $t$ is divisible by the square of a prime, and $\\mu(t)=(-1)^r$ if $t$ is the product of $r$ distinct primes.\n\nAlso define\n$$h=\\sum_{d\\mid \\gcd(g,m)} \\mu(d).$$\n\nLet $R$ be the number of integers $t$ with $1\\le t\\le 32041$ such that\n$$f(t)=h.$$\n\nLet $Q$ be the remainder when $50423R$ is divided by $51378$.\n\nFind the value of $Q$.", "answer": 48724, "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\"), Const(1553)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(32041),\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'))), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Ref(name='_n'))))), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": Const(50423),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51378)),\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/MIN_PRIME_FACTOR/MOBIUS_COPRIME"], "recipe_id": "212453", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 5.249, "created_at": "2026-02-08T03:09:25.201762Z", "verification": {"verified": true, "answer": 48724, "timestamp": "2026-02-08T03:09:30.450557Z"}, "problem_hash": "45dc63", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "LTE_DIFF": "no", "V8_SUM": "no"}} -{"id": "26a125", "alias": "nt_sum_divisors_range_v1_153355830_1752", "problem": "Let $m = 6889$. Define $$ n = \\sum_{d \\mid m} \\phi(d), $$ where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all positive integers $j \\leq n$ such that $$ j^d \\leq 15516041187205853449 $$ for all divisors $d \\geq 2$ of $4235$. Let $N$ be the number of elements in $S$. Compute the sum of the number of positive divisors of each integer from $1$ to $N$.", "answer": 61959, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6889),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4235)))))), Const(15516041187205853449))), 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=NumDivisors(n=Var(\"n\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/C3", "K3/C3"], "recipe_id": "7db286", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "K3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.53, "created_at": "2026-02-08T06:35:54.166163Z", "verification": {"verified": true, "answer": 61959, "timestamp": "2026-02-08T06:35:54.696340Z"}, "problem_hash": "0b8ee6", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8": "no"}} -{"id": "0d102f", "alias": "modular_sum_quadratic_residues_v1_1742523217_3434", "problem": "Let $p$ be the number of positive integers $n$ with $1 \\leq n \\leq 2454$ such that the $n$th Fibonacci number is divisible by $4$. Let $r = \\frac{p(p-1)}{4}$. Let $c$ be the smallest integer at least $2$ that divides $2491$. Compute the value of\n$$\n3^{|r|} \\bmod 99991 + c.\n$$", "answer": 40319, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2454),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(2491))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_two_stage_modexp", "COUNT_FIB_DIVISIBLE"], "recipe_id": "12cace", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ENDING_two_stage_modexp", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:52:01.296984Z", "verification": {"verified": true, "answer": 40319, "timestamp": "2026-02-08T05:52:01.301479Z"}, "problem_hash": "57eee5", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_stage_modexp": "ok_later", "K14": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "632769", "alias": "comb_binomial_compute_v1_1918700295_1131", "problem": "Let $a_n$ be the sum $\\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Let $b$ be the sum $\\sum_{k=0}^{2} (-1)^k \\binom{2}{k}$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 15$ and $n \\equiv b \\pmod{a_n}$. Let this count be $n$. Compute $\\binom{n}{8}$.", "answer": 6435, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(15),\n \"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=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\")))))), Summation(var=\"k\", start=Const(0), end=Const(2), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(2), k=Var(\"k\")))))))),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/SUM_DIVISIBLE", "BINOMIAL_ALTERNATING"], "recipe_id": "694214", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "K2", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:36:19.704895Z", "verification": {"verified": true, "answer": 6435, "timestamp": "2026-02-08T05:36:19.708144Z"}, "problem_hash": "27e86e", "license": "CC BY 4.0", "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "K2": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no"}} -{"id": "2733d2", "alias": "diophantine_fbi2_min_v1_1125832087_742", "problem": "Let $T$ be the set of all integers $t$ such that $8 \\leq t \\leq 39$ and there exist positive integers $a \\in \\{1,2,3\\}$ and $b \\in \\{1,2,\\dots,8\\}$ satisfying $t = 5a + 3b$. Let $u$ be the number of elements in $T$. Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $A$. Define $D$ to be the set of all positive divisors $d$ of 14 such that $d \\geq m$, $d \\leq u$, and $\\frac{14}{d} \\geq 3$. Let $r$ be the smallest element of $D$. Let $C$ be the number of positive integers $n \\leq 1200$ such that the sum of the decimal digits of $n$ is even. Compute $C - r$. Enter your answer as an integer between 0 and 99999.", "answer": 598, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(14),\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=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=8)), Leq(left=Var(name='t'), right=Const(value=39)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": 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=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1200)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), 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": "L3B", "lemma_paths": ["L3B/ENDING_negation_mod", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "a93922", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_negation_mod", "L3B", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.02, "created_at": "2026-02-08T03:14:45.350612Z", "verification": {"verified": true, "answer": 598, "timestamp": "2026-02-08T03:14:45.370250Z"}, "problem_hash": "053c76", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V8": "no"}} -{"id": "63407c", "alias": "antilemma_v7_kummer_677425708_572", "problem": "Let $m$ be the smallest sum $x + y$ such that $x$ and $y$ are positive integers and $xy = 405769$. Let $T$ be the set of all integers $t$ such that $7 \\le t \\le 3197$ and there exist positive integers $a \\le 608$ and $b \\le 255$ satisfying $t = 4a + 3b$. Let $k$ be the largest integer such that $2^k$ divides $\\binom{|T|}{m}$. Compute\n$$\n\\sum_{n=1}^k \\tau(n),\n$$\nwhere $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 27, "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(405769)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=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=608)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=255)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=3197)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), k=Ref(\"_m\")), base=Ref(\"_n\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LIN_FORM/V7", "V7"], "recipe_id": "486904", "seed_template_id": "antilemma_v7_kummer", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V7"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:36:04.507221Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T03:36:04.509910Z"}, "problem_hash": "61d430", "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": 266, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:47:23.064Z"}], "lemma_applicability": {"B3": "ok", "V7": "ok", "LIN_FORM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "55b014", "alias": "nt_gcd_compute_v1_1248542787_901", "problem": "Let $p = 19$ and $q = 83$. Define $n = pq$ and $f = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $a_1$ be the number of positive integers $m$ such that $1 \\leq m \\leq 1169$, $7$ divides $m$, and $\\gcd(m, 10) = 1$. Let $b_1 = 166$. Define $m = \\sum_{d \\mid \\gcd(a_1, b_1)} \\mu(d)$, where $\\mu$ is the M\\\"{o}bius function. Let $a = 129558$ and $b = 302302 \\cdot m$. Define $g = \\gcd(a, b)$ and $Q = (76747 \\cdot g) \\bmod (92652 \\cdot f)$.\n\nFind the value of $Q$.", "answer": 48598, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"q\": Const(83),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"f\": LiouvilleLambda(n=Ref(name='n')),\n \"a1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1169)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"b1\": Const(166),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(129558),\n \"b\": Mul(Const(302302), Ref(\"m\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(76747),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(92652), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "88b950", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C5", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T03:28:43.469616Z", "verification": {"verified": true, "answer": 48598, "timestamp": "2026-02-08T03:28:43.473792Z"}, "problem_hash": "56d765", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 60842, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 8192}, "timestamp": "2026-02-09T09:48:16.137Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 48598, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 2078}, "timestamp": "2026-02-09T22:44:22.408Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:41:45.082Z"}], "lemma_applicability": {"C5": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "6acc63", "alias": "nt_sum_divisors_range_v1_1918700295_3672", "problem": "Let $m = 98151$. Define $B$ to be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq m$ and $\\binom{98151}{j}$ is odd. Let $t = |B|$, the number of elements in $B$. Now consider the set of all positive integers $n$ such that $1 \\leq n \\leq t$. Compute the sum of the number of positive divisors of $n$ over all such $n$, and denote this sum by $R$. Let $S = |R|$. Define the following three values:\n\n- $a = 353702 \\times (S \\bmod 97)$,\n- $b = 329703 \\times \\left( (S^2 + 1) \\bmod C \\right)$, where $C$ is the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 101$, $1 \\leq j \\leq 101$, and $i + j = 102$,\n- $c = 215534 \\times (S \\bmod 49)$.\n\nCompute the value of $(a + b + c) \\bmod 1009091$, and then take the result modulo $61314$. Find the final value.", "answer": 57430, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98151),\n \"_n\": Const(103),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_m\")), Eq(Mod(value=Binom(n=Const(98151), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), 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='result')), Const(49)), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(61314)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/ENDING_crt_mix_3", "V8"], "recipe_id": "f8bf36", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_crt_mix_3", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.288, "created_at": "2026-02-08T08:49:13.046030Z", "verification": {"verified": true, "answer": 57430, "timestamp": "2026-02-08T08:49:13.333873Z"}, "problem_hash": "c4a13d", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "V8": "ok", "ENDING_crt_mix_3": "ok_later", "K14": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no"}} -{"id": "ac7d71", "alias": "antilemma_coprime_grid_v1_784195855_2824", "problem": "Let $m = 2$ and $n = 397$. Let $x$ be the number of ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 7$, $1 \\leq j \\leq 78$, and $\\gcd(i, j) = 1$. Let $c$ be the number of integers $t$ such that $7 \\leq t \\leq 7011$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 505$, $1 \\leq b \\leq 2243$, and $t = 5a + 2b$. Define $Q$ as\n\n$$\nQ = \\left( x \\bmod d_{\\text{min}} + c \\cdot (x \\bmod n) \\right) \\bmod 66480,\n$$\n\nwhere $d_{\\text{min}}$ is the smallest divisor of $16191257$ that is at least $m$. Compute $Q$.", "answer": 22237, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(397),\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(7)), right=IntegerRange(start=Const(1), end=Const(78))))),\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=505)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2243)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=7011)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(16191257)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")))), modulus=Const(66480)),\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_two_moduli", "LIN_FORM/ENDING_two_moduli", "COUNT_COPRIME_GRID"], "recipe_id": "38fee5", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_two_moduli", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T06:04:12.185702Z", "verification": {"verified": true, "answer": 22237, "timestamp": "2026-02-08T06:04:12.188479Z"}, "problem_hash": "d07e30", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "K14": "no", "L3c": "no", "MOD_ADD": "no", "V3": "no", "V5": "no"}} -{"id": "a77960", "alias": "nt_count_squarefree_v1_1918700295_849", "problem": "Let $\\mu(n)$ denote the Möbius function. Define $A$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 31125$ and $\\mu(n)^2 = 1$. Let $d_1, d_2, \\dots, d_k$ be the positive divisors of $\\gcd(8,15)$. Define $B$ to be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 31$, $1 \\leq j \\leq 59$, and $\\gcd(i,j) = \\sum_{d \\mid \\gcd(8,15)} \\mu(d)$. Compute the remainder when $B - A$ is divided by $97385$. Find the value of this remainder.", "answer": 79618, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97385),\n \"upper\": Const(31125),\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=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(59))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/ENDING_negation_mod", "MOBIUS_COPRIME"], "recipe_id": "aa57b8", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_negation_mod", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 15.041, "created_at": "2026-02-08T03:31:52.666705Z", "verification": {"verified": true, "answer": 79618, "timestamp": "2026-02-08T03:32:07.707878Z"}, "problem_hash": "39a70a", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_COPRIME": "ok", "ENDING_negation_mod": "ok_later", "K13": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}} -{"id": "6cac0b", "alias": "modular_mod_compute_v1_784195855_3021", "problem": "Let $m$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 69$ and $1 \\leq j \\leq 106$ such that $\\gcd(i, j) = 1$. Let $a = 34$. Define $n$ as the number of positive integers $n$ with $1 \\leq n \\leq m$ such that the sum of the decimal digits of $n$ is divisible by 2. Find the remainder when $a$ is divided by $n$.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(69)), right=IntegerRange(start=Const(1), end=Const(106))))),\n \"a\": Const(34),\n \"m\": 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=Ref(\"_m\")), Const(0))))),\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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/L3B"], "recipe_id": "94e979", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T06:11:39.223134Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T06:11:39.228804Z"}, "problem_hash": "37d888", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "L3B": "ok_later", "COUNT_CARTESIAN": "no", "K18": "no", "MAX_VAL": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}} -{"id": "3a7ba5", "alias": "nt_sum_divisors_range_v1_1248542787_437", "problem": "Let\n\\[N = \\#\\{t : \\text{there exist integers } a, b \\text{ such that } 1 \\le a \\le 4,\\ 1 \\le b \\le 3,\\ 5 \\le t \\le 17,\\ t = 2a + 3b\\},\\]\nwhere $\\#$ denotes the number of elements of the set.\n\nLet $U$ be the number of ordered pairs $(x,y)$ with $1 \\le x \\le 81$ and $1 \\le y \\le 81$.\n\nLet $S$ be the set of all integers $n$ such that\n\\[\\sum_{d \\mid \\gcd(8,15)} \\mu(d) \\le n \\le U,\n\\]\nwhere $\\mu$ denotes the Möbius function. Let\n\\[R = \\sum_{n \\in S} \\tau(n),\\]\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nLet\n\\[t = |R| \\bmod N,\n\\]\nwhere $|R|$ denotes the absolute value of $R$, and let $B_t$ be the $t$-th Bell number. Finally, let $M = 87385$ and\n\\[Q \\equiv B_t \\pmod{M}, \\quad 0 \\le Q < M.\n\\]\nFind the value of $Q$.", "answer": 28590, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(87385),\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=3)), 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=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(81)), right=IntegerRange(start=Const(1), end=Const(81)))),\n \"result\": SumOverSet(set=MapOverSet(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\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), modulus=Ref(\"_m\")),\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/COUNT_CARTESIAN/ENDING_bell_mod", "MOBIUS_COPRIME"], "recipe_id": "7af7e6", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ENDING_bell_mod", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.227, "created_at": "2026-02-08T03:07:43.025899Z", "verification": {"verified": true, "answer": 28590, "timestamp": "2026-02-08T03:07:43.253188Z"}, "problem_hash": "7358c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21147, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 413, "completion_tokens": 3718}, "timestamp": "2026-02-09T04:09:52.293Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 28590, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 409, "completion_tokens": 3405}, "timestamp": "2026-02-09T16:45:52.653Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 360, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:01:51.751Z"}], "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "COUNT_CARTESIAN": "ok_later", "ENDING_bell_mod": "ok_later", "C2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": 3.63, "mid": 7.26, "hi": 10.0}} -{"id": "01e12e", "alias": "modular_inverse_v1_677425708_1171", "problem": "Let $m_1=2003$ and $n_1=317$. Consider the Cartesian product of the integer intervals $[1,4]$ and $[1,19]$; let $a$ be the number of ordered pairs in this product.\n\nLet $m=1361$ and let $u=1360$. Let $r$ be the smallest integer $x$ such that $1\\le x\\le u$ and\n$$ax\\equiv 1\\pmod m.$$\n\nLet $S$ be the set of all integers $x$ such that\n$$x^2-614x+4848=0,$$\nand let $T$ be the sum of all elements of $S$.\n\nConsider all ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=T$. Let $b$ be the number of such ordered pairs. Let $c$ be the remainder when $r$ is divided by $b$, and let $d$ be the remainder when $r$ is divided by $n_1$.\n\nDefine\n$$Q\\equiv c+m_1d\\pmod{64596},$$\nwith $0\\le Q<64596$.\n\nFind the value of $Q$.", "answer": 7212, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2003),\n \"_n\": Const(317),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"m\": Const(1361),\n \"upper\": Const(1360),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-614), Var(\"x\")), Const(4848)), Const(0))))))))), Mul(Ref(\"_m\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(64596)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/COMB1/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "b1b1c1", "seed_template_id": "modular_inverse_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli", "VIETA_SUM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.085, "created_at": "2026-02-08T04:01:27.403370Z", "verification": {"verified": true, "answer": 7212, "timestamp": "2026-02-08T04:01:27.488572Z"}, "problem_hash": "206c79", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 379, "completion_tokens": 2146}, "timestamp": "2026-02-09T16:33:38.928Z"}], "lemma_applicability": {"COUNT_CARTESIAN": "ok", "VIETA_SUM": "ok", "COMB1": "ok_later", "ENDING_two_moduli": "ok_later", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "9dee4d", "alias": "antilemma_sum_equals_v1_1918700295_3814", "problem": "Let $T$ be the set of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 52$, $1 \\leq j \\leq 53$, and $i + j = 53$. Let $x$ be the number of elements in $T$.\n\nLet $S$ be the set of positive integers $t$ such that $16 \\leq t \\leq 224$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 11$, $1 \\leq b \\leq 19$, and $t = 10a + 6b$. Let $c$ be the number of elements in $S$.\n\nDefine\n$$\nQ = \\left( 353702 \\cdot (|x| \\bmod c) + 329703 \\cdot \\left( x^2 + \\binom{3}{0} \\right) \\bmod 101 + 215534 \\cdot (|x| + 21) \\bmod 103 \\right) \\bmod 1009091\n$$\nand then let the final answer be $Q \\bmod 86764$.\n\nCompute the value of this final answer.", "answer": 29306, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(52)), right=IntegerRange(start=Const(1), end=Const(53))))),\n \"_c\": Const(21),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='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=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=19)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=224)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Binom(n=Const(3), k=Const(0))), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(86764)),\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_crt_mix_3", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "4ac49b", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_crt_mix_3", "LIN_FORM", "ONE_BINOM_0"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T08:57:46.064842Z", "verification": {"verified": true, "answer": 29306, "timestamp": "2026-02-08T08:57:46.072620Z"}, "problem_hash": "f145cf", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_0": "ok", "ENDING_crt_mix_3": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "7128f9", "alias": "antilemma_sum_equals_v1_865884756_1352", "problem": "Let $n = 8$. Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 52$, $1 \\le i \\le 51$, and $1 \\le j \\le 52$. Let $S$ be the set of all integers $t$ such that $8 \\le t \\le 112$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 17$, $1 \\le b \\le 9$, and $t = 5a + 3b$. Let $m = |S|$. Compute the remainder when\n\n$$\n353702 \\cdot |x| \\bmod m + 329703 \\cdot \\left(|x|^2 + 1\\right) \\bmod 101 + 215534 \\cdot \\left(|x| + \\binom{8}{0}\\right) \\bmod 103\n$$\ndivided by $1009091$ is itself divided by $70237$. Determine the value of this remainder.", "answer": 2313, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(52)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(51)), right=IntegerRange(start=Const(1), end=Const(52))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='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=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=112)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))))), 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')), Binom(n=Ref(\"_n\"), k=Const(0))), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(70237)),\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_crt_mix_3", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "recipe_id": "4ac49b", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "ENDING_crt_mix_3", "LIN_FORM", "ONE_BINOM_0"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.05, "created_at": "2026-02-08T15:58:32.680302Z", "verification": {"verified": true, "answer": 2313, "timestamp": "2026-02-08T15:58:32.730774Z"}, "problem_hash": "78b665", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_0": "ok", "ENDING_crt_mix_3": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "38b1ef", "alias": "antilemma_coprime_grid_v1_1520064083_977", "problem": "Let $A$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 17$, $1 \\leq j \\leq 87$, and $\\gcd(i, j) = 1$. Let $n = 41168$. Let $C$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 41168$ and the binomial coefficient $\\binom{41168}{j}$ is odd. Compute the remainder when $A^2 + 4A + C$ is divided by 80782.", "answer": 6342, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41168),\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(17)), right=IntegerRange(start=Const(1), end=Const(87))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(41168)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(4), Ref(\"x\")), Ref(\"_c\")), modulus=Const(80782)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/ENDING_quadratic_mod", "COUNT_COPRIME_GRID"], "recipe_id": "c0a39f", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ENDING_quadratic_mod", "V8"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:41:59.885856Z", "verification": {"verified": true, "answer": 6342, "timestamp": "2026-02-08T03:41:59.888484Z"}, "problem_hash": "a394dc", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V8": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8_SUM": "no"}} -{"id": "38fd97", "alias": "nt_sum_divisors_compute_v1_784195855_1078", "problem": "Let $m=14$ and $n=31329$. Let $S$ be the sum of all positive divisors of $n$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $x+y=m$. For each such pair, form the product $xy$, and let $P$ be the maximum value of $xy$ over all these pairs.\n\nDefine\n$$C=\\sum_{k=1}^{P} \\varphi(k)\\left\\lfloor\\frac{49}{k}\\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 3$, $1\\le b\\le 10$, $27\\le t\\le 123$, and\n$$t=21a+6b.$$\n\nLet\n$$Q\\equiv S^2+T\\cdot S+C \\pmod{75753},$$\nwith $0\\le Q<75753$. Find the value of $Q$.", "answer": 30488, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": Const(75753),\n \"n\": Const(31329),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(49), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=123)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/K2/ENDING_quadratic_mod", "LIN_FORM/ENDING_quadratic_mod"], "recipe_id": "61c66b", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "K2", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T04:50:29.845813Z", "verification": {"verified": true, "answer": 30488, "timestamp": "2026-02-08T04:50:29.854100Z"}, "problem_hash": "b948a5", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "K2": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K18": "no", "L3c": "no", "V8_SUM": "no"}} -{"id": "7c30c0", "alias": "comb_sum_binomial_mod_v1_784195855_4499", "problem": "Let $c = 25281$ and $m = 10987$. Let $A$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 5628$ and $12$ divides $k$. Let $B$ be the set of all integers $t$ such that $18 \\leq t \\leq 210$ and $t = 8a + 10b$ for some positive integers $a \\leq 10$ and $b \\leq 13$. Let $C$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x \\cdot y = c$. Let $s$ be the minimum value of $x + y$ over all pairs in $C$. Compute the remainder when $$\\sum_{k = |B|}^{s} \\binom{|A|}{k}$$ is divided by $m$, and then compute the remainder when $12587$ times this result is divided by 72261.", "answer": 16962, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(25281),\n \"_m\": Const(10987),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(5628)), Divides(divisor=Const(12), dividend=Var(\"k\"))), domain='positive_integers')),\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=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=210)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n \"Q\": Mod(value=Mul(Const(12587), Ref(\"result\")), modulus=Const(72261)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/LIN_FORM", "B3"], "recipe_id": "a4a5ab", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.04, "created_at": "2026-02-08T07:08:48.889661Z", "verification": {"verified": true, "answer": 16962, "timestamp": "2026-02-08T07:08:48.929440Z"}, "problem_hash": "04dd01", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "C2": "ok", "LIN_FORM": "ok_later", "COUNT_SUM_EQUALS": "no", "K15": "no", "K18": "no", "LTE_SUM": "no", "V5": "no"}} -{"id": "5c44a8", "alias": "nt_sum_totient_over_divisors_v1_1125832087_1415", "problem": "Let $n = 80981$. Define $r = \\sum_{d \\mid n} \\phi(d)$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 8$. Let $M$ be the maximum value of $xy$ over all pairs $(x, y) \\in S$. Let $N$ be the largest prime number $n$ such that $2 \\leq n \\leq M$. Compute the remainder when $N - r$ is divided by $54533$.", "answer": 28098, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(80981),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(8)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(54533)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_PRIME_BELOW/ENDING_negation_mod"], "recipe_id": "a1754a", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:43:08.101936Z", "verification": {"verified": true, "answer": 28098, "timestamp": "2026-02-08T03:43:08.104035Z"}, "problem_hash": "4b6cee", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "ENDING_negation_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K5": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}} -{"id": "6b3aea", "alias": "nt_count_phi_equals_v1_458359167_673", "problem": "Let $n = 108$. Define $u$ to be the maximum value of $x \\cdot y$ over all pairs of positive integers $(x, y)$ such that $x + y = 108$. Let $r$ be the number of positive integers $n$ with $1 \\le n \\le u$ such that $\\phi(n) = 588$. Compute the value of $q - r$, where $q$ is the largest prime number less than or equal to $11$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(108),\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\": Const(588),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Sub(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_negation_mod", "B1"], "recipe_id": "23e465", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "ENDING_negation_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.727, "created_at": "2026-02-08T03:29:28.461206Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T03:29:29.187777Z"}, "problem_hash": "efea4c", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K17": "no", "MAX_VAL": "no"}} -{"id": "9682aa", "alias": "geo_count_lattice_triangle_v1_151522320_2522", "problem": "Let $c = 196$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = c$.\n\nDefine $A = \\left| 120 \\cdot 171 + k \\cdot (-n) \\right|$, where $k$ is the number of integers $t$ in the interval $[25, 137]$ for which there exist positive integers $a \\in [1, 12]$ and $b \\in [1, 8]$ such that $t = 7a + 5b + 13$.\n\nLet $B$ be the sum\n$$\n\\gcd(120, 28) + \\gcd(|120 - 89|, |171 - 28|) + \\gcd(89, 171).\n$$\n\nLet $R = \\frac{A + 2 - B}{2}$.\n\nLet $Q$ be the remainder when\n$$\n\\left(\\text{the number of integers } t \\in [7, 2613] \\text{ for which there exist } a \\in [1, 414], b \\in [1, 319] \\text{ such that } t = 4a + 3b\\right) - R\n$$\nis divided by $51485$.\n\nCompute $Q$.", "answer": 45074, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(196),\n \"_m\": Const(51485),\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(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=120), Const(value=171)), Mul(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=12)), 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=25)), Leq(left=Var(name='t'), right=Const(value=137)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=13)))))))), Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=28))), GCD(a=Abs(arg=Sub(left=Const(value=89), right=Const(value=120))), b=Abs(arg=Sub(left=Const(value=171), right=Const(value=28)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=89))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=171))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=414)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=319)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2613)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_negation_mod", "B3/LIN_FORM"], "recipe_id": "7a8a0a", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ENDING_negation_mod", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T04:51:07.252222Z", "verification": {"verified": true, "answer": 45074, "timestamp": "2026-02-08T04:51:07.263850Z"}, "problem_hash": "7eb90f", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "48697e", "alias": "comb_count_derangements_v1_784195855_2466", "problem": "Let $n$ be the largest prime number satisfying $2 \\leq n \\leq 7$. Compute the number of derangements of $n$ elements, denoted $!n$. Let $S$ be the set of all positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in $S$. Let $d_i$ denote the $i$-th decimal digit of $|!n|$ (with $i=0$ being the units digit), and let $k$ be the number of digits in $|!n|$. Compute the sum\n$$\n\\sum_{i=0}^{k-1} d_i \\cdot (i+1)^c\n$$\nand add $25200$ to it. Find the value of this sum.", "answer": 25312, "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(7)), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": Const(25200),\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(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ENDING_digits_weighted_mod", "MAX_PRIME_BELOW"], "recipe_id": "29908e", "seed_template_id": "comb_count_derangements_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ENDING_digits_weighted_mod", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T05:45:38.718512Z", "verification": {"verified": true, "answer": 25312, "timestamp": "2026-02-08T05:45:38.724416Z"}, "problem_hash": "d04ff1", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "MOD_ADD": "no"}} -{"id": "41ce25", "alias": "nt_count_digit_sum_v1_1440796553_582", "problem": "Let $c = 289$. Define $m$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $c$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $S$ be the set of all ordered pairs $(i, j)$ with $1 \\leq i \\leq 33$ and $1 \\leq j \\leq 34$ such that $i + j = n$. Let $T$ be the set of all positive integers $n$ with $1 \\leq n \\leq 431649$ such that the sum of the decimal digits of $n$ equals the number of elements in $S$. Compute the number of elements in $T$.", "answer": 10414, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(289),\n \"_m\": SumOverDivisors(n=Ref(name='_c'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(431649),\n \"target_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(33)), right=IntegerRange(start=Const(1), end=Const(34))))),\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": "K3", "lemma_paths": ["K3/B3/COUNT_SUM_EQUALS"], "recipe_id": "c53548", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_SUM_EQUALS", "K3"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 24.35, "created_at": "2026-02-08T11:51:56.088580Z", "verification": {"verified": true, "answer": 10414, "timestamp": "2026-02-08T11:52:20.438122Z"}, "problem_hash": "e98526", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "B3": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "K18": "no", "L3c": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}} -{"id": "94006e", "alias": "nt_gcd_compute_v1_151522320_557", "problem": "Let $d$ be a positive integer. Define $n = 65$. Consider the set of all positive integers $d$ such that $d \\leq 5$ and $d$ divides $n$. Let $s$ be the sum of $\\mu(d)$ over all such $d$, where $\\mu$ denotes the Möbius function. Let $a = 434925$ and $b = 956835$. Define $g = \\gcd(a, b)$. Compute the value of\n$$\n\\sum_{k = s + 7}^{|g|} \\tau(k),\n$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$, and then find the remainder when this sum is divided by $53761$.", "answer": 35060, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65),\n \"a\": Const(434925),\n \"b\": Const(956835),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=1)), Leq(left=Var(name='d'), right=Const(value=5)), Divides(divisor=Var(name='d'), dividend=Ref(name='_n'))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(53761)),\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/MOBIUS_COPRIME/ENDING_sum_divisor_count"], "recipe_id": "8e8296", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_sum_divisor_count", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:22:35.839341Z", "verification": {"verified": true, "answer": 35060, "timestamp": "2026-02-08T03:22:35.841811Z"}, "problem_hash": "ddd024", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "ENDING_sum_divisor_count": "ok_later", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K5": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8": "no"}} -{"id": "b9f93d", "alias": "nt_euler_phi_compute_v1_1248542787_538", "problem": "Let $f = \\omega(1)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $p = 3 + f$. Let $k$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 108$, and $\\gcd(p, q) = 1$. Define $n_1 = p^k$. Let $h = \\lambda(n_1)$, where $\\lambda$ is the Liouville function. Let $n = 40401 \\cdot h$. Determine the value of $\\varphi(n)$.", "answer": 26532, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n2\": Const(1),\n \"f\": SmallOmega(n=Ref(name='n2')),\n \"p\": Sum(Ref(\"_n\"), Ref(\"f\")),\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=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 \"h\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(40401), 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/LIOUVILLE_ONE", "OMEGA_ZERO"], "recipe_id": "ed34fb", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T03:12:18.787364Z", "verification": {"verified": true, "answer": 26532, "timestamp": "2026-02-08T03:12:18.792543Z"}, "problem_hash": "ea445e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26532, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 1296}, "timestamp": "2026-02-09T05:19:09.470Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26532, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1777}, "timestamp": "2026-02-09T17:58:10.241Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:33:07.326Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "OMEGA_ZERO": "ok", "LIOUVILLE_ONE": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -1.86, "mid": 2.91, "hi": 7.44}} -{"id": "6d8cd0", "alias": "nt_max_prime_below_v1_1742523217_4081", "problem": "Let $m = 384$. Let $n$ be the sum of all integers $n$ such that $1 \\le n \\le 2$ and $n$ is even. Let $\\text{result}$ be the largest prime number not exceeding $64516$ that is at least $n$. Let $Q$ be the remainder when\n$$\n\\text{result}^2 + c \\cdot \\text{result} + 8192\n$$\nis divided by $63414$, where $c$ is the number of positive integers $n$ such that $1 \\le n \\le m$, $6$ divides $n$, and $\\gcd(n, 35) = 1$. Compute $Q$.", "answer": 59483, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(384),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2)), Eq(Mod(value=Var(\"n\"), modulus=Const(2)), Const(0))))),\n \"upper\": Const(64516),\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\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(6), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))), Ref(\"result\")), Const(8192)), modulus=Const(63414)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/ENDING_quadratic_mod", "SUM_DIVISIBLE/C5"], "recipe_id": "31b5b3", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_quadratic_mod", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.52, "created_at": "2026-02-08T06:59:23.797912Z", "verification": {"verified": true, "answer": 59483, "timestamp": "2026-02-08T06:59:25.318138Z"}, "problem_hash": "173624", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "SUM_DIVISIBLE": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no"}} -{"id": "da8528", "alias": "comb_sum_binomial_row_v1_677425708_796", "problem": "Let $m = 6$. Let $k$ be the largest integer such that $7^k$ divides $6^7 + 1$. Let $n$ be the largest prime number satisfying $k \\leq n \\leq 13$. Let $S$ be the set of all positive integers $p$ for which there exists an integer $q$ such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in $S$. Define $r = c^n$. Compute $\\sum_{k=1}^{|r|} \\tau(k)$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 75108, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": MaxKDivides(target=Sum(Pow(Ref(\"_m\"), Const(7)), Const(1)), base=Const(7)),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(13)), 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=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'))))))), Ref(\"n\")),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "a6925a", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LTE_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:44:26.925572Z", "verification": {"verified": true, "answer": 75108, "timestamp": "2026-02-08T03:44:26.930970Z"}, "problem_hash": "a2682f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 75114, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:30:07.973Z"}], "lemma_applicability": {"COPRIME_PAIRS": "ok", "LTE_SUM": "ok", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "K18": "no", "MOD_ADD": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "9a0105", "alias": "nt_count_coprime_v1_1248542787_794", "problem": "Let $R$ be the number of positive integers $n$ not exceeding $43264$ such that $\\gcd(n, 5) = 1$. Let $P$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 126$. Let $S = \\sum_{k=1}^{4} k$. Compute the remainder when $R^2 + S \\cdot R + P$ is divided by $51726$.", "answer": 4391, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(43264),\n \"k\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")), 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\")), Const(126)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), modulus=Const(51726)),\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_quadratic_mod", "B1/ENDING_quadratic_mod"], "recipe_id": "8542b6", "seed_template_id": "nt_count_coprime_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.309, "created_at": "2026-02-08T03:25:20.136270Z", "verification": {"verified": true, "answer": 4391, "timestamp": "2026-02-08T03:25:23.445108Z"}, "problem_hash": "f2f1e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4391, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 1761}, "timestamp": "2026-02-09T08:21:02.999Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 4391, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 215, "completion_tokens": 1764}, "timestamp": "2026-02-09T21:07:50.073Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:54:14.543Z"}], "lemma_applicability": {"B1": "ok", "SUM_ARITHMETIC": "ok", "ENDING_quadratic_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "bb6aa4", "alias": "algebra_quadratic_discriminant_v1_1918700295_1376", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq = 185220, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nLet $N$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1 + x_2 = T + 6,$$\nwhere $T$ is the number of nonnegative integers $j$ with $0 \\le j \\le 37148$ and\n$$\\binom{37148}{j} \\equiv 1 \\pmod{2}.$$\n\nLet $b$ be the smallest integer $d \\ge 2$ such that $d$ divides $N$.\n\nLet $c = -5$ and define\n$$R = b^2 - 4ac.$$\n\nLet $Q$ be the remainder when $43750R$ is divided by $90343$, so that\n$$Q \\equiv 43750R \\pmod{90343}, \\qquad 0 \\le Q < 90343.$$\n\nFind the value of $Q$.", "answer": 53223, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(90343),\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=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'))))))),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(37148)), Eq(Mod(value=Binom(n=Const(37148), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(6)))))))))),\n \"c\": Const(-5),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mod(value=Mul(Const(43750), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/COMB1/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "8d2384", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR", "V8"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:48:31.144372Z", "verification": {"verified": true, "answer": 53223, "timestamp": "2026-02-08T05:48:31.149451Z"}, "problem_hash": "f1dd4c", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok", "COMB1": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K15": "no", "K16": "no", "K17": "no", "V3": "no", "V5": "no"}} -{"id": "7fe89b", "alias": "antilemma_sum_primes_v1_1520064083_3204", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 81$. Let $T$ be the set of all values of $x+y$ where $(x,y) \\in S$. Let $m$ be the minimum value in $T$. Now, let $U$ be the set of all positive integers $n$ such that $2 \\leq n \\leq m$ and $n$ is prime. Compute the Fibonacci entry point of $|\\sum U| + 2$, that is, the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|\\sum U| + 2$. Find the value of $k$.", "answer": 105, "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\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(81)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "890931", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.043, "created_at": "2026-02-08T05:31:26.207091Z", "verification": {"verified": true, "answer": 105, "timestamp": "2026-02-08T05:31:26.250459Z"}, "problem_hash": "f926f3", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "B1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF": "no"}} -{"id": "bc84d3", "alias": "algebra_vieta_sum_v1_1125832087_2343", "problem": "Let $f(x) = -x^2 + 4x + k$, where $k$ is the number of integers $n$ with $1 \\leq n \\leq 118$ such that the sum of the decimal digits of $n$ is odd. Determine the sum of all real roots of the equation $f(x) = 0$, and denote this sum by $s$. \n\nLet $t$ be an integer satisfying $18 \\leq t \\leq 114$. Let $N$ be the number of such $t$ that can be expressed as $t = 4a + 14b$ for positive integers $a$ and $b$ with $1 \\leq a \\leq 11$ and $1 \\leq b \\leq 5$. \n\nCompute $s^2 + N \\cdot s + 81$.", "answer": 269, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Mul(Const(-1), Pow(Var(\"x\"), Const(2))), Mul(Const(4), Var(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(118)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), Const(0)))),\n \"_c\": Const(81),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=18)), Leq(left=Var(name='t'), right=Const(value=114)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ENDING_quadratic_mod", "L3B"], "recipe_id": "d0b12b", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_quadratic_mod", "L3B", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T04:34:06.857277Z", "verification": {"verified": true, "answer": 269, "timestamp": "2026-02-08T04:34:06.866841Z"}, "problem_hash": "002ad5", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "f81780", "alias": "sequence_lucas_compute_v1_1520064083_611", "problem": "Consider all positive integers $n$ such that the exponent of $3$ in the prime factorization of $n!$ is at least $1$. Let $c_0$ be the smallest such $n$.\n\nLet $m_0=2$. Consider all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=36,\\quad \\gcd(p,q)=1,\\quad p 0$, and $\\delta = 0$ otherwise. Define $\\varepsilon = 1$ if $D = \\sum_{d \\mid \\left( \\sum S \\right)} \\mu(d)$, and $\\varepsilon = 0$ otherwise, where $\\mu$ denotes the M\\\"obius function. Let $r = 2\\delta + \\varepsilon$. Compute $44121 \\cdot r$.", "answer": 44121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(1),\n \"b\": Const(2),\n \"c\": Const(1),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_n\"), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), SumOverDivisors(n=SumOverSet(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=4)), IsPrime(arg=Var(name='n'))))), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"Q\": Mul(Const(44121), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["SUM_PRIMES/MOBIUS_SUM"], "recipe_id": "7a7629", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "SUM_PRIMES"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:24:29.794559Z", "verification": {"verified": true, "answer": 44121, "timestamp": "2026-02-08T05:24:29.797971Z"}, "problem_hash": "7f3ebf", "license": "CC BY 4.0", "lemma_applicability": {"SUM_PRIMES": "ok", "MOBIUS_SUM": "ok_later", "K13": "no", "K14": "no", "K16": "no", "L3b": "no", "LTE_DIFF": "no"}} -{"id": "62e7bb", "alias": "sequence_lucas_compute_v1_865884756_3648", "problem": "Let $m$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 45$ and $\\gcd(n_1, 14) = 1$. Let $n$ 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 = P$, where $P$ is the maximum value of $x y$ over all pairs of positive integers $(x, y)$ such that $x + y = m$. Compute the $n$th Lucas number, where $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$.", "answer": 15127, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(45),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_c\")), Eq(GCD(a=Var(\"n1\"), b=Const(14)), Const(1))))),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"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": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/B1/B3"], "recipe_id": "405425", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "C4"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T17:31:44.871513Z", "verification": {"verified": true, "answer": 15127, "timestamp": "2026-02-08T17:31:44.874567Z"}, "problem_hash": "7359cc", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "B1": "ok_later", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "c053fd", "alias": "nt_count_divisible_v1_124444284_2574", "problem": "Let $c = 9$. Let $m$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 4$.\n\nLet $n$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 8$ and $1 \\le j \\le 8$ such that\n\\[i + j = c.\\]\n\nLet $d$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1 \\le a \\le 4, \\quad 1 \\le b \\le 2, \\quad 10 \\le t \\le 28, \\quad t = 4a + 6b.\\]\n\nLet\n\\[R\\] be the number of positive integers $n$ with $1 \\le n \\le 78400$ such that\n\\[n \\equiv \\sum_{k=0}^{m} (-1)^k \\binom{n}{k} \\pmod{d}.\n\\]\n\nCompute $R$.", "answer": 9800, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(9),\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"upper\": Const(78400),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Summation(var=\"k\", start=Const(0), end=Ref(\"_m\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"_n\"), k=Var(\"k\")))))))),\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/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS/LIN_FORM/BINOMIAL_ALTERNATING"], "recipe_id": "b0a0b1", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 5.541, "created_at": "2026-02-08T04:45:57.642749Z", "verification": {"verified": true, "answer": 9800, "timestamp": "2026-02-08T04:46:03.183502Z"}, "problem_hash": "676ca7", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "4ee3cd", "alias": "nt_count_divisors_in_range_v1_809748730_331", "problem": "Let $n = 5040$, $a = 10$, and $b = 321$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 38, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(5040),\n \"a\": Const(10),\n \"b\": Const(321),\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": "C3", "lemma_paths": ["C3/SUM_INDEPENDENT/SUM_ARITHMETIC"], "recipe_id": "03a60c", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.214, "created_at": "2026-02-08T11:28:29.526671Z", "verification": {"verified": true, "answer": 38, "timestamp": "2026-02-08T11:28:29.740747Z"}, "problem_hash": "8eafc2", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "SUM_ARITHMETIC": "ok_later", "SUM_INDEPENDENT": "ok_later", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no", "V7": "no"}} -{"id": "c40668", "alias": "nt_sum_divisors_compute_v1_1915831931_201", "problem": "Let $n = 64620$. Compute the sum of the positive divisors of $n$. Let $\\sigma$ denote this sum. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 24$ and $n_1 \\equiv 0 \\pmod{4}$. Let $s = \\sum S$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s$. Let $M$ be the maximum value of $xy$ over all such pairs. Compute the remainder when $\\sigma^2 + 37\\sigma + M$ is divided by $77541$.", "answer": 7947, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77541),\n \"_n\": Const(2),\n \"n\": Const(64620),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(37), 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\")), SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(24)), Eq(Mod(value=Var(\"n1\"), modulus=Const(4)), Const(0)))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), modulus=Ref(\"_m\")),\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/B1/ENDING_quadratic_mod"], "recipe_id": "b31d79", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "ENDING_quadratic_mod", "SUM_DIVISIBLE"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T15:13:49.043114Z", "verification": {"verified": true, "answer": 7947, "timestamp": "2026-02-08T15:13:49.048096Z"}, "problem_hash": "582a76", "license": "CC BY 4.0", "lemma_applicability": {"SUM_DIVISIBLE": "ok", "B1": "ok_later", "ENDING_quadratic_mod": "ok_later", "L3b": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V3": "no", "V5": "no"}} -{"id": "c446a3", "alias": "nt_num_divisors_compute_v1_168721529_1683", "problem": "Let $n_1 = 67$ and $w = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function. Let $d_{\\max}$ be the largest positive divisor of $6059$ that is at most $73$. Define $p = d_{\\max} + w$. Let $f = \\Omega(p)$, the number of prime factors of $p$ counted with multiplicity. Define $n = 99f$ and let $r = \\tau(n)$, the number of positive divisors of $n$.\n\nCompute 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 \"_n\": Const(73),\n \"n1\": Const(67),\n \"w\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"p\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(6059))))), Ref(\"w\")),\n \"f\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Const(99), Ref(\"f\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/LIOUVILLE_MINUS_ONE/BIG_OMEGA_ONE"], "recipe_id": "9f27a6", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T13:50:43.565596Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T13:50:43.571388Z"}, "problem_hash": "be5e9f", "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": 257, "completion_tokens": 1006}, "timestamp": "2026-02-09T20:19:42.789Z"}], "lemma_applicability": {"MAX_DIVISOR": "ok", "BIG_OMEGA_ONE": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}} -{"id": "6c26ac", "alias": "nt_max_prime_below_v1_151522320_1483", "problem": "Let $m = 6$. Compute $6^7 + 1$, and let $n$ be the largest integer $k$ such that $7^k$ divides this value. Let $U = 24649$. Define $P$ to be the set of all prime numbers $p$ such that $n \\le p \\le U$. Let $r$ be the largest element of $P$. Now, let $S$ be the set of all integers $t$ such that $11 \\le t \\le 2345$ and there exist positive integers $a \\le 171$ and $b \\le 287$ satisfying $t = 7a + 4b$. Find the number of elements in $S$, and denote this count by $C$. Compute the remainder when $C \\cdot r$ is divided by $68792$. Find this remainder.", "answer": 41459, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": MaxKDivides(target=Sum(Pow(Ref(\"_m\"), Const(7)), Const(1)), base=Const(7)),\n \"upper\": Const(24649),\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\": 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=171)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=287)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=2345)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"result\")), modulus=Const(68792)),\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_affine_mod", "LTE_SUM/LIN_FORM"], "recipe_id": "541565", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "LIN_FORM", "LTE_SUM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 1.386, "created_at": "2026-02-08T04:02:50.314883Z", "verification": {"verified": true, "answer": 41459, "timestamp": "2026-02-08T04:02:51.700999Z"}, "problem_hash": "423e52", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "LTE_SUM": "ok", "ENDING_affine_mod": "ok_later", "DS2": "no", "K14": "no", "K17": "no", "K5": "no", "V3": "no"}} -{"id": "006c51", "alias": "nt_sum_divisors_compute_v1_1520064083_4686", "problem": "Let $p = 41$ and $q = 73$. Define $n_2 = (p \\cdot q)^2$. Let $u$ be the remainder when the number of positive divisors of $n_2$ is divided by $2$.\n\nLet $n_1$ be the largest integer $k$ such that $5^k$ divides $19660!$. Define $f$ to be the number of distinct prime factors of $n_1$.\n\nLet $n = 20164 \\cdot u \\cdot f$.\n\nCompute the sum of all positive divisors of $n$.", "answer": 35791, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(41),\n \"q\": Const(73),\n \"n2\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": MaxKDivides(target=Factorial(Const(19660)), base=Const(5)),\n \"f\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Const(20164), Ref(\"u\"), Ref(\"f\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/OMEGA_ONE", "DIVISOR_PARITY"], "recipe_id": "8b4cac", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "OMEGA_ONE", "V1"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T06:23:06.759467Z", "verification": {"verified": true, "answer": 35791, "timestamp": "2026-02-08T06:23:06.762214Z"}, "problem_hash": "9c1bc0", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "V1": "ok", "OMEGA_ONE": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "L3c": "no"}} -{"id": "f6da79", "alias": "comb_sum_binomial_row_v1_1742523217_2904", "problem": "Let $c = 144$ and $m = 9$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 144$. Define $\\alpha$ to be the number of positive integers $n \\le s$ such that $9$ divides the $n$-th Fibonacci number. Define $\\beta$ to be the number of integers $t$ with $5 \\le t \\le 17$ that can be written in the form $3a + 2b$ for integers $a, b$ satisfying $1 \\le a \\le 3$ and $1 \\le b \\le 4$. Compute $\\alpha^\\beta$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(144),\n \"_m\": Const(9),\n \"_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\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"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": "B3", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE/LIN_FORM"], "recipe_id": "953448", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:27:16.143631Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T05:27:16.147199Z"}, "problem_hash": "308134", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "LIN_FORM": "ok_later", "DS2": "no", "K18": "no", "K5": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "4245ff", "alias": "antilemma_cartesian_v1_1520064083_4168", "problem": "Let $d$ be the number of ordered pairs $(u,v)$ of integers such that $1\\le u\\le 2$ and $1\\le v\\le 337$. Let $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=d$.\n\nLet $x$ be the number of ordered pairs $(r,s)$ of integers such that $1\\le r\\le 12$ and $1\\le s\\le 23$.\n\nLet $c$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 87$, $1\\le b\\le 87$, $36\\le t\\le 3132$, and\n$$t=21a+15b.$$\n\nLet $R$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 121$, $1\\le b\\le 19$, $5\\le t\\le 299$, and\n$$t=2a+3b.$$\n\nLet\n$$Q\\equiv \\Big(\\,x\\bmod R\\; +\\; c\\big(x\\bmod n\\big)\\Big)\\pmod{84544},$$\nwhere $0\\le Q<84544$.\n\nFind the value of $Q$. ", "answer": 25128, "graph": "graphs = [\n Graph(\n let={\n \"_d\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(337)))),\n \"_m\": Const(84544),\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(\"_d\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(23)))),\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=87)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=87)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=3132)), 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(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=121)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=19)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=299)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1/LIN_FORM/ENDING_two_moduli", "COUNT_CARTESIAN"], "recipe_id": "958a18", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "ENDING_two_moduli", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T06:07:32.545467Z", "verification": {"verified": true, "answer": 25128, "timestamp": "2026-02-08T06:07:32.550478Z"}, "problem_hash": "0b2132", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COMB1": "ok_later", "ENDING_two_moduli": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}} -{"id": "05a52b", "alias": "antilemma_count_primes_v1_153355830_1349", "problem": "Let $ x $ be the number of prime numbers $ n $ such that $ 2 \\leq n \\leq 3221 $.\n\nLet $ y $ be the number of positive integers $ n $ such that $ 1 \\leq n \\leq 15007 $ and $ \\gcd(n, 12) = 1 $.\n\nDefine\n$$\nQ = \\left( (x \\bmod 199) + y \\cdot (x \\bmod 499) \\right) \\bmod 53998.\n$$\n\nCompute $ Q $.", "answer": 13510, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(199),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3221)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15007)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))), Mod(value=Ref(\"x\"), modulus=Const(499)))), modulus=Const(53998)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ENDING_two_moduli", "COUNT_PRIMES"], "recipe_id": "8a8d14", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "COUNT_PRIMES", "ENDING_two_moduli"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:19:36.539069Z", "verification": {"verified": true, "answer": 13510, "timestamp": "2026-02-08T06:19:36.541417Z"}, "problem_hash": "3dcb23", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "COUNT_PRIMES": "ok", "ENDING_two_moduli": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "91df5a", "alias": "nt_count_gcd_equals_v1_168721529_1261", "problem": "Let $m = 178$. Define $f(d) = \\varphi(d)$ for each positive divisor $d$ of $m$, and let $n = \\sum_{d \\mid m} f(d)$. Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = n$, and let $M$ be the maximum value of $xy$ over all such pairs. Let $k$ be the number of integers $t$ with $10 \\leq t \\leq 826$ such that there exist positive integers $a \\leq 73$ and $b \\leq 97$ satisfying $t = 6a + 4b$. Compute the number of positive integers $n \\leq M$ such that $\\gcd(n, k) = 1$.", "answer": 7006, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(178),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\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(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=73)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=97)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=826)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["K3/B1", "LIN_FORM"], "recipe_id": "757f23", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "K3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.16, "created_at": "2026-02-08T13:33:20.253414Z", "verification": {"verified": true, "answer": 7006, "timestamp": "2026-02-08T13:33:22.413437Z"}, "problem_hash": "b14a65", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7902, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 2995}, "timestamp": "2026-02-09T15:04:01.592Z"}], "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "7821d0", "alias": "diophantine_fbi2_min_v1_151522320_334", "problem": "Let $k = 6$ and let $d$ be an integer. Consider the set of all integers $d$ such that $2 \\leq d \\leq 16$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$. Compute the minimum value of $d$ in this set.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(6),\n \"a\": Const(1),\n \"b\": Const(1),\n \"upper\": Const(16),\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": ["B3/K14/B3"], "recipe_id": "220dc2", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "K14"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.05, "created_at": "2026-02-08T03:09:38.603317Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:09:38.653715Z"}, "problem_hash": "fbb99d", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 295}, "timestamp": "2026-02-09T01:34:22.634Z"}], "lemma_applicability": {"B3": "ok", "K14": "ok_later", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "48b0c3", "alias": "nt_sum_divisors_compute_v1_1742523217_1425", "problem": "Let $n = 40320$. Define $r$ to be the sum of all positive divisors of $n$. Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 9$. Let $c$ be the largest integer $k$ such that $p^k$ divides\n$$\n3119740674076395004337981830420098684203454158574252842412444308046517314911807865594915658629049303590735916221255583752466281189148375277626736721711751229937417115299492870838782005816172220571966076786220950549722518817266415508715509394361481377908052677578087433134249058221834982579902452946332032090532801576413683516476114844202988794305500803557987151409182766068856585440377449347182119365770021601829160425436070971948238487433413097922135855918784301077959603067874834692066307058420650020031602053151728958065774857934742317363319546222289901020079216912597989655963292567406175344783082015953547613828202211491532906009779841155132633181343699765170806624435760527192449207630713636080633062509287223550807031352593219903498070773762771404569503707915840772328871962981605700040083157414117946599497255057213740820130983764767061161470326758219804074967938492101586410492222866364049222866364049 \\times 256923577521058878088611477224235621321607.\n$$\nCompute the remainder when $c - r$ is divided by $55052$.", "answer": 7147, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(55052),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"n\": Const(40320),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MaxKDivides(target=Mul(Const(3119740674076395004337981830420098684203454158574252842412444308046517314911807865594915658629049303590735916221255583752466281189148375277626736721711751229937417115299492870838782005816172220571966076786220950549722518817266415508715509394361481377908052677578087433134249058221834982579902452946332032090532801576413683516476114844202988794305500803557987151409182766068856585440377449347182119365770021601829160425436070971948238487433413097922135855918784301077959603067874834692066307058420650020031602053151728958065774857934742317363319546222289901020079216912597989655963292567406175344783082015953547613828202211491532906009779841155132633181343699765170806624435760527192449207630713636080633062509287223550807031352593219903498070773762771404569503707915840772328871962981605700040083157414117946599497255057213740820130983764767061161470326758219804074967938492101586410492222866364049), Const(256923577521058878088611477224235621321607)), base=Ref(\"_n\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K13/ENDING_negation_mod"], "recipe_id": "52d589", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "K13", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T03:59:16.709595Z", "verification": {"verified": true, "answer": 7147, "timestamp": "2026-02-08T03:59:16.710869Z"}, "problem_hash": "f06aa8", "license": "CC BY 4.0", "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ENDING_negation_mod": "ok_later", "K13": "ok_later", "K14": "no", "K18": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "62b6d9", "alias": "diophantine_product_count_v1_153355830_1248", "problem": "Let $k = 720$ and $u = 288$. Consider the set of all positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$. Compute the number of elements in this set.", "answer": 26, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(720),\n \"upper\": Const(288),\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\": 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": ["COUNT_CARTESIAN", "L3B"], "recipe_id": "76c654", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "L3B"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.143, "created_at": "2026-02-08T06:13:05.308517Z", "verification": {"verified": true, "answer": 26, "timestamp": "2026-02-08T06:13:05.451153Z"}, "problem_hash": "b1fe4c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "L3B": "ok", "K14": "no", "K18": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}} -{"id": "08cce1", "alias": "nt_min_phi_inverse_v1_1520064083_4375", "problem": "Let $k = 18$. Consider the set of all positive integers $n$ such that $1 \\le n \\le 60$ and $\\phi(n) = k$, where $\\phi$ denotes Euler's totient function. Let $m$ be the smallest element of this set. Compute the Bell number $B_m$, and then find the remainder when $B_m$ is divided by $11$. Determine the value of this remainder.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60),\n \"k\": Const(18),\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\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/ENDING_bell_mod", "SUM_DIVISIBLE", "MAX_VAL"], "recipe_id": "d5198f", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_bell_mod", "MAX_VAL", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.07, "created_at": "2026-02-08T06:14:47.334680Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T06:14:47.404228Z"}, "problem_hash": "93da28", "license": "CC BY 4.0", "lemma_applicability": {"MAX_VAL": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok", "ENDING_bell_mod": "ok_later", "K16": "same_pattern_wrong", "COUNT_PRIMES": "no", "K14": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "961ed8", "alias": "nt_sum_totient_over_divisors_v1_151522320_1522", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 92$. Define $n_2 = p_1^2$. Let $f = \\lambda(n_2)$, where $\\lambda(n)$ is the Liouville function. Define $p = 17$ and $q = 5$, and let $n_1 = (p \\cdot q)^{2f}$. Let $w$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Define $n = 43366 \\cdot w$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ is Euler's totient function.", "answer": 43366, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(43366),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(92)), IsPrime(Var(\"n\"))))),\n \"n2\": Pow(Ref(\"p1\"), Const(2)),\n \"f\": LiouvilleLambda(n=Ref(name='n2')),\n \"p\": Const(17),\n \"q\": Const(5),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Mul(Const(2), Ref(\"f\"))),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_ONE", "DIVISOR_PARITY"], "recipe_id": "bf473c", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T04:04:37.247480Z", "verification": {"verified": true, "answer": 43366, "timestamp": "2026-02-08T04:04:37.252090Z"}, "problem_hash": "1b6be9", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "973a6c", "alias": "comb_count_partitions_v1_784195855_1747", "problem": "Let $c = 48$. Compute the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = c$. Denote this number by $m$. Let $n_1$ be the number of ordered pairs $(y_1, y_2)$ of positive odd integers such that $y_1 + y_2 = m$. Define $$ c = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}. $$ Let $n_2 = 0$ and $$ u = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}. $$ Let $n = c + 3 \\cdot 13$. Let $P$ be the number of integer partitions of $n$. Compute the remainder when $91339 \\cdot u \\cdot P$ is divided by $57722$.", "answer": 56903, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(48),\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\": Const(91339),\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\": 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 \"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\": Sum(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(13)))), Ref(\"c\")),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Mul(Ref(\"_n\"), Ref(\"u\")), Ref(\"result\")), modulus=Const(57722)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1/BINOMIAL_ALTERNATING", "COUNT_CARTESIAN/BINOMIAL_ALTERNATING"], "recipe_id": "ab1e13", "seed_template_id": "comb_count_partitions_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T05:16:43.380604Z", "verification": {"verified": true, "answer": 56903, "timestamp": "2026-02-08T05:16:43.384127Z"}, "problem_hash": "3e20a8", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}} -{"id": "2a1287", "alias": "modular_modexp_compute_v1_1520064083_3319", "problem": "Let $a = 43$, $e = 5041$, and $m = 27889$. Let $r$ be the remainder when $a^e$ is divided by $m$. Let $k$ be the number of positive integers $k$ not exceeding 372 that are divisible by 6. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = k$. Let $s$ be the sum of $xy$ over all pairs $(x, y) \\in T$. Compute the remainder when $s \\cdot r$ is divided by 50084.", "answer": 39056, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50084),\n \"a\": Const(43),\n \"e\": Const(5041),\n \"m\": Const(27889),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=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\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(372)), Divides(divisor=Const(6), dividend=Var(\"k\"))), domain='positive_integers'))))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B1/ENDING_affine_mod"], "recipe_id": "534739", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C2", "ENDING_affine_mod"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:35:36.449542Z", "verification": {"verified": true, "answer": 39056, "timestamp": "2026-02-08T05:35:36.453734Z"}, "problem_hash": "9aaaf2", "license": "CC BY 4.0", "lemma_applicability": {"C2": "ok", "B1": "ok_later", "ENDING_affine_mod": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K15": "no", "K16": "no", "K17": "no"}} -{"id": "4158da", "alias": "algebra_poly_eval_v1_1520064083_4287", "problem": "Let $x = 13$, and define\n$$R = 4x^4 - 10x^3 - 8x^2 + 10x - 6.$$\nLet $s$ be the remainder when $|R|$ is divided by $11$.\n\nLet $B$ be the $s$-th Bell number, that is, the number of ways to partition a set of $s$ elements into nonempty subsets.\n\nLet $Q$ be the remainder when $B$ is divided by $55765$.\n\nFind the value of $Q$.", "answer": 4445, "graph": "graphs = [\n Graph(\n let={\n \"x\": Const(13),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"x\"), Const(4))), Mul(Const(-10), Pow(Ref(\"x\"), Const(3))), Mul(Const(-8), Pow(Ref(\"x\"), Const(2))), Mul(Const(10), Ref(\"x\")), Const(-6)),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))), modulus=Const(55765)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/MIN_PRIME_FACTOR/MAX_PRIME_BELOW/ENDING_bell_mod"], "recipe_id": "57bc19", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "ENDING_bell_mod", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.033, "created_at": "2026-02-08T06:11:33.045854Z", "verification": {"verified": true, "answer": 4445, "timestamp": "2026-02-08T06:11:33.078880Z"}, "problem_hash": "e9c650", "license": "CC BY 4.0", "lemma_applicability": {"C3": "ok", "ENDING_bell_mod": "ok_later", "MAX_PRIME_BELOW": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "5b30ad", "alias": "antilemma_sum_equals_v1_1742523217_3285", "problem": "Let $c=228$. Let $m$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=c.$$Let $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=m.$$\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 57$, $1\\le j\\le 57$, and\n$$i+j=n.$$\n\nLet $T$ be the set of all integers $t$ such that there exist integers $u$ and $v$ with $1\\le u\\le 124$, $1\\le v\\le 535$, $14\\le t\\le 3380$, and\n$$t=10u+4v.$$Let $y$ be the number of elements of $T$.\n\nDefine\n$$Q=y-x.$$\n\nFind the value of $Q$. ", "answer": 1624, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(228),\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(\"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(57)), right=IntegerRange(start=Const(1), end=Const(57))))),\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=124)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=535)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=3380)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1/COUNT_SUM_EQUALS", "LIN_FORM/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "05e921", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T05:45:48.573328Z", "verification": {"verified": true, "answer": 1624, "timestamp": "2026-02-08T05:45:48.581432Z"}, "problem_hash": "fc4e15", "license": "CC BY 4.0", "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}} -{"id": "1b0a21", "alias": "nt_sum_divisors_compute_v1_1918700295_1844", "problem": "Let $n = 80000$. Compute $\\sigma(n)$, the sum of all positive divisors of $n$. Let $d_{\\text{min}}$ be the smallest integer greater than or equal to 2 that divides 245. Define $c$ to be the largest integer $k$ such that $2^k$ divides $7^{33554432} - d_{\\text{min}}^{33554432}$. Find the remainder when $c - \\sigma(n)$ is divided by $61350$.", "answer": 46272, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61350),\n \"n\": Const(80000),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MaxKDivides(target=Sub(Pow(Const(7), Const(33554432)), Pow(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(245))))), Const(33554432))), base=Const(2)),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LTE_DIFF_P2/ENDING_negation_mod"], "recipe_id": "331652", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "LTE_DIFF_P2", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:04:54.997207Z", "verification": {"verified": true, "answer": 46272, "timestamp": "2026-02-08T06:04:54.999819Z"}, "problem_hash": "d2045b", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ENDING_negation_mod": "ok_later", "LTE_DIFF_P2": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "d10c02", "alias": "nt_count_coprime_and_v1_1918700295_380", "problem": "Let $m = 13$ and let $d_0$ be the smallest divisor of $347633$ that is at least $2$. Let $T$ be the set of all prime numbers $n$ such that $2 \\le n \\le m$. Define $s = \\sum_{d \\mid \\gcd(d_0, \\max(T))} \\mu(d)$, where $\\mu$ is the Möbius function. Compute the number of integers $n$ such that $s \\le n \\le 38445$, $\\gcd(n, 3) = 1$, and $\\gcd(n, 5) = 1$.", "answer": 20504, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(347633))))),\n \"upper\": Const(38445),\n \"k1\": Const(3),\n \"k2\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Ref(name='_n'), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Ref(name='_m')), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW/MOBIUS_COPRIME"], "recipe_id": "ce7b32", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 3.879, "created_at": "2026-02-08T03:11:53.349913Z", "verification": {"verified": true, "answer": 20504, "timestamp": "2026-02-08T03:11:57.228835Z"}, "problem_hash": "157dd4", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}} -{"id": "662dd1", "alias": "antilemma_v1_legendre_168721529_1777", "problem": "Let $x$ be the largest integer $r$ such that $13^r$ divides $50297!$.\n\nConsider the set of all ordered pairs $(u,v)$ of positive integers such that $uv = 8100$. For each such pair, form the sum $u+v$, and let $S$ be the minimum value of $u+v$ over all these pairs. Now consider the set of all ordered pairs $(m,n)$ of positive integers such that $m+n = S$, and let $P$ be the maximum value of $mn$ over all such pairs.\n\nLet $Q = P - x$. Compute $Q$. ", "answer": 3911, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(50297),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(8100)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/ENDING_negation_mod", "V1"], "recipe_id": "c2de52", "seed_template_id": "antilemma_v1_legendre", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_negation_mod", "V1"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T13:54:54.891468Z", "verification": {"verified": true, "answer": 3911, "timestamp": "2026-02-08T13:54:54.896572Z"}, "problem_hash": "ac2dbd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3911, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 1795}, "timestamp": "2026-02-09T21:30:28.894Z"}], "lemma_applicability": {"B3": "ok", "V1": "ok", "B1": "ok_later", "ENDING_negation_mod": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "L3c": "no", "MAX_VAL": "no"}} -{"id": "59410d", "alias": "nt_count_primes_v1_1742523217_2835", "problem": "Let $p$ be the number of integers $t$ with $36 \\le t \\le 150$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 5$, $1 \\le b \\le 7$, and $t = 15a + 9b + 12$. Let $s = \\Omega(p)$. Let $n = s \\cdot N$, where $N$ is the number of integers $t$ with $14 \\le t \\le 4070$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 239$, $1 \\le b \\le 420$, and $t = 10a + 4b$. Let $h = \\tau(n) \\bmod 2$, and let $\\text{upper} = 58081 \\cdot h$. Let $r$ be the number of prime numbers $n$ such that $2 \\le n \\le \\text{upper}$. Find the multiplicative order of $2$ modulo $2r + 3$.", "answer": 2460, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\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=5)), 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=36)), Leq(left=Var(name='t'), right=Const(value=150)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b')), Const(value=12)))))))),\n \"s\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=239)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=420)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=4070)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"s\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Ref(\"_m\")),\n \"upper\": Mul(Const(58081), Ref(\"h\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/BIG_OMEGA_ONE/DIVISOR_PARITY"], "recipe_id": "8e9bfc", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "DIVISOR_PARITY", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 1.786, "created_at": "2026-02-08T05:24:37.840768Z", "verification": {"verified": true, "answer": 2460, "timestamp": "2026-02-08T05:24:39.627259Z"}, "problem_hash": "f5056a", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "BIG_OMEGA_ONE": "ok_later", "DIVISOR_PARITY": "ok_later", "C2": "no", "K13": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no"}} -{"id": "433be6", "alias": "antilemma_count_primes_v1_1520064083_3632", "problem": "Let $p = 11 + \\omega(1)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $q = 61$, and let $n = p \\cdot q$. Define $m = \\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 $N = 1531 \\cdot m$. Compute the number of prime numbers $k$ such that $2 \\leq k \\leq N$. Determine the value of this count.", "answer": 242, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"p\": Sum(Const(11), Ref(\"u\")),\n \"q\": Const(61),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"m\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(1531), Ref(\"m\")),\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": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE", "OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "653402", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:47:01.786497Z", "verification": {"verified": true, "answer": 242, "timestamp": "2026-02-08T05:47:01.787274Z"}, "problem_hash": "e083f4", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "LIOUVILLE_ONE": "ok", "OMEGA_ZERO": "ok", "K15": "no", "K17": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}} -{"id": "dfdc64", "alias": "comb_count_surjections_v1_1918700295_1955", "problem": "Let $c = 8$. Define $m$ to be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 6$, $1 \\leq j \\leq 6$, and $i + j = c$. Define $n$ to be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 5$, $1 \\leq j \\leq 5$, and $i + j = m$. Let $a$ be the number of ordered pairs $(i,j)$ such that $i \\in \\{1,2\\}$ and $j \\in \\{1,2,3,4\\}$. Let $b$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 4$, $1 \\leq j \\leq 4$, and $i + j = n$. Compute $b! \\cdot S(a, b)$, where $S(a, b)$ denotes the Stirling number of the second kind.", "answer": 5796, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\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(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "2b449a", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.03, "created_at": "2026-02-08T06:12:00.275812Z", "verification": {"verified": true, "answer": 5796, "timestamp": "2026-02-08T06:12:00.305772Z"}, "problem_hash": "4be10c", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "aa3d40", "alias": "modular_sum_quadratic_residues_v1_124444284_942", "problem": "Let $m = 2$ and let $n$ be the sum of all real solutions $x$ to the equation\n$$\nx^2 - 1625x - 36234 = 0.\n$$\nLet $p$ be the number of positive integers $n'$ such that $1 \\leq n' \\leq n$ and\n$$\nn' \\equiv \\left\\lfloor \\frac{n'}{2} \\right\\rfloor \\pmod{3}.\n$$\nCompute $\\frac{p(p-1)}{4}$.", "answer": 73035, "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(-1625), Var(\"x\")), Const(-36234)), Const(0)))),\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=3))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/L3C"], "recipe_id": "217e6b", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:36:24.724995Z", "verification": {"verified": true, "answer": 73035, "timestamp": "2026-02-08T03:36:24.726977Z"}, "problem_hash": "895022", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 73035, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 1246}, "timestamp": "2026-02-09T07:47:21.519Z"}], "lemma_applicability": {"VIETA_SUM": "ok", "L3C": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "36ac45", "alias": "nt_min_with_divisor_count_v1_1520064083_3918", "problem": "Let $ n $ be a positive integer such that $ \\gcd(n, 12) = 1 $ and $ 1 \\le n \\le 16663 $. Let $ u $ be the number of such integers $ n $. Let $ d = 8 $. Let $ r $ be the smallest positive integer $ n \\le u $ such that $ n $ has exactly $ d $ positive divisors. Let $ c $ be the number of integers $ t $ with $ 14 \\le t \\le 40 $ for which there exist positive integers $ a $ and $ b $ such that $ 1 \\le a \\le 5 $, $ 1 \\le b \\le 2 $, and $ t = 4a + 10b $. Let $ Q $ be the remainder when\n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left( (|r|^2 + 1) \\bmod 101 \\right) + 215534 \\cdot \\left( (|r| + c) \\bmod 103 \\right)\n$$\nis divided by $ 94868 $. Compute $ Q $. ", "answer": 11335, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16663)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\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\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=14)), Leq(left=Var(name='t'), right=Const(value=40)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(94868)),\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_crt_mix_3", "C4"], "recipe_id": "615877", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "ENDING_crt_mix_3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.776, "created_at": "2026-02-08T05:58:54.587448Z", "verification": {"verified": true, "answer": 11335, "timestamp": "2026-02-08T05:58:55.363343Z"}, "problem_hash": "08d0c2", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}} -{"id": "2fd897", "alias": "comb_binomial_compute_v1_865884756_3737", "problem": "Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $m = |S|$. Let $n$ be the largest prime number satisfying $m \\leq n \\leq 15$. Let\n$$\nk = \\frac{2}{4} \\sum_{(k_1, j) \\in \\{1,2,3\\} \\times \\{1,2\\}} k_1.\n$$\nDefine $\\text{result} = \\binom{n}{k}$. Compute $54756 - \\text{result}$.", "answer": 53040, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(54756),\n \"_n\": Const(15),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"k\": Div(Mul(Const(2), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k1\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k1\")))), Const(4)),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW", "SUM_INDEPENDENT", "SUM_ARITHMETIC"], "recipe_id": "c8579b", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T17:33:40.110166Z", "verification": {"verified": true, "answer": 53040, "timestamp": "2026-02-08T17:33:40.115807Z"}, "problem_hash": "32ab53", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no"}} -{"id": "03d4cf", "alias": "nt_count_primes_v1_677425708_1379", "problem": "Let $n_1 = 1331$. Define\n\n$$\nh = \\left( \\sum_{d \\mid n_1} \\phi(d) \\right) - n_1,\n$$\n\nwhere $\\phi$ denotes Euler's totient function. Let $n = 59$ and define $u = \\lambda(n) + 1$, where $\\lambda$ is the Liouville function. Let $R$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 50000$. Let $C$ be the largest prime number less than or equal to 5004.\n\nCompute the value of\n\n$$\n(R \\bmod (307 + h) + C \\cdot (R \\bmod 317)) \\bmod (71127 + u).\n$$", "answer": 20896, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(1331),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(59),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Const(50000),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5004)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Sum(Const(307), Ref(\"h\"))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(317)))), modulus=Sum(Const(71127), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/ENDING_two_moduli", "LIOUVILLE_MINUS_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "4715c1", "seed_template_id": "nt_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["ENDING_two_moduli", "EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 1.143, "created_at": "2026-02-08T04:07:46.672789Z", "verification": {"verified": true, "answer": 20896, "timestamp": "2026-02-08T04:07:47.815746Z"}, "problem_hash": "97b9e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20896, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 1488}, "timestamp": "2026-02-09T19:13:29.461Z"}], "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_two_moduli": "ok_later", "C2": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V1": "no", "V5": "no"}} -{"id": "05bb48", "alias": "antilemma_sum_factor_cartesian_v1_784195855_2683", "problem": "Let $x$ be the sum of all products $ij$ over all ordered pairs $(i,j)$ of integers such that $1 \\le i \\le 26$ and $1 \\le j \\le 20$.\n\nLet $M$ be the maximum of the set of all products $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=14$.\n\nLet $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy=M$, and let $t$ be the minimum of the set of all values of $x+y$ as $(x,y)$ ranges over $S$.\n\nLet $Q = x + \\operatorname{Mod}\\bigl(2^{\\operatorname{Mod}(x,\\,t)},\\,78190\\bigr)$, where $\\operatorname{Mod}(a,b)$ denotes the remainder when $a$ is divided by $b$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 87319, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(78190),\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(27)), right=IntegerRange(start=Const(1), end=Const(21)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Ref(\"_m\"), Mod(value=Ref(\"x\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(14)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/ENDING_mod_exp", "SUM_FACTOR_CARTESIAN"], "recipe_id": "7a2a0a", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_mod_exp", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.158, "created_at": "2026-02-08T05:56:02.094549Z", "verification": {"verified": true, "answer": 87319, "timestamp": "2026-02-08T05:56:02.252467Z"}, "problem_hash": "dfa3da", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "SUM_FACTOR_CARTESIAN": "ok", "B3": "ok_later", "ENDING_mod_exp": "ok_later", "C2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}} -{"id": "0b0274", "alias": "nt_euler_phi_compute_v1_1742523217_1030", "problem": "Let $p = 2$ and $q = 59$, and let $n_2 = pq$. Let $e$ be the remainder when the number of positive divisors of $n_2$ is divided by $2$.\n\nLet $C$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 75$, $1 \\le b \\le 17$, $10 \\le t \\le 344$, and\n$$t = 3a + 7b.$$\n\nLet $n_1$ be the smallest integer $d \\ge 2$ such that $d$ divides $C$. Let $h$ be the number of distinct prime factors of $n_1$.\n\nDefine\n$$n = (88209 + e)h,$$\nand let $R = \\varphi(n)$, where $\\varphi$ denotes Euler's totient function.\n\nCompute $R$. ", "answer": 53460, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(2),\n \"q\": Const(59),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Ref(\"_n\")),\n \"n1\": 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=75)), 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=10)), Leq(left=Var(name='t'), right=Const(value=344)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))))))),\n \"h\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Sum(Const(88209), Ref(\"e\")), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/OMEGA_ONE", "DIVISOR_PARITY"], "recipe_id": "13be2f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "MIN_PRIME_FACTOR", "OMEGA_ONE"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:23:49.111302Z", "verification": {"verified": true, "answer": 53460, "timestamp": "2026-02-08T03:23:49.115057Z"}, "problem_hash": "6c806a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 53460, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 7526}, "timestamp": "2026-02-09T10:06:03.970Z"}], "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok_later", "OMEGA_ONE": "ok_later", "C2": "no", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "6e9733", "alias": "nt_count_divisible_v1_1742523217_3853", "problem": "Let $n = 37$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $e$ be the largest integer such that $n^e$ divides $94931877133^{|S|}$. Let $U = 70225$. Define $T$ to be the set of all positive integers $n$ such that $1 \\le n \\le U$ and $n$ is divisible by $e$. Let $c = |T|$. Let $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1562500$. Define $B$ to be the set of all values $x + y$ where $(x,y) \\in A$. Let $m$ be the minimum element of $B$. Compute the remainder when $m - c$ is divided by $54940$.", "answer": 52424, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37),\n \"upper\": Const(70225),\n \"divisor\": MaxKDivides(target=Pow(Const(94931877133), 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')))))))), base=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 \"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(1562500)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(54940)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/ENDING_negation_mod", "COPRIME_PAIRS/K14"], "recipe_id": "d8f70b", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "ENDING_negation_mod", "K14"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 2.257, "created_at": "2026-02-08T06:06:56.969048Z", "verification": {"verified": true, "answer": 52424, "timestamp": "2026-02-08T06:06:59.226505Z"}, "problem_hash": "0a7656", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ENDING_negation_mod": "ok_later", "K14": "ok_later", "DS2": "no", "K17": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}} -{"id": "a67ef6", "alias": "diophantine_product_count_v1_153355830_788", "problem": "Let $k = 1260$. Consider the set of all positive integers $x$ such that $1 \\le x \\le 49$, $x$ divides $k$, and $\\frac{k}{x} \\le 49$. Let $r$ be the number of such integers $x$. Let $c$ be the largest positive divisor $d$ of $39513795$ such that $d \\le \\sum_{d'\\mid 6285} \\phi(d')$, where $\\phi$ denotes Euler's totient function. Compute $c \\cdot r$.", "answer": 37710, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(49),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), SumOverDivisors(n=Const(value=6285), var='d', expr=EulerPhi(n=Var(name='d')))), Divides(divisor=Var(\"d\"), dividend=Const(39513795))))),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_DIVISOR/ENDING_affine_mod"], "recipe_id": "ed432e", "seed_template_id": "diophantine_product_count_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ENDING_affine_mod", "K3", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.029, "created_at": "2026-02-08T04:10:41.463494Z", "verification": {"verified": true, "answer": 37710, "timestamp": "2026-02-08T04:10:41.492764Z"}, "problem_hash": "22f9f8", "license": "CC BY 4.0", "lemma_applicability": {"K3": "ok", "ENDING_affine_mod": "ok_later", "MAX_DIVISOR": "ok_later", "K14": "no", "K5": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no"}} -{"id": "1c7514", "alias": "comb_binomial_compute_v1_865884756_996", "problem": "Let $n = 12$ and $k = 6$. Define $r = \\binom{n}{k}$. Let $c$ be the largest positive divisor of $2867$ that is at most $47$. Define $s$ to be the sum of the squares of the digits of $|r|$, where the digits are indexed starting from the units place as index 0. Compute $s + c$.", "answer": 140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2867),\n \"n\": Const(12),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(47)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), EulerPhi(n=Const(1))), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/ENDING_digits_weighted_mod", "ONE_PHI_1"], "recipe_id": "73a32f", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ENDING_digits_weighted_mod", "MAX_DIVISOR", "ONE_PHI_1"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T15:43:19.079815Z", "verification": {"verified": true, "answer": 140, "timestamp": "2026-02-08T15:43:19.084374Z"}, "problem_hash": "ca1cd1", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "ONE_PHI_1": "ok", "ENDING_digits_weighted_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}} -{"id": "d6dbf4", "alias": "nt_sum_over_divisible_v1_1125832087_678", "problem": "Let $U=14161$ and let $d=37$. Let $R$ be the sum of all integers $n$ with $1\\le n\\le U$ such that $d$ divides $n$.\n\nFor each ordered pair $(x,y)$ of positive integers with $x+y=166$, consider the product $xy$. Let $M$ be the maximum value of $xy$ over all such pairs $(x,y)$.\n\nFor each ordered pair $(x,y)$ of positive integers with $xy=M$, consider the sum $x+y$. Let $S$ be the set of all such sums $x+y$.\n\nLet $m$ be the minimum element of $S$.\n\nLet $T$ be the set of all integers $n$ with $1\\le n\\le 166$ such that $n\\equiv 0\\pmod m$. For each ordered pair $(x,y)$ of positive integers with $x+y$ equal to the sum of all elements of $T$, consider the product $xy$. Let $P$ be the maximum value of $xy$ over all such pairs $(x,y)$.\n\nLet\n$$Q\\;=\\;11^{|R|}\\pmod{99991}+P.$$\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 49406, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(166),\n \"upper\": Const(14161),\n \"divisor\": Const(37),\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(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(166)), 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\")), 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\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(0)))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/SUM_DIVISIBLE/B1/ENDING_two_stage_modexp"], "recipe_id": "915489", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "ENDING_two_stage_modexp", "SUM_DIVISIBLE"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.923, "created_at": "2026-02-08T03:13:00.184921Z", "verification": {"verified": true, "answer": 49406, "timestamp": "2026-02-08T03:13:01.108304Z"}, "problem_hash": "240e0f", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "B3": "ok_later", "ENDING_two_stage_modexp": "ok_later", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "866457", "alias": "nt_count_divisible_and_v1_1918700295_132", "problem": "Let $n$ be the number of positive integers $k$ with $1 \\leq k \\leq 28$ such that $k \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}$. Let $$d_1 = \\sum_{k = \\sum_{d \\mid \\gcd(13,17)} \\mu(d)}^{n} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor,$$ where $\\phi$ is Euler's totient function. Let $d_2 = 15$ and $U = 139890$. Compute the number of positive integers $m$ with $1 \\leq m \\leq U$ such that $m$ is divisible by both $d_1$ and $d_2$.", "answer": 4663, "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(28)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"upper\": Const(139890),\n \"d1\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))),\n \"d2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "L3C/K2"], "recipe_id": "68f80c", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "L3C", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 4.95, "created_at": "2026-02-08T03:00:51.047294Z", "verification": {"verified": true, "answer": 4663, "timestamp": "2026-02-08T03:00:55.997745Z"}, "problem_hash": "e9efb8", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 4663, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 294, "completion_tokens": 1080}, "timestamp": "2026-02-08T23:04:49.781Z"}], "lemma_applicability": {"L3C": "ok", "MOBIUS_COPRIME": "ok", "K2": "ok_later", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "906f44", "alias": "diophantine_fbi2_min_v1_458359167_156", "problem": "Let $n = 7$. Define $k$ to be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 14400$. Let $\\text{upper} = 250$. Let $d$ be the smallest integer such that $d \\geq 7$, $d \\leq 250$, $d$ divides $k$, and $k/d \\geq 4$. Let $c = 29$. Define $t$ to be a positive integer, and let $S$ be the set of all such $t$ in the range $7 \\leq t \\leq 115$ for which there exist positive integers $a \\leq 16$ and $b \\leq 17$ such that $t = 4a + 3b$. Compute the remainder when $$ 353702 \\cdot |d| \\bmod 97 + 329703 \\cdot \\left(|d|^2 + 1\\right) \\bmod 101 + 215534 \\cdot \\left(|d| + c\\right) \\bmod |S| $$ is divided by $1009091$, and then take the result modulo $90125$.", "answer": 51998, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(14400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(250),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n \"_c\": Const(29),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=17)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=115)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), modulus=Const(1009091)), modulus=Const(90125)),\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_crt_mix_3", "B3"], "recipe_id": "2db3ef", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ENDING_crt_mix_3", "LIN_FORM"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T03:03:02.112628Z", "verification": {"verified": true, "answer": 51998, "timestamp": "2026-02-08T03:03:02.127432Z"}, "problem_hash": "1a0a0c", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "K15": "no", "V7": "no"}} -{"id": "fa062a", "alias": "nt_sum_divisors_compute_v1_1520064083_3126", "problem": "Let $p$ be the number of positive integers $n \\leq 47$ such that $\\gcd(n, 20) = 1$. Let $q$ be the smallest divisor of $964627$ that is at least $2$. Let $n_2 = (p \\cdot q)^2$ and let $u$ be the remainder when the number of positive divisors of $n_2$ is divided by $2$. Let $v$ be the number of distinct prime factors of $1$. Let $n = 29241 \\cdot u + v$. Compute the sum of the positive divisors of $n$.", "answer": 46101, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(47),\n \"_n\": Const(29241),\n \"p\": 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(20)), Const(1))))),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(964627))))),\n \"n2\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"u\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\n \"n1\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"n\": Sum(Mul(Ref(\"_n\"), Ref(\"u\")), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "C4/DIVISOR_PARITY", "OMEGA_ZERO"], "recipe_id": "89d471", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C4", "DIVISOR_PARITY", "MIN_PRIME_FACTOR", "OMEGA_ZERO"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T05:28:46.149820Z", "verification": {"verified": true, "answer": 46101, "timestamp": "2026-02-08T05:28:46.155968Z"}, "problem_hash": "eaf0e5", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "MIN_PRIME_FACTOR": "ok", "OMEGA_ZERO": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no", "V7": "no"}} -{"id": "663505", "alias": "nt_sum_gcd_range_mod_v1_1440796553_1054", "problem": "Let $N = 7560$ and let $k$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from $1$ to $24$ and $b$ is an integer from $1$ to $25$. Define $$\\sum_{n=1}^{N} \\gcd(n, k).$$ Let $r$ be the remainder when this sum is divided by $10753$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 176149753887902995500300$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $c - r$ is divided by $87412$.", "answer": 83091, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87412),\n \"N\": Const(7560),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"M\": Const(10753),\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(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=176149753887902995500300)), 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=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/ENDING_negation_mod", "COUNT_CARTESIAN"], "recipe_id": "cd4181", "seed_template_id": "nt_sum_gcd_range_mod_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.558, "created_at": "2026-02-08T12:09:47.054451Z", "verification": {"verified": true, "answer": 83091, "timestamp": "2026-02-08T12:09:47.612838Z"}, "problem_hash": "400965", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "COUNT_PRIMES": "no", "COUNT_SUM_EQUALS": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}} -{"id": "9eba0b", "alias": "nt_min_phi_inverse_v1_1918700295_2492", "problem": "Let $k$ be the sum $\\sum_{k=1}^{4} k$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 30$ and $\\phi(n) = k$, where $\\phi$ denotes Euler's totient function. Let $r$ be the minimum element of $S$. Define $Q = r + 2^{r \\bmod m} \\bmod 63378$, where $m = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$. Compute $Q$.", "answer": 2059, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(63378),\n \"_n\": Const(2),\n \"upper\": Const(30),\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(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/ENDING_mod_exp", "SUM_ARITHMETIC"], "recipe_id": "656331", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_mod_exp", "K2", "SUM_ARITHMETIC"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T07:55:45.196458Z", "verification": {"verified": true, "answer": 2059, "timestamp": "2026-02-08T07:55:45.201656Z"}, "problem_hash": "aac128", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "ENDING_mod_exp": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V3": "no"}} -{"id": "26d64b", "alias": "antilemma_coprime_grid_v1_1520064083_241", "problem": "Let $A$ be the set of all positive integers $n$ such that $2 \\leq n \\leq 5$ and $n$ is prime. Let $m$ be the maximum element of $A$. Let $B$ be the set of all positive integers $n$ such that $2 \\leq n \\leq m$ and $n$ is prime. Let $d$ be a positive divisor of $\\gcd(3, |B|)$, and let $\\mu(d)$ denote the M\\\"obius function. Define $g = \\sum_{d \\mid \\gcd(3, |B|)} \\mu(d)$. Determine the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 38$ and $1 \\leq j \\leq 156$ such that $\\gcd(i,j) = g$. Multiply this count by $44121$, and compute the remainder when the result is divided by $78124$.", "answer": 62089, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(78124),\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=Const(value=3), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_m')), Leq(left=Var(name='n'), right=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=5)), IsPrime(arg=Var(name='n')))))), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(156))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), 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/MOBIUS_COPRIME/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "59db4d", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:08:56.342980Z", "verification": {"verified": true, "answer": 62089, "timestamp": "2026-02-08T03:08:56.347085Z"}, "problem_hash": "9fe3ce", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8": "no"}} -{"id": "9c9dea", "alias": "algebra_quadratic_discriminant_v1_1116507919_172", "problem": "Let $a=-2$, $b=-2$, and $c=24$. Let\n$$D=b^2-4ac$$\nbe the discriminant of the quadratic polynomial $ax^2+bx+c$.\n\nLet $N$ be the number of integers $t$ such that $26\\le t\\le 6186$ and there exist integers $u$ and $v$ with $1\\le u\\le 36$, $1\\le v\\le 856$, and\n$$t=5u+7v+14.$$\n\nLet $d$ range over all integers with $d\\ge 2$ that divide $N$, and let $m$ be the minimum of all such $d$. Let\n$$g=\\gcd(13,m).$$\nDefine\n$$S=\\sum_{d\\mid g} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nFinally, let\n$$Q=\\sum_{n=S}^{|D|} \\tau(n),$$\nwhere $\\tau(n)$ is the number of positive divisors of $n$.\n\nCompute $Q$.", "answer": 1070, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(-2),\n \"b\": Const(-2),\n \"c\": Const(24),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=13), b=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=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=36)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=856)), Geq(left=Var(name='t'), right=Const(value=26)), Leq(left=Var(name='t'), right=Const(value=6186)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=14))))))))))))), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/MOBIUS_COPRIME/ENDING_sum_divisor_count"], "recipe_id": "a67c0f", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["ENDING_sum_divisor_count", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.021, "created_at": "2026-02-08T02:27:14.436310Z", "verification": {"verified": true, "answer": 1070, "timestamp": "2026-02-08T02:27:14.456842Z"}, "problem_hash": "efeeed", "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": 351, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:10:12.642Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 347, "completion_tokens": 4036}, "timestamp": "2026-02-09T14:06:09.565Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:48:50.249Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 6978}, "timestamp": "2026-02-09T16:51:13.584Z"}], "lemma_applicability": {"LIN_FORM": "ok", "ENDING_sum_divisor_count": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K14": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 3.32, "mid": 6.59, "hi": 9.27}} -{"id": "5636a7", "alias": "nt_count_gcd_equals_v1_153355830_1172", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 8340544$. Let $\\text{upper}$ be the minimum value of $x + y$ over all such pairs. Let $\\text{result}$ be the number of positive integers $n \\leq \\text{upper}$ such that $\\gcd(n, 69) = 1$. Let $P$ be the largest prime number at most $98$. Compute the remainder when $$353702 \\cdot (\\text{result} \\bmod P) + 329703 \\cdot (\\text{result}^2 \\bmod 101) + 215534 \\cdot (\\text{result} \\bmod 16)$$ is divided by $1009091$, and then take the remainder of that result when divided by $51172$.", "answer": 3945, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98),\n \"_n\": Const(101),\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(8340544)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(69),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=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(\"_m\")), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(16)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(51172)),\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", "B3"], "recipe_id": "458e3f", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_crt_mix_3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.849, "created_at": "2026-02-08T06:10:34.054595Z", "verification": {"verified": true, "answer": 3945, "timestamp": "2026-02-08T06:10:34.903744Z"}, "problem_hash": "ad767d", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "ENDING_crt_mix_3": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V3": "no", "V5": "no"}} -{"id": "9fde42", "alias": "nt_euler_phi_compute_v1_1520064083_4313", "problem": "Let $N = 53824$. Let $T$ be the set of all integers $t$ with $12 \\leq t \\leq 1049$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 82$, $1 \\leq b \\leq 95$, and $t = 7a + 5b$. Let $h$ be the sum of $\\mu(d)$ over all positive divisors $d$ of the number of elements in $T$, where $\\mu$ is the M\\\"obius function. Let $n_1 = \\phi(2)$, where $\\phi$ is Euler's totient function, and let $m$ be the number of prime factors of $n_1$ counted with multiplicity. Define $n = N + h + m$. Compute $\\phi(n)$.", "answer": 25984, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53824),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=82)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=95)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=1049)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"h\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": EulerPhi(n=Const(2)),\n \"m\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Ref(\"_n\"), Ref(\"h\"), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SUM", "BIG_OMEGA_ZERO", "ONE_PHI_2"], "recipe_id": "0e020f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:12:41.981043Z", "verification": {"verified": true, "answer": 25984, "timestamp": "2026-02-08T06:12:41.984549Z"}, "problem_hash": "e9babe", "license": "CC BY 4.0", "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "ONE_PHI_2": "ok", "MOBIUS_SUM": "ok_later", "C2": "no", "K16": "no", "V1": "no", "V5": "no", "V7": "no"}} -{"id": "d2d61f", "alias": "algebra_quadratic_discriminant_v1_1742523217_799", "problem": "Let $m = 3$. Let $n$ be the largest integer such that $3^n$ divides $3 \\cdot m$. Let $a = 1$, $b = -3$, and $c = -28$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 5400$, $\\gcd(p, q) = 1$, and $p < q$. Define\n$$\nQ = \\left| b^n - (|S| \\cdot a + c) \\right|.\n$$\nFind the value of $Q$.", "answer": 121, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": MaxKDivides(target=Mul(Const(3), Ref(\"_m\")), base=Const(3)),\n \"a\": Const(1),\n \"b\": Const(-3),\n \"c\": Const(-28),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), 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=5400)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["K13/COPRIME_PAIRS"], "recipe_id": "ddc5b9", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.027, "created_at": "2026-02-08T03:15:00.633334Z", "verification": {"verified": true, "answer": 121, "timestamp": "2026-02-08T03:15:00.659848Z"}, "problem_hash": "ad0143", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 33, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 1552}, "timestamp": "2026-02-09T07:09:43.334Z"}], "lemma_applicability": {"K13": "ok", "COPRIME_PAIRS": "ok_later", "DS2": "no", "K5": "no", "L3b": "no", "L3c": "no", "V8": "no"}, "irt_difficulty": {"lo": 6.62, "mid": 8.31, "hi": 10.0}} -{"id": "b097ee", "alias": "nt_count_divisors_in_range_v1_153355830_2370", "problem": "Let $n = 15120$, $a = 8$, and $b = 1690$. Let $\\text{result}$ be the number of positive divisors $d$ of $n$ such that $a \\le d \\le b$. Let $P$ be the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = 10$. Let $t_{\\text{count}}$ be the number of integers $t$ with $12 \\le t \\le 2257$ for which there exist positive integers $a$ and $b$ such that $1 \\le a \\le 205$, $1 \\le b \\le 176$, and $t = 5a + 7b$. Compute $\\text{result}^2 + P \\cdot \\text{result} + t_{\\text{count}}$.", "answer": 8072, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10),\n \"n\": Const(15120),\n \"a\": Const(8),\n \"b\": Const(1690),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), 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\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), 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=205)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=176)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=2257)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), 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_quadratic_mod", "B1/ENDING_quadratic_mod"], "recipe_id": "d12ba9", "seed_template_id": "nt_count_divisors_in_range_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.027, "created_at": "2026-02-08T07:05:01.575076Z", "verification": {"verified": true, "answer": 8072, "timestamp": "2026-02-08T07:05:01.602086Z"}, "problem_hash": "28a4c5", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "ENDING_quadratic_mod": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "V1": "no", "V8_SUM": "no"}} -{"id": "46b097", "alias": "diophantine_fbi2_count_v1_677425708_1317", "problem": "Let $k = 420$. Determine the number of positive integers $d$ such that $5 \\leq d \\leq 85$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 84$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"a\": Const(4),\n \"b\": Const(3),\n \"upper\": Const(81),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(85)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(84))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/B3", "C4/LIN_FORM"], "recipe_id": "e92d37", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "C4", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.067, "created_at": "2026-02-08T04:05:10.498933Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T04:05:10.565676Z"}, "problem_hash": "837360", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 1580}, "timestamp": "2026-02-09T18:27:04.894Z"}], "lemma_applicability": {"C4": "ok", "MIN_PRIME_FACTOR": "ok", "B3": "ok_later", "LIN_FORM": "ok_later", "K13": "no", "K18": "no", "MAX_VAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "b12f24", "alias": "antilemma_v8_lucas_151522320_415", "problem": "Let $m = 63231$. Let $x$ be the number of nonnegative integers $j \\leq m$ such that $\\binom{63231}{j}$ is odd. Let $y$ be the number of nonnegative integers $j \\leq 85415$ such that $\\binom{85415}{j}$ is odd. Compute the remainder when $y - x$ is divided by $99139$.", "answer": 83779, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(63231),\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(63231), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(85415)), Eq(Mod(value=Binom(n=Const(85415), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"x\")), modulus=Const(99139)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/ENDING_negation_mod", "V8"], "recipe_id": "e5e9c2", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "V8"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:14:02.459993Z", "verification": {"verified": true, "answer": 83779, "timestamp": "2026-02-08T03:14:02.462845Z"}, "problem_hash": "870a97", "license": "CC BY 4.0", "lemma_applicability": {"V8": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_SUB": "no", "V5": "no"}} -{"id": "ba9dde", "alias": "antilemma_v8_lucas_124444284_447", "problem": "Let $m=5$. For each integer $t$, suppose there exist integers $u$ and $v$ such that $1\\le u\\le 7$, $1\\le v\\le 74$, $34\\le t\\le 520$, and\n$$t=8u+6v+20.$$\nLet $b$ be the number of integers $t$ with this property, and define $b'=b+m$.\n\nLet $h$ be the value of\n$$\\sum_{d\\mid \\gcd(136,b')} \\mu(d),$$\nwhere $\\mu$ is the function that takes value $0$ if $d$ is divisible by the square of a prime and otherwise equals $(-1)^k$ if $d$ is the product of $k$ distinct primes.\n\nLet $N=65535+h$. For each integer $j$ with $0\\le j\\le N$, consider the binomial coefficient $\\binom{65535}{j}$. Let $x$ be the number of integers $j$ with $0\\le j\\le N$ such that $\\binom{65535}{j}$ is odd.\n\nCompute $x$.", "answer": 65536, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(65535),\n \"n\": Const(5),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"a\": Const(136),\n \"b\": 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=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=74)), Geq(left=Var(name='t'), right=Const(value=34)), Leq(left=Var(name='t'), right=Const(value=520)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=20)))))))), Ref(\"m\")),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Sum(Ref(\"_m\"), Ref(\"h\")),\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(65535), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Ref(\"x\"),\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/MOBIUS_COPRIME", "V8"], "recipe_id": "5d49f9", "seed_template_id": "antilemma_v8_lucas", "ending_id": "", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "V8"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:17:46.563019Z", "verification": {"verified": true, "answer": 65536, "timestamp": "2026-02-08T03:17:46.567831Z"}, "problem_hash": "393b18", "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": 360, "completion_tokens": 945}, "timestamp": "2026-02-09T17:44:49.791Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 65536, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 364, "completion_tokens": 2820}, "timestamp": "2026-02-09T02:16:52.929Z"}], "lemma_applicability": {"LIN_FORM": "ok", "V8": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K16": "no", "LTE_SUM": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.33, "hi": 7.34}} -{"id": "e796e5", "alias": "antilemma_product_of_sums_v1_784195855_1050", "problem": "Let $m=2$ and $N=51893$.\n\nLet $A$ be the number of integers $n$ with $1\\le n\\le 5$ such that $\\gcd(n,12)=1$. Let $B$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1\\le a\\le 3,\\quad 1\\le b\\le 9,\\quad 16\\le t\\le 84,\\quad t=10a+6b.$$\n\nDefine\n$$S_1=\\sum_{k=A}^{B} k.$$\n\nConsider the set of all ordered pairs $(i,j)$ of integers with $1\\le i\\le 3$ and $1\\le j\\le 4$. Since $\\varphi(m)$ is fixed and nonzero, assume this set is nonempty. Let\n$$S_2=\\sum_{1\\le i\\le 3\\atop 1\\le j\\le 4} ij.$$\n\nDefine\n$$x=S_1S_2,$$\nand let\n$$Q\\equiv 44121x\\pmod{N},\\qquad 0\\le Q< N.$$\n\nFind the value of $Q$.", "answer": 11561, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(51893),\n \"S1\": Summation(var=\"k\", start=EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1)))))), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=84)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ONE_PHI_2/SUM_ARITHMETIC", "LIN_FORM/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "764bf4", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T04:49:14.494472Z", "verification": {"verified": true, "answer": 11561, "timestamp": "2026-02-08T04:49:14.497441Z"}, "problem_hash": "958fcf", "license": "CC BY 4.0", "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "ONE_PHI_2": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}} -{"id": "158760", "alias": "antilemma_sum_primes_v1_458359167_1215", "problem": "Let $n$ be an integer such that $n \\geq 2$ and $n \\leq 3$. Let $x$ be the sum of all prime numbers in this range. Let $D$ be the set of all positive integers $d \\leq 561$ that divide $319209$. Let $m$ be the maximum element of $D$. Compute $m - x$.", "answer": 556, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(561)), Divides(divisor=Var(\"d\"), dividend=Const(319209))))), Ref(\"x\")),\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_negation_mod", "SUM_PRIMES"], "recipe_id": "df54de", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["ENDING_negation_mod", "MAX_DIVISOR", "SUM_PRIMES"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:30:03.185482Z", "verification": {"verified": true, "answer": 556, "timestamp": "2026-02-08T04:30:03.186897Z"}, "problem_hash": "344d81", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_PRIMES": "ok", "ENDING_negation_mod": "ok_later", "K14": "no", "K16": "no", "V3": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "e400ba", "alias": "antilemma_product_of_sums_v1_1520064083_1303", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 4$. Let $A$ be the sum of $i \\cdot j$ over all pairs $(i, j)$ in $S$. Let $D$ be the set of all positive divisors of $119$ that are at most $7$. Let $T$ be the set of all integers $j$ with $0 \\leq j \\leq \\max(D)$ such that $\\binom{7}{j}$ is odd. Let $B$ be the number of elements in $T$. Let $x = A \\cdot B$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|x| + 2$.", "answer": 900, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(7),\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(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))), SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(119)))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1)))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR", "PRODUCT_OF_SUMS"], "recipe_id": "49c4ea", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:55:00.474012Z", "verification": {"verified": true, "answer": 900, "timestamp": "2026-02-08T03:55:00.476397Z"}, "problem_hash": "c206ca", "license": "CC BY 4.0", "lemma_applicability": {"MAX_DIVISOR": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_PRIMES": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "4ea7c6", "alias": "nt_count_gcd_equals_v1_677425708_781", "problem": "Let $k$ be the sum of all real solutions $x$ to the equation $x^2 - 45x - 3154 = 0$. Let $d$ be the smallest positive integer $n$ such that $3^4$ divides $n!$.\n\nDetermine the number of positive integers $n \\leq 29890$ for which $\\gcd(n, k) = d$.", "answer": 2657, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(29890),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-45), Var(\"x\")), Const(-3154)), Const(0)))),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(4)), domain='Z_{>0}')),\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": ["VIETA_SUM", "V5"], "recipe_id": "b37f18", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V5", "VIETA_SUM"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 5.471, "created_at": "2026-02-08T03:43:40.501219Z", "verification": {"verified": true, "answer": 2657, "timestamp": "2026-02-08T03:43:45.972096Z"}, "problem_hash": "3f17d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2657, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 1452}, "timestamp": "2026-02-09T11:50:32.892Z"}], "lemma_applicability": {"V5": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K17": "no", "L3b": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "24b878", "alias": "nt_sum_divisors_compute_v1_1918700295_2010", "problem": "Let $p$ be the largest prime number between $2$ and $30$, inclusive. Let $n_2 = p^2 \\cdot (71 + 1)$. Define $h = \\mu(n_2)^2$, where $\\mu$ is the M\\\"obius function. Let $v$ be the remainder when the number of positive divisors of $17081$ is divided by $2 + h$. Define $n = 63001 + v$. Compute the sum of all positive divisors of $n$.", "answer": 63253, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(30)), IsPrime(Var(\"n\"))))),\n \"q\": Const(71),\n \"n2\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(17081),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Sum(Ref(\"_n\"), Ref(\"h\"))),\n \"n\": Sum(Const(63001), 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_SQUAREFREE", "DIVISOR_PARITY"], "recipe_id": "91e49e", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T07:36:46.261594Z", "verification": {"verified": true, "answer": 63253, "timestamp": "2026-02-08T07:36:46.267974Z"}, "problem_hash": "760343", "license": "CC BY 4.0", "lemma_applicability": {"DIVISOR_PARITY": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}} -{"id": "0f3285", "alias": "antilemma_sum_factor_cartesian_v1_784195855_1861", "problem": "Let $m=22$. Let $N$ be the number of positive integers $k$ with $1\\le k\\le 1936$ such that $16$ divides $k$.\n\nLet $X$ be the set of all ordered pairs $(i,j)$ with $1\\le i\\le 6$ and $1\\le j\\le 28$. Let\n$$x=\\sum_{(i,j)\\in X} ij.$$\n\nConsider all ordered pairs $(x_1,y_1)$ of positive integers such that $x_1+y_1=m$, and let $P$ be the set of all products $x_1y_1$ as $(x_1,y_1)$ ranges over these pairs. Let $M$ be the maximum element of $P$.\n\nLet\n$$S=\\sum_{d\\mid \\gcd(13,17)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $C$ be the set of all integers $n$ such that $S\\le n\\le M$ and $n\\equiv 0\\pmod N$. Let\n$$c=\\sum_{n\\in C} n.$$\n\nLet $Q$ be the remainder when $c-x$ is divided by $51751$, so that $0\\le Q<51751$ and $Q\\equiv c-x\\pmod{51751}$. Find the value of $Q$.", "answer": 43346, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1936)), Divides(divisor=Const(16), dividend=Var(\"k\"))), domain='positive_integers')),\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(6)), right=IntegerRange(start=Const(1), end=Const(28)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(51751)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/SUM_DIVISIBLE/ENDING_negation_mod", "C2/SUM_DIVISIBLE/ENDING_negation_mod", "SUM_FACTOR_CARTESIAN", "MOBIUS_COPRIME"], "recipe_id": "3e19fa", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C2", "ENDING_negation_mod", "MOBIUS_COPRIME", "SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 6, "num_base_lemmas": 6, "generation_time": 0.008, "created_at": "2026-02-08T05:22:29.508441Z", "verification": {"verified": true, "answer": 43346, "timestamp": "2026-02-08T05:22:29.516918Z"}, "problem_hash": "bb001f", "license": "CC BY 4.0", "lemma_applicability": {"B1": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok", "SUM_FACTOR_CARTESIAN": "ok", "ENDING_negation_mod": "ok_later", "SUM_DIVISIBLE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}} -{"id": "e11c65", "alias": "modular_mod_compute_v1_1742523217_3528", "problem": "Let $ n $ be a positive integer. Define $ s(n) $ to be the sum of the decimal digits of $ n $. Let $ A $ be the set of all positive integers $ n \\leq 2109 $ for which $ s(n) $ is even. Let $ m $ be the smallest positive integer such that the highest power of 5 dividing $ n! $ is at least $ |A| $. Compute the remainder when 23409 is divided by $ m $.", "answer": 2284, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2109)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"a\": Const(23409),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Ref(\"_n\")), domain='Z_{>0}')),\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": "L3B", "lemma_paths": ["L3B/V5"], "recipe_id": "718f0f", "seed_template_id": "modular_mod_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "V5"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T05:55:37.605995Z", "verification": {"verified": true, "answer": 2284, "timestamp": "2026-02-08T05:55:37.612928Z"}, "problem_hash": "c65623", "license": "CC BY 4.0", "lemma_applicability": {"L3B": "ok", "V5": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no"}} -{"id": "2a4e39", "alias": "nt_sum_phi_v1_1520064083_2752", "problem": "Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = F_2 = 1$ and $F_{n} = F_{n-1} + F_{n-2}$ for $n \\geq 3$. Let $k$ be the largest integer such that $3^k$ divides $4^{1162261467} - 1^{1162261467}$. Determine the number of positive integers $n \\leq 16650$ such that $F_n$ is divisible by $3^k$, and denote this count by $m$. Compute the sum of $\\phi(n)$ over all positive integers $n \\leq m$, where $\\phi$ is Euler's totient function.", "answer": 93734, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(16650),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=MaxKDivides(target=Sub(Pow(Ref(\"_m\"), Const(1162261467)), Pow(Const(1), Const(1162261467))), base=Const(3)), dividend=Fibonacci(arg=Var(name='n')))))),\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": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/COUNT_FIB_DIVISIBLE"], "recipe_id": "54f09c", "seed_template_id": "nt_sum_phi_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LTE_DIFF"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.07, "created_at": "2026-02-08T04:59:43.553141Z", "verification": {"verified": true, "answer": 93734, "timestamp": "2026-02-08T04:59:43.623241Z"}, "problem_hash": "231adc", "license": "CC BY 4.0", "lemma_applicability": {"LTE_DIFF": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "DS2": "no", "K18": "no", "L3b": "no", "MOD_MUL": "no", "V5": "no"}} -{"id": "e2107c", "alias": "modular_count_residue_v1_1742523217_4955", "problem": "Let $ S $ be the set of all positive integers $ t $ such that $ 9 \\leq t \\leq 1873 $ and there exist positive integers $ a $ and $ b $ with $ 1 \\leq a \\leq 443 $, $ 1 \\leq b \\leq 141 $, and $ t = 2a + 7b $. Let $ m = 26 $. Let $ D $ be the set of all positive divisors of the maximum element of $ S $ that also divide $ 3470753 $. Let $ r $ be the smallest element of $ D $ that is at least $ 2 $. Determine the number of positive integers $ n $ such that $ 1 \\leq n \\leq 65536 $ and $ n \\equiv r \\pmod{m} $.", "answer": 2521, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65536),\n \"m\": Const(26),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=443)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=141)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=1873)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Const(3470753))))))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR/MIN_PRIME_FACTOR"], "recipe_id": "904a55", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 2.677, "created_at": "2026-02-08T10:40:57.752934Z", "verification": {"verified": true, "answer": 2521, "timestamp": "2026-02-08T10:41:00.429563Z"}, "problem_hash": "942aa3", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}} -{"id": "fb15f0", "alias": "nt_gcd_compute_v1_153355830_1375", "problem": "Let $e = \\sum_{d \\mid 21} \\phi(d) - 21$. Let $p$ be the number of integers $t$ with $7 \\leq t \\leq 27$ for which there exist positive integers $a \\leq 3$ and $b \\leq 6$ such that $t = 5a + 2b$. Let $n = p^3$ and let $v = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Define $a = 159336 + e + v$ and $b = 358506$. Let $g = \\gcd(a, b)$. Compute the remainder when $11721 \\cdot g$ is divided by $61061$.", "answer": 21908, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(21),\n \"e\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\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=3)), 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=27)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"a\": Sum(Const(159336), Ref(\"e\"), Ref(\"v\")),\n \"b\": Const(358506),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(11721),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61061)),\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", "EULER_TOTIENT_SUM"], "recipe_id": "466bdd", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIN_FORM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T06:22:23.884923Z", "verification": {"verified": true, "answer": 21908, "timestamp": "2026-02-08T06:22:23.889558Z"}, "problem_hash": "050bf3", "license": "CC BY 4.0", "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K14": "no", "K18": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}} -{"id": "b099fc", "alias": "diophantine_fbi2_min_v1_151522320_1125", "problem": "Let $ d $ be a positive integer such that $ 3 \\leq d \\leq 91 $, $ d $ divides $ 81 $, and $ \\frac{81}{d} \\geq 3 $. Let $ r $ be the smallest such $ d $. Let $ S $ be the set of positive integers $ n $ such that $ 1 \\leq n \\leq 2696 $, $ 8 $ divides $ n $, and $ \\gcd(n, 15) = 1 $. Let $ m $ be the number of positive divisors of $ 32580 $ that are at most $ |S| $. Compute $$ \\sum_{i=0}^{\\mathrm{NumDigits}(r)-1} \\mathrm{Digit}(r, i) \\cdot (i+1)^2 + m. $$", "answer": 183, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": Const(3),\n \"k\": Const(81),\n \"upper\": Const(91),\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\": 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)))), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2696)), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1)))))), Divides(divisor=Var(\"d\"), dividend=Const(32580)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MAX_DIVISOR/ENDING_digits_weighted_mod"], "recipe_id": "65d368", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ENDING_digits_weighted_mod", "MAX_DIVISOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T03:48:49.196902Z", "verification": {"verified": true, "answer": 183, "timestamp": "2026-02-08T03:48:49.213155Z"}, "problem_hash": "e936f3", "license": "CC BY 4.0", "lemma_applicability": {"C5": "ok", "ENDING_digits_weighted_mod": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "eefa84", "alias": "antilemma_count_primes_v1_784195855_4496", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 10135$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $T$ be the set of all integers $m$ such that $m \\geq 2$ and $m$ is prime, where $m$ ranges from 2 to the number of elements in $S$. Compute the number of elements in $T$.", "answer": 229, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(10135)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/COUNT_PRIMES", "MOBIUS_COPRIME", "COUNT_PRIMES"], "recipe_id": "93d6d4", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3C", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:08:48.863099Z", "verification": {"verified": true, "answer": 229, "timestamp": "2026-02-08T07:08:48.865095Z"}, "problem_hash": "567031", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "L3C": "ok", "MOBIUS_COPRIME": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no"}} -{"id": "008bcc", "alias": "nt_count_divisible_v1_677425708_3032", "problem": "Let $n_0=1$, and let $e$ be the number of distinct prime factors of $n_0$.\n\nLet $D$ be the smallest integer $d\\ge 2$ such that $d$ divides $221$, and define $p=D+e$. Let $u$ be the number of prime factors of $p$, counted with multiplicity.\n\nLet $U=44444$ and let $k=6$. Let $R$ be the number of integers $n$ such that\n\\[\n\\varphi(2) \\le n \\le U \\quad\\text{and}\\quad n\\equiv 0 \\pmod{k},\n\\]\nwhere $\\varphi$ is Euler's totient function.\n\nDefine\n\\[\nQ \\equiv 44121\\cdot R \\pmod{84383\\cdot u},\n\\]\nwith $0\\le Q<84383u$.\n\nFind the value of $Q$.", "answer": 73271, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n')),\n \"p\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(221))))), Ref(\"e\")),\n \"u\": BigOmega(n=Ref(name='p')),\n \"upper\": Const(44444),\n \"divisor\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Const(84383), Ref(\"u\"))),\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/OMEGA_ZERO/BIG_OMEGA_ONE", "ONE_PHI_2"], "recipe_id": "dfcea3", "seed_template_id": "nt_count_divisible_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "OMEGA_ZERO", "ONE_PHI_2"], "num_lemmas": 4, "num_base_lemmas": 2, "generation_time": 1.401, "created_at": "2026-02-08T05:26:31.529132Z", "verification": {"verified": true, "answer": 73271, "timestamp": "2026-02-08T05:26:32.930300Z"}, "problem_hash": "b36c44", "license": "CC BY 4.0", "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "BIG_OMEGA_ONE": "ok_later", "OMEGA_ZERO": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V5": "no", "VAL_SUM_EQ": "no"}} -{"id": "119696", "alias": "antilemma_sum_equals_v1_677425708_887", "problem": "Let $m$ be the number of integers $t$ with $11 \\leq t \\leq 150$ that can be expressed as $t = 4a + 7b$ for some positive integers $a \\leq 20$ and $b \\leq 10$.\n\nLet $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i \\leq 77$, $j \\leq 78$, and $i + j = 78$.\n\nLet $y$ be the number of ordered pairs $(i, j)$ of positive integers such that $i \\leq 120$, $j \\leq 121$, and $i + j = m$.\n\nCompute $y - x$.", "answer": 43, "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=20)), 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=11)), Leq(left=Var(name='t'), right=Const(value=150)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"_n\": Const(78),\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(78))))),\n \"Q\": Sub(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(120)), right=IntegerRange(start=Const(1), end=Const(121))))), 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/COUNT_SUM_EQUALS/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "75e46e", "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.008, "created_at": "2026-02-08T03:50:06.450106Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T03:50:06.458525Z"}, "problem_hash": "3f4e8a", "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": 274, "completion_tokens": 6675}, "timestamp": "2026-02-09T13:48:33.026Z"}], "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "f33691", "alias": "modular_sum_quadratic_residues_v1_1520064083_3161", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 90$ and $\\gcd(p,q) = 1$. Let $n$ be the analogous count for $pq = 54$. Let $p$ be the smallest divisor of $234118799$ that is at least $n$. Compute $\\frac{p(p - \\phi(2))}{m}$, where $\\phi$ is Euler's totient function. Find the value of this result.", "answer": 93789, "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=90)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\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=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\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(234118799))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), EulerPhi(n=Const(2)))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "COPRIME_PAIRS/COPRIME_PAIRS", "ONE_PHI_2"], "recipe_id": "df6f3c", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:29:49.758232Z", "verification": {"verified": true, "answer": 93789, "timestamp": "2026-02-08T05:29:49.762839Z"}, "problem_hash": "b6f6b0", "license": "CC BY 4.0", "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "MIN_PRIME_FACTOR": "ok_later", "K5": "no", "L3b": "no", "MOD_ADD": "no", "V1": "no", "V7": "no"}} -{"id": "eaa0c7", "alias": "sequence_lucas_compute_v1_784195855_6520", "problem": "Let $m$ be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\le x \\le 21$ and $1 \\le y \\le 21$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = s$. Compute the $n$th Lucas number.", "answer": 24476, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=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\": 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/COMB1"], "recipe_id": "fde1bc", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "COUNT_CARTESIAN"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:42:43.703103Z", "verification": {"verified": true, "answer": 24476, "timestamp": "2026-02-08T08:42:43.705386Z"}, "problem_hash": "5a6868", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_CARTESIAN": "ok", "B3": "ok_later", "COMB1": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "0018d6", "alias": "comb_count_surjections_v1_1742523217_4806", "problem": "Let $m=8$ and $N=69047$. Consider all ordered pairs $(i,j)$ with $1\\le i\\le 7$ and $1\\le j\\le 8$ such that $i+j=m$. Let $n$ be the number of such ordered pairs.\n\nLet $k=6$, and let\n$$R = k!\\, S(n,k),$$\nwhere $S(n,k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets.\n\nLet $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 28$, $1\\le b\\le 46$, $7\\le t\\le 268$, and\n$$t = 3a + 4b.$$\n\nLet $S$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1 + x_2 = T.$$\n\nDefine\n$$Q \\equiv S - R \\pmod{N},$$\nwith $0\\le Q < N$.\n\nFind the value of $Q$.", "answer": 54055, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": Const(69047),\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(7)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"k\": Const(6),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Sub(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=28)), 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=268)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/ENDING_negation_mod", "COUNT_SUM_EQUALS"], "recipe_id": "b9178b", "seed_template_id": "comb_count_surjections_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "ENDING_negation_mod", "LIN_FORM"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T09:08:33.051455Z", "verification": {"verified": true, "answer": 54055, "timestamp": "2026-02-08T09:08:33.066283Z"}, "problem_hash": "bda20e", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "ENDING_negation_mod": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}} -{"id": "2591f2", "alias": "nt_sum_totient_over_divisors_v1_677425708_865", "problem": "Let $n_2=170723$, and let $\\tau(n_2)$ denote the number of positive divisors of $n_2$.\n\nLet $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=18,\\quad \\gcd(p,q)=1,\\quad p 0$, $1$ if $D = 0$, and $0$ otherwise.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59564),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(7), Var(\"k\")), Ref(\"_n\")))),\n \"b\": Const(8),\n \"c\": Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))),\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": "COPRIME_PAIRS", "lemma_paths": ["MAX_VAL", "K2"], "recipe_id": "83afa4", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "MAX_VAL"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 0.023, "created_at": "2026-02-08T11:39:06.012918Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T11:39:06.035661Z"}, "problem_hash": "84b090", "license": "CC BY 4.0", "lemma_applicability": {"K2": "ok", "MAX_VAL": "ok", "K16": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K17": "no", "L3c": "no"}} -{"id": "9d5cdb", "alias": "comb_binomial_compute_v1_677425708_551", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides the exponent of the highest power of 37 that divides $37^{667}$. Let $k$ be the number of integers $n$ with $1 \\leq n \\leq d$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $r = \\binom{13}{k}$. Compute the remainder when $56593 \\cdot r$ is divided by 93124.", "answer": 78380, "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=MaxKDivides(target=Pow(Const(37), Const(667)), base=Const(37)))))),\n \"n\": Const(13),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(56593),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(93124)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MIN_PRIME_FACTOR/L3C"], "recipe_id": "97e4be", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:35:52.800210Z", "verification": {"verified": true, "answer": 78380, "timestamp": "2026-02-08T03:35:52.803364Z"}, "problem_hash": "82d0ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 88380, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 2970}, "timestamp": "2026-02-08T20:45:19.249Z"}], "lemma_applicability": {"K14": "ok", "L3C": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K5": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 4.08, "mid": 7.04, "hi": 10.0}} -{"id": "d1aba2", "alias": "nt_gcd_compute_v1_458359167_249", "problem": "Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1\\le a\\le 30$, $1\\le b\\le 25$, $9\\le t\\le 245$, and\n$$t = 4a + 5b.$$\nLet $N$ be the number of elements in $S$.\n\nLet $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that\n$$xy = N.$$\nLet $U$ be the set of all values of $x+y$ as $(x,y)$ ranges over $T$, and let $M$ be the minimum element of $U$.\n\nLet $V$ be the set of all integers $d$ such that $d\\ge 2$ and $d$ divides $M$, and let $e$ be the minimum element of $V$.\n\nLet $A$ be the sum of all integers $x$ such that\n$$x^e - 6033x + 393822 = \\sum_{d\\mid 45} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $B = 14077$, and let $G$ be the greatest common divisor of $A$ and $B$.\n\nFind the value of $G$. ", "answer": 2011, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(45),\n \"a\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), 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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=25)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=245)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))))), Mul(Const(-6033), Var(\"x\")), Const(393822)), SumOverDivisors(n=Ref(name='_n'), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"b\": Const(14077),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3/MIN_PRIME_FACTOR/VIETA_SUM", "MOBIUS_SUM"], "recipe_id": "1949b3", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_SUM", "VIETA_SUM"], "num_lemmas": 5, "num_base_lemmas": 5, "generation_time": 0.006, "created_at": "2026-02-08T03:05:45.277353Z", "verification": {"verified": true, "answer": 2011, "timestamp": "2026-02-08T03:05:45.283819Z"}, "problem_hash": "30c466", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "B3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "VIETA_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}} -{"id": "2d473f", "alias": "nt_count_intersection_v1_1918700295_2222", "problem": "Let $N$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 25000000$. Let $r$ be the number of positive integers $n \\leq N$ such that $7$ divides $n$ and $\\gcd(n, 15) = 1$. Let $p_{\\text{max}}$ be the largest prime number less than or equal to $323$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $82139228516299$. Compute the value of $$\\left( r \\bmod 307 + d_{\\text{min}} \\cdot (r \\bmod p_{\\text{max}}) \\right) \\bmod 57802.$$", "answer": 37464, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(57802),\n \"_m\": Const(307),\n \"_n\": 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(25000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(7),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_m\")), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(82139228516299))))), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(323)), IsPrime(Var(\"n\")))))))), modulus=Ref(\"_c\")),\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", "MAX_PRIME_BELOW/ENDING_two_moduli", "B3"], "recipe_id": "dca41c", "seed_template_id": "nt_count_intersection_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "ENDING_two_moduli", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "num_base_lemmas": 4, "generation_time": 0.367, "created_at": "2026-02-08T07:45:58.204134Z", "verification": {"verified": true, "answer": 37464, "timestamp": "2026-02-08T07:45:58.571122Z"}, "problem_hash": "4d3abd", "license": "CC BY 4.0", "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "ENDING_two_moduli": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3b": "no", "V1": "no"}} -{"id": "5ce9fe", "alias": "antilemma_count_primes_v1_151522320_1855", "problem": "Let $p = 19$ and $q = 23$. Define $n_1 = pq$ and $v = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $n = 121v$ and $u = \\lambda(n)$. Define $N = 2u$. Compute the number of prime numbers $n$ such that $N \\leq n \\leq 3301$.", "answer": 464, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"q\": Const(23),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(121), Ref(\"v\")),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(2), Ref(\"u\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3301)), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE", "COUNT_PRIMES"], "recipe_id": "f80459", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "LIOUVILLE_ONE"], "num_lemmas": 2, "num_base_lemmas": 0, "generation_time": 0.001, "created_at": "2026-02-08T04:26:19.022167Z", "verification": {"verified": true, "answer": 464, "timestamp": "2026-02-08T04:26:19.022882Z"}, "problem_hash": "e363fc", "license": "CC BY 4.0", "lemma_applicability": {"COUNT_PRIMES": "ok", "LIOUVILLE_ONE": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3b": "no", "MOD_SUB": "no"}} -{"id": "1d859b", "alias": "modular_modexp_compute_v1_1742523217_5198", "problem": "Let $m = 2$. Let $n$ be the number of integers $t$ such that $9 \\leq t \\leq 1019$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 199$, $1 \\leq b \\leq 6$, and $t = 5a + 4b$. Let $a$ be the largest integer $k$ such that $2^k$ divides $7^{134217728} - 5^{134217728}$. Let $e$ be the number of positive integers $j$ such that $1 \\leq j \\leq n$ and $j^3 \\leq 997002999$. Compute the remainder when $a^e$ is divided by $27889$.", "answer": 16874, "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=199)), 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=1019)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"a\": MaxKDivides(target=Sub(Pow(Const(7), Const(134217728)), Pow(Const(5), Const(134217728))), base=Ref(\"_m\")),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(3)), Const(997002999))), domain='positive_integers')),\n \"m\": Const(27889),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/C3", "LTE_DIFF_P2"], "recipe_id": "383816", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "LIN_FORM", "LTE_DIFF_P2"], "num_lemmas": 3, "num_base_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T10:51:09.342700Z", "verification": {"verified": true, "answer": 16874, "timestamp": "2026-02-08T10:51:09.346011Z"}, "problem_hash": "9a5634", "license": "CC BY 4.0", "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF_P2": "ok", "C3": "ok_later", "L3b": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}} -{"id": "13353f", "alias": "modular_count_residue_v1_677425708_243", "problem": "Let $M = 38416$ and $m = 15$. Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 53$ and $\\gcd(n, 20) = 1$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq |A|$ and\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.\n$$\nCompute the number of positive integers $n$ such that $1 \\leq n \\leq M$ and\n$$\nn \\equiv r \\pmod{15}.\n$$", "answer": 2561, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(38416),\n \"m\": Const(15),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(53)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1)))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "C4", "lemma_paths": ["C4/L3C"], "recipe_id": "2d2f56", "seed_template_id": "modular_count_residue_v1", "ending_id": "", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "L3C"], "num_lemmas": 2, "num_base_lemmas": 2, "generation_time": 1.27, "created_at": "2026-02-08T03:10:39.677003Z", "verification": {"verified": true, "answer": 2561, "timestamp": "2026-02-08T03:10:40.947073Z"}, "problem_hash": "eec33c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2561, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1020}, "timestamp": "2026-02-08T20:25:52.109Z"}], "lemma_applicability": {"C4": "ok", "L3C": "ok_later", "C2": "no", "L3b": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -1.19, "hi": 7.63}} -{"id": "162961", "alias": "diophantine_fbi2_count_v1_124444284_1208", "problem": "Let $k = 180$. Consider the set of all positive integers $d$ such that $4 \\leq d \\leq 63$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 61$. Let $r$ be the number of elements in this set. Compute the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $r + 2$. (Recall that the Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$.)", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(63)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(61))))),\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": "V1", "lemma_paths": ["COUNT_FIB_DIVISIBLE/LIOUVILLE_ONE", "MOBIUS_COPRIME"], "recipe_id": "cc5937", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "num_base_lemmas": 1, "generation_time": 2.809, "created_at": "2026-02-08T03:44:27.028649Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T03:44:29.837569Z"}, "problem_hash": "7f9c95", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 1947}, "timestamp": "2026-02-09T10:57:49.884Z"}], "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok", "LIOUVILLE_ONE": "ok_later", "K13": "no", "K14": "no", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}} -{"id": "a92868", "alias": "comb_count_derangements_v1_865884756_291", "problem": "Let $d$ be the smallest integer with $d\\ge 2$ such that $d$ divides $1391821$.\n\nLet $M$ be the number of integers $n$ with $1\\le n\\le d$ that satisfy the congruence\n$$n\\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.$$\n\nConsider the set of all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=6,\\quad \\gcd(p,q)=1,\\quad p 0.\n$$\nLet $S_2$ be the sum of $i \\cdot j$ over all pairs of positive integers $(i, j)$ with $1 \\leq i \\leq 3$, $1 \\leq j \\leq 3$, for which $\\phi(2) = 1$. Compute $S_1 \\cdot S_2$.", "answer": 2016, "graph": "graphs = [\n Graph(\n let={\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=17), b=Const(value=19)), 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(2)))), expr=Var(\"k\"))),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(2)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3)))), 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": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "43c91f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "ONE_PHI_2", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:20:38.286856Z", "verification": {"verified": true, "answer": 2016, "timestamp": "2026-02-08T04:20:38.288104Z"}, "problem_hash": "add36d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "K18": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "bb6aa4", "alias": "algebra_quadratic_discriminant_v1_1918700295_1376", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq = 185220, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nLet $N$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1 + x_2 = T + 6,$$\nwhere $T$ is the number of nonnegative integers $j$ with $0 \\le j \\le 37148$ and\n$$\\binom{37148}{j} \\equiv 1 \\pmod{2}.$$\n\nLet $b$ be the smallest integer $d \\ge 2$ such that $d$ divides $N$.\n\nLet $c = -5$ and define\n$$R = b^2 - 4ac.$$\n\nLet $Q$ be the remainder when $43750R$ is divided by $90343$, so that\n$$Q \\equiv 43750R \\pmod{90343}, \\qquad 0 \\le Q < 90343.$$\n\nFind the value of $Q$.", "answer": 53223, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(90343),\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=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'))))))),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(37148)), Eq(Mod(value=Binom(n=Const(37148), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(6)))))))))),\n \"c\": Const(-5),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mod(value=Mul(Const(43750), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/COMB1/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "8d2384", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR", "V8"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:48:31.144372Z", "verification": {"verified": true, "answer": 53223, "timestamp": "2026-02-08T05:48:31.149451Z"}, "problem_hash": "f1dd4c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 53223, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 2370}, "timestamp": "2026-02-12T14:15:54.911Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 375, "completion_tokens": 523}, "timestamp": "2026-02-11T23:06:41.877Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V8": "ok", "COMB1": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e71844", "alias": "nt_sum_phi_v1_124444284_103", "problem": "Let $p = 67$, $q = 71$, and $r = 19$. Define $n_1 = pqr$. Let $e = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function, and define $n = 6e$. \n\nLet $w = \\sum_{d \\mid n} \\mu(d)$, where the sum is over all positive divisors $d$ of $n$. Define $u = 512 + w$. \n\nCompute the sum of $\\phi(k)$ for all integers $k$ from $1$ to $u$, inclusive, where $\\phi$ is Euler's totient function.", "answer": 79852, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(67),\n \"q\": Const(71),\n \"r\": Const(19),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(Const(6), Ref(\"e\")),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Const(512), Ref(\"w\")),\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": "LIN_FORM", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "recipe_id": "60a6e7", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.089, "created_at": "2026-02-08T02:59:00.312946Z", "verification": {"verified": true, "answer": 79852, "timestamp": "2026-02-08T02:59:00.402251Z"}, "problem_hash": "1d284b", "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": 255, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:43:54.455Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-08T22:49:10.964Z"}], "solution_status": 0, "lemma_applicability": {"MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "c4fc81", "alias": "geo_count_lattice_rect_v1_971394319_1712", "problem": "Let $a = 64$ and $b = 36$. Define $R$ as the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute $$\\sum_{n=1}^{R} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 19101, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(64),\n \"b\": Const(36),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Summation(var=\"n\", start=Div(Const(74), Const(74)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:52:13.320939Z", "verification": {"verified": true, "answer": 19101, "timestamp": "2026-02-08T13:52:13.323947Z"}, "problem_hash": "9fd62f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 357}, "timestamp": "2026-02-12T07:30:00.400Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "30f656", "alias": "nt_count_divisors_in_range_v1_349078426_130", "problem": "Let $m = 3600$. Define $n_0$ to be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = m$. Let $a$ be the number of positive integers $n$ with $1 \\leq n \\leq n_0$ that satisfy $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Given $b = 11088$ and $N = 221760$, compute the number of positive divisors $d$ of $N$ such that $a \\leq d \\leq b$.", "answer": 126, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3600),\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\": Const(221760),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"b\": Const(11088),\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": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.105, "created_at": "2026-02-08T12:50:58.839983Z", "verification": {"verified": true, "answer": 126, "timestamp": "2026-02-08T12:50:58.945007Z"}, "problem_hash": "aca7d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 674}, "timestamp": "2026-02-12T05:44:46.176Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "K5": "no", "L3c": "no", "LTE_DIFF": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "52c4c2", "alias": "modular_modexp_compute_v1_865884756_6923", "problem": "Let $a$ be the largest prime number $n$ such that $2 \\leq n \\leq 51$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 26$. Define $e$ to be the maximum value of $xy$ as $(x, y)$ ranges over all such pairs in $P$. Let $m = 83160$. Compute the value of $a^e \\bmod m$, that is, the remainder when $a^e$ is divided by $m$. Find this value.", "answer": 58007, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(51),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(26)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(83160),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "B1"], "recipe_id": "7086d0", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T19:27:26.995904Z", "verification": {"verified": true, "answer": 58007, "timestamp": "2026-02-08T19:27:26.998634Z"}, "problem_hash": "e4e0d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 469}, "timestamp": "2026-02-13T01:01:05.908Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K15": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d28295", "alias": "nt_count_coprime_v1_898971024_2673", "problem": "Let $N$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq d_{\\text{min}}$, where $d_{\\text{min}}$ is the smallest integer $d \\geq 2$ that divides 6188209. Let $k$ be the number of elements in $N$. Let $U = 22801$, and let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq U$ and $\\gcd(n_1, k) = 1$. Let $r$ be the number of elements in $S$. Let $m = |r| \\bmod 11$, and let $B_m$ denote the $m$-th Bell number. Compute $B_m$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"upper\": Const(22801),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6188209)))))), IsPrime(Var(\"n\"))))),\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(\"k\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.404, "created_at": "2026-02-08T16:54:28.089278Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T16:54:31.493438Z"}, "problem_hash": "ee45bb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 387}, "timestamp": "2026-02-12T21:17:39.254Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9c6ca4", "alias": "nt_count_intersection_v1_1520064083_10349", "problem": "Let $N$ be the number of integers $t$ such that $27 \\leq t \\leq 5030$ and there exist positive integers $a \\leq 518$ and $b \\leq 1210$ for which $t = 5a + 2b + 20$. Let $A$ be the number of positive integers $n \\leq N$ such that $11$ divides $n$ and $\\gcd(n, 6) = 1$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 202500$. Let $c$ be the minimum value of $x + y$ over all such pairs. Find the value of $c - A$.", "answer": 749, "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=518)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1210)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=5030)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=20)))))))),\n \"a\": Const(11),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(202500)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "LIN_FORM"], "recipe_id": "70a683", "seed_template_id": "nt_count_intersection_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.433, "created_at": "2026-02-08T11:21:36.789719Z", "verification": {"verified": true, "answer": 749, "timestamp": "2026-02-08T11:21:39.223020Z"}, "problem_hash": "e41fc2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 749, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 3317}, "timestamp": "2026-02-14T13:24:46.925Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 309}, "timestamp": "2026-02-12T03:58:52.120Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "K13": "no", "MOD_FACTORIAL": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "585bfc", "alias": "modular_min_modexp_v1_2051736721_3617", "problem": "Let $a = 13$ and $m = 563$. Let $b$ be the largest divisor of $8924$ that is at most $92$. Let $u = 281$. Find the smallest positive integer $x \\leq u$ such that $a^x \\equiv b \\pmod{m}$.", "answer": 237, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(13),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(92)), Divides(divisor=Var(\"d\"), dividend=Const(8924))))),\n \"m\": Const(563),\n \"upper\": Const(281),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.022, "created_at": "2026-02-08T17:25:58.702395Z", "verification": {"verified": true, "answer": 237, "timestamp": "2026-02-08T17:25:58.724060Z"}, "problem_hash": "7b39bd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 386}, "timestamp": "2026-02-12T22:30:07.093Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K16": "no", "K18": "no", "L3b": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4eeef6", "alias": "comb_count_surjections_v1_784195855_955", "problem": "Let $n_0=4$. Let $k$ be the number of ordered pairs $(i,j)$ with $1\\le i\\le 2$ and $1\\le j\\le 2$. Let\n$$R=k!\\,S(n_0,k),$$\nwhere $S(n_0,k)$ is the Stirling number of the second kind.\n\nConsider all integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 5$, $1\\le b\\le 2$, $5\\le t\\le 16$, and\n$$t=2a+3b.$$\nLet $M$ be the number of such integers $t$, and let\n$$A=\\binom{M}{10}.$$\n\nLet\n$$Q=\\sum_{n=A}^{|R|} d(n),$$\nwhere $d(n)$ denotes the number of positive divisors of $n$. Compute $Q$.", "answer": 84, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(4),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=5)), Leq(left=Var(name='t'), right=Const(value=16)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), k=Const(10)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/ONE_BINOM_N", "COUNT_CARTESIAN"], "recipe_id": "ca6cd7", "seed_template_id": "comb_count_surjections_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:43:21.926340Z", "verification": {"verified": true, "answer": 84, "timestamp": "2026-02-08T04:43:21.929930Z"}, "problem_hash": "7eef87", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 84, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 1451}, "timestamp": "2026-02-11T21:59:03.919Z"}, {"id": 8, "model": "mathstral", "answer": 1234, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 1071}, "timestamp": "2026-02-14T00:14:40.509Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 563}, "timestamp": "2026-02-11T21:49:44.591Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ONE_BINOM_N": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "3d0a8d", "alias": "comb_count_permutations_fixed_v1_784195855_8983", "problem": "Let $u$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 5$, $1\\le b\\le 2$, $14\\le t\\le 40$, and\n$$t=4a+10b.$$\nLet $n_2=u+1$, and let\n$$v=\\sum_{k=0}^{n_2}(-1)^k\\binom{n_2}{k}.$$\nAlso let $n_1=0$ and\n$$e=\\sum_{k=0}^{n_1}(-1)^k\\binom{n_1}{k}.$$\nLet $n=7$ and $k=0$, and define\n$$R=\\binom{n}{k}\\cdot (n-k)!.$$ \n\nNow let $S$ be the set of all ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=N,$$\nwhere $N$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 175$, $1\\le b\\le 30$, $33\\le t\\le 2730$, and\n$$t=12a+21b.$$\nLet $M$ be the number of elements in $S$.\n\nDefine\n$$Q\\equiv M\\cdot e - R \\pmod{84567+v},$$\nwhere $0\\le Q<84567+v$.\n\nFind the value of $Q$.", "answer": 83154, "graph": "graphs = [\n Graph(\n let={\n \"u\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=14)), Leq(left=Var(name='t'), right=Const(value=40)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"n2\": Sum(Ref(\"u\"), Const(1)),\n \"v\": 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 \"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\": Const(7),\n \"k\": Const(0),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=175)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=30)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=2730)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))))))), Ref(\"e\")), Ref(\"result\")), modulus=Sum(Const(84567), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/BINOMIAL_ALTERNATING", "LIN_FORM/BINOMIAL_ALTERNATING"], "recipe_id": "e9a611", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T16:26:32.786252Z", "verification": {"verified": true, "answer": 83154, "timestamp": "2026-02-08T16:26:32.795359Z"}, "problem_hash": "f95fdd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 465, "completion_tokens": 409}, "timestamp": "2026-02-12T10:41:47.077Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5305e0", "alias": "antilemma_product_of_sums_v1_1742523217_3082", "problem": "Let $S_1$ be the sum of $i \\cdot j$ over all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 5$. Let $S_2 = \\sum_{k=1}^{12} k$. Define $x = S_1 \\cdot S_2$. Let $c$ be the smallest divisor of $629260310233267$ that is at least $2$. Compute the value of $(x \\bmod 251 + c \\cdot (x \\bmod 397)) \\bmod 93203$.", "answer": 19290, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(251),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=Const(12), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(629260310233267))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(397)))), modulus=Const(93203)),\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", "PRODUCT_OF_SUMS"], "recipe_id": "529cb0", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:31:16.956068Z", "verification": {"verified": true, "answer": 19290, "timestamp": "2026-02-08T05:31:16.957449Z"}, "problem_hash": "0ff56a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MOD_ADD": "no", "V5": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "abd54d", "alias": "antilemma_cartesian_v1_1742523217_1610", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer between 1 and 30, inclusive, and $b$ is an integer between 1 and 31, inclusive. Compute $$\\sum_{n=0}^{x} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$. Note that $\\tau(0)$ is defined to be 0.", "answer": 6510, "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(31)))),\n \"Q\": Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:04:40.641933Z", "verification": {"verified": true, "answer": 6510, "timestamp": "2026-02-08T04:04:40.642834Z"}, "problem_hash": "23114a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 6510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 5510}, "timestamp": "2026-02-10T15:16:37.099Z"}, {"id": 8, "model": "mathstral", "answer": 2304, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 151, "completion_tokens": 810}, "timestamp": "2026-02-13T05:48:29.299Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 395}, "timestamp": "2026-02-11T20:24:27.681Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "88837f", "alias": "antilemma_cartesian_v1_1439011603_2230", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 21$ and $1 \\leq j \\leq 28$. Define $Q$ as the remainder when $44121 \\cdot x$ is divided by $89140$. Compute the value of $Q$.", "answer": 3408, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(89140)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T16:37:33.285891Z", "verification": {"verified": true, "answer": 3408, "timestamp": "2026-02-08T16:37:33.286362Z"}, "problem_hash": "87aa83", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 328}, "timestamp": "2026-02-12T11:06:32.515Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "339430", "alias": "nt_count_gcd_equals_v1_971394319_1124", "problem": "Let $r_1$ and $r_2$ be the real solutions to the equation $x^2 - 9000x + 642816 = 0$, and let $u$ be their sum. Let $k$ be the smallest prime divisor of 32007774949. Compute the number of positive integers $n$ with $1 \\leq n \\leq u$ such that $\\gcd(n, k) = 1$.", "answer": 8979, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-9000), Var(\"x\")), Const(642816)), Const(0)))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(32007774949))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "recipe_id": "0aafd1", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.988, "created_at": "2026-02-08T13:30:32.786503Z", "verification": {"verified": true, "answer": 8979, "timestamp": "2026-02-08T13:30:33.774384Z"}, "problem_hash": "fc6232", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 479}, "timestamp": "2026-02-12T06:56:35.126Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f43193", "alias": "modular_count_residue_v1_1520064083_328", "problem": "Let $n$ be a positive integer. Define $r$ to be the largest integer $k$ such that $47^k$ divides the number of positive integers $n \\leq 24309$ satisfying\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.\n$$\nLet $S$ be the set of all positive integers $n \\leq 87616$ such that $n \\equiv r \\pmod{11}$. The number of elements in $S$ is denoted by $|S|$. Let $Q = 34969 - |S|$. Compute $Q$.", "answer": 27004, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(47),\n \"upper\": Const(87616),\n \"m\": Const(11),\n \"r\": MaxKDivides(target=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(24309)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), Const(47)), base=Ref(\"_n\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"_c\": Const(34969),\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": "L3C", "lemma_paths": ["L3C/K13"], "recipe_id": "338801", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "L3C"], "num_lemmas": 2, "generation_time": 10.105, "created_at": "2026-02-08T03:15:19.713496Z", "verification": {"verified": true, "answer": 27004, "timestamp": "2026-02-08T03:15:29.818783Z"}, "problem_hash": "0e0fa5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "K13": "ok_later", "DS2": "no", "K15": "no", "K17": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "b84f13", "alias": "nt_count_divisors_in_range_v1_458359167_5162", "problem": "Let $n = 2520$ and $a = 18$. Let $b$ be the largest positive divisor of $1620429$ that does not exceed $1263$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(2520),\n \"a\": Const(18),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1263)), Divides(divisor=Var(\"d\"), dividend=Const(1620429))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T12:19:05.470537Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T12:19:05.485039Z"}, "problem_hash": "c739c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 410}, "timestamp": "2026-02-12T05:06:58.338Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "962feb", "alias": "algebra_vieta_sum_v1_2051736721_4218", "problem": "Let $S$ be the set of all positive integers $x$ such that\n$$\nx^4 + 20x^3 + 64x - 768 = 0.\n$$\nLet $r$ be the sum of all elements in $S$. Compute\n$$\n\\sum_{n=1}^{|r|} \\phi(n),\n$$\ndepth where $\\phi$ denotes Euler's totient function.", "answer": 128, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(4)), Mul(Const(20), Pow(Var(\"x\"), Ref(\"_n\"))), Mul(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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=61)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=986)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=3385)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), expr=Sum(Var(\"x1\"), Var(\"y\")))), Pow(Var(\"x\"), Const(2))), Mul(Const(64), Var(\"x\")), Const(-768)), Const(0)))),\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": "B3", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.061, "created_at": "2026-02-08T17:49:21.340670Z", "verification": {"verified": true, "answer": 128, "timestamp": "2026-02-08T17:49:21.401612Z"}, "problem_hash": "112379", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 443}, "timestamp": "2026-02-12T23:13:22.749Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4b0e3b", "alias": "nt_euler_phi_compute_v1_1918700295_457", "problem": "Let $n_0 = 35721$. Let $n_2$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 26$. Let $s$ be the number of distinct prime factors of $n_2$. Let $p = 7$ and define $n_1 = p^s$. Let $e$ be the number of distinct prime factors of $n_1$. Let $n = n_0 \\cdot e$. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 20412, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35721),\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(26)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"s\": SmallOmega(n=Ref(name='n2')),\n \"p\": Const(7),\n \"n1\": Pow(Ref(\"p\"), Mul(Const(1), Ref(\"s\"))),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_n\"), 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": "B1", "lemma_paths": ["B1/OMEGA_ONE"], "recipe_id": "5023a4", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B1", "OMEGA_ONE"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:15:26.182368Z", "verification": {"verified": true, "answer": 20412, "timestamp": "2026-02-08T03:15:26.189563Z"}, "problem_hash": "2e2d55", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "OMEGA_ONE": "ok_later", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "d2cba3", "alias": "nt_num_divisors_compute_v1_458359167_5638", "problem": "Let $t$ be a positive integer such that $20 \\leq t \\leq 422$. Suppose there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 61$, $1 \\leq b \\leq 4$, and $t = 6a + 14b$. Let $m$ be the number of such integers $t$. Let $n$ be the number of positive integers $k$ with $1 \\leq k \\leq 639160$ that are divisible by $m$. Determine the value of the number of positive divisors of $n$. Let $Q$ be the remainder when $44121$ multiplied by this value is divided by $93719$. Compute $Q$.", "answer": 22213, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=61)), 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=20)), Leq(left=Var(name='t'), right=Const(value=422)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(639160)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(93719)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2"], "recipe_id": "03e7fc", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T12:37:57.253733Z", "verification": {"verified": true, "answer": 22213, "timestamp": "2026-02-08T12:37:57.256590Z"}, "problem_hash": "79bf31", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 450}, "timestamp": "2026-02-12T05:27:11.455Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "66ee69", "alias": "antilemma_k2_v1_1915831931_1285", "problem": "Let $m = 2$ and $c = 87693$. Define $n$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $383$. Let $$x = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{383}{k} \\right\\rfloor.$$ Let $r$ be the number of real solutions to the equation $x^2 - 14x + 49 = 0$. Compute the value of $$x + m^{x \\bmod r} \\bmod c.$$", "answer": 73792, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(87693),\n \"_m\": Const(2),\n \"_n\": SumOverDivisors(n=Const(value=383), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(383), Var(\"k\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Ref(\"_m\"), Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Const(2)), Mul(Const(-14), Var(\"x1\")), Const(49)), Const(0)))))), modulus=Ref(\"_c\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "K3/K2", "K2"], "recipe_id": "3eabae", "seed_template_id": "antilemma_k2_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:58:52.706321Z", "verification": {"verified": true, "answer": 73792, "timestamp": "2026-02-08T15:58:52.709760Z"}, "problem_hash": "578896", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 432}, "timestamp": "2026-02-12T09:42:44.867Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "K3": "ok", "VIETA_SUM": "ok", "K13": "no", "K17": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e12982", "alias": "nt_lcm_compute_v1_677425708_2425", "problem": "Let $m=15$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy=23270976$. For each such pair, form the sum $x+y$. Let $n_0$ be the smallest value of $x+y$ obtained in this way.\n\nLet $a$ be the number of integers $n$ with $1\\le n\\le 15776$ such that $4$ divides $n$ and $\\gcd(n,m)=1$.\n\nLet $b$ be the number of integers $n$ with $1\\le n\\le n_0$ such that $7$ divides the $n$th Fibonacci number $F_n$.\n\nLet $r=\\operatorname{lcm}(a,b)$. Define\n$$S=\\sum_{n=1}^{|r|} d(n),$$\nwhere $d(n)$ is the number of positive divisors of $n$.\n\nLet $Q$ be the remainder when $S$ is divided by $58637$.\n\nFind the value of $Q$.", "answer": 24225, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(23270976)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15776)), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(7), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(58637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE", "C5"], "recipe_id": "50b811", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "C5", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:02:08.885595Z", "verification": {"verified": true, "answer": 24225, "timestamp": "2026-02-08T05:02:08.889166Z"}, "problem_hash": "80c150", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 330, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:47:47.894Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 330, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:46:35.679Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 8192}, "timestamp": "2026-02-12T04:07:49.485Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 555}, "timestamp": "2026-02-12T02:27:28.962Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 4131}, "timestamp": "2026-02-12T01:24:57.662Z"}, {"id": 8, "model": "mathstral", "answer": 1985, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 902}, "timestamp": "2026-02-14T05:54:17.342Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 339, "completion_tokens": 473}, "timestamp": "2026-02-11T22:11:51.932Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K13": "no", "K14": "no", "K16": "no", "K18": "no", "V3": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "b9cf5e", "alias": "antilemma_cartesian_v1_784195855_5284", "problem": "Let $m=5$. Let $n$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 3$ and $1\\le j\\le 3$ such that $i+j=m$.\n\nLet $x$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 13$ and $1\\le v\\le 17$.\n\nLet $y$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[\n1\\le a\\le 7,\\quad 1\\le b\\le 14,\\quad 5\\le t\\le 49,\\quad t=3a+2b.\n\\]\n\nDefine\n\\[\nQ=x^n+\\bigl(\\text{number of ordered pairs }(r,s)\\text{ of integers with }1\\le r\\le 4,\\,1\\le s\\le 8\\bigr)\\cdot x+y.\n\\]\nCompute $Q$.", "answer": 55956, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\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(3)), right=IntegerRange(start=Const(1), end=Const(3))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(17)))),\n \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(8)))), Ref(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=5)), Leq(left=Var(name='t'), right=Const(value=49)), 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": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/LIN_FORM", "COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "00ac34", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T07:49:09.371798Z", "verification": {"verified": true, "answer": 55956, "timestamp": "2026-02-08T07:49:09.384125Z"}, "problem_hash": "833828", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 55956, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 2271}, "timestamp": "2026-02-13T12:31:32.855Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 478}, "timestamp": "2026-02-12T01:19:00.200Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "9db0de", "alias": "nt_count_gcd_equals_v1_124444284_1239", "problem": "Let $k$ be the number of integers $t$ with $9 \\leq t \\leq 441$ that can be written in the form $t = 7a + 2b$ for integers $a$ with $1 \\leq a \\leq 45$ and $b$ with $1 \\leq b \\leq 63$. Let $d$ be the largest prime number $n$ such that $2 \\leq n \\leq 8$. Determine the number of positive integers $n$ with $1 \\leq n \\leq 46656$ such that $\\gcd(n, k) = d$. Find the value of this count.", "answer": 6556, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(46656),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=45)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=63)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=441)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"d\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM", "ONE_PHI_1"], "recipe_id": "67b68e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 7.306, "created_at": "2026-02-08T03:45:57.463911Z", "verification": {"verified": true, "answer": 6556, "timestamp": "2026-02-08T03:46:04.769872Z"}, "problem_hash": "7b9f46", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:56:02.977Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6556, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 5320}, "timestamp": "2026-02-09T11:17:56.470Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "1e976a", "alias": "nt_lcm_compute_v1_1874849503_966", "problem": "Let $P$ 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$ be the number of positive integers $k$ such that $1 \\leq k \\leq 356257$ and $233$ divides $k$. Let $b$ be the sum of all nonnegative integers $j$ such that $0 \\leq j \\leq 546$ and $\\binom{546}{j} \\equiv 1 \\pmod{P}$. Let $L = \\operatorname{lcm}(a, b)$. Find the remainder when $44121 \\cdot L$ is divided by $76715$.", "answer": 3836, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(76715),\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\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(356257)), Divides(divisor=Const(233), dividend=Var(\"k\"))), domain='positive_integers')),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(546)), Eq(Mod(value=Binom(n=Const(546), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/C2/V8"], "recipe_id": "b796fd", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "V8"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T13:27:22.679166Z", "verification": {"verified": true, "answer": 3836, "timestamp": "2026-02-08T13:27:22.685434Z"}, "problem_hash": "139a08", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3836, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:17:40.847Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 611}, "timestamp": "2026-02-11T21:11:06.537Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "C2": "ok_later", "V8": "ok_later", "K13": "no", "K5": "no", "V1": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "valid"} +{"id": "a47099", "alias": "antilemma_cartesian_v1_124444284_3553", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $a$ is an integer satisfying $1 \\leq a \\leq 22$ and $b$ is an integer satisfying $1 \\leq b \\leq 31$. Compute $x$.", "answer": 682, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(31)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:26:58.738020Z", "verification": {"verified": true, "answer": 682, "timestamp": "2026-02-08T05:26:58.738818Z"}, "problem_hash": "c79743", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 682, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 283}, "timestamp": "2026-02-11T22:50:44.009Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 682, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 176}, "timestamp": "2026-02-11T22:42:55.238Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "valid"} +{"id": "f6bf45", "alias": "modular_min_linear_v1_677425708_3253", "problem": "Let $a$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 457$. Let $b$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 64019$. Compute the smallest positive integer $x$ such that $1 \\leq x \\leq 15773$ and $a \\cdot x \\equiv b \\pmod{15773}$.", "answer": 665, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(457)))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(64019)), IsPrime(Var(\"n\"))))),\n \"m\": Const(15773),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_PRIMES"], "recipe_id": "279ba8", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 1.114, "created_at": "2026-02-08T05:35:04.633903Z", "verification": {"verified": true, "answer": 665, "timestamp": "2026-02-08T05:35:05.747649Z"}, "problem_hash": "6827b2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10329, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 2695}, "timestamp": "2026-02-12T11:33:10.066Z"}, {"id": 8, "model": "mathstral", "answer": 12089, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 482}, "timestamp": "2026-02-14T20:27:24.373Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 387}, "timestamp": "2026-02-11T22:52:29.192Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_PRIMES": "ok", "DS2": "no", "K18": "no", "L3c": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "95c67a", "alias": "comb_sum_binomial_mod_v1_1248542787_831", "problem": "Let $d_{\\text{max}}$ be the largest positive divisor of $103934$ that is less than or equal to $314$. Compute the remainder when\n$$\n\\sum_{k=81}^{d_{\\text{max}}} \\binom{463}{k}\n$$\nis divided by $10181$. Multiply this remainder by $44121$, then take the result modulo $72514$. Find the final value.", "answer": 71650, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(314),\n \"sum\": Summation(var=\"k\", start=Const(81), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(103934))))), expr=Binom(n=Const(463), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10181)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(72514)),\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"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.028, "created_at": "2026-02-08T03:26:57.032932Z", "verification": {"verified": true, "answer": 71650, "timestamp": "2026-02-08T03:26:57.061288Z"}, "problem_hash": "95b21d", "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": 203, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:52:50.729Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:38:03.451Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:30:31.491Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 130, "completion_tokens": 7117}, "timestamp": "2026-02-11T12:22:39.136Z"}, {"id": 8, "model": "mathstral", "answer": 1038, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 821}, "timestamp": "2026-02-12T15:17:35.209Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 650}, "timestamp": "2026-02-11T20:52:17.535Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "K5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "e3f9b9", "alias": "comb_count_surjections_v1_717093673_3413", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 4$, $1 \\leq j \\leq 5$, and $i + j = 6$. Let $m$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 4$, such that $3a + 2b$ is an integer between $5$ and $14$, inclusive. Let $k$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Compute the remainder when $30174 \\cdot k! \\cdot S(n, k)$ is divided by $80405$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 531, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30174),\n \"n\": 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))))),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=14)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(80405)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "5a3f8e", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T17:35:42.967001Z", "verification": {"verified": true, "answer": 531, "timestamp": "2026-02-08T17:35:42.982450Z"}, "problem_hash": "d3dfc2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 547}, "timestamp": "2026-02-12T22:52:52.975Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7a8907", "alias": "nt_count_coprime_v1_865884756_3846", "problem": "Let $k$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 229$. Let $\\text{result}$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 22500$ and $\\gcd(n_1, k) = 1$. Let $m$ be the largest integer $k_1$ such that $3^{k_1} \\leq 94431861$. Compute $\\text{result} + \\left(2^{(\\text{result} \\bmod m)} \\bmod 94359\\right)$.", "answer": 9256, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": Const(22500),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(229)), IsPrime(Var(\"n\"))))),\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(\"k\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"k1\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k1\")), Const(94431861)))))), modulus=Const(94359))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL", "COUNT_PRIMES"], "recipe_id": "ac43eb", "seed_template_id": "nt_count_coprime_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_VAL"], "num_lemmas": 2, "generation_time": 1.771, "created_at": "2026-02-08T17:35:29.810712Z", "verification": {"verified": true, "answer": 9256, "timestamp": "2026-02-08T17:35:31.581350Z"}, "problem_hash": "5bcbd1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 606}, "timestamp": "2026-02-12T22:54:06.724Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_VAL": "ok", "K16": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "LTE_SUM": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ee5c9c", "alias": "algebra_vieta_sum_v1_1520064083_7269", "problem": "Compute the product of all real solutions $x$ to the equation $x^3 + 6x^2 - 96x - 640 = 0$.", "answer": 640, "graph": "graphs = [\n Graph(\n let={\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=3)), Mul(Const(value=6), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=-96), Var(name='x')), Const(value=-640)), right=Const(value=0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.034, "created_at": "2026-02-08T08:52:17.333528Z", "verification": {"verified": true, "answer": 640, "timestamp": "2026-02-08T08:52:17.367613Z"}, "problem_hash": "cd96e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 640, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 81, "completion_tokens": 1060}, "timestamp": "2026-02-13T22:50:44.637Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": -640, "score": 2, "correct": {"strict": false, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 139}, "timestamp": "2026-02-12T02:21:21.953Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "99eddd", "alias": "algebra_quadratic_discriminant_v1_168721529_320", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy$ equals the number of integers $t$ in the range $16 \\leq t \\leq 368$ for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 53$, $1 \\leq b \\leq 5$, and $t = 6a + 10b$. Let $b$ be the minimum value of $x + y$ over all $(x, y) \\in S$. Compute the remainder when $6 - (b^2 - 4(-2)(-80))$ is divided by $74743$.", "answer": 74713, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(74743),\n \"a\": Const(-2),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=53)), 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=16)), Leq(left=Var(name='t'), right=Const(value=368)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"c\": Const(-80),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mod(value=Sub(Const(6), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T12:59:26.487526Z", "verification": {"verified": true, "answer": 74713, "timestamp": "2026-02-08T12:59:26.511876Z"}, "problem_hash": "8a9850", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:44:07.978Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 502, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 535}, "timestamp": "2026-02-09T15:26:29.376Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 74713, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 3859}, "timestamp": "2026-02-10T03:08:06.017Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 518}, "timestamp": "2026-02-12T06:02:44.812Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.16, "mid": 1.4, "hi": 5.17}, "split": "valid"} +{"id": "c7b7ff", "alias": "nt_min_with_divisor_count_v1_677425708_2481", "problem": "Let $S$ be the set of positive integers $t$ such that $14 \\leq t \\leq 330$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 31$, $1 \\leq b \\leq 18$, and $t = 6a + 8b$. Let $d = \\gcd(|S|, 119)$. Let $n_0$ be the smallest positive integer $n$ such that $1 \\leq n \\leq 59049$ and $n$ has exactly 9 positive divisors. Compute $$ \\sum_{i=1}^{k-1} d_i (i+1)^2 + 45796, $$ where $k$ is the number of digits of $n_0$, and $d_i$ is the $i$-th digit of $n_0$ (from the left, starting at $i=1$).", "answer": 45814, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(59049),\n \"div_count\": Const(9),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=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=31)), 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=14)), Leq(left=Var(name='t'), right=Const(value=330)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), b=Const(value=119)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(45796)),\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/MOBIUS_COPRIME"], "recipe_id": "cbf504", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 2.952, "created_at": "2026-02-08T05:04:25.722232Z", "verification": {"verified": true, "answer": 45814, "timestamp": "2026-02-08T05:04:28.673864Z"}, "problem_hash": "d6be29", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok_later", "K13": "no", "L3b": "no", "LTE_SUM": "no", "V5": "no", "V7": "no"}, "split": "valid"} +{"id": "6d5bd9", "alias": "diophantine_product_count_v1_1125832087_1555", "problem": "Let $m = 2$ and $n = 31$. Let $S$ be the set of all positive integers $k$ such that the highest power of $2$ dividing $k!$ is at least 34. Let $u$ be the minimum element of $S$. Let $v$ be the largest integer such that $31^v$ divides $923521^u$. Let $D$ be the set of all positive integers $x$ such that $x$ divides 240 and $\\frac{240}{x} \\leq v$. Let $d$ be the number of elements in $D$. Compute the multiplicative order of 2 modulo $2d + 3$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(31),\n \"k\": Const(240),\n \"upper\": MaxKDivides(target=Pow(Const(923521), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(34)), domain='Z_{>0}'))), base=Ref(\"_n\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/K14"], "recipe_id": "8b8d28", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K14", "V5"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T03:47:36.186974Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T03:47:36.195305Z"}, "problem_hash": "fa147e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V5": "ok", "K14": "ok_later", "K17": "no", "L3b": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "b47588", "alias": "nt_sum_divisors_mod_v1_784195855_9649", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 84$ and $1 \\leq b \\leq 90$. Compute the sum of all positive divisors of $n$. Find the remainder when this sum is divided by 10831.", "answer": 7138, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(84)), right=IntegerRange(start=Const(1), end=Const(90)))),\n \"M\": Const(10831),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T16:56:56.668630Z", "verification": {"verified": true, "answer": 7138, "timestamp": "2026-02-08T16:56:56.672987Z"}, "problem_hash": "b37a73", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7138, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 644}, "timestamp": "2026-02-12T21:32:55.829Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3c": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "044baf", "alias": "geo_count_lattice_rect_v1_1742523217_35", "problem": "Let $a = 128$ and $b = 197$. Define $\\mathcal{P}$ to be the set of all lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Let $r$ be the number of points in $\\mathcal{P}$. Define $Q$ to be the remainder when $\\sum_{n=1}^{r} \\tau(n)$ is divided by $55151$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Find the value of $Q$.", "answer": 42559, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(128),\n \"b\": Const(197),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(15), Const(15)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(55151)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:50:38.662161Z", "verification": {"verified": true, "answer": 42559, "timestamp": "2026-02-08T02:50:38.663089Z"}, "problem_hash": "74504e", "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": 242, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:52:28.172Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 8192}, "timestamp": "2026-02-08T22:04:47.539Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:15:58.777Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 51084, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 528}, "timestamp": "2026-02-10T14:13:00.374Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 4755}, "timestamp": "2026-02-10T13:23:18.360Z"}, {"id": 8, "model": "mathstral", "answer": 196, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 661}, "timestamp": "2026-02-11T04:50:07.869Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 537}, "timestamp": "2026-02-11T19:45:06.159Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "c9d156", "alias": "nt_num_divisors_compute_v1_898971024_794", "problem": "Let $n = 22801$. Define $d$ to be the number of positive divisors of $n$. Compute the value of\n$$\n\\left( 353702 \\cdot (d \\bmod 97) + 329703 \\cdot (d^2 \\bmod 101) + 215534 \\cdot \\left(d + \\sum_{k=1}^{8} k\\right) \\bmod 103 \\right) \\bmod 1009091\n$$\nand then take the result modulo $56927$.", "answer": 28673, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(103),\n \"n\": Const(22801),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Summation(var=\"k\", start=Const(1), end=Const(8), expr=Var(\"k\"))), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(56927)),\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"], "recipe_id": "8bfd9a", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:38:50.665259Z", "verification": {"verified": true, "answer": 28673, "timestamp": "2026-02-08T15:38:50.669486Z"}, "problem_hash": "51b3a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9226, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 439}, "timestamp": "2026-02-12T09:00:46.463Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fb5742", "alias": "comb_count_derangements_v1_865884756_4708", "problem": "Let $n$ be the smallest divisor $d$ of $539$ such that $d \\geq 2$. Define $r$ to be the number of derangements of $n$ elements. Let $p$ be the largest prime number $n_1$ such that $2 \\leq n_1 \\leq 11$. Compute the number of partitions of a set with $|r|$ elements, where the number of elements is taken modulo $p$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(539))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "114c7a", "seed_template_id": "comb_count_derangements_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T18:04:50.154354Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T18:04:50.172514Z"}, "problem_hash": "7987c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 480}, "timestamp": "2026-02-12T23:39:57.156Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K18": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a863d0", "alias": "antilemma_k3_v1_1470522791_321", "problem": "Let $ n = 77315 $. Define $ x = \\sum_{d \\mid n} \\phi(d) $, where $ \\phi $ denotes Euler's totient function. Let $ S $ be the set of all real numbers $ x $ such that $ x^2 - 4444x - 229245 = 0 $. Compute the difference between the sum of all elements in $ S $ and $ x $, and then find the remainder when this value is divided by $ 74575 $.", "answer": 1704, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(77315),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-4444), Var(\"x\")), Const(-229245)), Sub(Const(61), Const(61))))), Ref(\"x\")), modulus=Const(74575)),\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_SUB_SELF", "K3"], "recipe_id": "5061b4", "seed_template_id": "antilemma_k3_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_SUB_SELF", "K13", "K3", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T12:56:55.435593Z", "verification": {"verified": true, "answer": 1704, "timestamp": "2026-02-08T12:56:55.443898Z"}, "problem_hash": "3f7b95", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 375}, "timestamp": "2026-02-12T05:54:32.489Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_SUB_SELF": "ok", "K3": "ok", "VIETA_SUM": "ok", "DS2": "no", "K13": "no", "K16": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9753dc", "alias": "comb_binomial_compute_v1_1820931509_804", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ where $i$ and $j$ are integers satisfying $1 \\le i \\le 4$ and $1 \\le j \\le 4$. Compute the value of $\\binom{n}{9}$.", "answer": 11440, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"k\": Const(9),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:53:28.768867Z", "verification": {"verified": true, "answer": 11440, "timestamp": "2026-02-08T11:53:28.770102Z"}, "problem_hash": "d4dcc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22880, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 104, "completion_tokens": 1323}, "timestamp": "2026-02-14T20:52:02.529Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 190}, "timestamp": "2026-02-12T04:48:24.900Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "62150b", "alias": "antilemma_cartesian_v1_1978505735_830", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ of positive integers such that $1 \\le a \\le 12$ and $1 \\le b \\le 17$. Compute the remainder when $44121 \\cdot x$ is divided by $79246$.", "answer": 45886, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(17)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(79246)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:38:00.523170Z", "verification": {"verified": true, "answer": 45886, "timestamp": "2026-02-08T15:38:00.523807Z"}, "problem_hash": "2bb78b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 327}, "timestamp": "2026-02-12T08:47:43.710Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3a4403", "alias": "nt_gcd_compute_v1_1978505735_1306", "problem": "Let $a = 173156$ and $b = 389601$, and let $\\text{result}$ be the greatest common divisor of $a$ and $b$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 777924$. Let $c$ be the minimum value of $x + y$ over all pairs $(x, y) \\in S$. Define\n$$\nQ = \\left( \\text{result}^2 + \\left( \\sum_{k=1}^{6} \\varphi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor \\right) \\cdot \\text{result} + c \\right) \\bmod 56072.\n$$\nCompute $Q$.", "answer": 24962, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(2),\n \"a\": Const(173156),\n \"b\": Const(389601),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\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(777924)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(56072)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "1255c3", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:00:41.551484Z", "verification": {"verified": true, "answer": 24962, "timestamp": "2026-02-08T16:00:41.554794Z"}, "problem_hash": "ccb08b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 741}, "timestamp": "2026-02-12T09:51:48.433Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_DIFF_P2": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e6645c", "alias": "nt_max_prime_below_v1_677425708_709", "problem": "Let $m = 52086$ and $n_0 = 2$. Define $u = 13689$. Let $P$ be the set of all integers $n$ such that $n_0 \\leq n \\leq u$ and $n$ is prime. Let $M$ be the maximum element of $P$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x$ is odd, $y$ is odd, and $x \\cdot y = 1234321$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $s$ be the minimum element of $T$. Let $N$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = s$. Compute the remainder when $N - M$ is divided by $m$, and find the value of this remainder.", "answer": 39510, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(52086),\n \"_n\": Const(2),\n \"upper\": Const(13689),\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\": Mod(value=Sub(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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1234321)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COMB1"], "recipe_id": "173d61", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COMB1"], "num_lemmas": 2, "generation_time": 0.714, "created_at": "2026-02-08T03:42:07.483682Z", "verification": {"verified": true, "answer": 39510, "timestamp": "2026-02-08T03:42:08.197678Z"}, "problem_hash": "2fd156", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 328, "completion_tokens": 3475}, "timestamp": "2026-02-08T20:58:04.384Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 39510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 324, "completion_tokens": 2223}, "timestamp": "2026-02-10T14:10:09.925Z"}, {"id": 8, "model": "mathstral", "answer": 38244, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 484}, "timestamp": "2026-02-12T21:49:26.068Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 406}, "timestamp": "2026-02-11T20:05:45.097Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COMB1": "ok_later", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "d99936", "alias": "modular_min_modexp_v1_238844314_16", "problem": "Let $a=11$ and $b$ be the value of\n$$\n\\sum_{k=1}^{24} \\varphi(k)\\left\\lfloor\\frac{24}{k}\\right\\rfloor,\n$$\nwhere $\\varphi$ is Euler's totient function. Let $m$ be the number of integers $n$ with $1\\le n\\le 1079$ such that\n$$\n n \\equiv \\left\\lfloor\\frac{n}{2}\\right\\rfloor \\pmod{3}.\n$$\nLet $u$ be the smallest integer $d\\ge 2$ that divides $5864219$. Let $r$ be the smallest integer $x$ with $1\\le x\\le u$ such that\n$$\n11^x \\equiv b \\pmod{m}.\n$$\nLet\n$$\nQ \\equiv 44121\\cdot r \\pmod{81115},\n$$\nwhere $0\\le Q<81115$. Find the value of $Q$.", "answer": 48530, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81115),\n \"a\": Const(11),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(24), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(24), Var(\"k\"))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1079)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5864219))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "L3C", "K2"], "recipe_id": "8d8d1c", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["K2", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.022, "created_at": "2026-02-08T13:05:05.335220Z", "verification": {"verified": true, "answer": 48530, "timestamp": "2026-02-08T13:05:05.356861Z"}, "problem_hash": "a66794", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 340, "completion_tokens": 581}, "timestamp": "2026-02-12T06:10:15.683Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "L3C": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "K15": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5a8d9b", "alias": "antilemma_cartesian_v1_1520064083_9463", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 18, inclusive, and $b$ is an integer from 1 to 26, inclusive. Compute $x + 2^{x \\bmod 15} \\bmod 79522$.", "answer": 476, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(26)))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Const(15))), modulus=Const(79522))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T10:46:47.060287Z", "verification": {"verified": true, "answer": 476, "timestamp": "2026-02-08T10:46:47.060886Z"}, "problem_hash": "7cb4e6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 476, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 221}, "timestamp": "2026-02-12T03:27:47.224Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "902beb", "alias": "modular_sum_quadratic_residues_v1_898971024_800", "problem": "Let $p$ be the smallest prime factor of $7859316884077$. Define $\\text{result} = \\frac{p(p-1)}{4}$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 8$, and let $M$ be the maximum value of $xy$ over all such pairs. Compute the value of $\\text{result} + 2^{\\text{result} \\mod M} \\mod 78500$.", "answer": 34691, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7859316884077))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=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(78500))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MIN_PRIME_FACTOR"], "recipe_id": "58e796", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:39:50.858663Z", "verification": {"verified": true, "answer": 34691, "timestamp": "2026-02-08T15:39:50.863555Z"}, "problem_hash": "bbd27f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 351}, "timestamp": "2026-02-12T09:00:49.612Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "98a6eb", "alias": "nt_count_digit_sum_v1_1918700295_1970", "problem": "Let $s$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 10$. Let $d_0$ be the smallest divisor of $12063727$ that is at least $2$. Let $\\mu_0 = \\sum_{d \\mid \\gcd(d_0, 17)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Determine the number of positive integers $n$ such that $\\mu_0 \\leq n \\leq 99999$ and the sum of the decimal digits of $n$ is equal to $s$.", "answer": 5631, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(99999),\n \"target_sum\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\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=12063727))))), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "B1"], "recipe_id": "af16c9", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 7.278, "created_at": "2026-02-08T06:12:11.832736Z", "verification": {"verified": true, "answer": 5631, "timestamp": "2026-02-08T06:12:19.111222Z"}, "problem_hash": "7e8131", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "4a97d0", "alias": "comb_count_permutations_fixed_v1_898971024_2079", "problem": "Let $n$ be the largest prime number such that $2 \\leq n \\leq 12$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $k$ to be the maximum value of $xy$ over all pairs $(x,y) \\in S$. Compute\n$$\n\\binom{n}{k} \\cdot !(n - k),\n$$\nwhere $!m$ denotes the number of derangements of $m$ elements.", "answer": 55, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Const(12)), IsPrime(Var(\"n1\"))))),\n \"k\": 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\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "B1"], "recipe_id": "7086d0", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:31:40.462038Z", "verification": {"verified": true, "answer": 55, "timestamp": "2026-02-08T16:31:40.466956Z"}, "problem_hash": "49b4f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 270}, "timestamp": "2026-02-12T10:56:44.881Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K5": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d0b886", "alias": "nt_count_divisible_and_v1_168721529_1897", "problem": "Let $n = 82781$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 24096$, $n$ is divisible by 6, and the remainder when $n$ is divided by 8 equals $\\sum_{d \\mid 18} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $c$ be the number of integers $t$ such that $20 \\leq t \\leq 1442$ and there exist positive integers $a \\leq 112$ and $b \\leq 55$ for which $t = 6a + 14b$. Compute the remainder when $c - |A|$ is divided by $82781$.", "answer": 82477, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82781),\n \"upper\": Const(24096),\n \"d1\": Const(6),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=Const(value=18), 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=112)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=55)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=1442)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MOBIUS_SUM"], "recipe_id": "edeb39", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 0.829, "created_at": "2026-02-08T13:58:41.205243Z", "verification": {"verified": true, "answer": 82477, "timestamp": "2026-02-08T13:58:42.033846Z"}, "problem_hash": "4426ff", "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": 275, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:14:10.418Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "6c5dbe", "alias": "sequence_fibonacci_compute_v1_458359167_861", "problem": "Let $m = 48$, and define\n$$\nn = \\sum_{d \\mid m} \\phi(d).\n$$\nLet $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Let $F_k$ denote the $k$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute the remainder when $84739 \\cdot F_{|S|}$ is divided by $60023$.", "answer": 12349, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(48),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\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(\"_n\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(84739), Ref(\"result\")), modulus=Const(60023)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/COMB1"], "recipe_id": "e901b7", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K3"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:07:55.538987Z", "verification": {"verified": true, "answer": 12349, "timestamp": "2026-02-08T04:07:55.541161Z"}, "problem_hash": "83fc36", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 12349, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 1216}, "timestamp": "2026-02-10T15:34:31.444Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 816}, "timestamp": "2026-02-13T09:00:52.179Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 493}, "timestamp": "2026-02-11T20:29:41.526Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "COMB1": "ok_later", "K13": "no", "K18": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "47eccd", "alias": "comb_sum_binomial_mod_v1_2051736721_5050", "problem": "Let $m = 355$. Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 97$ such that $\\binom{97}{j}$ is odd. Define\n$$\nS = \\sum_{k=20}^{m} \\binom{d_{\\text{max}}}{k},\n$$\nwhere $d_{\\text{max}}$ is the largest positive divisor of $150932$ that is at most $n$. Compute the remainder when $S$ is divided by $11351$.", "answer": 2559, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(355),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(97)), Eq(Mod(value=Binom(n=Const(97), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"sum\": Summation(var=\"k\", start=Const(20), end=Ref(\"_m\"), expr=Binom(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(150932))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11351)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/MAX_DIVISOR"], "recipe_id": "0dd13c", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "V8"], "num_lemmas": 2, "generation_time": 0.03, "created_at": "2026-02-08T18:21:10.251824Z", "verification": {"verified": true, "answer": 2559, "timestamp": "2026-02-08T18:21:10.281392Z"}, "problem_hash": "67aa20", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 519}, "timestamp": "2026-02-13T00:02:12.012Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "K13": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "119696", "alias": "antilemma_sum_equals_v1_677425708_887", "problem": "Let $m$ be the number of integers $t$ with $11 \\leq t \\leq 150$ that can be expressed as $t = 4a + 7b$ for some positive integers $a \\leq 20$ and $b \\leq 10$.\n\nLet $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i \\leq 77$, $j \\leq 78$, and $i + j = 78$.\n\nLet $y$ be the number of ordered pairs $(i, j)$ of positive integers such that $i \\leq 120$, $j \\leq 121$, and $i + j = m$.\n\nCompute $y - x$.", "answer": 43, "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=20)), 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=11)), Leq(left=Var(name='t'), right=Const(value=150)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"_n\": Const(78),\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(78))))),\n \"Q\": Sub(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(120)), right=IntegerRange(start=Const(1), end=Const(121))))), 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/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "75e46e", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T03:50:06.450106Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T03:50:06.458525Z"}, "problem_hash": "3f4e8a", "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": 274, "completion_tokens": 6675}, "timestamp": "2026-02-09T13:48:33.026Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 3790}, "timestamp": "2026-02-10T14:38:11.433Z"}, {"id": 8, "model": "mathstral", "answer": 62, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 993}, "timestamp": "2026-02-13T01:58:25.093Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 532}, "timestamp": "2026-02-11T21:13:27.013Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "11c599", "alias": "sequence_fibonacci_compute_v1_1520064083_482", "problem": "Let $n = 20$. Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $k$ be the largest integer such that $11^k$ divides $53955!$. Compute the remainder when $k \\cdot F_n$ is divided by $69920$.", "answer": 55325, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Factorial(Const(53955)), base=Const(11)),\n \"n\": Const(20),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": MaxKDivides(target=Pow(Const(47), Ref(\"_n\")), base=Const(47)),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(69920)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/K14"], "recipe_id": "91eb53", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "V1"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:26:38.172229Z", "verification": {"verified": true, "answer": 55325, "timestamp": "2026-02-08T03:26:38.176667Z"}, "problem_hash": "8e1a2c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "K14": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "309a1e", "alias": "antilemma_cartesian_v1_1978505735_7673", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ of integers such that $1 \\leq a \\leq 29$ and $1 \\leq b \\leq 37$. Let $Q$ be the remainder when $48563 \\cdot x$ is divided by $58871$. Find the value of $Q$.", "answer": 7264, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Mod(value=Mul(Const(48563), Ref(\"x\")), modulus=Const(58871)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T20:22:53.773805Z", "verification": {"verified": true, "answer": 7264, "timestamp": "2026-02-08T20:22:53.774630Z"}, "problem_hash": "ce0b3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 48563, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 194}, "timestamp": "2026-02-13T01:21:54.856Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "27abcf", "alias": "antilemma_cartesian_v1_1978505735_2513", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 18$ and $1 \\leq j \\leq 34$. Compute $2^{|x|} \\bmod 99991$, and let $Q$ be the sum of this value and $15129$. Find the value of $Q$.", "answer": 20460, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(34)))),\n \"_c\": Const(15129),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:56:45.282090Z", "verification": {"verified": true, "answer": 20460, "timestamp": "2026-02-08T16:56:45.283132Z"}, "problem_hash": "e6c6c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 327}, "timestamp": "2026-02-12T21:29:30.477Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "758bad", "alias": "geo_visible_lattice_v1_1439011603_2780", "problem": "Let $n = 77$. Define $\\text{result}$ to be the number of visible lattice points $(x, y)$ with $1 \\leq x, y \\leq n$, where a point $(x, y)$ is visible if $\\gcd(x, y) = 1$.\n\nCompute the value of\n$$\n\\sum_{n_1 = 1}^{\\text{result}} \\tau(n_1),\n$$\nwhere $\\tau(n_1)$ denotes the number of positive divisors of $n_1$.", "answer": 30632, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(77),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Summation(var=\"n1\", start=Div(Const(83), Const(83)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.141, "created_at": "2026-02-08T16:58:49.830339Z", "verification": {"verified": true, "answer": 30632, "timestamp": "2026-02-08T16:58:49.970856Z"}, "problem_hash": "1fe2ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 483}, "timestamp": "2026-02-12T21:32:41.555Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "eb5022", "alias": "sequence_count_fib_divisible_v1_784195855_7351", "problem": "Let $d = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $t$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 168100$. Determine the value of the number of positive integers $n$ such that $1 \\leq n \\leq t$ and $d$ divides the $n$th Fibonacci number.", "answer": 41, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\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(168100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.035, "created_at": "2026-02-08T09:13:49.199770Z", "verification": {"verified": true, "answer": 41, "timestamp": "2026-02-08T09:13:49.234290Z"}, "problem_hash": "514b1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 1192}, "timestamp": "2026-02-14T01:28:08.305Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 462}, "timestamp": "2026-02-12T02:39:06.266Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b72b7f", "alias": "antilemma_coprime_grid_v1_865884756_305", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 43$ and $1 \\leq j \\leq 181$ such that $\\gcd(i, j) = 1$. Let $y$ be the smallest positive integer $n$ such that $2^{47}$ divides $n!$. Let $z$ be the maximum value of $x_1 y$ over all pairs of positive integers $(x_1, y)$ satisfying $x_1 + y = 106$. Compute the remainder when $x^2 + y \\cdot x + z$ is divided by $96701$.", "answer": 27339, "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(43)), right=IntegerRange(start=Const(1), end=Const(181))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Const(47)), domain='Z_{>0}')), Ref(\"x\")), 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(106)))), expr=Mul(Var(\"x1\"), Var(\"y\"))))), modulus=Const(96701)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "V5", "COUNT_COPRIME_GRID"], "recipe_id": "8aa2da", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "V5"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:18:34.704072Z", "verification": {"verified": true, "answer": 27339, "timestamp": "2026-02-08T15:18:34.706572Z"}, "problem_hash": "ea5fb5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "V5": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "K17": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "split": "valid"} +{"id": "40b143", "alias": "antilemma_cartesian_v1_168721529_252", "problem": "Compute the number of ordered pairs $(x, y)$ where $x$ is an integer between 1 and 7, inclusive, and $y$ is an integer between 1 and 21, inclusive.\n\nFind the value of this number.", "answer": 147, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(21)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:55:56.376522Z", "verification": {"verified": true, "answer": 147, "timestamp": "2026-02-08T12:55:56.377226Z"}, "problem_hash": "185f19", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 156}, "timestamp": "2026-02-09T02:54:14.425Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 263}, "timestamp": "2026-02-11T23:33:24.228Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 109, "completion_tokens": 793}, "timestamp": "2026-02-12T04:28:58.576Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 245}, "timestamp": "2026-02-09T14:50:45.584Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 97, "completion_tokens": 226}, "timestamp": "2026-02-10T01:51:25.451Z"}, {"id": 8, "model": "mathstral", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 234}, "timestamp": "2026-02-11T21:09:01.770Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 137}, "timestamp": "2026-02-11T21:06:40.778Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "valid"} +{"id": "7f155a", "alias": "nt_sum_over_divisible_v1_784195855_3896", "problem": "Let $S$ be the set of all positive integers $n \\leq 9409$ that are divisible by $44$. Let $T$ be the sum of all elements in $S$.\n\nCompute the value of\n$$\n353702 \\cdot (T \\bmod{97}) + 329703 \\cdot (T^2 \\bmod{c}) + 215534 \\cdot (T \\bmod{32}),\n$$\nwhere $c$ is the number of ordered pairs $(i,j)$ of positive integers such that $i \\leq 101$, $j \\leq 102$, and $i+j = 102$, and the last term is further taken modulo the largest prime number at most $105$. Then, compute the remainder when this total is divided by $72672$.", "answer": 32618, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(32),\n \"_n\": Const(105),\n \"upper\": Const(9409),\n \"divisor\": Const(44),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=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(102))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_m\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(72672)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["COUNT_SUM_EQUALS", "MAX_PRIME_BELOW"], "recipe_id": "c4cbc4", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.687, "created_at": "2026-02-08T06:41:31.618712Z", "verification": {"verified": true, "answer": 32618, "timestamp": "2026-02-08T06:41:32.306113Z"}, "problem_hash": "2b2ec3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9097, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 2191}, "timestamp": "2026-02-13T03:07:53.229Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 559}, "timestamp": "2026-02-12T00:21:21.889Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "35b100", "alias": "nt_gcd_compute_v1_168721529_1031", "problem": "Let $a = 296208$ and $b = 559504$. Let $d = \\gcd(a, b)$. Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\le i \\le 15$ and $1 \\le j \\le 15$ such that $i + j = 15$. Compute the value of $$ d + 2^{d \\bmod |S|} \\bmod 71681. $$", "answer": 37008, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71681),\n \"a\": Const(296208),\n \"b\": Const(559504),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(15)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(15))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS"], "recipe_id": "1ccf85", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS"], "num_lemmas": 1, "generation_time": 0.023, "created_at": "2026-02-08T13:24:48.992452Z", "verification": {"verified": true, "answer": 37008, "timestamp": "2026-02-08T13:24:49.015646Z"}, "problem_hash": "3a61aa", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 605}, "timestamp": "2026-02-09T12:35:33.733Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 37008, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 854}, "timestamp": "2026-02-11T07:45:51.442Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 264, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 273}, "timestamp": "2026-02-10T00:58:00.376Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 32913, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 482}, "timestamp": "2026-02-12T06:46:29.965Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "K14": "no"}, "irt_difficulty": {"lo": -2.26, "mid": 1.11, "hi": 4.7}, "split": "valid"} +{"id": "c473bf", "alias": "antilemma_cartesian_v1_717093673_3918", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 18, inclusive, and $b$ is an integer from 1 to 24, inclusive. Compute $30276 - x$.", "answer": 29844, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"Q\": Sub(Const(30276), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:58:00.235220Z", "verification": {"verified": true, "answer": 29844, "timestamp": "2026-02-08T17:58:00.236303Z"}, "problem_hash": "47934c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29844, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 129}, "timestamp": "2026-02-12T23:24:31.776Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "895bd6", "alias": "modular_product_range_v1_458359167_5416", "problem": "Let $S$ be the set of all positive integers $k$ such that $1 \\leq k \\leq m$, where $m$ is the number of integers $t$ such that $20 \\leq t \\leq 12252$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 810$, $1 \\leq b \\leq 152$, and $t = 14a + 6b$. Suppose $k$ is divisible by $55$. Let $\\text{prod}$ be the product of all integers $i$ from the smallest such $k$ to $239$, inclusive. Compute the remainder when $\\text{prod}$ is divided by $10663$.", "answer": 2682, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10663),\n \"_n\": Const(239),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=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=810)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=152)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=12252)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), Divides(divisor=Const(55), dividend=Var(\"k\"))), domain='positive_integers')), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2"], "recipe_id": "03e7fc", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T12:28:47.768830Z", "verification": {"verified": true, "answer": 2682, "timestamp": "2026-02-08T12:28:47.773485Z"}, "problem_hash": "76d157", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 443}, "timestamp": "2026-02-12T05:18:54.703Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f89632", "alias": "nt_count_coprime_v1_655260480_4978", "problem": "Let $t$ be an integer such that $18 \\le t \\le 1008$. Let $n$ be the number of such integers $t$ for which there exist positive integers $a$ and $b$ with $1 \\le a \\le 66$, $1 \\le b \\le 48$, and $t = 8a + 10b$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Define $k$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Compute the number of positive integers $m$ such that $1 \\le m \\le 61504$ and $\\gcd(m, k) = 1$.\\n\\nFind the value of this count.", "answer": 27956, "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=66)), 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=18)), Leq(left=Var(name='t'), right=Const(value=1008)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"upper\": Const(61504),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 6.272, "created_at": "2026-02-08T18:13:58.153406Z", "verification": {"verified": true, "answer": 27956, "timestamp": "2026-02-08T18:14:04.425024Z"}, "problem_hash": "492f28", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 664}, "timestamp": "2026-02-12T23:54:38.014Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "DS2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2749c0", "alias": "antilemma_product_of_sums_v1_1918700295_178", "problem": "Let $m$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=16777216$.\n\nLet $n$ be the largest integer $k$ such that $2^k$ divides $7^{8192}-5^m$.\n\nLet $A$ be the sum of all integers $j$ with $0\\le j\\le 15$ such that the binomial coefficient $\\binom{n}{j}$ is odd.\n\nLet $B$ be the sum of all values of $ij$ as $(i,j)$ ranges over all ordered pairs of integers with $1\\le i\\le 7$ and $1\\le j\\le 4$.\n\nLet $x=AB$. Define\n$$Q=x+\\varphi(|x|+1)+\\tau(|x|+1),$$\nwhere $\\varphi$ is Euler's totient function and $\\tau$ is the number of positive divisors function.\n\nCompute $Q$.", "answer": 67202, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(15),\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(16777216)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": MaxKDivides(target=Sub(Pow(Const(7), Const(8192)), Pow(Const(5), Ref(\"_m\"))), base=Const(2)),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_c\")), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\"))))),\n \"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": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LTE_DIFF_P2/PRODUCT_OF_SUMS"], "recipe_id": "2d9ab7", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LTE_DIFF_P2", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T03:02:55.653528Z", "verification": {"verified": true, "answer": 67202, "timestamp": "2026-02-08T03:02:55.661167Z"}, "problem_hash": "e94c2e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LTE_DIFF_P2": "ok_later", "PRODUCT_OF_SUMS": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "2f2009", "alias": "antilemma_v7_kummer_1520064083_4824", "problem": "Let $n = 1025$. Let $a$ be the largest positive integer $j$ such that $j^4 \\leq 28257610000$. Let $T$ be the set of all positive integers $j$ such that $1 \\leq j \\leq a$. Let $m$ be the number of elements in $T$. Let $b$ be the largest positive integer $k$ such that $5^k$ divides $2067951531382569187178521730174907133914530277252197265625$. Let $c = b$. Let $\\binom{n}{m}$ denote the binomial coefficient. Determine the value of the largest positive integer $k$ such that $2^k$ divides $\\binom{1025}{m}$. ", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(4),\n \"_n\": Const(1025),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), MaxKDivides(target=Pow(Const(2067951531382569187178521730174907133914530277252197265625), Const(5)), base=Const(5))), Leq(Pow(Var(\"j\"), Ref(\"_m\")), Const(28257610000))), domain='positive_integers'))), base=Ref(\"_c\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/C3/V7", "V7"], "recipe_id": "9bb27e", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "K14", "V7"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:27:02.691829Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T06:27:02.695760Z"}, "problem_hash": "d7ddd9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "V7": "ok", "C3": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "d29e92", "alias": "nt_euler_phi_compute_v1_1874849503_301", "problem": "Let $a$ be the number of prime numbers between $2$ and $p_\\text{max}$ inclusive, where $p_\\text{max}$ is the greatest prime less than or equal to $93$. Let $b=3$, and let\n\\[\nh=\\sum_{d\\mid \\gcd(a,b)} \\mu(d),\n\\]\nwhere $\\mu$ denotes the Möbius function. Let $p=23$ and\n\\[\ne\\equiv (p-1)!+1 \\pmod{p},\n\\]\nwith $e$ taken as the remainder in $\\{0,1,\\dots,22\\}$. Define\n\\[\nn=40320+h+e.\n\\]\nLet $Q$ be the value of $\\varphi(n)$, where $\\varphi$ is Euler's totient function.\n\nCompute $Q$.", "answer": 9216, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": 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(93)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"b\": Const(3),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(23),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(40320), Ref(\"h\"), Ref(\"e\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES/MOBIUS_COPRIME", "WILSON"], "recipe_id": "4d6f22", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T12:55:59.420065Z", "verification": {"verified": true, "answer": 9216, "timestamp": "2026-02-08T12:55:59.425829Z"}, "problem_hash": "d4dc7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 9216, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 876}, "timestamp": "2026-02-09T15:28:38.948Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 9216, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 956}, "timestamp": "2026-02-10T06:04:29.777Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "WILSON": "ok", "COUNT_PRIMES": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "DS2": "no", "K18": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "7c3c3c", "alias": "nt_num_divisors_compute_v1_1520064083_3805", "problem": "Let $ m = 90470 $ and $ n_0 = 26338 $. Let $ P $ be the set of all prime numbers from $ 2 $ to $ 13 $, inclusive. Let $ d_{\\max} $ be the largest element of $ P $. Let $ S $ be the set of all positive integers $ k $ such that $ 1 \\leq k \\leq 26338 $ and $ d_{\\max} $ divides $ k $. Let $ n $ be the number of elements in $ S $. Determine the number of positive divisors of $ n $. Multiply this number by $ 44121 $, and compute the remainder when the result is divided by $ 90470 $.", "answer": 86014, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(90470),\n \"_n\": Const(26338),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(1))), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(13)), IsPrime(Var(\"n\"))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C2", "ONE_PHI_1"], "recipe_id": "047f7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:54:15.242976Z", "verification": {"verified": true, "answer": 86014, "timestamp": "2026-02-08T05:54:15.245233Z"}, "problem_hash": "a6feb7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "5e789f", "alias": "antilemma_count_primes_v1_1520064083_1578", "problem": "Let $a$ 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 $b$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the smallest positive integer $d$ such that $d \\geq a$ and $d$ divides 14802098129771. Let $x$ be the number of prime numbers $n$ such that $b \\leq n \\leq m$. Compute $x$.", "answer": 296, "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=18)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(14802098129771)))))), 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": ["COPRIME_PAIRS/MIN_PRIME_FACTOR/COUNT_PRIMES", "COPRIME_PAIRS/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "07c3cc", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:07:43.612763Z", "verification": {"verified": true, "answer": 296, "timestamp": "2026-02-08T04:07:43.616198Z"}, "problem_hash": "7b9e93", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "K16": "no", "K18": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "edfe21", "alias": "geo_count_lattice_rect_v1_798873815_458", "problem": "Let $a = 171$ and $b = 303$. Define $S$ as the set of all lattice points $(x, y)$ such that $0 \\le x \\le a$ and $0 \\le y \\le b$. Let $N$ be the number of elements in $S$. Compute the remainder when $81626 \\cdot N$ is divided by $56789$.", "answer": 26204, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(171),\n \"b\": Const(303),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"_c\": Const(81626),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(56789)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T02:38:50.665045Z", "verification": {"verified": true, "answer": 26204, "timestamp": "2026-02-08T02:38:50.666897Z"}, "problem_hash": "470b3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 2149}, "timestamp": "2026-02-08T19:33:26.976Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 1848}, "timestamp": "2026-02-09T17:21:59.068Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:47:32.799Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 499}, "timestamp": "2026-02-09T00:23:39.532Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 129, "completion_tokens": 2917}, "timestamp": "2026-02-09T05:25:29.563Z"}, {"id": 8, "model": "mathstral", "answer": 4321, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 147, "completion_tokens": 726}, "timestamp": "2026-02-11T02:38:06.023Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 486}, "timestamp": "2026-02-11T19:39:12.734Z"}], "solution_status": 1, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "bb1992", "alias": "antilemma_sum_equals_v1_2051736721_4909", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 78$, $1 \\leq j \\leq 79$, and $i + j = 79$. Let $c$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 6$ and $1 \\leq b \\leq 37$. Compute $c - x$.", "answer": 144, "graph": "graphs = [\n Graph(\n let={\n \"_n\": 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(78)), right=IntegerRange(start=Const(1), end=Const(79))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T18:15:28.834910Z", "verification": {"verified": true, "answer": 144, "timestamp": "2026-02-08T18:15:28.839263Z"}, "problem_hash": "6e0e3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 144, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 203}, "timestamp": "2026-02-12T23:58:28.638Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "8a489f", "alias": "nt_num_divisors_compute_v1_1978505735_8372", "problem": "Let $ n $ be the number of ordered pairs $ (i, j) $ such that $ 1 \\leq i \\leq 14 $ and $ 1 \\leq j \\leq 14 $. Determine the value of the number of positive divisors of $ n $.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(14)))),\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": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "V8"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T20:48:38.344897Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T20:48:38.354358Z"}, "problem_hash": "41ef41", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 212}, "timestamp": "2026-02-13T01:29:52.806Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_PRIMES": "no", "L3c": "no", "LTE_SUM": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "e0ea36", "alias": "comb_count_partitions_v1_1978505735_4717", "problem": "Define $T$ as the set of all integers $t$ such that $9 \\leq t \\leq 504$ and there exist positive integers $a \\leq 92$ and $b \\leq 11$ for which $t = 5a + 4b$. Let $n$ be the number of elements in $T$. Now consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $s$ be the minimum value of $x + y$ over all such pairs. Define $p$ as the number of integer partitions of $s$. Determine the value of $p$.", "answer": 75175, "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=92)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=504)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T18:27:11.912343Z", "verification": {"verified": true, "answer": 75175, "timestamp": "2026-02-08T18:27:11.915385Z"}, "problem_hash": "be83a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 477}, "timestamp": "2026-02-13T00:13:51.504Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dfe75c", "alias": "nt_sum_phi_v1_1742523217_714", "problem": "Let $U$ be the set of all ordered pairs $(a,b)$ such that $1 \\le a \\le 25$ and $1 \\le b \\le 32$. Let $N$ be the number of elements in $U$. Let $S$ be the sum of $\\phi(n)$ for all integers $n$ from $1$ to $N$. Compute the remainder when $13924 - S$ is divided by $53995$.", "answer": 35154, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(13924),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53995)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.045, "created_at": "2026-02-08T03:11:41.490912Z", "verification": {"verified": true, "answer": 35154, "timestamp": "2026-02-08T03:11:41.536141Z"}, "problem_hash": "0e1aee", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:39:01.411Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 8192}, "timestamp": "2026-02-09T06:16:15.136Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 35358, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 2670}, "timestamp": "2026-02-11T08:42:29.111Z"}, {"id": 8, "model": "mathstral", "answer": 12608, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 756}, "timestamp": "2026-02-12T11:28:00.808Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 394}, "timestamp": "2026-02-11T20:27:53.906Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "7fa58f", "alias": "nt_sum_divisors_mod_v1_717093673_1040", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 35$ and $1 \\leq b \\leq 36$. Let $\\sigma(n)$ denote the sum of the positive divisors of $n$. Compute the remainder when $|\\sigma(n) \\bmod 10333|$ is divided by $76125$.", "answer": 4368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76125),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"M\": Const(10333),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:48:12.447687Z", "verification": {"verified": true, "answer": 4368, "timestamp": "2026-02-08T15:48:12.450117Z"}, "problem_hash": "f42c9a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 472}, "timestamp": "2026-02-12T09:13:00.154Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "K13": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "4b5398", "alias": "diophantine_fbi2_count_v1_1915831931_3278", "problem": "Let $k = 240$. Let $D$ be the largest positive divisor of $5925$ that is at most $75$. Compute the number of positive divisors $d$ of $k$ such that $6 \\leq d \\leq D$ and $2 \\leq \\frac{k}{d} \\leq 71$. Let this count be $c$. Find the remainder when $44121c$ is divided by $59662$.", "answer": 52156, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(240),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(75)), Divides(divisor=Var(\"d1\"), dividend=Const(5925)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(71))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(59662)),\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"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T17:31:39.867746Z", "verification": {"verified": true, "answer": 52156, "timestamp": "2026-02-08T17:31:39.874990Z"}, "problem_hash": "406d92", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 389}, "timestamp": "2026-02-12T22:48:50.225Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7b30f4", "alias": "antilemma_sum_primes_v1_1520064083_4605", "problem": "Let $m = 27$. Define $N$ to be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.$$ Let $S$ 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 $T$ be the set of all prime numbers $n$ such that $|S| \\leq n \\leq N$. Compute the sum of all elements in $T$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(27),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"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=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 },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["COPRIME_PAIRS/SUM_PRIMES", "L3C/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "e676ce", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "L3C", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.016, "created_at": "2026-02-08T06:20:36.693531Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T06:20:36.709915Z"}, "problem_hash": "ae204d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3C": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "82261a", "alias": "nt_sum_phi_v1_1918700295_2494", "problem": "Let $p$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 20$ and $1 \\leq j \\leq 20$. Define $T$ as the set of all integers $n$ satisfying $\\phi(p) \\leq n \\leq p$, where $\\phi$ denotes Euler's totient function. Compute the sum of $\\phi(n)$ over all elements $n$ in $T$.", "answer": 48678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(20)))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))))), 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_PRIMES", "lemma_paths": ["COUNT_PRIMES/ONE_PHI_2", "COUNT_CARTESIAN"], "recipe_id": "667192", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_PRIMES", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.043, "created_at": "2026-02-08T07:55:49.894968Z", "verification": {"verified": true, "answer": 48678, "timestamp": "2026-02-08T07:55:49.938448Z"}, "problem_hash": "43a9f9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_PRIMES": "ok", "ONE_PHI_2": "ok_later", "K18": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no", "V8": "no"}, "split": "valid"} +{"id": "b57342", "alias": "diophantine_sum_product_min_v1_1470522791_737", "problem": "Let $n = 876$ and $S = 85$. Let $P$ be the largest positive divisor $d$ of $773508$ such that $1 \\leq d \\leq n$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq 84$ and $x(S - x) = P$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(876),\n \"S\": Const(85),\n \"P\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(773508))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(84)), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.02, "created_at": "2026-02-08T13:12:51.404966Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T13:12:51.425046Z"}, "problem_hash": "04388c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 343}, "timestamp": "2026-02-12T06:18:19.379Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K18": "no", "K5": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e969bc", "alias": "geo_count_lattice_rect_v1_784195855_10180", "problem": "Let $a = 400$ and $b = 104$. Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 400$ and $0 \\leq y \\leq 104$.", "answer": 42105, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(400),\n \"b\": Const(104),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T17:29:04.793100Z", "verification": {"verified": true, "answer": 42105, "timestamp": "2026-02-08T17:29:04.794335Z"}, "problem_hash": "260665", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 42105, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 217}, "timestamp": "2026-02-12T22:40:49.429Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "162cf8", "alias": "antilemma_sum_primes_v1_1125832087_753", "problem": "Let $\\mu$ denote the M\\\"obius function. Define $n = 13^2 \\cdot (53 + 1)$. Let $e = \\mu(n)^2$. Define $p = 11 + e$. Let $s$ be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 10816$, and let $m$ be the minimum value of $x + y$ over all such pairs. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq m$. Compute the remainder when $ (44121 + s) \\cdot x $ is divided by $81722$.", "answer": 9863, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(13),\n \"q\": Const(53),\n \"n\": Mul(Pow(Ref(\"p1\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"e\": Pow(MoebiusMu(n=Ref(name='n')), Ref(\"_n\")),\n \"p\": Sum(Const(11), Ref(\"e\")),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"x\": SumOverSet(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\")), Const(10816)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Sum(Const(44121), Ref(\"s\")), Ref(\"x\")), modulus=Const(81722)),\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", "B3/SUM_PRIMES", "WILSON", "SUM_PRIMES"], "recipe_id": "c56502", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "MOBIUS_SQUAREFREE", "SUM_PRIMES", "WILSON"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:15:34.046242Z", "verification": {"verified": true, "answer": 9863, "timestamp": "2026-02-08T03:15:34.048613Z"}, "problem_hash": "1afce3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_SQUAREFREE": "ok", "SUM_PRIMES": "ok", "WILSON": "ok", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "0d7118", "alias": "antilemma_sum_primes_v1_153355830_1396", "problem": "Let $m = 2$. Let $A$ be the set of all nonnegative integers $j$ such that $\\binom{4352}{j}$ is odd and $j \\leq B$, where $B$ is the number of positive integers $k \\leq 1410048$ that are divisible by 324. Let $x$ be the sum of all prime numbers $n$ satisfying $2 \\leq n \\leq |A|$. Compute $x$.", "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(\"_n\")), Leq(Var(\"n\"), 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(1410048)), Divides(divisor=Const(324), dividend=Var(\"k\"))), domain='positive_integers'))), Eq(Mod(value=Binom(n=Const(4352), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers'))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["C2/V8/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "b3481a", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "SUM_PRIMES", "V8"], "num_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T06:22:37.872212Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T06:22:37.888977Z"}, "problem_hash": "0147b6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "SUM_PRIMES": "ok", "V8": "ok_later", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "29fb64", "alias": "comb_count_surjections_v1_898971024_1976", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3\\}$. Let $k = 3$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind. Compute the sum $$\\sum_{m=1}^{r} \\phi(m),$$ where $\\phi$ denotes Euler's totient function, and where the summation starts at $m = 1$ (noting that $\\binom{2}{0} = 1$).", "answer": 88642, "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(3)))),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n1\", start=Binom(n=Const(2), k=Const(0)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))),\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_BINOM_0"], "recipe_id": "674433", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T16:27:58.049379Z", "verification": {"verified": true, "answer": 88642, "timestamp": "2026-02-08T16:27:58.069096Z"}, "problem_hash": "435f03", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 384}, "timestamp": "2026-02-12T10:44:29.663Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8ceac2", "alias": "antilemma_sum_factor_cartesian_v1_458359167_716", "problem": "Let $n = 61$. Define $\\lambda(n)$ to be the Liouville function and $\\varphi(n)$ to be Euler's totient function. Let\n$$v = \\lambda(n) + \\varphi(1).$$\nLet $a$ be the sum of $v$ and the number of integers $t$ for which there exist integers $x$ and $y$ satisfying $1 \\le x \\le 9$, $1 \\le y \\le 33$, $8 \\le t \\le 144$, and\n$$t = 5x + 3y.$$ \nLet $b = 344$.\n\nLet $d$ range over all positive divisors of $\\gcd(a,b)$, and define\n$$t_0 = \\sum_{d \\mid \\gcd(a,b)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $x$ be the sum of all products $ij$ taken over all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 29$ and $1 \\le j \\le 10$.\n\nLet $C = 14161 + t_0$, and let $Q$ be the remainder when $C - x$ is divided by $89938$.\n\nFind the value of $Q$. ", "answer": 80174, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14161),\n \"n\": Const(61),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), EulerPhi(n=Const(1))),\n \"a\": 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=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=33)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=144)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"v\")),\n \"b\": Const(344),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": Sum(Ref(\"_n\"), Ref(\"t\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(89938)),\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/MOBIUS_COPRIME", "SUM_FACTOR_CARTESIAN", "ONE_PHI_1"], "recipe_id": "3d9544", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "ONE_PHI_1", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "generation_time": 0.004, "created_at": "2026-02-08T03:31:16.764280Z", "verification": {"verified": true, "answer": 80174, "timestamp": "2026-02-08T03:31:16.768550Z"}, "problem_hash": "fa3ccb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "SUM_FACTOR_CARTESIAN": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K17": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "701941", "alias": "algebra_quadratic_discriminant_v1_865884756_966", "problem": "Let $a = -3$, $b = 5$, and $c = 1$. Define the discriminant $D = b^2 - 4ac$. Let $r$ be the value such that\n\n$$\nr = \\begin{cases}\n2 & \\text{if } D > 0, \\\\\n1 & \\text{if } D = 0, \\\\\n0 & \\text{if } D < 0.\n\\end{cases}\n$$\n\nLet $S$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = 2304$. Let $m$ be the minimum value of $x_1 + y_1$ over all pairs in $S$. Now, let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $c^*$ be the maximum value of $xy$ over all pairs in $T$.\n\nDefine $Q = r^2 + 7r + c^*$. Compute the value of $Q$.", "answer": 2322, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2304),\n \"_n\": Const(2),\n \"a\": Const(-3),\n \"b\": Const(5),\n \"c\": Const(1),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_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\")), 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(\"_m\")))), expr=Sum(Var(\"x1\"), Var(\"y1\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(7), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1"], "recipe_id": "fc7512", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:42:04.236288Z", "verification": {"verified": true, "answer": 2322, "timestamp": "2026-02-08T15:42:04.241398Z"}, "problem_hash": "0253b8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 443}, "timestamp": "2026-02-12T09:01:25.722Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5ca6b3", "alias": "antilemma_cartesian_v1_898971024_1231", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 29$. Compute the value of\n$$\n\\left( 353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot \\left( |x|^2 + 1 \\bmod 101 \\right) + 215534 \\cdot \\left( |x| + 37 \\bmod 103 \\right) \\right) \\bmod 1009091,\n$$\ndenoted as $Q$. Find the remainder when $Q$ is divided by $93690$.", "answer": 79285, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(29)))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(37)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(93690)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:00:58.259928Z", "verification": {"verified": true, "answer": 79285, "timestamp": "2026-02-08T16:00:58.261323Z"}, "problem_hash": "847d91", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 350}, "timestamp": "2026-02-12T09:38:01.516Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "050cb2", "alias": "sequence_count_fib_divisible_v1_1248542787_151", "problem": "Let $N = 44944$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = N$. For each such pair, compute $x + y$, and let $u$ be the minimum value of $x + y$ over all such pairs. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $20$ divides the $n$-th Fibonacci number. Let $t$ be the number of positive integers $n$ such that $1 \\leq n \\leq 967$ and the sum of the decimal digits of $n$ is odd. Compute $t - r$.", "answer": 470, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44944),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(20),\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\"), Const(967)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\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": "L3B", "lemma_paths": ["L3B", "B3"], "recipe_id": "1bc244", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3B"], "num_lemmas": 2, "generation_time": 0.037, "created_at": "2026-02-08T02:58:22.703339Z", "verification": {"verified": true, "answer": 470, "timestamp": "2026-02-08T02:58:22.740156Z"}, "problem_hash": "d6ab41", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 470, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 5360}, "timestamp": "2026-02-09T00:52:01.467Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 470, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 3172}, "timestamp": "2026-02-09T13:37:56.266Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:04:44.471Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 467, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 354}, "timestamp": "2026-02-11T23:59:17.904Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 469, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 2546}, "timestamp": "2026-02-10T23:16:05.420Z"}, {"id": 8, "model": "mathstral", "answer": 481, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 801}, "timestamp": "2026-02-11T09:41:14.407Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 579}, "timestamp": "2026-02-11T20:02:03.650Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3B": "ok", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.6}, "split": "valid"} +{"id": "0d63b9", "alias": "modular_modexp_compute_v1_124444284_507", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $e$ be the number of positive integers $t$ with $8 \\le t \\le 1064$ for which there exist positive integers $a$ and $b$ such that $1 \\le a \\le 208$, $1 \\le b \\le 88$, and $t = 3a + 5b$. Compute the remainder when $a^e$ is divided by $45796$.", "answer": 17812, "graph": "graphs = [\n Graph(\n let={\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=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=208)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=88)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=1064)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"m\": Const(45796),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:20:11.513264Z", "verification": {"verified": true, "answer": 17812, "timestamp": "2026-02-08T03:20:11.515896Z"}, "problem_hash": "57892c", "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-09T18:35:39.488Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:47:13.443Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 45792, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 7470}, "timestamp": "2026-02-11T10:20:40.240Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 446}, "timestamp": "2026-02-12T12:51:39.211Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 696}, "timestamp": "2026-02-11T20:40:00.977Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "K5": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "04e4d8", "alias": "antilemma_sum_equals_v1_1248542787_762", "problem": "Let $m=42$. Let $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=m$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ such that $1\\le i\\le 19$, $1\\le j\\le 20$, and $i+j=n$.\n\nLet $Q$ be equal to the total number of ordered pairs $(u,v)$ with $1\\le u\\le 11$ and $1\\le v\\le 11$, minus $x$.\n\nCompute $Q$.", "answer": 102, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(42),\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(19)), right=IntegerRange(start=Const(1), end=Const(20))))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(11)))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_CARTESIAN/COUNT_SUM_EQUALS", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "ea0fd5", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T03:24:38.912526Z", "verification": {"verified": true, "answer": 102, "timestamp": "2026-02-08T03:24:38.925900Z"}, "problem_hash": "17515f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 102, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 754}, "timestamp": "2026-02-09T07:59:28.562Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 102, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 241, "completion_tokens": 877}, "timestamp": "2026-02-09T20:47:00.511Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 102, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 7285}, "timestamp": "2026-02-09T20:21:51.505Z"}, {"id": 8, "model": "mathstral", "answer": 111, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 404}, "timestamp": "2026-02-12T15:12:52.897Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 101, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 622}, "timestamp": "2026-02-11T19:26:03.971Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -9.22, "mid": -6.39, "hi": -3.05}, "split": "valid"} +{"id": "300715", "alias": "nt_min_coprime_above_v1_1431428450_1231", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ with $1 \\le a \\le 16$ and $1 \\le b \\le 28$. Let $m$ be the number of elements in $S$. Let $n_0$ be the smallest integer $n$ such that $75625 < n \\le 76083$ and $\\gcd(n, m) = 1$. Compute the remainder when $\\sum_{k=1}^{n_0} \\tau(k)$ is divided by $52547$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 20495, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52547),\n \"start\": Const(75625),\n \"upper\": Const(76083),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.049, "created_at": "2026-02-08T13:58:40.401376Z", "verification": {"verified": true, "answer": 20495, "timestamp": "2026-02-08T13:58:40.450314Z"}, "problem_hash": "4e2700", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 380}, "timestamp": "2026-02-12T07:35:01.671Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7e5f7c", "alias": "modular_modexp_compute_v1_1915831931_1958", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 5625$. Define $n$ to be the minimum value of $x + y$ over all pairs $(x, y) \\in S$. Let $T$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 + y_1 = \\sum_{d \\mid n} \\phi(d)$. Define $e$ to be the maximum value of $x_1 y_1$ over all pairs $(x_1, y_1) \\in T$. Compute the remainder when $7^e$ is divided by $59536$.", "answer": 54279, "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(5625)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(7),\n \"e\": 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\")), SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d')))))), expr=Mul(Var(\"x1\"), Var(\"y1\")))),\n \"m\": Const(59536),\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": "B3", "lemma_paths": ["B3/K3/B1"], "recipe_id": "e20a9d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "K3"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T16:33:09.974375Z", "verification": {"verified": true, "answer": 54279, "timestamp": "2026-02-08T16:33:09.979054Z"}, "problem_hash": "ce90e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 653}, "timestamp": "2026-02-12T10:57:57.599Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "K3": "ok_later", "K16": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "506b4c", "alias": "nt_num_divisors_compute_v1_865884756_5113", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ where $a$ and $b$ are integers satisfying $1 \\leq a \\leq 78$ and $1 \\leq b \\leq 78$. Let $d(n)$ denote the number of positive divisors of $n$. Compute the remainder when $7^{d(n)} + 83160$ is divided by $99991$, and then take the remainder of that result when divided by $94199$.", "answer": 82275, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94199),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(78)), right=IntegerRange(start=Const(1), end=Const(78)))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(83160)), 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"], "recipe_id": "409d7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:22:49.603759Z", "verification": {"verified": true, "answer": 82275, "timestamp": "2026-02-08T18:22:49.605316Z"}, "problem_hash": "f06cd4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 400}, "timestamp": "2026-02-13T00:04:27.040Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K5": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f9f5be", "alias": "diophantine_fbi2_min_v1_784195855_6470", "problem": "Let $d_0$ be the smallest prime divisor of 41503. Let $r$ be the smallest positive integer $d$ such that $d_0 \\leq d \\leq 37$, $d$ divides 27, and $\\frac{27}{d} \\geq 2$. Compute the value of $7^{|r|} \\bmod 99991$ plus the largest prime number not exceeding 41.", "answer": 57275, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(27),\n \"upper\": Const(37),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(41503)))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(41)), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "496eef", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T08:41:32.857325Z", "verification": {"verified": true, "answer": 57275, "timestamp": "2026-02-08T08:41:32.862747Z"}, "problem_hash": "0065ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57275, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 985}, "timestamp": "2026-02-13T20:34:30.728Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 384, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 430}, "timestamp": "2026-02-12T02:05:25.236Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "01599f", "alias": "nt_count_digit_sum_v1_1520064083_514", "problem": "Let $S$ be the set of all ordered pairs $(p, q)$ of positive integers such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $S$. Let $k$ be the largest integer such that $2^k$ divides $512^3$. Compute the number of integers $n$ such that $m \\le n \\le 43681$ and the sum of the decimal digits of $n$ is equal to $k$. Then, find the remainder when $17307$ times this number is divided by $80053$.", "answer": 10624, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(512),\n \"upper\": Const(43681),\n \"target_sum\": MaxKDivides(target=Pow(Ref(\"_n\"), Const(3)), base=Const(2)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Const(17307), Ref(\"result\")), modulus=Const(80053)),\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", "K14"], "recipe_id": "da7057", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K14", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 1.945, "created_at": "2026-02-08T03:27:30.456645Z", "verification": {"verified": true, "answer": 10624, "timestamp": "2026-02-08T03:27:32.401634Z"}, "problem_hash": "ab650f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K14": "ok", "ONE_PHI_2": "ok_later", "L3c": "no", "MOD_FACTORIAL": "no", "V3": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "02cbf5", "alias": "nt_count_intersection_v1_2051736721_2775", "problem": "Let $N = 20000$. Let $a = 9$. Let $t$ range over all integers from 11 to 149, inclusive, such that $t = 4a + 7b$ for some integers $a$, $b$ with $1 \\le a \\le 18$ and $1 \\le b \\le 11$. Let $n$ be the number of such values of $t$. Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $xy = n$. Let $b$ be the minimum value of $x + y$ over all such pairs. Let $r$ be the number of positive integers $n$ with $1 \\le n \\le N$ such that $9$ divides $n$ and $\\gcd(n, b) = 1$. Compute $r$.", "answer": 1010, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(20000),\n \"a\": Const(9),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=11)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=149)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.896, "created_at": "2026-02-08T16:54:35.254191Z", "verification": {"verified": true, "answer": 1010, "timestamp": "2026-02-08T16:54:36.149924Z"}, "problem_hash": "003571", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 526}, "timestamp": "2026-02-12T21:21:56.626Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "05a52b", "alias": "antilemma_count_primes_v1_153355830_1349", "problem": "Let $ x $ be the number of prime numbers $ n $ such that $ 2 \\leq n \\leq 3221 $.\n\nLet $ y $ be the number of positive integers $ n $ such that $ 1 \\leq n \\leq 15007 $ and $ \\gcd(n, 12) = 1 $.\n\nDefine\n$$\nQ = \\left( (x \\bmod 199) + y \\cdot (x \\bmod 499) \\right) \\bmod 53998.\n$$\n\nCompute $ Q $.", "answer": 13510, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(199),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3221)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15007)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))), Mod(value=Ref(\"x\"), modulus=Const(499)))), modulus=Const(53998)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "COUNT_PRIMES"], "recipe_id": "8a8d14", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:19:36.539069Z", "verification": {"verified": true, "answer": 13510, "timestamp": "2026-02-08T06:19:36.541417Z"}, "problem_hash": "3dcb23", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "COUNT_PRIMES": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "split": "valid"} +{"id": "483620", "alias": "nt_min_with_divisor_count_v1_2051736721_4587", "problem": "Let $A$ be the set of positive integers $n \\le 14161$ such that $n$ has exactly four positive divisors. Let $r$ be the smallest element of $A$. Let $p_{\\min}$ be the smallest prime in the interval $2 \\le n_1 \\le 101$, and let $d_{\\min}$ be the smallest divisor of $1001$ that is at least $2$. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot (r^2 + 1) \\bmod p_{\\min} + 215534 \\cdot (|r| + d_{\\min}) \\bmod 103\n$$\nis divided by $98001$, where all remainders are taken to be nonnegative and less than the modulus.", "answer": 95700, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": Const(14161),\n \"div_count\": Const(4),\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\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1001))))),\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=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(98001)),\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", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.552, "created_at": "2026-02-08T18:02:55.827648Z", "verification": {"verified": true, "answer": 95700, "timestamp": "2026-02-08T18:02:56.379189Z"}, "problem_hash": "9fd6fb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 532}, "timestamp": "2026-02-12T23:35:57.843Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K15": "no", "L3c": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "80a591", "alias": "antilemma_cartesian_v1_1978505735_8065", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 22$ and $1 \\le b \\le 32$. Let $c = 16129$. Define\n$$\nQ = \\sum_{i=0}^{d-1} \\left( \\text{digit}_i(|x|) \\cdot (i+1)^2 \\right) + c,\n$$\nwhere $d$ is the number of decimal digits of $|x|$, and $\\text{digit}_i(N)$ denotes the $i$-th digit of $N$ (starting from the units place at $i=0$).\n\nCompute $Q$.", "answer": 16196, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"_c\": Const(16129),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T20:38:43.187273Z", "verification": {"verified": true, "answer": 16196, "timestamp": "2026-02-08T20:38:43.188478Z"}, "problem_hash": "3f03be", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16206, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 299}, "timestamp": "2026-02-13T01:26:19.235Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "424b8b", "alias": "antilemma_cartesian_v1_153355830_2786", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 13, inclusive, and $b$ is an integer from 1 to 24, inclusive. Compute the value of $$\n x + \\phi(|x| + 0!) + \\tau(|x| + 1),\n$$ where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 626, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:21:42.059384Z", "verification": {"verified": true, "answer": 626, "timestamp": "2026-02-08T07:21:42.060891Z"}, "problem_hash": "b7da26", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 626, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 617}, "timestamp": "2026-02-13T10:05:35.509Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 410, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 463}, "timestamp": "2026-02-12T01:02:19.760Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "075954", "alias": "diophantine_fbi2_min_v1_784195855_254", "problem": "Let $k$ be the number of integers $t$ in the range $7 \\le t \\le 20$ that can be expressed as $t = 5a + 2b$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 2$ and $1 \\le b \\le 5$. Let $u$ be the number of integers $t$ in the range $10 \\le t \\le 52$ that can be expressed as $t = 6a + 4b$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 6$ and $1 \\le b \\le 4$. Define $r$ to be the smallest integer $d$ such that $4 \\le d \\le u$, $d$ divides $k$, and $\\frac{k}{d} \\ge 2$. Let $p$ be the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = 192$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = 576$. Compute $r^2 + s \\cdot r + p$.", "answer": 9481, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(192),\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=7)), Leq(left=Var(name='t'), right=Const(value=20)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=52)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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\")), Ref(\"_m\"))))),\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(\"_d\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sum(Pow(Ref(\"result\"), 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(576)))), expr=Sum(Var(\"x\"), Var(\"y\")))), 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", "B3", "LIN_FORM"], "recipe_id": "db8615", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T03:03:26.100310Z", "verification": {"verified": true, "answer": 9481, "timestamp": "2026-02-08T03:03:26.118552Z"}, "problem_hash": "e9a2d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 9481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 376, "completion_tokens": 1301}, "timestamp": "2026-02-10T12:40:57.887Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 9481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 376, "completion_tokens": 2104}, "timestamp": "2026-02-10T12:38:16.367Z"}, {"id": 8, "model": "mathstral", "answer": 5188, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 337, "completion_tokens": 722}, "timestamp": "2026-02-11T13:49:23.405Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 378, "completion_tokens": 560}, "timestamp": "2026-02-11T20:14:56.777Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "410bc8", "alias": "diophantine_fbi2_min_v1_865884756_5818", "problem": "Let $m = 13$. Consider the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 54$. Let $k$ be the number of such pairs for which $\\gcd(i, j) = 1$. Define $u = \\sum_{k_1=1}^{m} k_1$. Consider the set of all integers $d$ such that $7 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq 5$. Let $r$ be the minimum element of this set. Compute $r + \\left(2^r \\bmod 78114\\right)$. Determine the value of this sum.", "answer": 521, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(2),\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(54))))),\n \"upper\": Summation(var=\"k1\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k1\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=Const(16))), modulus=Const(78114))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["COUNT_COPRIME_GRID", "SUM_ARITHMETIC"], "recipe_id": "5912d6", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "L3B", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.041, "created_at": "2026-02-08T18:47:55.924671Z", "verification": {"verified": true, "answer": 521, "timestamp": "2026-02-08T18:47:55.965801Z"}, "problem_hash": "00cf5d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 474}, "timestamp": "2026-02-13T00:33:13.318Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a3b299", "alias": "modular_count_residue_v1_677425708_4005", "problem": "Let $m = 6$ and $r = 0$. Define $R$ to be the number of positive integers $n$ at most $73984$ such that $n \\equiv r \\pmod{m}$. Let $C$ be the number of positive integers $k$ at most $10080$ that are divisible by $8$. Compute $Q = 3^R \\bmod 99991 + C$.", "answer": 53268, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"upper\": Const(73984),\n \"m\": Const(6),\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 \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(10080)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\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": "C2", "lemma_paths": ["C2"], "recipe_id": "db3177", "seed_template_id": "modular_count_residue_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2"], "num_lemmas": 1, "generation_time": 2.456, "created_at": "2026-02-08T06:07:55.231657Z", "verification": {"verified": true, "answer": 53268, "timestamp": "2026-02-08T06:07:57.687529Z"}, "problem_hash": "d8325c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1261, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 2478}, "timestamp": "2026-02-12T19:41:04.018Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 437}, "timestamp": "2026-02-11T23:36:07.403Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "e83192", "alias": "nt_sum_divisors_mod_v1_349078426_196", "problem": "Let $m = 8$ and let $n$ be the number of positive integers at most $25192$ that are divisible by $m$ and relatively prime to $\\sum_{k=1}^{5} k$. Let $M = 10531$. Compute the remainder when the sum of all positive divisors of $n$ is divided by $M$.", "answer": 5952, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(25192)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"M\": Const(10531),\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_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/C5"], "recipe_id": "4fa805", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T12:52:04.989109Z", "verification": {"verified": true, "answer": 5952, "timestamp": "2026-02-08T12:52:04.995500Z"}, "problem_hash": "aad04f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 797}, "timestamp": "2026-02-12T05:45:22.337Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "C5": "ok_later", "K13": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "26b820", "alias": "diophantine_sum_product_min_v1_168721529_245", "problem": "Let $S = 82$ and $P = 1677$. Consider the set of all integers $x$ such that $1 \\leq x \\leq 81$ and $x(S - x) = P$. Compute the minimum value of $x$ in this set.", "answer": 39, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(82),\n \"P\": Const(1677),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(81)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["L3B/C3", "V5/C3"], "recipe_id": "5a2452", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "L3B", "V5", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.998, "created_at": "2026-02-08T12:55:45.928575Z", "verification": {"verified": true, "answer": 39, "timestamp": "2026-02-08T12:55:46.926130Z"}, "problem_hash": "223bd6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 389}, "timestamp": "2026-02-09T02:49:57.209Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 39, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 117, "completion_tokens": 346}, "timestamp": "2026-02-09T14:48:27.624Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 105, "completion_tokens": 420}, "timestamp": "2026-02-10T01:47:04.542Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 252}, "timestamp": "2026-02-11T21:06:42.215Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "V5": "ok", "C3": "ok_later", "K16": "no", "K17": "no", "K18": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.55, "hi": -4.26}, "split": "valid"} +{"id": "182253", "alias": "antilemma_cartesian_v1_397696148_1595", "problem": "Compute the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 26$ and $1 \\leq j \\leq 29$.", "answer": 754, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(29)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T12:39:31.495939Z", "verification": {"verified": true, "answer": 754, "timestamp": "2026-02-08T12:39:31.496388Z"}, "problem_hash": "9a5a4c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 754, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 191}, "timestamp": "2026-02-12T05:30:43.564Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "6163c5", "alias": "comb_binomial_compute_v1_655260480_4592", "problem": "Let $c = 9$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = c$. Define $m$ to be the minimum value of $x + y$ over all such pairs. Let $T$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 + y_1 = m$. Define $n'$ to be the maximum value of $x_1 y_1$ over all such pairs. Let $U$ be the set of all integers $t$ such that $7 \\le t \\le 22$, and for which there exist positive integers $a$ and $b$ with $1 \\le a \\le 6$, $1 \\le b \\le 2$, and $t = 2a + 5b$. Define $n$ to be the number of elements in $U$. Let $V$ be the set of all ordered pairs $(x_2, y_2)$ of positive integers such that $x_2 y_2 = n'$. Define $k$ to be the minimum value of $x_2 + y_2$ over all such pairs. Determine the value of $\\binom{n}{k}$.", "answer": 924, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(9),\n \"_m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Sum(Var(\"x1\"), Var(\"y1\")), Ref(\"_m\")))), expr=Mul(Var(\"x1\"), Var(\"y1\")))),\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=2)), Geq(left=Var(name='t'), right=Const(value=7)), 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'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x2\"), Var(\"y2\")]), condition=And(IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='y2')), Eq(Mul(Var(\"x2\"), Var(\"y2\")), Ref(\"_n\")))), expr=Sum(Var(\"x2\"), Var(\"y2\")))),\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": "B3", "lemma_paths": ["B3/B1/B3", "LIN_FORM"], "recipe_id": "3fc72c", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T18:00:27.891829Z", "verification": {"verified": true, "answer": 924, "timestamp": "2026-02-08T18:00:27.901844Z"}, "problem_hash": "72aebc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 373, "completion_tokens": 696}, "timestamp": "2026-02-12T23:32:33.751Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b0b2df", "alias": "modular_modexp_compute_v1_1915831931_1331", "problem": "Let $a = 5$ and $e = 999$. Compute $a^e \\bmod 37249$, and let this result be $r$. Find the remainder when $83609 \\cdot r$ is divided by 68490.", "answer": 35052, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(5),\n \"e\": Const(999),\n \"m\": Const(37249),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(83609), Ref(\"result\")), modulus=Const(68490)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/C3/COUNT_FIB_DIVISIBLE"], "recipe_id": "7fcbcb", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.051, "created_at": "2026-02-08T16:00:25.735276Z", "verification": {"verified": true, "answer": 35052, "timestamp": "2026-02-08T16:00:25.786372Z"}, "problem_hash": "a3d097", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 308}, "timestamp": "2026-02-12T09:43:15.598Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "C3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7ba18b", "alias": "antilemma_cartesian_v1_717093673_861", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 12$ and $1 \\le b \\le 19$. Compute $16384 - x$.", "answer": 16156, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"Q\": Sub(Const(16384), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:43:56.524455Z", "verification": {"verified": true, "answer": 16156, "timestamp": "2026-02-08T15:43:56.526020Z"}, "problem_hash": "6de541", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16156, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 123}, "timestamp": "2026-02-12T09:02:25.766Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ad15d0", "alias": "nt_count_gcd_equals_v1_124444284_2195", "problem": "Let $k = 301$ and $d = 7$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 7569$ and $\\gcd(n, k) = d$.", "answer": 1056, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(7569),\n \"k\": Const(301),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V5", "LIN_FORM"], "recipe_id": "3e5ff3", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V5"], "num_lemmas": 3, "generation_time": 1.946, "created_at": "2026-02-08T04:30:36.616167Z", "verification": {"verified": true, "answer": 1056, "timestamp": "2026-02-08T04:30:38.562381Z"}, "problem_hash": "130e20", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 1056, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 835}, "timestamp": "2026-02-10T16:58:26.429Z"}, {"id": 8, "model": "mathstral", "answer": 1056, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 654}, "timestamp": "2026-02-13T18:21:44.928Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 930, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 539}, "timestamp": "2026-02-11T20:54:31.884Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "V5": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K16": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "371800", "alias": "nt_count_squarefree_v1_458359167_804", "problem": "Let $f(n) = \\mu(n)^2$, where $\\mu$ denotes the Möbius function. Let $k$ be the exponent of the highest power of $11$ that divides $22!$. Determine the number of positive integers $n \\leq 33333$ such that $f(n) = \\varphi(k)$, where $\\varphi$ is Euler's totient function. Compute this number.", "answer": 20261, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33333),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), EulerPhi(n=MaxKDivides(target=Factorial(Const(22)), base=Const(11))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/ONE_PHI_2"], "recipe_id": "7b34ea", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ONE_PHI_2", "V1"], "num_lemmas": 2, "generation_time": 4.941, "created_at": "2026-02-08T03:33:05.952080Z", "verification": {"verified": true, "answer": 20261, "timestamp": "2026-02-08T03:33:10.893540Z"}, "problem_hash": "8130eb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "ONE_PHI_2": "ok_later", "K5": "same_pattern_wrong", "K18": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "18440a", "alias": "nt_num_divisors_compute_v1_153355830_523", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=18,\\quad \\gcd(p,q)=1,\\quad p A$, $n \\leq B$, and $\\gcd(n, m) = 1$. Determine the value of this $n$.", "answer": 36316, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": Const(36315),\n \"upper\": Const(36608),\n \"modulus\": 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(3437267)))))), IsPrime(Var(\"n\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.033, "created_at": "2026-02-08T13:38:17.428860Z", "verification": {"verified": true, "answer": 36316, "timestamp": "2026-02-08T13:38:17.462165Z"}, "problem_hash": "c9429c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 36316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 339}, "timestamp": "2026-02-12T07:12:41.667Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3c": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "93c118", "alias": "nt_count_with_divisor_count_v1_151522320_107", "problem": "Let $m = 7$. Consider the set of all ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 17$ such that $\\gcd(i,j) = 1$. Let $n$ be the number of such pairs. Let $d$ be the largest integer such that $m^d$ divides $n!$. Determine the number of positive integers $n'$ with $1 \\leq n' \\leq 54756$ such that the number of positive divisors of $n'$ is exactly $d$.", "answer": 169, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\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(8)), right=IntegerRange(start=Const(1), end=Const(17))))),\n \"upper\": Const(54756),\n \"div_count\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=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": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/V1"], "recipe_id": "95d765", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V1"], "num_lemmas": 2, "generation_time": 2.721, "created_at": "2026-02-08T02:58:43.070822Z", "verification": {"verified": true, "answer": 169, "timestamp": "2026-02-08T02:58:45.792129Z"}, "problem_hash": "57db87", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 169, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 3821}, "timestamp": "2026-02-08T23:05:11.687Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V1": "ok_later", "K17": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "0703fe", "alias": "comb_sum_binomial_mod_v1_1520064083_10342", "problem": "Let $S$ be the set of all positive integers $k$ such that $1 \\le k \\le 20646$ and $222$ divides $k$. Let $m$ be the number of elements in $S$. Let $n$ be the smallest prime number satisfying $2 \\le n \\le 14$. Compute\n$$\n\\sum_{k=n}^{m} \\binom{135}{k}.\n$$Let $s$ be this sum. Find the remainder when $s$ is divided by $10193$.", "answer": 9086, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(222),\n \"_n\": Const(10193),\n \"sum\": Summation(var=\"k\", start=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(14)), IsPrime(Var(\"n\"))))), end=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(20646)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')), expr=Binom(n=Const(135), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "C2"], "recipe_id": "3732ad", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T11:21:35.816977Z", "verification": {"verified": true, "answer": 9086, "timestamp": "2026-02-08T11:21:35.838784Z"}, "problem_hash": "a3fa04", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 8192}, "timestamp": "2026-02-14T13:25:07.894Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 514}, "timestamp": "2026-02-12T03:58:49.143Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "K16": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "e05fb6", "alias": "antilemma_v8_lucas_1116507919_12", "problem": "Let $m$ be the number of integers $n$ with $1\\le n\\le 56$ such that the sum of the decimal digits of $n$ is odd.\n\nLet\n$$L=\\sum_{d\\mid m}\\mu(d).$$\n\nLet $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=24,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 533610$ and $\\gcd(p, q) = 1$. Compute the remainder when $R + 2^{R \\bmod T}$ is divided by 75580.", "answer": 65519, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75580),\n \"upper\": Const(50400),\n \"divisor\": Summation(var=\"k\", start=Const(1), end=Const(13), expr=Var(\"k\")),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=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=533610)), 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(75580))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "recipe_id": "1ff019", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 1.615, "created_at": "2026-02-08T05:54:07.097630Z", "verification": {"verified": true, "answer": 65519, "timestamp": "2026-02-08T05:54:08.712633Z"}, "problem_hash": "ba2525", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 65519, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 1644}, "timestamp": "2026-02-12T16:08:39.665Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 574}, "timestamp": "2026-02-11T23:16:30.903Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "K5": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "46ee65", "alias": "nt_count_with_divisor_count_v1_458359167_338", "problem": "Let $a = 5$ and $b = 10$. Define $n_1 = ab + 1$. Let $h$ be the remainder when $\\tau(n_1)$, the number of positive divisors of $n_1$, is divided by 2. Let $p = 5$ and $n = p^3$. Define $v = \\lambda(n) + 1 + h$, where $\\lambda(n)$ is the Liouville function. Let $\\text{upper} = 19600 + v$. Let $\\delta$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 164$ and $\\binom{164}{j}$ is odd, increased by 5. Determine 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 $\\delta$. Let $Q$ be the Bell number corresponding to the remainder when the absolute value of this count is divided by 11. Find the value of $Q$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"a\": Const(5),\n \"b\": Const(10),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(5),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"h\")),\n \"upper\": Sum(Const(19600), Ref(\"v\")),\n \"div_count\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(164)), Eq(Mod(value=Binom(n=Const(164), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(5)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "DIVISOR_PARITY", "V8"], "recipe_id": "b6f3eb", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE", "V8"], "num_lemmas": 3, "generation_time": 1.135, "created_at": "2026-02-08T03:11:58.568688Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:11:59.703211Z"}, "problem_hash": "b286f8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIOUVILLE_MINUS_ONE": "ok", "V8": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "a6ea46", "alias": "nt_sum_gcd_range_mod_v1_1125832087_837", "problem": "Let $M_0=2$ and $N_0=2$. Let $L$ be the number of positive integers $k$ with $1\\le k\\le 5408$ such that $16$ divides $k$. For each integer $j$ with $0\\le j\\le 338$, consider the binomial coefficient $\\binom{L}{j}$.\n\nLet $N$ be the sum of all integers $j$ with $0\\le j\\le 338$ such that $\\binom{L}{j}\\equiv 1\\pmod{M_0}$.\n\nLet $K=90$ and $M=10303$. Define\n$$S=\\sum_{n=1}^{N} \\gcd(n,K).$$\nLet $R$ be the remainder when $S$ is divided by $M$.\n\nLet\n$$T=\\sum_{k=1}^{5} k,$$\nand let\n$$E\\equiv N_0^{\\,(R\\bmod T)}\\pmod{71652},$$\nwhere $E$ is taken to be the unique integer with $0\\le E<71652$ that is congruent to $N_0^{\\,(R\\bmod T)}$ modulo $71652$.\n\nFinally, let $Q=R+E$.\n\nFind the value of $Q$.", "answer": 7739, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"N\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(338)), Eq(Mod(value=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(5408)), Divides(divisor=Const(16), dividend=Var(\"k\"))), domain='positive_integers')), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"k\": Const(90),\n \"M\": Const(10303),\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\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")))), modulus=Const(71652))),\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", "C2/V8"], "recipe_id": "d52455", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "mod_exp", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C2", "SUM_ARITHMETIC", "V8"], "num_lemmas": 3, "generation_time": 0.129, "created_at": "2026-02-08T03:20:36.426706Z", "verification": {"verified": true, "answer": 7739, "timestamp": "2026-02-08T03:20:36.555538Z"}, "problem_hash": "bcf68b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7739, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 397, "completion_tokens": 4137}, "timestamp": "2026-02-10T13:49:17.662Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7739, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 397, "completion_tokens": 3730}, "timestamp": "2026-02-10T13:13:06.429Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 362, "completion_tokens": 8192}, "timestamp": "2026-02-12T02:28:31.034Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7739, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 341, "completion_tokens": 6874}, "timestamp": "2026-02-12T01:38:38.813Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23103, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 2588}, "timestamp": "2026-02-11T23:57:13.774Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 372, "completion_tokens": 1082}, "timestamp": "2026-02-11T18:14:02.198Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 402, "completion_tokens": 398}, "timestamp": "2026-02-11T20:39:12.051Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "SUM_ARITHMETIC": "ok", "V8": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "K13": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "be090e", "alias": "modular_mod_compute_v1_971394319_0", "problem": "Let $a$ be the largest prime number not exceeding $30$. Let $m$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 108$. Compute the remainder when $a$ is divided by $m$, and let this result be $r$. Find the remainder when $99671 \\cdot r$ is divided by $69440$.", "answer": 43419, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(30),\n \"_n\": Const(69440),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(108)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(99671), 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", "B1"], "recipe_id": "7086d0", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T12:47:29.013533Z", "verification": {"verified": true, "answer": 43419, "timestamp": "2026-02-08T12:47:29.029412Z"}, "problem_hash": "6c6abc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 400}, "timestamp": "2026-02-12T05:41:22.301Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "no", "K14": "no", "K16": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b06cb5", "alias": "antilemma_v1_legendre_1918700295_830", "problem": "Let $p$ be the number of prime numbers $n$ such that $2\\le n\\le 3$.\n\nLet $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 7$, $1\\le b\\le 5$, $30\\le t\\le 168$, and\n$$t=9a+21b.$$\nLet $C$ be the number of elements in $T$.\n\nLet $d$ range over all integers with $d\\ge p$ such that $d$ divides $C$, and assume this set of $d$ is nonempty. Let $m$ be the smallest such $d$.\n\nLet $x$ be the largest integer $k$ such that $m^k$ divides $31555!$.\n\nCompute $x$.", "answer": 7887, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\n \"_m\": Const(31555),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\"))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=168)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b')))))))))))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MIN_PRIME_FACTOR/V1", "LIN_FORM/MIN_PRIME_FACTOR/V1", "V1"], "recipe_id": "0932f2", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:31:00.098536Z", "verification": {"verified": true, "answer": 7887, "timestamp": "2026-02-08T03:31:00.101173Z"}, "problem_hash": "4f70cc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "V1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "K17": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "2a2365", "alias": "comb_count_partitions_v1_677425708_1521", "problem": "Let $n = 40$. Compute the number of integer partitions of $n$.", "answer": 37338, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(40),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/COUNT_PRIMES", "MOBIUS_COPRIME"], "recipe_id": "e31cdf", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "COUNT_PRIMES", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T04:14:28.241961Z", "verification": {"verified": true, "answer": 37338, "timestamp": "2026-02-08T04:14:28.261999Z"}, "problem_hash": "a1bf53", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 37338, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 127, "completion_tokens": 1461}, "timestamp": "2026-02-09T21:00:53.733Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 127, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:00:20.823Z"}, {"id": 8, "model": "mathstral", "answer": 247, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 74, "completion_tokens": 495}, "timestamp": "2026-02-13T11:36:50.916Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 121, "completion_tokens": 399}, "timestamp": "2026-02-11T21:26:10.328Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "MOBIUS_COPRIME": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "1edc22", "alias": "nt_sum_divisors_range_v1_1520064083_6472", "problem": "Let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 17789$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq |S|$. Define $\\sigma$ to be the sum of the number of positive divisors of each element in $T$. Let $\\pi(x)$ denote the number of prime numbers $n$ such that $2 \\leq n \\leq x$. Compute the remainder when $\\pi(39779) - \\sigma$ is divided by $59769$.", "answer": 11511, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(17789)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(39779)), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59769)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "L3C"], "recipe_id": "fa57cc", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3C"], "num_lemmas": 2, "generation_time": 1.452, "created_at": "2026-02-08T08:06:38.808852Z", "verification": {"verified": true, "answer": 11511, "timestamp": "2026-02-08T08:06:40.260530Z"}, "problem_hash": "e7041a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13511, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 4815}, "timestamp": "2026-02-13T15:06:16.434Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 710}, "timestamp": "2026-02-12T01:34:05.288Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "L3C": "ok", "DS2": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c7da38", "alias": "nt_sum_phi_v1_1125832087_936", "problem": "Let $n = 2$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 41209$. Define $T$ to be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the minimum value in $T$. Let $R$ be the sum of $\\phi(k)$ for all positive integers $k$ from $1$ to $m$, inclusive. Compute the value of $$ R + 2^{R \\bmod d} \\bmod {89390}, $$ where $d$ is the largest integer such that $7^d$ divides $6^{678223072849} + 1^{678223072849}$. All remainders are taken in the range $0$ to modulus minus one.", "answer": 50666, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(41209)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=MaxKDivides(target=Sum(Pow(Const(6), Const(678223072849)), Pow(Const(1), Const(678223072849))), base=Const(7)))), modulus=Const(89390))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM", "B3"], "recipe_id": "114b47", "seed_template_id": "nt_sum_phi_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LTE_SUM"], "num_lemmas": 2, "generation_time": 0.025, "created_at": "2026-02-08T03:22:13.202532Z", "verification": {"verified": true, "answer": 50666, "timestamp": "2026-02-08T03:22:13.227810Z"}, "problem_hash": "79a735", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LTE_SUM": "ok", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "valid"} +{"id": "cbbc51", "alias": "nt_count_divisors_in_range_v1_784195855_2219", "problem": "Let $n$ be the number of integers $t$ with $30 \\le t \\le 7623$ for which there exist positive integers $a$ and $b$ such that $1 \\le a \\le 96$, $1 \\le b \\le 623$, and $t = 21a + 9b$.\n\nLet $m = 1499398741586788200414239710724876101933611366003344657118522818557991334322919287339806483$, and let $k$ be the largest integer such that $3^k$ divides $m^{21}$.\n\nLet $s_{\\text{min}}$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = k$.\n\nDetermine the number of positive divisors $d$ of $n$ such that $20 \\le d \\le s_{\\text{min}}$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\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=96)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=623)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=7623)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"a\": Const(20),\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\")), MaxKDivides(target=Pow(Const(1499398741586788200414239710724876101933611366003344657118522818557991334322919287339806483), Const(21)), base=Ref(\"_n\"))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["K14/B3", "LIN_FORM"], "recipe_id": "77cdd5", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K14", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.26, "created_at": "2026-02-08T05:36:55.586853Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T05:36:55.846729Z"}, "problem_hash": "ba8e68", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "LIN_FORM": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K16": "no", "L3c": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "36ee58", "alias": "algebra_poly_eval_v1_349078426_319", "problem": "Let $m = 70652$ and $z$ be the smallest integer $d \\geq 2$ that divides $77077$. Let $A$ be the number of integers $t$ with $34 \\leq t \\leq 61$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 2$, and $t = 6a + 9b + 19$. Let $B$ 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$. Define $\\text{result} = A \\cdot z^B - 2z - 7$. Compute the remainder when $75197 \\cdot \\text{result}$ is divided by $70652$.", "answer": 61199, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70652),\n \"_n\": Const(2),\n \"z\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(77077))))),\n \"result\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=34)), Leq(left=Var(name='t'), right=Const(value=61)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b')), Const(value=19)))))))), Pow(Ref(\"z\"), 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'))))))))), Mul(Const(-2), Ref(\"z\")), Const(-7)),\n \"Q\": Mod(value=Mul(Const(75197), 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", "COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "860791", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T12:55:51.841389Z", "verification": {"verified": true, "answer": 61199, "timestamp": "2026-02-08T12:55:51.849777Z"}, "problem_hash": "793116", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 467}, "timestamp": "2026-02-12T06:01:51.972Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "MAX_VAL": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "656665", "alias": "antilemma_cartesian_v1_898971024_1528", "problem": "Let $N$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 19$ and $1 \\le b \\le 35$. Compute the remainder when $44121 \\cdot N$ is divided by $57284$.", "answer": 11057, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(35)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(57284)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:11:12.652036Z", "verification": {"verified": true, "answer": 11057, "timestamp": "2026-02-08T16:11:12.652863Z"}, "problem_hash": "35216e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 665, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 452}, "timestamp": "2026-02-12T10:04:34.217Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "263521", "alias": "nt_count_primes_v1_898971024_873", "problem": "Let $r$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 25281$. Let $s$ be the largest prime number not exceeding the number of positive integers $t$ between $9$ and $120$ (inclusive) that can be expressed as $4a + 5b$ for positive integers $a \\leq 25$, $b \\leq 4$. Let $t$ be the number of positive integers $t_1$ between $15$ and $45$ (inclusive) that can be expressed as $9a + 6b$ for positive integers $a \\leq 3$, $b \\leq 3$. Define\n$$\nQ = \\left( 353702 \\cdot (r \\bmod s) + 329703 \\cdot (r^2 \\bmod 101) + 215534 \\cdot (r \\bmod 103) \\right) \\bmod 92831.\n$$\nCompute $Q$.", "answer": 17802, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"upper\": Const(25281),\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=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), IsPrime(Var(\"n1\"))))))), 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')), CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t1'), right=Const(value=15)), Leq(left=Var(name='t1'), right=Const(value=45)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(92831)),\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", "LIN_FORM"], "recipe_id": "00543a", "seed_template_id": "nt_count_primes_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.592, "created_at": "2026-02-08T15:44:05.984528Z", "verification": {"verified": true, "answer": 17802, "timestamp": "2026-02-08T15:44:06.576054Z"}, "problem_hash": "28f830", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 385}, "timestamp": "2026-02-12T09:08:11.203Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K17": "no", "K18": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0f7e17", "alias": "nt_min_coprime_above_v1_1431428450_1471", "problem": "Let $T$ be the set of all integers $n$ such that $11664 < n \\leq 11701$ and $\\gcd(n, 27) = 1$. Let $m$ be the smallest element of $T$. Compute the remainder when $$353702 \\cdot (|m| \\bmod 97) + 329703 \\cdot \\left(|m|^2 + 1\\right) \\bmod M + 215534 \\cdot \\left(|m| + 22\\right) \\bmod d$$ is divided by $68379$, where $M$ is the largest prime number at most $102$, and $d$ is the smallest divisor of $1135163$ that is at least $2$.", "answer": 38551, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(11664),\n \"upper\": Const(11701),\n \"modulus\": Const(27),\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=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=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')), Const(22)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1135163)))))))), modulus=Const(1009091)), modulus=Const(68379)),\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", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.069, "created_at": "2026-02-08T14:06:59.730423Z", "verification": {"verified": true, "answer": 38551, "timestamp": "2026-02-08T14:06:59.799333Z"}, "problem_hash": "2d49f5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 536}, "timestamp": "2026-02-12T07:47:12.945Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "L3b": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "32e0cf", "alias": "modular_modexp_compute_v1_124444284_4037", "problem": "Let $n = 17298$. Let $A$ be the set of all integers $t$ such that $20 \\leq t \\leq 124$ and $t = 14a + 6b$ for some positive integers $a \\leq 5$ and $b \\leq 9$. Let $a = |A|$. Let $E$ be the number of positive integers $k \\leq n$ such that the sum of the decimal digits of $k$ is even. Let $m = 25200$ and define $r = a^E \\bmod m$, the remainder when $a^E$ is divided by $m$. Compute the remainder when $44121 \\cdot r$ is divided by $88853$.", "answer": 43634, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(17298),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=124)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"e\": 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 \"m\": Const(25200),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(88853)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:43:42.656069Z", "verification": {"verified": true, "answer": 43634, "timestamp": "2026-02-08T05:43:42.658409Z"}, "problem_hash": "0f16a7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34780, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 4641}, "timestamp": "2026-02-12T13:09:19.678Z"}, {"id": 8, "model": "mathstral", "answer": 38054, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 847}, "timestamp": "2026-02-14T21:41:22.111Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 470}, "timestamp": "2026-02-11T23:00:40.154Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "5e1e9e", "alias": "nt_sum_divisors_compute_v1_1440796553_569", "problem": "Let $n_2 = 79$. Define $m = \\omega(n_2)$, the number of distinct prime factors of $n_2$. Let $p = 71$ and let $q$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 367$. Define $r = 7m$. Let $n_1 = p \\cdot q \\cdot r$. Define $e = \\tau(n_1) \\bmod 2$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Let $n = 44521 + e$. Compute the sum of all positive divisors of $n$.", "answer": 44733, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(79),\n \"m\": SmallOmega(n=Ref(name='n2')),\n \"p\": Const(71),\n \"q\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(367)), IsPrime(Var(\"n\"))))),\n \"r\": Mul(Const(7), Ref(\"m\")),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Const(44521), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/DIVISOR_PARITY", "OMEGA_ONE"], "recipe_id": "34a973", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "DIVISOR_PARITY", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T11:51:23.732168Z", "verification": {"verified": true, "answer": 44733, "timestamp": "2026-02-08T11:51:23.734901Z"}, "problem_hash": "94f583", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "OMEGA_ONE": "ok", "DIVISOR_PARITY": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "split": "valid"} +{"id": "711721", "alias": "antilemma_v7_kummer_677425708_4214", "problem": "Let $ x $ be the largest integer such that $ 2^x $ divides $ \\binom{1265}{506} $. Let $ Q $ be $ x $ multiplied by the largest prime number less than or equal to 3580. Find the value of $ Q $.", "answer": 32139, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(1265),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_n\"), k=Const(506)), base=Ref(\"_m\")),\n \"Q\": Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3580)), IsPrime(Var(\"n\"))))), Ref(\"x\")),\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", "V7"], "recipe_id": "a682ea", "seed_template_id": "antilemma_v7_kummer", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "V7"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T06:29:47.525807Z", "verification": {"verified": true, "answer": 32139, "timestamp": "2026-02-08T06:29:47.535888Z"}, "problem_hash": "56a7b6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V7": "ok", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "5026fd", "alias": "nt_sum_divisors_compute_v1_153355830_127", "problem": "Let $p = 89$, $q = 83$, and $r = 59$. Define $n_2 = pqr$. Let $h = \\mu(n_2)^2$, where $\\mu$ denotes the M\\\"obius function. Let $n_1$ be the number of positive integers $n \\leq 707$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $w = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $n = 27556$. Let $S$ be the sum of the positive divisors of $n$. Compute the remainder when $44121 \\cdot w \\cdot S$ is divided by $75076 \\cdot h$.", "answer": 35071, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75076),\n \"p\": Const(89),\n \"q\": Const(83),\n \"r\": Const(59),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(707)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"w\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(27556),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Const(44121), Ref(\"w\")), Ref(\"result\")), modulus=Mul(Ref(\"_n\"), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "bd9689", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3C", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:54:00.136543Z", "verification": {"verified": true, "answer": 35071, "timestamp": "2026-02-08T02:54:00.139293Z"}, "problem_hash": "1c03fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 35071, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 1981}, "timestamp": "2026-02-08T23:14:32.127Z"}], "solution_status": 2, "lemma_applicability": {"L3C": "ok", "MOBIUS_SQUAREFREE": "ok", "LIOUVILLE_ONE": "ok_later", "K13": "no", "K14": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "d335ec", "alias": "nt_count_digit_sum_v1_865884756_3647", "problem": "Let $n$ be a positive integer. Define $A$ to be the number of positive integers $n$ with $1 \\leq n \\leq 69999$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $m = 68$. Define $B$ to be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = C$, where $C$ is the number of ordered pairs of positive odd integers $(x_{11}, x_{21})$ such that $x_{11} + x_{21} = m$. Compute the number of positive integers $n_1$ with $1 \\leq n_1 \\leq A$ such that the sum of the decimal digits of $n_1$ equals $B$.", "answer": 660, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(68),\n \"_n\": Const(69999),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x11\"), Var(\"x21\")]), condition=And(IsPositive(arg=Var(name='x11')), IsPositive(arg=Var(name='x21')), IsOdd(arg=Var(name='x11')), IsOdd(arg=Var(name='x21')), Eq(Sum(Var(\"x11\"), Var(\"x21\")), Ref(\"_m\"))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n1\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1", "L3C"], "recipe_id": "eff5da", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "L3C"], "num_lemmas": 2, "generation_time": 0.367, "created_at": "2026-02-08T17:31:44.100977Z", "verification": {"verified": true, "answer": 660, "timestamp": "2026-02-08T17:31:44.467757Z"}, "problem_hash": "7013ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 577}, "timestamp": "2026-02-12T22:43:06.154Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "L3C": "ok", "K16": "no", "L3b": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c589b0", "alias": "geo_count_lattice_triangle_v1_655260480_5390", "problem": "Let $S$ be the set of all ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are both odd and $x_1+x_2=1158$. Let $A$ be the number of elements in $S$.\n\nLet $T$ be the set of all integers $n$ such that $1\\le n\\le A$ and the sum of the base-$2$ digits of $n$ is even. Let $B$ be the number of elements in $T$.\n\nDefine\n$$K=100\\cdot 233+44\\bigl(0-B\\bigr).$$\nLet\n$$\\text{area}_{2\\times}=|K|.$$\n\nLet\n$$\\text{boundary}=\\gcd\\bigl(|100|,|289|\\bigr)+\\gcd\\bigl(|44-100|,|233-289|\\bigr)+\\gcd\\bigl(|0-44|,|0-233|\\bigr).$$\n\nDefine\n$$R=\\frac{\\text{area}_{2\\times}+2-\\text{boundary}}{2}$$\nand let $Q$ be\n$$Q=\\sum_{n_1=1}^{|R|} d(n_1),$$\nwhere $d(n_1)$ denotes the number of positive divisors of $n_1$.\n\nCompute $Q$.", "answer": 45926, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(100),\n \"_m\": Const(100),\n \"_n\": Const(44),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_m'), Const(value=233)), Mul(Const(value=44), Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='x2')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(left=Sum(Var(name='x1'), Var(name='x2')), right=Const(value=1158)))))), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Const(value=2)), right=Const(value=0))))))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=289))), GCD(a=Abs(arg=Sub(left=Ref(name='_n'), right=Ref(name='_c'))), b=Abs(arg=Sub(left=Const(value=233), right=Const(value=289)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=44))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=233))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/L3B", "LIN_FORM"], "recipe_id": "de9693", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COMB1", "L3B", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T18:27:22.487415Z", "verification": {"verified": true, "answer": 45926, "timestamp": "2026-02-08T18:27:22.503463Z"}, "problem_hash": "352b57", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 412, "completion_tokens": 534}, "timestamp": "2026-02-13T00:08:37.606Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "L3B": "ok_later", "K14": "no", "K16": "no", "MAX_VAL": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "32cc1c", "alias": "diophantine_product_count_v1_717093673_1439", "problem": "Let $S$ be the set of all ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 1137$, $1 \\leq b \\leq 444$, and let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 10827$ and $t = 6a + 9b + 9$ for some $(a, b) \\in S$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers satisfying $xy = |T|$. Let $r$ be the number of positive integers $d \\leq 21$ such that $d$ divides $k$ and $k/d \\leq 21$. Let $Q$ be the remainder when $48227 \\cdot r$ is divided by $63966$. Find the value of $Q$.", "answer": 33498, "graph": "graphs = [\n Graph(\n let={\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1137)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=444)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=10827)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b')), Const(value=9))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(21),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Divides(divisor=Var(\"x1\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x1\")), Ref(\"upper\"))))),\n \"_c\": Const(48227),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63966)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T16:04:59.559441Z", "verification": {"verified": true, "answer": 33498, "timestamp": "2026-02-08T16:04:59.569762Z"}, "problem_hash": "f27a9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 373}, "timestamp": "2026-02-12T09:50:15.623Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "K13": "no", "K18": "no", "MOD_SUB": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f7f8d8", "alias": "modular_min_linear_v1_458359167_3541", "problem": "Let $a = 19471$. Let $b$ be the largest positive divisor of $16375$ that is at most $125$. Let $m = 86062$. Define $S$ as the set of all integers $x$ such that $1 \\leq x \\leq m$ and\n$$\n19471x \\equiv b \\pmod{86062}.\n$$\nLet $r$ be the smallest element of $S$. Compute the value of\n$$\nr + 2^r \\bmod{14} \\bmod{95044}.\n$$", "answer": 8541, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(19471),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(125)), Divides(divisor=Var(\"d\"), dividend=Const(16375))))),\n \"m\": Const(86062),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(14))), modulus=Const(95044))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 5.138, "created_at": "2026-02-08T08:24:08.877500Z", "verification": {"verified": true, "answer": 8541, "timestamp": "2026-02-08T08:24:14.015911Z"}, "problem_hash": "809a30", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 2765}, "timestamp": "2026-02-13T18:40:18.820Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 424}, "timestamp": "2026-02-12T01:54:47.775Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "2872fc", "alias": "nt_count_coprime_v1_151522320_1459", "problem": "Let $a$ be the largest prime number between $2$ and $3$, inclusive. Let $b$ be the largest prime number between $2$ and $3$, inclusive. Define $n_1 = (a \\cdot b)^2$. Let $c$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $p$ be the smallest divisor of $20677$ that is at least $2$, and let $n = p^3$. Define $f = \\lambda(n) + c$, where $\\lambda$ is the Liouville function. Let $\\text{upper} = 53824 + f$. Compute the number of positive integers $k$ such that $1 \\leq k \\leq \\text{upper}$ and $\\gcd(k, 40) = 1$.\n\nFind the value of this number.", "answer": 21530, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Const(2)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(20677))))),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n')), Ref(\"c\")),\n \"upper\": Sum(Const(53824), Ref(\"f\")),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW/DIVISOR_PARITY"], "recipe_id": "3816b4", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 4.126, "created_at": "2026-02-08T04:01:55.737793Z", "verification": {"verified": true, "answer": 21530, "timestamp": "2026-02-08T04:01:59.864283Z"}, "problem_hash": "bb4246", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "K17": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}, "split": "valid"} +{"id": "a1d25f", "alias": "antilemma_cartesian_v1_655260480_6141", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 42$ and $1 \\leq j \\leq 48$. Compute\n$$\n\\sum_{n=1}^{x} \\tau(n),\n$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 15672, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(42)), right=IntegerRange(start=Const(1), end=Const(48)))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:51:27.332808Z", "verification": {"verified": true, "answer": 15672, "timestamp": "2026-02-08T18:51:27.334977Z"}, "problem_hash": "83ef58", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 451}, "timestamp": "2026-02-13T00:36:46.255Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "663505", "alias": "nt_sum_gcd_range_mod_v1_1440796553_1054", "problem": "Let $N = 7560$ and let $k$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from $1$ to $24$ and $b$ is an integer from $1$ to $25$. Define $$\\sum_{n=1}^{N} \\gcd(n, k).$$ Let $r$ be the remainder when this sum is divided by $10753$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 176149753887902995500300$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $c - r$ is divided by $87412$.", "answer": 83091, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87412),\n \"N\": Const(7560),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"M\": Const(10753),\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(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=176149753887902995500300)), 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=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", "COUNT_CARTESIAN"], "recipe_id": "cd4181", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.558, "created_at": "2026-02-08T12:09:47.054451Z", "verification": {"verified": true, "answer": 83091, "timestamp": "2026-02-08T12:09:47.612838Z"}, "problem_hash": "400965", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 82067, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 7407}, "timestamp": "2026-02-14T22:36:32.824Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 819}, "timestamp": "2026-02-12T04:58:29.963Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "K15": "no", "K16": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "a43eb1", "alias": "nt_max_prime_below_v1_124444284_10127", "problem": "Let $m$ be the number of positive integers $p$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 72$ for some positive integer $q$. Let $N$ be the largest prime number $n$ satisfying $m \\leq n \\leq 10141$. Compute the remainder when\n$$\n\\left| \\left\\{ t \\in \\mathbb{Z}^+ \\mid 12 \\leq t \\leq 8227,\\ t = 5a + 7b \\text{ for some } 1 \\leq a \\leq 104,\\ 1 \\leq b \\leq 1101 \\right\\} \\right| - N\n$$\nis divided by $90089$.", "answer": 88140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90089),\n \"upper\": Const(10141),\n \"result\": 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\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=104)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1101)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=8227)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COPRIME_PAIRS"], "recipe_id": "e30a8c", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.32, "created_at": "2026-02-08T12:50:14.099076Z", "verification": {"verified": true, "answer": 88140, "timestamp": "2026-02-08T12:50:14.419571Z"}, "problem_hash": "4a87d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 451}, "timestamp": "2026-02-12T05:45:34.461Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "K15": "no", "K5": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c7bde4", "alias": "antilemma_coprime_grid_v1_1125832087_1990", "problem": "Let $M$ be the least integer $d \\ge 2$ such that $d$ divides $7014007$. For each integer $n$ with $1 \\le n \\le 2600$, consider the Fibonacci number $F_n$. Let $n_1$ be the number of integers $n$ in this range for which $M$ divides $F_n$.\n\nLet $m = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Let $N$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers satisfying $x + y = 140$.\n\nLet $e$ be the remainder when the number of positive divisors of $N$ is divided by $2 + m$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1 \\le i \\le 30$ and $1 \\le j \\le 102$ such that $\\gcd(i,j) = 1$.\n\nLet $Q = 11449e - x$. Find the value of $Q$. ", "answer": 9571, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2600),\n \"_n\": Const(11449),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(7014007))))), dividend=Fibonacci(arg=Var(name='n')))))),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), 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(140)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Sum(Const(2), Ref(\"m\"))),\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(30)), right=IntegerRange(start=Const(1), end=Const(102))))),\n \"Q\": Sub(Mul(Ref(\"_n\"), Ref(\"e\")), 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/COUNT_FIB_DIVISIBLE/MOBIUS_SQUAREFREE", "B1/DIVISOR_PARITY", "COUNT_COPRIME_GRID"], "recipe_id": "deb1d4", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "COUNT_FIB_DIVISIBLE", "DIVISOR_PARITY", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 6, "generation_time": 0.004, "created_at": "2026-02-08T04:16:31.095624Z", "verification": {"verified": true, "answer": 9571, "timestamp": "2026-02-08T04:16:31.099550Z"}, "problem_hash": "a7148f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_INTEGER_RANGE": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "b8c0f4", "alias": "nt_count_gcd_equals_v1_397696148_1622", "problem": "Let $N$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=8003241$.\n\nLet $U$ be the largest prime number $n$ with $2\\le n\\le N$.\n\nLet $d$ be the number of integers $n$ with $1\\le n\\le 5750$ such that $10$ divides $n$ and $\\gcd(n,21)=1$.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le U$ such that $\\gcd(n,329)=d$.\n\nFind the value of $R$.", "answer": 17, "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(8003241)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"k\": Const(329),\n \"d\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5750)), Divides(divisor=Const(10), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "C5"], "recipe_id": "378ae1", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "C5", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 1.644, "created_at": "2026-02-08T12:40:59.635773Z", "verification": {"verified": true, "answer": 17, "timestamp": "2026-02-08T12:41:01.280030Z"}, "problem_hash": "fa9f86", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 440}, "timestamp": "2026-02-12T05:31:03.724Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C5": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "L3b": "no", "MOD_MUL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2b3218", "alias": "modular_modexp_compute_v1_2051736721_1446", "problem": "Let $a = 11$ and $m = 85849$. Let $e$ be the largest divisor of $4906189$ that lies between $1$ and $2209$, inclusive. Define $r = a^e \\bmod m$. Then define $Q = r + \\left(2^{(r \\bmod 14)} \\bmod 97191\\right)$. Find the value of $Q$.", "answer": 12150, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(11),\n \"e\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2209)), Divides(divisor=Var(\"d\"), dividend=Const(4906189))))),\n \"m\": Const(85849),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(14))), modulus=Const(97191))),\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"], "recipe_id": "51757e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:03:19.781349Z", "verification": {"verified": true, "answer": 12150, "timestamp": "2026-02-08T16:03:19.783838Z"}, "problem_hash": "5a4be9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 351}, "timestamp": "2026-02-12T09:44:43.383Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "25f5cc", "alias": "nt_count_divisible_v1_865884756_4092", "problem": "Let $c=6$. Let $A$ be the set of all integers $n$ such that $1\\le n\\le c$ and\n$$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}.$$\nLet $a$ be the number of elements of $A$.\n\nLet $B$ be the set of all integers $t$ for which there exist integers $u$ and $v$ satisfying $1\\le u\\le 17$, $1\\le v\\le 113$, $10\\le t\\le 458$, and\n$$t = 7u + 3v.$$\nLet $b$ be the number of elements of $B$.\n\nLet $D$ be the set of all integers $d$ such that $d\\ge a$ and $d$ divides $b$, and let $n$ be the minimum element of $D$.\n\nLet $m=2$. Let $P$ be the set of all integers $w$ such that $m\\le w\\le n$ and $w$ is prime, and let $p$ be the maximum element of $P$.\n\nLet $U=58081$, and let $Q$ be the number of integers $z$ such that $1\\le z\\le U$ and $z$ is divisible by $p$.\n\nCompute $Q$.", "answer": 3056, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(6),\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3)))))), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=113)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=458)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))))))),\n \"upper\": Const(58081),\n \"divisor\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n2\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "L3C/MIN_PRIME_FACTOR/MAX_PRIME_BELOW"], "recipe_id": "6d0b01", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 1.979, "created_at": "2026-02-08T17:44:21.477176Z", "verification": {"verified": true, "answer": 3056, "timestamp": "2026-02-08T17:44:23.456650Z"}, "problem_hash": "dfc755", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 409, "completion_tokens": 466}, "timestamp": "2026-02-12T23:02:12.037Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K17": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "51da9e", "alias": "diophantine_fbi2_count_v1_784195855_385", "problem": "Let $k = 180$. Determine the number of positive integers $d$ such that $4 \\leq d \\leq 91$, $d$ divides $k$, and the quotient $\\frac{k}{d}$ is an integer between $2$ and $89$, inclusive.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(91)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(89))))),\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_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "458d31", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T03:07:34.702947Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T03:07:34.717118Z"}, "problem_hash": "8f418a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok_later", "K14": "no", "K17": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "split": "valid"} +{"id": "f7a51b", "alias": "diophantine_fbi2_min_v1_784195855_2600", "problem": "Let $k=180$ and $U=190$. Let $E$ be the value of\n$$\\sum_{r=1}^{3} \\varphi(r)\\left\\lfloor\\frac{3}{r}\\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $D$ be the set of all integers $d$ such that $5\\le d\\le U$, $d$ divides $k$, and\n$$\\frac{k}{d}\\ge E.$$\nAssume $D$ is nonempty, and let $R$ be the minimum element of $D$.\n\nNext, consider all ordered pairs $(x,y)$ of positive integers satisfying $xy=15697444$. For each such pair, form the sum $x+y$. Let $S$ be the set of all such sums $x+y$, and let $L$ be the minimum element of $S$.\n\nLet $P$ be the set of all integers $n$ such that $2\\le n\\le L$ and $n$ is prime, and let $N$ be the maximum element of $P$. Finally, define\n$$Q = N\\cdot R.$$\nCompute $Q$. ", "answer": 39595, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(2),\n \"k\": Const(180),\n \"upper\": Const(190),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))))))),\n \"Q\": Mul(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(15697444)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))), 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/MAX_PRIME_BELOW", "K2"], "recipe_id": "95baf6", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T05:54:19.350697Z", "verification": {"verified": true, "answer": 39595, "timestamp": "2026-02-08T05:54:19.366980Z"}, "problem_hash": "de256a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39595, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 1968}, "timestamp": "2026-02-12T16:07:52.134Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 367, "completion_tokens": 601}, "timestamp": "2026-02-11T23:16:32.886Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K2": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "07787b", "alias": "diophantine_product_count_v1_655260480_3821", "problem": "Let $k = 720$. Let $d_{\\text{max}}$ be the largest positive divisor of $119009$ that is at most $341$. Let $r$ be the number of positive integers $x$ such that $1 \\le x \\le d_{\\text{max}}$, $x$ divides $k$, and $k/x \\le d_{\\text{max}}$. Find the remainder when $44121 \\cdot r$ is divided by $62749$.", "answer": 17664, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"k\": Const(720),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(341)), Divides(divisor=Var(\"d\"), dividend=Const(119009))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(62749)),\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"], "recipe_id": "51757e", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.03, "created_at": "2026-02-08T17:34:26.286456Z", "verification": {"verified": true, "answer": 17664, "timestamp": "2026-02-08T17:34:26.316033Z"}, "problem_hash": "6f32ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 386}, "timestamp": "2026-02-12T22:47:09.695Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2380a6", "alias": "sequence_count_fib_divisible_v1_2051736721_1629", "problem": "Let $d = 16$ and let $N$ be a positive integer such that $1 \\leq N \\leq 519$. Determine the number of such integers $N$ for which $d$ divides the $N$th Fibonacci number. Find the value of this count.", "answer": 43, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(519),\n \"d\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.081, "created_at": "2026-02-08T16:08:15.101330Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T16:08:15.181931Z"}, "problem_hash": "96c6dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 738}, "timestamp": "2026-02-12T09:55:05.441Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c386fa", "alias": "diophantine_fbi2_count_v1_971394319_2102", "problem": "Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $xy = 202500$. Let $s$ be the minimum value of $x + y$ over all such pairs. Now, let $T$ be the set of all pairs of positive integers $(x, y)$ such that $xy = s$. Let $k$ be the minimum value of $x + y$ over all such pairs. Let $d_{\\min}$ be the smallest divisor of 1018917709 that is at least 2. Determine the number of divisors $d$ of $k$ such that $2 \\leq d \\leq d_{\\min}$, $d$ divides $k$, and $3 \\leq \\frac{k}{d} \\leq 62$. Multiply this count by 44121, then find the remainder when the product is divided by 97451.", "answer": 7285, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(62),\n \"_m\": Const(3),\n \"_n\": Const(44121),\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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(202500)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1018917709)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_c\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(97451)),\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", "B3/B3"], "recipe_id": "cb9dd4", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T14:07:06.168547Z", "verification": {"verified": true, "answer": 7285, "timestamp": "2026-02-08T14:07:06.184696Z"}, "problem_hash": "2e0f80", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 537}, "timestamp": "2026-02-12T07:49:42.824Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "179ca3", "alias": "nt_sum_gcd_range_mod_v1_124444284_5225", "problem": "Let $N$ be the largest prime number $n$ such that $2 \\le n \\le \\sum_{d \\mid 1539} \\phi(d)$. Let $k = 336$ and $M = 11579$. Define $\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k)$. Let $c = 28407$. Compute the remainder when $c \\cdot (\\text{sum} \\bmod M)$ is divided by $82834$.", "answer": 59319, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), SumOverDivisors(n=Const(value=1539), var='d', expr=EulerPhi(n=Var(name='d')))), IsPrime(Var(\"n\"))))),\n \"k\": Const(336),\n \"M\": Const(11579),\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\": Const(28407),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82834)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_PRIME_BELOW"], "recipe_id": "d8e8cc", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.075, "created_at": "2026-02-08T06:27:14.581570Z", "verification": {"verified": true, "answer": 59319, "timestamp": "2026-02-08T06:27:14.656309Z"}, "problem_hash": "324382", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 59319, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 3584}, "timestamp": "2026-02-13T01:10:20.340Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 511}, "timestamp": "2026-02-12T00:10:02.704Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "K15": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "297218", "alias": "modular_product_range_v1_124444284_4094", "problem": "Let $C = 34996$. Let $M$ be the number of integers $n$ such that $1\\le n\\le C$, $4$ divides $n$, and $\\gcd(n,21)=1$.\n\nLet $Q$ be the number of integers $n$ such that $1\\le n\\le M$ and $21$ divides the $n$th Fibonacci number $F_n$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that\n$$xy = Q.$$\nFor each such pair, form the sum $x+y$. Let $S$ be the smallest value among all such sums.\n\nLet $N = 116$ and define\n$$P = \\prod_{i=S}^{N} i.$$\nLet $R$ be the remainder when $P$ is divided by $10477$.\n\nFind the value of $R$.", "answer": 2858, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(34996),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Divides(divisor=Const(4), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"_n\": Const(116),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(21), dividend=Fibonacci(arg=Var(name='n'))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10477)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/COUNT_FIB_DIVISIBLE/B3"], "recipe_id": "574b79", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "C5", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T05:46:07.193569Z", "verification": {"verified": true, "answer": 2858, "timestamp": "2026-02-08T05:46:07.200127Z"}, "problem_hash": "80f503", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 8192}, "timestamp": "2026-02-12T14:28:04.117Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 473}, "timestamp": "2026-02-11T23:07:21.312Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "K16": "no", "L3b": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "5c94df", "alias": "antilemma_cartesian_v1_1520064083_10427", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $a$ is an integer satisfying $1 \\le a \\le 13$ and $b$ is an integer satisfying $1 \\le b \\le 29$. Compute $x$.", "answer": 377, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(29)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T11:24:17.003441Z", "verification": {"verified": true, "answer": 377, "timestamp": "2026-02-08T11:24:17.003900Z"}, "problem_hash": "e007b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 377, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 156}, "timestamp": "2026-02-12T03:59:43.893Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "b4a1fd", "alias": "nt_euler_phi_compute_v1_1978505735_2201", "problem": "Let $n = 45796$. Compute $\\varphi(n)$, Euler's totient function evaluated at $n$. Let $S$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 27843$ and $\\binom{27843}{j}$ is odd. Determine the value of $|S| - \\varphi(n)$, and find the remainder when this value is divided by $71877$. Compute this remainder.", "answer": 49449, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(27843),\n \"n\": Const(45796),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(27843), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")), modulus=Const(71877)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:45:57.899036Z", "verification": {"verified": true, "answer": 49449, "timestamp": "2026-02-08T16:45:57.901329Z"}, "problem_hash": "80f6dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 62902, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 505}, "timestamp": "2026-02-12T20:57:07.355Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "45eca4", "alias": "nt_count_divisible_and_v1_1742523217_4401", "problem": "Let $d_1 = 6$.\n\nLet $d_2$ be one more than the number of nonnegative integers $j$ with $0 \\le j \\le 65560$ such that $\\binom{65560}{j}$ is odd.\n\nLet $R$ be the number of integers $n$ such that $1 \\le n \\le 16452$, $n \\equiv 0 \\pmod{d_1}$, and $n \\equiv 0 \\pmod{d_2}$.\n\nLet $C$ be the number of ordered pairs $(i,j)$ of integers with $1 \\le i \\le 114$, $1 \\le j \\le 115$, and $\\gcd(i,j) = 1$.\n\nLet $Q$ be the remainder when $CR$ is divided by $98054$.\n\nFind the value of $Q$.", "answer": 8220, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(65560),\n \"_n\": Const(98054),\n \"upper\": Const(16452),\n \"d1\": Const(6),\n \"d2\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(65560)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(1)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_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(114)), right=IntegerRange(start=Const(1), end=Const(115))))),\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": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "V8"], "recipe_id": "feaafc", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "affine_mod", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V8"], "num_lemmas": 2, "generation_time": 0.553, "created_at": "2026-02-08T07:15:53.738088Z", "verification": {"verified": true, "answer": 8220, "timestamp": "2026-02-08T07:15:54.291307Z"}, "problem_hash": "1e1dee", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13810, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 5974}, "timestamp": "2026-02-13T09:17:47.677Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 695}, "timestamp": "2026-02-12T00:57:10.710Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V8": "ok", "DS2": "no", "K13": "no", "V1": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "d0971b", "alias": "nt_sum_divisors_compute_v1_1431428450_215", "problem": "Let $j$ be a nonnegative integer. Define $\\_n$ to be the number of integers $j$ with $0 \\leq j \\leq 13360$ such that the binomial coefficient $\\binom{13360}{j}$ is odd. Let $n = 64009$, and let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = \\_n$. Define $P$ to be the maximum value of $xy$ over all such pairs. Compute the remainder when $P - \\sigma(n)$ is divided by $88934$.", "answer": 15641, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(13360)), Eq(Mod(value=Binom(n=Const(13360), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"n\": Const(64009),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(88934)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/B1"], "recipe_id": "a1f1d8", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "V8"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:18:20.720578Z", "verification": {"verified": true, "answer": 15641, "timestamp": "2026-02-08T13:18:20.724321Z"}, "problem_hash": "dfdf2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 595}, "timestamp": "2026-02-12T06:39:34.050Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "B1": "ok_later", "C2": "no", "K17": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8c5d19", "alias": "modular_modexp_compute_v1_124444284_3396", "problem": "Let $a$ 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 $e$ be the number of integers $t$ with $8 \\leq t \\leq 5791$ that can be expressed as $t = 3a + 5b$ for some positive integers $a \\leq 1362$ and $b \\leq 341$. Compute the remainder when $20923 \\cdot a^e$ is divided by $58878$.", "answer": 18311, "graph": "graphs = [\n Graph(\n let={\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=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 \"e\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1362)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=341)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=5791)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"m\": Const(37249),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(20923),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(58878)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:23:19.073634Z", "verification": {"verified": true, "answer": 18311, "timestamp": "2026-02-08T05:23:19.076837Z"}, "problem_hash": "ba8ac3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3284, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 6398}, "timestamp": "2026-02-12T07:42:54.003Z"}, {"id": 8, "model": "mathstral", "answer": 12345, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 1032}, "timestamp": "2026-02-14T16:23:12.868Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 20923, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 586}, "timestamp": "2026-02-11T22:32:37.751Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "fd5570", "alias": "antilemma_cartesian_v1_1742523217_3662", "problem": "Let $m$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 11$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 26$ and $1 \\leq b \\leq 38$. Let $s$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Compute the $s$-th Bell number modulo $x$.", "answer": 21147, "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(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\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(38)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COMB1", "COMB1/COMB1", "COUNT_CARTESIAN"], "recipe_id": "b58243", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T06:01:02.506076Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T06:01:02.528312Z"}, "problem_hash": "2be193", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 802, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 2126}, "timestamp": "2026-02-12T18:37:30.105Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 382}, "timestamp": "2026-02-11T23:30:16.309Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "3537ec", "alias": "nt_count_gcd_equals_v1_1520064083_5296", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq \\sum_{d \\mid 1230} \\varphi(d)$ and $n$ is divisible by 123. Define $U$ to be the sum of all elements in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq U$ and $\\gcd(n, 103) = 1$. Compute the number of elements in $T$.", "answer": 6700, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(123),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverDivisors(n=Const(value=1230), var='d', expr=EulerPhi(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"k\": Const(103),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/SUM_DIVISIBLE"], "recipe_id": "df60a7", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 1.027, "created_at": "2026-02-08T06:43:36.299801Z", "verification": {"verified": true, "answer": 6700, "timestamp": "2026-02-08T06:43:37.326908Z"}, "problem_hash": "c603e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6700, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 841}, "timestamp": "2026-02-13T04:06:50.774Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 479}, "timestamp": "2026-02-12T00:27:10.005Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "K17": "no", "L3c": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "bf0b11", "alias": "diophantine_fbi2_count_v1_1978505735_5676", "problem": "Let $k$ be the largest positive divisor of $34740$ that is at most $180$. Compute the number of positive integers $d_1$ such that $4 \\leq d_1 \\leq 80$, $d_1$ divides $k$, and the quotient $k/d_1$ is at least $2$ and at most $78$.", "answer": 13, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(180)), Divides(divisor=Var(\"d\"), dividend=Const(34740))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(4)), Leq(Var(\"d1\"), Const(80)), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d1\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.144, "created_at": "2026-02-08T19:09:38.859336Z", "verification": {"verified": true, "answer": 13, "timestamp": "2026-02-08T19:09:39.003525Z"}, "problem_hash": "bdb96c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 365}, "timestamp": "2026-02-13T00:50:40.578Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b9f93d", "alias": "nt_euler_phi_compute_v1_1248542787_538", "problem": "Let $f = \\omega(1)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $p = 3 + f$. Let $k$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $pq = 108$, and $\\gcd(p, q) = 1$. Define $n_1 = p^k$. Let $h = \\lambda(n_1)$, where $\\lambda$ is the Liouville function. Let $n = 40401 \\cdot h$. Determine the value of $\\varphi(n)$.", "answer": 26532, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n2\": Const(1),\n \"f\": SmallOmega(n=Ref(name='n2')),\n \"p\": Sum(Ref(\"_n\"), Ref(\"f\")),\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=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 \"h\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(40401), 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/LIOUVILLE_ONE", "OMEGA_ZERO"], "recipe_id": "ed34fb", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:12:18.787364Z", "verification": {"verified": true, "answer": 26532, "timestamp": "2026-02-08T03:12:18.792543Z"}, "problem_hash": "ea445e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26532, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 1296}, "timestamp": "2026-02-09T05:19:09.470Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26532, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1777}, "timestamp": "2026-02-09T17:58:10.241Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:33:07.326Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "OMEGA_ZERO": "ok", "LIOUVILLE_ONE": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "valid"} +{"id": "466f1c", "alias": "geo_count_lattice_rect_v1_124444284_9203", "problem": "Let $a = 377$ and $b = 153$. Define a lattice point as a point in the plane with integer coordinates. The rectangle with vertices at $(0,0)$, $(a,0)$, $(0,b)$, and $(a,b)$ contains all points $(x,y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the number of lattice points in this rectangle.", "answer": 58212, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(377),\n \"b\": Const(153),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T12:17:53.336736Z", "verification": {"verified": true, "answer": 58212, "timestamp": "2026-02-08T12:17:53.339121Z"}, "problem_hash": "b3f358", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 58332, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 258}, "timestamp": "2026-02-12T05:07:23.218Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4c2814", "alias": "diophantine_fbi2_min_v1_238844314_961", "problem": "Let $d$ be a positive integer. Let $k = 240$ and let $n = 4$. Define $\\mathcal{D}$ to be the set of all positive divisors of 62750 that are at most 250. Let $U$ be the maximum element of $\\mathcal{D}$. Define $\\mathcal{S}$ to be the set of all integers $d$ such that $n \\leq d \\leq U$, $d$ divides $k$, and $\\frac{k}{d} \\geq 5$. Compute the minimum value of $\\mathcal{S}$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"k\": Const(240),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(250)), Divides(divisor=Var(\"d\"), dividend=Const(62750))))),\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(5))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.06, "created_at": "2026-02-08T13:50:05.935068Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T13:50:05.995384Z"}, "problem_hash": "49f7ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 481}, "timestamp": "2026-02-12T07:23:48.629Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "bc5a51", "alias": "nt_sum_divisors_range_v1_1439011603_3160", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2, \\dots, 70\\}$ and $\\{1, 2, \\dots, 72\\}$. Let $N = |S|$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$. Define $\\text{result}$ to be the sum of the number of positive divisors of each element in $T$. Let $c = 7$. Compute the remainder when $c - \\text{result}$ is divided by $69408$.", "answer": 25639, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(70)), right=IntegerRange(start=Const(1), end=Const(72)))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": Const(7),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(69408)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.17, "created_at": "2026-02-08T17:17:50.470140Z", "verification": {"verified": true, "answer": 25639, "timestamp": "2026-02-08T17:17:50.640063Z"}, "problem_hash": "0d9dca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 455}, "timestamp": "2026-02-12T22:17:37.328Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ccb245", "alias": "antilemma_cartesian_v1_397696148_956", "problem": "Compute the number of ordered pairs $(i, j)$ such that $1 \\le i \\le 48$ and $1 \\le j \\le 49$. Let $x$ be this number. Find the remainder when $44121 \\cdot x$ is divided by $68330$.", "answer": 47652, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(48)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(68330)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:58:08.155719Z", "verification": {"verified": true, "answer": 47652, "timestamp": "2026-02-08T11:58:08.156966Z"}, "problem_hash": "e8d672", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 390}, "timestamp": "2026-02-12T05:05:03.189Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "073ae2", "alias": "nt_sum_phi_v1_1439011603_2557", "problem": "Let $d$ be a positive divisor of 527760 that is at most 720. Define $u$ to be the largest such $d$. Let $S$ be the set of all positive integers $n$ such that $n \\leq u$. Compute the sum of $\\phi(n)$ over all elements $n$ in $S$, where $\\phi$ denotes Euler's totient function. Let $Q$ be the remainder when this sum is multiplied by 27187 and then divided by 97773. Find the value of $Q$.", "answer": 76274, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97773),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(720)), Divides(divisor=Var(\"d\"), dividend=Const(527760))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(27187),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.042, "created_at": "2026-02-08T16:51:33.616513Z", "verification": {"verified": true, "answer": 76274, "timestamp": "2026-02-08T16:51:33.658058Z"}, "problem_hash": "c4e1d5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 728}, "timestamp": "2026-02-12T21:14:12.866Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2a1fdc", "alias": "algebra_poly_eval_v1_1742523217_4349", "problem": "Let $m = 3$ and let $n$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 1399$. Let $k = 9$. Compute\n$$\n\\left( \\sum_{\\substack{j=1 \\\\ n \\mid j}}^{1998} 1 \\right) \\cdot k^m + 6k^2 - 4k - 4.\n$$", "answer": 7007, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1399)), IsPrime(Var(\"n\"))))),\n \"k\": Const(9),\n \"result\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1998)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), Pow(Ref(\"k\"), Ref(\"_m\"))), Mul(Const(6), Pow(Ref(\"k\"), Const(2))), Mul(Const(-4), Ref(\"k\")), Const(-4)),\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/C2"], "recipe_id": "14681d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T07:12:58.188964Z", "verification": {"verified": true, "answer": 7007, "timestamp": "2026-02-08T07:12:58.194030Z"}, "problem_hash": "c62d22", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7007, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 1008}, "timestamp": "2026-02-13T08:35:40.032Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6278, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 452}, "timestamp": "2026-02-12T00:54:17.216Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "C2": "ok_later", "K15": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "72d592", "alias": "geo_count_lattice_rect_v1_124444284_8401", "problem": "Let $a = 49$ and $b = 111$. Define a lattice point as a point in the coordinate plane with integer coordinates. Let $R$ be the rectangle consisting of all points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Let $N$ be the number of lattice points contained in $R$. Compute the remainder when $576 - N$ is divided by $53312$.", "answer": 48288, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(49),\n \"b\": Const(111),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"_c\": Const(576),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53312)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T09:41:20.536401Z", "verification": {"verified": true, "answer": 48288, "timestamp": "2026-02-08T09:41:20.536921Z"}, "problem_hash": "a39d21", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 48288, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 268}, "timestamp": "2026-02-12T03:06:16.559Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "1d6ec1", "alias": "nt_count_gcd_equals_v1_1125832087_203", "problem": "Let $m = 957$ and $n = 19$. Define $k$ to be the largest integer such that $n^k$ divides\n$$\n4943745220665013416622130055650473263726757930236695311442483036762574572597089739422226505532147191437533699 \\times 821219754307572944556380793266707242420628796945676126959387120272108862253574739642528874604857727168517200686461759215150786497520821887524347060009720715994452112732345381748613374039658106540103920521289177085834914077535832365726886577910513801539.\n$$\nLet $d$ be the largest integer such that $11^d$ divides $m!$.\n\nLet $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 28224$ and $\\gcd(n, k) = d$.\n\nCompute the number of elements in $S$.", "answer": 200, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(957),\n \"_n\": Const(19),\n \"upper\": Const(28224),\n \"k\": MaxKDivides(target=Mul(Const(4943745220665013416622130055650473263726757930236695311442483036762574572597089739422226505532147191437533699), Const(821219754307572944556380793266707242420628796945676126959387120272108862253574739642528874604857727168517200686461759215150786497520821887524347060009720715994452112732345381748613374039658106540103920521289177085834914077535832365726886577910513801539)), base=Ref(\"_n\")),\n \"d\": MaxKDivides(target=Factorial(Ref(\"_m\")), base=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\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "V1"], "recipe_id": "158b46", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "V1"], "num_lemmas": 2, "generation_time": 2.196, "created_at": "2026-02-08T02:56:25.225297Z", "verification": {"verified": true, "answer": 200, "timestamp": "2026-02-08T02:56:27.420875Z"}, "problem_hash": "710aff", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K14": "no", "K15": "no", "K17": "no", "MOD_SUB": "no", "V7": "no"}, "split": "valid"} +{"id": "2fd897", "alias": "comb_binomial_compute_v1_865884756_3737", "problem": "Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $m = |S|$. Let $n$ be the largest prime number satisfying $m \\leq n \\leq 15$. Let\n$$\nk = \\frac{2}{4} \\sum_{(k_1, j) \\in \\{1,2,3\\} \\times \\{1,2\\}} k_1.\n$$\nDefine $\\text{result} = \\binom{n}{k}$. Compute $54756 - \\text{result}$.", "answer": 53040, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(54756),\n \"_n\": Const(15),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"k\": Div(Mul(Const(2), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k1\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k1\")))), Const(4)),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW", "SUM_INDEPENDENT", "SUM_ARITHMETIC"], "recipe_id": "c8579b", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T17:33:40.110166Z", "verification": {"verified": true, "answer": 53040, "timestamp": "2026-02-08T17:33:40.115807Z"}, "problem_hash": "32ab53", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 54470, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 478}, "timestamp": "2026-02-12T22:46:05.803Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e83d26", "alias": "antilemma_v1_legendre_784195855_3417", "problem": "Let $n = 15000$ and $m = 3$. Let $x$ be the largest integer $k$ such that $3^k$ divides $15000!$. Let $S$ be the sum of the squares of the positions (starting from 1) of the nonzero digits in the base-10 representation of $|x|$, where the position is counted from the rightmost digit (units digit is position 1). Add to $S$ the number of positive integers $n \\leq 28985$ such that $5$ divides $n$ and $\\gcd(n, 14) = 1$. Compute the resulting value.", "answer": 2674, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(15000),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\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(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(28985)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "V1"], "recipe_id": "7fd959", "seed_template_id": "antilemma_v1_legendre", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "V1"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:25:28.413372Z", "verification": {"verified": true, "answer": 2674, "timestamp": "2026-02-08T06:25:28.415026Z"}, "problem_hash": "c09e11", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "V1": "ok", "K5": "same_pattern_wrong", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "0e4914", "alias": "geo_count_lattice_triangle_v1_124444284_9080", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(196,256)$, and $(233,222)$. Let $B$ be the number of lattice points on the boundary of this triangle, computed using the formula $B = \\gcd(|x_1|, |y_1|) + \\gcd(|x_2 - x_1|, |y_2 - y_1|) + \\gcd(|x_3 - x_2|, |y_3 - y_2|)$ where $(x_1,y_1) = (196,256)$, $(x_2,y_2) = (233,222)$, and $(x_3,y_3) = (0,0)$. Using the formula $A = \\frac{1}{2} \\left( 2A + 2 - B \\right)$, compute the absolute value of the resulting expression for $A$.", "answer": 8066, "graph": "graphs = [\n Graph(\n let={\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=196), Const(value=222)), Mul(Const(value=233), Sub(left=Const(value=0), right=Const(value=256))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=196)), b=Abs(arg=Const(value=256))), GCD(a=Abs(arg=Sub(left=Const(value=233), right=Const(value=196))), b=Abs(arg=Sub(left=Const(value=222), right=Const(value=256)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=233))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=222))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "generation_time": 0.003, "created_at": "2026-02-08T12:11:26.519291Z", "verification": {"verified": true, "answer": 8066, "timestamp": "2026-02-08T12:11:26.522458Z"}, "problem_hash": "e7849c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8066, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 2309}, "timestamp": "2026-02-14T22:43:19.210Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 491}, "timestamp": "2026-02-12T04:59:25.200Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1863e6", "alias": "sequence_count_fib_divisible_v1_1915831931_4149", "problem": "Let $n_0 = 2$. Let $U$ be the set of all prime numbers $n$ such that $n_0 \\leq n \\leq d$, where $d$ is the smallest divisor of $3398981816646263$ that is at least $2$. Let $u = |U|$. Let $F_k$ denote the $k$-th Fibonacci number. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq u$ and $4$ divides $F_{n_1}$. Let $s = |S|$. Let $k$ be the smallest positive integer such that $F_k \\equiv 0 \\pmod{s+2}$. Determine the value of $k$.", "answer": 164, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(3398981816646263)))))), IsPrime(Var(\"n\"))))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T18:07:46.844958Z", "verification": {"verified": true, "answer": 164, "timestamp": "2026-02-08T18:07:46.887687Z"}, "problem_hash": "373d92", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 389}, "timestamp": "2026-02-12T23:49:10.435Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "K15": "no", "LTE_DIFF": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e02956", "alias": "antilemma_k3_v1_1520064083_7924", "problem": "Let $m = 5003$ and $n = 2$. Define\n$$\nx = \\sum_{d \\mid 61818} \\phi(d),\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $S_1$ be the set of all integers $x$ such that\n$$\nx^2 - 251x - 24450 = 0,\n$$\nand let $S_2$ be the set of all integers $x$ such that\n$$\nx^2 - 397x + 17940 = 0.\n$$\nLet $s_1$ be the sum of the elements in $S_1$, and $s_2$ be the sum of the elements in $S_2$. Compute the remainder when\n$$\n(m \\cdot (x \\bmod s_1) + (x \\bmod s_2))\n$$\nis divided by $73984$.", "answer": 10225, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5003),\n \"_n\": Const(2),\n \"x\": SumOverDivisors(n=Const(value=61818), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-251), Var(\"x\")), Const(-24450)), Const(0))))), Mul(Ref(\"_m\"), Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-397), Var(\"x\")), Const(17940)), Const(0))))))), modulus=Const(73984)),\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"], "recipe_id": "4765cd", "seed_template_id": "antilemma_k3_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T09:22:48.371070Z", "verification": {"verified": true, "answer": 10225, "timestamp": "2026-02-08T09:22:48.372788Z"}, "problem_hash": "b7b1a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64563, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 1493}, "timestamp": "2026-02-14T03:54:42.019Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 442}, "timestamp": "2026-02-12T02:54:34.780Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_SUB": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "f67cca", "alias": "nt_min_coprime_above_v1_1440796553_301", "problem": "Let $S$ be the set of all integers $n$ such that $51360 < n \\leq 51584$ and $\\gcd(n, 214) = 1$. Let $r$ be the smallest element of $S$.\n\nLet $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 6651$, $9$ divides $n$, and $\\gcd(n, 14) = 1$. Let $c = |T|$.\n\nCompute the value of $$r \\bmod c + 1009 \\cdot (r \\bmod 313).$$", "answer": 29268, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"start\": Const(51360),\n \"upper\": Const(51584),\n \"modulus\": Const(214),\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(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6651)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1)))))), Mul(Const(1009), Mod(value=Ref(\"result\"), modulus=Const(313)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5"], "recipe_id": "40bd52", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5"], "num_lemmas": 1, "generation_time": 0.022, "created_at": "2026-02-08T11:43:25.172341Z", "verification": {"verified": true, "answer": 29268, "timestamp": "2026-02-08T11:43:25.193993Z"}, "problem_hash": "00c4e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29268, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 1117}, "timestamp": "2026-02-14T17:43:03.483Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 346}, "timestamp": "2026-02-12T04:28:05.718Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "640986", "alias": "sequence_lucas_compute_v1_48377204_832", "problem": "Let $c = 3$. Define $m = 2$ and let $n$ be the largest prime number not exceeding\n\\[\n\\sum_{k=1}^{\\sum_{k_1=1}^{3} \\phi(k_1) \\left\\lfloor \\frac{c}{k_1} \\right\\rfloor} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor.\n\\]\nCompute the $n$-th Lucas number.", "answer": 9349, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k1\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Ref(\"_c\"), Var(\"k1\"))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2/MAX_PRIME_BELOW"], "recipe_id": "d8f241", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T15:42:52.610956Z", "verification": {"verified": true, "answer": 9349, "timestamp": "2026-02-08T15:42:52.613337Z"}, "problem_hash": "abdddc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 643}, "timestamp": "2026-02-12T08:57:05.740Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok_later", "L3c": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e4803b", "alias": "modular_modexp_compute_v1_168721529_831", "problem": "Let $a = 13$. Let $S$ be the set of all positive integers $p$ such that there exists an integer $q$ satisfying $pq = 300$, $\\gcd(p, q) = 1$, and $p < q$. Let $e$ be the largest integer $k$ such that $\\left(\\max S\\right)^k$ divides $197770344305988984840145602058543169130838081^{|S|}$, where $|S|$ denotes the number of elements in $S$. Let $m = 15376$. Compute the value of $a^e \\bmod m$, the remainder when $a^e$ is divided by $m$.", "answer": 6977, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(13),\n \"e\": MaxKDivides(target=Pow(Const(197770344305988984840145602058543169130838081), 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=300)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(18)), IsPrime(Var(\"n\")))))),\n \"m\": Const(15376),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14", "COPRIME_PAIRS/K14"], "recipe_id": "010e54", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:19:05.663960Z", "verification": {"verified": true, "answer": 6977, "timestamp": "2026-02-08T13:19:05.666701Z"}, "problem_hash": "063bef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 4392}, "timestamp": "2026-02-09T09:47:43.145Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 385}, "timestamp": "2026-02-09T22:15:29.526Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "DS2": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "valid"} +{"id": "0e12bd", "alias": "comb_sum_binomial_row_v1_1520064083_4155", "problem": "Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 6$, $13 \\leq t \\leq 53$, and $t = 5a + 3b + 5$. Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq |S|$ and $\\gcd(n, 10) = 1$. Let $p$ be the number of unordered pairs of positive integers $(p, q)$ such that $p \\cdot q = 12$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $p^m \\cdot 44121$ is divided by $72386$.", "answer": 31868, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(72386),\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=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=13)), Leq(left=Var(name='t'), right=Const(value=53)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=5))))))))), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\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=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'))))))), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C4", "COPRIME_PAIRS"], "recipe_id": "97dd6b", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:07:24.394990Z", "verification": {"verified": true, "answer": 31868, "timestamp": "2026-02-08T06:07:24.399266Z"}, "problem_hash": "444bad", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31868, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 3724}, "timestamp": "2026-02-12T20:10:21.922Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 515}, "timestamp": "2026-02-11T23:39:00.651Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C4": "ok_later", "C2": "no", "DS2": "no", "K15": "no", "L3b": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "58eec3", "alias": "comb_sum_binomial_mod_v1_1978505735_6200", "problem": "Let $d$ be a positive divisor of $93587$ such that $1 \\leq d \\leq 299$. Let $S$ be the set of all such divisors $d$. For each $k$ in the range from $65$ to the maximum element of $S$, inclusive, compute the binomial coefficient $\\binom{n}{k}$, where $n$ is the smallest integer at least $2$ that divides $36967549499$. Let $\\Sigma$ be the sum of these binomial coefficients over all such $k$. Find the remainder when $\\Sigma$ is divided by $11863$.", "answer": 11105, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(11863),\n \"sum\": Summation(var=\"k\", start=Const(65), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(299)), Divides(divisor=Var(\"d\"), dividend=Const(93587))))), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_m\")), Divides(divisor=Var(\"d1\"), dividend=Const(36967549499))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_DIVISOR"], "recipe_id": "109545", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.027, "created_at": "2026-02-08T19:28:18.871297Z", "verification": {"verified": true, "answer": 11105, "timestamp": "2026-02-08T19:28:18.898538Z"}, "problem_hash": "f3e7d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 352}, "timestamp": "2026-02-13T01:02:28.351Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "745882", "alias": "comb_sum_binomial_row_v1_1742523217_1291", "problem": "Let $n$ be the sum of all integers $k$ from $\\sum_{d \\mid \\gcd(7,11)} \\mu(d)$ to $5$, inclusive. Let $r$ be the value of $\\left( \\sum_{d \\mid 2} \\phi(d) \\right)^n$. Compute $86436 - r$.", "answer": 53668, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(5), expr=Var(\"k\")),\n \"result\": Pow(SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"_c\": Const(86436),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "K3"], "recipe_id": "d07224", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:35:51.143135Z", "verification": {"verified": true, "answer": 53668, "timestamp": "2026-02-08T03:35:51.145616Z"}, "problem_hash": "fe0c9b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 53668, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 464}, "timestamp": "2026-02-10T06:13:28.533Z"}], "solution_status": 2, "lemma_applicability": {"K3": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "f57b1f", "alias": "diophantine_fbi2_count_v1_1742523217_3906", "problem": "Let $k$ be the sum of the integers from 1 to 15. Let $S$ be the set of all integers $d$ such that $4 \\leq d \\leq 102$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 103$. Let $r$ be the number of elements in $S$. Compute the Bell number $B_r$ modulo 11, that is, the remainder when the $r$-th Bell number is divided by 11.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(102)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(103))))),\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": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC", "C5"], "recipe_id": "9d8cd4", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T06:07:50.461675Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T06:07:50.476054Z"}, "problem_hash": "3f4b93", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 2230}, "timestamp": "2026-02-12T20:06:28.599Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 403}, "timestamp": "2026-02-11T23:38:10.032Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "SUM_ARITHMETIC": "ok", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "9e2a06", "alias": "modular_product_range_v1_2051736721_72", "problem": "Let $P$ be the product of all integers from $17$ to $94$, inclusive. Let $r$ be the remainder when $P$ is divided by $10891$. Let $Q = B_m$, where $B_m$ is the $m$th Bell number and $m$ is the remainder when $|r|$ is divided by $11$. Find the value of $Q$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(17), end=Const(94)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10891)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/LIN_FORM/B3"], "recipe_id": "778ed7", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.028, "created_at": "2026-02-08T15:11:01.443210Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T15:11:01.471014Z"}, "problem_hash": "018321", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 444}, "timestamp": "2026-02-12T07:55:54.925Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "B3": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1bf54a", "alias": "nt_gcd_compute_v1_677425708_3457", "problem": "Let $\\mu(n)$ denote the Möbius function, $\\phi(n)$ denote Euler's totient function, and $\\tau(n)$ denote the number of positive divisors of $n$. Let $r = \\gcd(530904, 995445)$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $m = \\max\\{xy \\mid (x,y) \\in S\\}$. Let $d = \\sum_{k \\mid \\gcd(4, m)} \\mu(k)$. Compute $r + \\phi(|r| + 1) + \\tau(|r| + d)$.", "answer": 98759, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(530904),\n \"b\": Const(995445),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\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=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=MoebiusMu(n=Var(name='d')))))),\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"], "recipe_id": "d77d29", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "arith_invariants", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:44:04.251123Z", "verification": {"verified": true, "answer": 98759, "timestamp": "2026-02-08T05:44:04.254195Z"}, "problem_hash": "c7497c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "ef94ea", "alias": "modular_modexp_compute_v1_784195855_9035", "problem": "Let $A$ be the set of all ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 12$, $1 \\leq b \\leq 5$, and $10 \\leq 4a + 6b \\leq 78$. Let $T$ be the set of all integers $t$ of the form $4a + 6b$ where $(a, b) \\in A$. Let $d$ be the number of positive integers $k \\leq 261393$ that are divisible by the number of elements in $T$. Let $e = d$. Compute $43^e \\bmod 60516$, and let $r$ be this remainder. Then compute $r + \\left(2^r \\bmod 15\\right)$, and find the remainder when this sum is divided by $88559$.", "answer": 33539, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": Const(88559),\n \"a\": Const(43),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(261393)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=12)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=78)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"m\": Const(60516),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Ref(\"_m\"))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2"], "recipe_id": "03e7fc", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:29:04.073677Z", "verification": {"verified": true, "answer": 33539, "timestamp": "2026-02-08T16:29:04.076222Z"}, "problem_hash": "1e6a9e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 298, "completion_tokens": 483}, "timestamp": "2026-02-12T10:50:57.083Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "K16": "no", "K5": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9b8dd1", "alias": "antilemma_cartesian_v1_898971024_1060", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\le a \\le 12$ and $1 \\le b \\le 18$. Compute the value of $10201 - x$.", "answer": 9985, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(18)))),\n \"_c\": Const(10201),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:55:09.671276Z", "verification": {"verified": true, "answer": 9985, "timestamp": "2026-02-08T15:55:09.672577Z"}, "problem_hash": "acd6b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9985, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 145}, "timestamp": "2026-02-12T09:22:48.059Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "5924fe", "alias": "antilemma_cartesian_v1_1520064083_7964", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 38$ and $1 \\le b \\le 47$.\n\nCompute the remainder when $10072 \\cdot x$ is divided by $70911$.", "answer": 48109, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Mod(value=Mul(Const(10072), Ref(\"x\")), modulus=Const(70911)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:23:22.107917Z", "verification": {"verified": true, "answer": 48109, "timestamp": "2026-02-08T09:23:22.108719Z"}, "problem_hash": "a3a391", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48109, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 1018}, "timestamp": "2026-02-14T03:59:21.641Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49099, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 281}, "timestamp": "2026-02-12T02:54:59.834Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0002ba", "alias": "antilemma_cartesian_v1_458359167_5624", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 21, inclusive, and $b$ is an integer from 1 to 39, inclusive. Compute the remainder when $31921 \\cdot x$ is divided by $71942$.", "answer": 28353, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(39)))),\n \"Q\": Mod(value=Mul(Const(31921), Ref(\"x\")), modulus=Const(71942)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:37:39.694156Z", "verification": {"verified": true, "answer": 28353, "timestamp": "2026-02-08T12:37:39.695327Z"}, "problem_hash": "58f5f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 292}, "timestamp": "2026-02-12T05:26:57.515Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e8995d", "alias": "comb_catalan_compute_v1_1978505735_1806", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 2 and $b$ is an integer from 1 to 5. Let $C_n$ denote the $n$-th Catalan number. Find the remainder when $11672 \\cdot C_n$ is divided by 88739.", "answer": 18461, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11672),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(88739)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:24:13.241379Z", "verification": {"verified": true, "answer": 18461, "timestamp": "2026-02-08T16:24:13.243653Z"}, "problem_hash": "bf9267", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 265}, "timestamp": "2026-02-12T10:34:01.327Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a8f13e", "alias": "modular_product_range_v1_1915831931_1822", "problem": "Let $m = \\sum_{k=1}^{10} k$. Let $N$ be the number of integers $t$ such that $22 \\leq t \\leq 1056$ and $t = 8a + 14b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 69$ and $1 \\leq b \\leq 36$. Let $p$ be the product of all integers $i$ from $m$ to the largest prime number less than or equal to $N$. Compute the remainder when $53903 \\cdot p$ is divided by $83664$.", "answer": 76765, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Summation(var=\"k\", start=Const(1), end=Const(10), expr=Var(\"k\")),\n \"_n\": Const(83664),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_m\"), end=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=69)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=36)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=1056)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=14), Var(name='b')))))))))), IsPrime(Var(\"n\")))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11261)),\n \"_c\": Const(53903),\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/MAX_PRIME_BELOW", "SUM_ARITHMETIC/LIN_FORM"], "recipe_id": "e4df57", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:27:57.756764Z", "verification": {"verified": true, "answer": 76765, "timestamp": "2026-02-08T16:27:57.768176Z"}, "problem_hash": "c39090", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 549}, "timestamp": "2026-02-12T10:46:58.474Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cb41bb", "alias": "comb_sum_binomial_mod_v1_677425708_722", "problem": "Let $a$ be the largest integer $k$ such that $29^k$ divides $420707233300201^6$. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 570$. Let $m$ be the number of elements in $S$. Compute the sum $\\sum_{k=a}^{271} \\binom{m}{k}$, and let this sum be $T$. Let $R$ be the remainder when $T$ is divided by $11617$. Compute the sum of the digits of $|R|$, where each digit in position $i$ (starting from the units digit as position $0$) is multiplied by $(i+1)^2$. Add $625$ to this sum and determine the value of the result.", "answer": 698, "graph": "graphs = [\n Graph(\n let={\n \"_n\": MaxKDivides(target=Pow(Const(420707233300201), Const(6)), base=Const(29)),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=Const(271), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(570))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11617)),\n \"_c\": Const(625),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/COMB1"], "recipe_id": "7d0562", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "K14"], "num_lemmas": 2, "generation_time": 0.023, "created_at": "2026-02-08T03:42:20.960402Z", "verification": {"verified": true, "answer": 698, "timestamp": "2026-02-08T03:42:20.983795Z"}, "problem_hash": "966da9", "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": 296, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:59:11.398Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "COMB1": "ok_later", "L3b": "no", "L3c": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "07e727", "alias": "nt_count_intersection_v1_349078426_383", "problem": "Let $N$ be the largest positive divisor of $100070000$ that is at most $10000$. Let $a = 11$ and $b = 15$. Determine the number of positive integers $n$ such that $1 \\le n \\le N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Let this number be $k$. Compute the remainder when $72465 \\cdot k$ is divided by $90269$.", "answer": 30884, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90269),\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(10000)), Divides(divisor=Var(\"d\"), dividend=Const(100070000))))),\n \"a\": Const(11),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(72465),\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"], "recipe_id": "51757e", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.328, "created_at": "2026-02-08T12:59:58.085065Z", "verification": {"verified": true, "answer": 30884, "timestamp": "2026-02-08T12:59:58.413206Z"}, "problem_hash": "aea7ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 675}, "timestamp": "2026-02-12T06:02:23.900Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "af245f", "alias": "antilemma_product_of_sums_v1_1742523217_269", "problem": "Let $S_1$ be the sum of all values of $k$ as $k$ ranges from $1$ to $13$ and $j$ ranges from $1$ to $5$. Let $n$ range over the prime numbers from $2$ to $11$, inclusive. Let $S_2 = \\sum_{k=1}^{\\max n} k$. Define $x = S_1 \\cdot S_2$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 198$. Let $M$ be the maximum value of $xy$ as $(x, y)$ ranges over $T$. Let $Q$ be the remainder when $M - x$ is divided by $89275$. Compute $Q$.", "answer": 69046, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(198),\n \"_n\": Const(2),\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(13)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"x\")), modulus=Const(89275)),\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", "B1", "PRODUCT_OF_SUMS"], "recipe_id": "7582b3", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T02:57:28.378347Z", "verification": {"verified": true, "answer": 69046, "timestamp": "2026-02-08T02:57:28.380677Z"}, "problem_hash": "5b9d68", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 69046, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 3009}, "timestamp": "2026-02-09T15:43:02.788Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 69046, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 1110}, "timestamp": "2026-02-09T01:10:23.564Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "c99992", "alias": "nt_euler_phi_compute_v1_458359167_15", "problem": "Let $c=14$. Let $N$ be the number of integers $n$ with $1\\le n\\le 15$ and $\\gcd(n,c)=1$.\n\nLet $n_2=1$, and let\n$$h=\\sum_{d\\mid n_2} \\mu(d),$$\nwhere $\\mu$ denotes the Möbius function.\n\nConsider the set of all ordered pairs $(x,y)$ of positive integers such that $xy=225$. Let $M$ be the minimum value of $x+y$ over all such pairs $(x,y)$. Let $A$ be the number of integers $n$ with $1\\le n\\le 13937$ such that $N$ divides $n$ and $\\gcd(n,M)=1$.\n\nDefine $n_1 = A\\cdot h$. Let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$ (so $s\\in\\{0,1\\}$).\n\nLet $m=56169$ and define $n = m + s$. Finally, let $Q=\\varphi(n)$, where $\\varphi$ is Euler's totient function.\n\nCompute $Q$.", "answer": 36972, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(14),\n \"_m\": Const(56169),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_c\")), Const(1))))),\n \"n2\": Const(1),\n \"h\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(13937)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(225)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(1))))), Ref(\"h\")),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Ref(\"_m\"), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5/MOBIUS_SUM/DIVISOR_PARITY", "C4/C5/MOBIUS_SUM/DIVISOR_PARITY"], "recipe_id": "0a8d78", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "C4", "C5", "DIVISOR_PARITY", "MOBIUS_SUM"], "num_lemmas": 5, "generation_time": 0.007, "created_at": "2026-02-08T02:57:04.694921Z", "verification": {"verified": true, "answer": 36972, "timestamp": "2026-02-08T02:57:04.701871Z"}, "problem_hash": "656711", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 36972, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 374, "completion_tokens": 2422}, "timestamp": "2026-02-08T21:31:46.843Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "C4": "ok", "C5": "ok_later", "DIVISOR_PARITY": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "f12121", "alias": "antilemma_sum_primes_v1_1116507919_40", "problem": "Let $m = 7744$. Define $S$ to be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $t$ be the minimum value of $x + y$ over all pairs in $S$, and let $s$ be the maximum value of $x + y$ over all such pairs. Compute the sum of all prime numbers $n$ such that $2 \\leq n \\leq s$ and $n \\leq t$.", "answer": 3087, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7744),\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\"), 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\")))))), 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/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "08153d", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T02:24:01.836614Z", "verification": {"verified": true, "answer": 3087, "timestamp": "2026-02-08T02:24:01.848207Z"}, "problem_hash": "fbeb86", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3087, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 3162}, "timestamp": "2026-02-08T18:31:52.834Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3087, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 1503}, "timestamp": "2026-02-09T12:04:39.319Z"}, {"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-09T14:28:40.414Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3087, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 150, "completion_tokens": 1614}, "timestamp": "2026-02-09T14:25:20.271Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "valid"} +{"id": "692f75", "alias": "nt_count_squarefree_v1_1520064083_4432", "problem": "Let $n_1 = 44100$ and let $v = \\tau(n_1) \\bmod 2$, where $\\tau(n_1)$ is the number of positive divisors of $n_1$. Let $p = 43$. Let $d_0$ be the smallest integer $d \\geq 2$ that divides $459572063$, and let $q = d_0 \\cdot v$. Let $n = p \\cdot q$. Let $s = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $u = 54946 \\cdot s$. Compute the number of positive integers $n$ with $1 \\leq n \\leq u$ such that $\\mu(n)^2 = 1$.", "answer": 33409, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(44100),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(43),\n \"q\": Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(459572063))))), Ref(\"v\")),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"s\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Mul(Const(54946), Ref(\"s\")),\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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY/LIOUVILLE_ONE"], "recipe_id": "a49e7c", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 7.583, "created_at": "2026-02-08T06:15:52.979262Z", "verification": {"verified": true, "answer": 33409, "timestamp": "2026-02-08T06:16:00.562053Z"}, "problem_hash": "3a49ad", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no", "V7": "no", "V8": "no"}, "split": "valid"} +{"id": "3bdafa", "alias": "antilemma_cartesian_v1_48377204_2049", "problem": "Compute the number of ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 19$ and $1 \\leq b \\leq 41$.", "answer": 779, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(41)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:34:32.044053Z", "verification": {"verified": true, "answer": 779, "timestamp": "2026-02-08T16:34:32.044742Z"}, "problem_hash": "4075ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 779, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 155}, "timestamp": "2026-02-12T11:00:47.790Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "a3ba23", "alias": "nt_count_digit_sum_v1_898971024_1563", "problem": "Let $N = 9999$. Let $d_{\\text{max}}$ be the largest positive divisor $d$ of $100359963$ such that $d \\leq N$. Let $S$ be the set of all positive integers $n$ such that $n \\leq d_{\\text{max}}$ and the sum of the digits of $n$ is $14$. Let $\\text{result}$ be the number of elements in $S$. Compute the remainder when $16 - \\text{result}$ is divided by $52029$.", "answer": 51505, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9999),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(100359963))))),\n \"target_sum\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"_c\": Const(16),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(52029)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.361, "created_at": "2026-02-08T16:11:47.573025Z", "verification": {"verified": true, "answer": 51505, "timestamp": "2026-02-08T16:11:47.933972Z"}, "problem_hash": "eb51e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 327}, "timestamp": "2026-02-12T10:04:51.937Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "820f89", "alias": "nt_count_divisible_v1_2051736721_418", "problem": "Let $T$ be the number of integers $t$ such that $38 \\leq t \\leq 578$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 16$, $1 \\leq b \\leq 25$, and $t = 12a + 15b + 11$. Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = T$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 46225$ and $n$ is divisible by $s$. Compute the remainder when $87881 \\cdot N$ is divided by 69597.", "answer": 58466, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(87881),\n \"_n\": Const(69597),\n \"upper\": Const(46225),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=25)), Geq(left=Var(name='t'), right=Const(value=38)), Leq(left=Var(name='t'), right=Const(value=578)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=11))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 1.533, "created_at": "2026-02-08T15:24:07.038694Z", "verification": {"verified": true, "answer": 58466, "timestamp": "2026-02-08T15:24:08.572019Z"}, "problem_hash": "04675b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 370}, "timestamp": "2026-02-12T08:19:09.211Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a6daa6", "alias": "antilemma_cartesian_v1_397696148_2156", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 23, inclusive, and $b$ is an integer from 1 to 29, inclusive. Compute $x$.", "answer": 667, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(29)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T12:58:18.113222Z", "verification": {"verified": true, "answer": 667, "timestamp": "2026-02-08T12:58:18.113608Z"}, "problem_hash": "278c82", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 667, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 210}, "timestamp": "2026-02-12T06:00:15.217Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "874989", "alias": "nt_sum_gcd_range_mod_v1_458359167_2862", "problem": "Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 3249$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $Q$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 20736$. Let $k$ be the minimum value of $x + y$ over all such pairs in $Q$. Let $N$ be the number of positive integers $j$ such that $1 \\leq j \\leq s$ and $j^2 \\leq 10556001$. Define $$S = \\sum_{n=1}^{N} \\gcd(n, k).$$ Let $M = 11483$. Compute the remainder when $73365 \\cdot (S \\bmod M)$ is divided by $75038$.", "answer": 7749, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(75038),\n \"_n\": Const(73365),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(3249)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Leq(Pow(Var(\"j\"), Const(2)), Const(10556001))), domain='positive_integers')),\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(11483),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/C3"], "recipe_id": "07e20b", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "C3"], "num_lemmas": 3, "generation_time": 0.595, "created_at": "2026-02-08T06:48:37.944114Z", "verification": {"verified": true, "answer": 7749, "timestamp": "2026-02-08T06:48:38.539401Z"}, "problem_hash": "fe24d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10611, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 3317}, "timestamp": "2026-02-13T04:50:44.736Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 537}, "timestamp": "2026-02-12T00:31:20.650Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "C3": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "bd64eb", "alias": "geo_count_lattice_rect_v1_1520064083_6832", "problem": "Compute the number of lattice points in the rectangle $[0, 333] \\times [0, 206]$.", "answer": 69138, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(333),\n \"b\": Const(206),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T08:22:01.121428Z", "verification": {"verified": true, "answer": 69138, "timestamp": "2026-02-08T08:22:01.121975Z"}, "problem_hash": "85e9ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 69138, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 72, "completion_tokens": 393}, "timestamp": "2026-02-13T17:28:31.315Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 69078, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 130, "completion_tokens": 231}, "timestamp": "2026-02-12T01:48:01.249Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b0c6f4", "alias": "nt_sum_divisors_compute_v1_458359167_1579", "problem": "Compute the sum of all positive divisors of $44444$.", "answer": 79968, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(44444),\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": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "8557b9", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:45:57.248615Z", "verification": {"verified": true, "answer": 79968, "timestamp": "2026-02-08T04:45:57.252677Z"}, "problem_hash": "33931e", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 79968, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 1053}, "timestamp": "2026-02-11T21:52:42.977Z"}, {"id": 8, "model": "mathstral", "answer": 243360, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 71, "completion_tokens": 694}, "timestamp": "2026-02-13T23:19:39.657Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 114752, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 118, "completion_tokens": 357}, "timestamp": "2026-02-11T21:46:00.279Z"}], "solution_status": 1, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_COPRIME": "ok", "K18": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "ef778d", "alias": "nt_count_intersection_v1_1520064083_4226", "problem": "Let $N = 10000$. Consider the set of all positive integers $n$ such that $1 \\le n \\le N$, $5$ divides $n$, and $\\gcd(n, 6) = 1$. Let $k$ be the number of such integers.\n\nLet $r = |k| \\bmod 11$, so $r$ is the remainder when $k$ is divided by 11.\n\nThe Bell number $B_r$ is the number of partitions of a set of $r$ elements. Compute $B_r$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(10000),\n \"a\": Const(5),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": 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": ["SUM_ARITHMETIC/MAX_DIVISOR/MAX_PRIME_BELOW"], "recipe_id": "0838ee", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MAX_DIVISOR", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 8.073, "created_at": "2026-02-08T06:09:00.959694Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T06:09:09.032645Z"}, "problem_hash": "0b3c7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 1085}, "timestamp": "2026-02-12T20:16:17.700Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 430}, "timestamp": "2026-02-11T23:39:38.410Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "MAX_DIVISOR": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e12808", "alias": "antilemma_v7_kummer_168721529_1228", "problem": "Let $m$ be the number of ordered pairs $(p,q)$ of positive integers such that\n\\begin{itemize}\n \\item $pq=18$,\n \\item $\\gcd(p,q)=1$, and\n \\item $p 0$, and $0$ otherwise. Define $\\beta = 1$ if $D = 0$, and $0$ otherwise. Compute $2\\alpha + \\beta$.\n\nFind the value of this expression.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(188)), Divides(divisor=Const(47), dividend=Var(\"k\"))), domain='positive_integers')),\n \"a\": Const(-2),\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(36)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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=4)), Geq(left=Var(name='t'), right=Const(value=25)), Leq(left=Var(name='t'), right=Const(value=74)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=14)))))))),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_m\"), 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": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/LIN_FORM", "B3"], "recipe_id": "a4a5ab", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:33:53.439602Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T16:33:53.450356Z"}, "problem_hash": "21a418", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 361, "completion_tokens": 554}, "timestamp": "2026-02-12T10:57:09.265Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C2": "ok", "LIN_FORM": "ok_later", "COUNT_SUM_EQUALS": "no", "K18": "no", "K5": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "400b8f", "alias": "diophantine_fbi2_min_v1_1874849503_47", "problem": "Let $k = 12$ and $u = 22$. Find the smallest integer $d$ such that $2 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq 5$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(12),\n \"upper\": Const(22),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/DIVISOR_PARITY", "WILSON"], "recipe_id": "36e30d", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LTE_DIFF", "WILSON"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T12:46:31.853498Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T12:46:31.860467Z"}, "problem_hash": "fbe8ea", "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": 168, "completion_tokens": 319}, "timestamp": "2026-02-09T13:33:46.078Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 292}, "timestamp": "2026-02-10T02:08:33.283Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 114, "completion_tokens": 3756}, "timestamp": "2026-02-10T02:46:57.911Z"}], "solution_status": 2, "lemma_applicability": {"LTE_DIFF": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "K15": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "d9ff4e", "alias": "nt_sum_gcd_range_mod_v1_2051736721_1754", "problem": "Let $N$ be the number of positive integers $p$ such that $p < q$, $pq = 312338731512459121470$, and $\\gcd(p, q) = 1$. Let $k$ be the number of positive integers $t$ in the range $7 \\le t \\le 192$ that can be expressed as $t = 4a + 3b$ for some integers $a$ and $b$ with $1 \\le a \\le 30$ and $1 \\le b \\le 24$. Define $s = \\sum_{n=1}^{N} \\gcd(n, k)$. Compute the remainder when $81651 \\cdot (s \\bmod 10267)$ is divided by $95137$.", "answer": 37527, "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=312338731512459121470)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=24)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=192)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"M\": Const(10267),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Const(81651), Ref(\"result\")), modulus=Const(95137)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.093, "created_at": "2026-02-08T16:12:13.708103Z", "verification": {"verified": true, "answer": 37527, "timestamp": "2026-02-08T16:12:13.800612Z"}, "problem_hash": "a37500", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 443}, "timestamp": "2026-02-12T10:06:18.982Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K14": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "015e77", "alias": "nt_euler_phi_compute_v1_124444284_599", "problem": "Let $ A $ be the set of positive integers $ n $ such that $ 1 \\leq n \\leq 4417 $, $ 7 $ divides $ n $, and $ \\gcd(n, 30) = 1 $. Let $ h = 1 $. Define $ n_1 $ as the sum of the number of elements in $ A $ and $ h $. Let $ v = (-1)^{\\Omega(n_1)} $, where $ \\Omega(n_1) $ is the number of prime factors of $ n_1 $ counted with multiplicity. Define $ n = 36100 \\cdot v $. Compute $ \\phi(n) $, Euler's totient function evaluated at $ n $.", "answer": 13680, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36100),\n \"n2\": Const(1),\n \"h\": BigOmega(n=Ref(name='n2')),\n \"n1\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4417)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))), Ref(\"h\")),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_n\"), 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": "C5", "lemma_paths": ["C5/BIG_OMEGA_ZERO/LIOUVILLE_ONE"], "recipe_id": "598642", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C5", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:22:45.733139Z", "verification": {"verified": true, "answer": 13680, "timestamp": "2026-02-08T03:22:45.736734Z"}, "problem_hash": "4b9c17", "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": 260, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:39:21.850Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13680, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1665}, "timestamp": "2026-02-09T03:51:13.949Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "BIG_OMEGA_ZERO": "ok_later", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "4d59cb", "alias": "comb_count_partitions_v1_153355830_1858", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 10$, $1 \\leq j \\leq 10$, and $i + j = 12$. Let $m$ be the number of elements in $S$. Compute the sum $\\sum_{k=1}^{m} k$. Let $p(n)$ denote the number of integer partitions of $n$. Find the value of $p\\left(\\sum_{k=1}^{m} k\\right)$.", "answer": 89134, "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(10)), right=IntegerRange(start=Const(1), end=Const(10))))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/SUM_ARITHMETIC"], "recipe_id": "5ed95e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T06:39:17.689659Z", "verification": {"verified": true, "answer": 89134, "timestamp": "2026-02-08T06:39:17.702461Z"}, "problem_hash": "de2c86", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 89134, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 667}, "timestamp": "2026-02-13T04:29:17.834Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 412}, "timestamp": "2026-02-12T00:29:33.512Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "caa636", "alias": "diophantine_fbi2_count_v1_397696148_2217", "problem": "Let $S$ be the set of all positive integers $x$ and $y$ such that $x + y = 4$. Define $P$ to be the maximum value of $xy$ over all such pairs. Let $T$ be the set of all primes $n$ satisfying $2 \\leq n \\leq 5$, and define $M$ to be the maximum value in $T$. Consider the set of positive integers $d$ such that $P \\leq d \\leq 67$, $d$ divides $720$, and $\\frac{720}{d}$ is an integer satisfying $M \\leq \\frac{720}{d} \\leq 68$. Compute the number of such integers $d$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"k\": Const(720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(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(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Leq(Var(\"d\"), Const(67)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(68))))),\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", "B1"], "recipe_id": "7086d0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T13:00:08.690351Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T13:00:08.699072Z"}, "problem_hash": "8f8493", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 395}, "timestamp": "2026-02-12T06:00:45.741Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "K14": "no", "K17": "no", "K18": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a73711", "alias": "nt_gcd_compute_v1_153355830_2019", "problem": "Let $a = 228494$ and $b = 424346$. Define $d = \\gcd(a, b)$. Let $m = 6$ and $n = 2$. Consider the set of all positive integers $k$ such that $1 \\leq k \\leq \\sum_{j=1}^{m} \\phi(j) \\left\\lfloor \\frac{6}{j} \\right\\rfloor$ and the sum of the decimal digits of $k$ leaves a remainder of $1$ when divided by $n$. Let $c$ be the number of such integers $k$. Define $Q = B_{|d| \\bmod c}$, where $B_k$ denotes the $k$th Bell number. Find the value of $Q$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(2),\n \"a\": Const(228494),\n \"b\": Const(424346),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\")))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/L3B"], "recipe_id": "9396b6", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "L3B"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:51:14.529879Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T06:51:14.531733Z"}, "problem_hash": "c27a40", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 1409}, "timestamp": "2026-02-13T05:18:46.275Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 467}, "timestamp": "2026-02-12T00:34:24.438Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "L3B": "ok_later", "C2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8ac766", "alias": "nt_count_gcd_equals_v1_168721529_151", "problem": "Let $n$ be the largest prime number not exceeding 53. Define $e = \\sum_{d \\mid n} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $k = 464 + e$ and $d = 29$. Let $S$ be the set of all positive integers $n$ not exceeding 38809 such that $\\gcd(n, k) = d$. Let $r$ be the number of elements in $S$. Compute the remainder when $30 - r$ is divided by $71834 \\cdot \\Omega(7)$, where $\\Omega(7)$ is the number of prime factors of 7 counted with multiplicity. Determine the value of this remainder.", "answer": 71195, "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(53)), IsPrime(Var(\"n\"))))),\n \"e\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(7),\n \"h\": BigOmega(n=Ref(name='p')),\n \"upper\": Const(38809),\n \"k\": Sum(Const(464), Ref(\"e\")),\n \"d\": Const(29),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": Const(30),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(71834), Ref(\"h\"))),\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_SUM", "BIG_OMEGA_ONE"], "recipe_id": "5ab3b9", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 5.808, "created_at": "2026-02-08T12:50:45.835423Z", "verification": {"verified": true, "answer": 71195, "timestamp": "2026-02-08T12:50:51.643304Z"}, "problem_hash": "9b36ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 71195, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1644}, "timestamp": "2026-02-08T21:06:41.774Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 71195, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 209, "completion_tokens": 434}, "timestamp": "2026-02-09T13:57:26.331Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71195, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 1636}, "timestamp": "2026-02-10T00:32:05.139Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.04, "hi": -2.09}, "split": "valid"} +{"id": "10bb75", "alias": "comb_sum_binomial_mod_v1_1520064083_7599", "problem": "Let $c = 2$. Let $m$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 49$, where $1 \\leq i \\leq 48$ and $1 \\leq j \\leq 49$. Let $n = 11587$.\n\nFor each integer $k$ from 13 to 79 inclusive and each integer $\\_j$ from 1 to 8 inclusive, define the value\n\\[\n\\binom{d_{\\text{min}}}{k},\n\\]\nwhere $d_{\\text{min}}$ is the smallest integer $d \\geq c$ that divides 518003.\n\nLet $S$ be the sum of $\\binom{d_{\\text{min}}}{k}$ over all such $k$ and $\\_j$. Compute the value of\n\\[\n\\frac{6 \\cdot S}{m}.\n\\]\nFind the remainder when this value is divided by 11587.", "answer": 6293, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(49)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(48)), right=IntegerRange(start=Const(1), end=Const(49))))),\n \"_n\": Const(11587),\n \"sum\": Div(Mul(Const(6), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(13), end=Const(79)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Binom(n=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(518003))))), k=Var(\"k\"))))), Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/MIN_PRIME_FACTOR/SUM_INDEPENDENT"], "recipe_id": "8750b9", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T09:10:46.907368Z", "verification": {"verified": true, "answer": 6293, "timestamp": "2026-02-08T09:10:46.922276Z"}, "problem_hash": "1cdfa2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 7459}, "timestamp": "2026-02-14T01:36:53.632Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 320, "completion_tokens": 413}, "timestamp": "2026-02-12T02:39:23.135Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "MIN_PRIME_FACTOR": "ok_later", "SUM_INDEPENDENT": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "305b3e", "alias": "comb_sum_binomial_row_v1_124444284_9089", "problem": "Let $m = 10$. Let $a = \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Define $S$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq m$ and $n$ is divisible by $a$. Let $t$ be the number of elements in $S$. Now, let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Compute $|P|^t$, where $|P|$ denotes the number of elements in $P$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\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=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'))))))), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/SUM_DIVISIBLE", "COPRIME_PAIRS"], "recipe_id": "38ebff", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T12:12:30.714658Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T12:12:30.720224Z"}, "problem_hash": "c84496", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 1674}, "timestamp": "2026-02-14T23:21:16.603Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 447}, "timestamp": "2026-02-12T05:02:50.699Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K2": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "5a431d", "alias": "geo_visible_lattice_v1_898971024_1617", "problem": "Let $n = 128$. Define $R$ to be the number of lattice points $(x, y)$ such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the value of $\\sum_{k=1}^{|R|} \\tau(k)$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 94086, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(128),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Summation(var=\"n1\", start=Div(Const(91), Const(91)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.405, "created_at": "2026-02-08T16:12:41.177933Z", "verification": {"verified": true, "answer": 94086, "timestamp": "2026-02-08T16:12:41.582985Z"}, "problem_hash": "1a146c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 533}, "timestamp": "2026-02-12T10:11:51.278Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d12edb", "alias": "antilemma_cartesian_v1_1439011603_347", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 14$ and $1 \\leq j \\leq 20$. Compute $81225 - x$.", "answer": 80945, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(20)))),\n \"Q\": Sub(Const(81225), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:25:28.653565Z", "verification": {"verified": true, "answer": 80945, "timestamp": "2026-02-08T15:25:28.654480Z"}, "problem_hash": "eaa79c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 80945, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 134}, "timestamp": "2026-02-12T08:27:58.080Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "f2c668", "alias": "nt_count_divisors_in_range_v1_458359167_4163", "problem": "Let $c = 29$ and $m = 2$. Let $p$ be a positive integer such that there exists a positive integer $q$ satisfying $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_0$ be the number of such values of $p$. Let $n = 110880$ and let $a$ be the largest prime number at most $\\max\\{2 \\le k \\le c \\mid k \\text{ is prime}\\}$ that is at least $n_0$. Let $b = 11096$. Compute the number of positive divisors $d$ of $n$ such that $a \\le d \\le b$.", "answer": 114, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(29),\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=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": Const(110880),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), 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\")))))), IsPrime(Var(\"n\"))))),\n \"b\": Const(11096),\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": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "5bbe0a", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.15, "created_at": "2026-02-08T11:35:46.723822Z", "verification": {"verified": true, "answer": 114, "timestamp": "2026-02-08T11:35:46.873609Z"}, "problem_hash": "254fd5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 114, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 3142}, "timestamp": "2026-02-14T16:32:53.989Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 454}, "timestamp": "2026-02-12T04:20:50.802Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "K13": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6eb61f", "alias": "nt_count_intersection_v1_168721529_2089", "problem": "Let $p_1 = 61$, $q_1 = 83$, and $n_1 = p_1 q_1$. Let $w$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $p = 23$, $q = 79$, and $n = p q$. Define $e = (-1)^{\\Omega(n)}$, where $\\Omega(n)$ is the total number of prime factors of $n$ counted with multiplicity. Let $N = 5000$, $a = 9 + w$, and $b = e \\cdot s$, where $s$ is the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $x y = 49$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$.", "answer": 238, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(61),\n \"q1\": Const(83),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(23),\n \"q\": Const(79),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"N\": Const(5000),\n \"a\": Sum(Const(9), Ref(\"w\")),\n \"b\": 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(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"e\")),\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": "B3", "lemma_paths": ["B3/LIOUVILLE_ONE", "DIVISOR_PARITY"], "recipe_id": "2de1bf", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 2.665, "created_at": "2026-02-08T14:07:00.642445Z", "verification": {"verified": true, "answer": 238, "timestamp": "2026-02-08T14:07:03.307254Z"}, "problem_hash": "3c05bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 238, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 321, "completion_tokens": 2301}, "timestamp": "2026-02-10T01:58:17.390Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "DIVISOR_PARITY": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K14": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "c92bd8", "alias": "diophantine_fbi2_min_v1_865884756_5738", "problem": "Let $A$ be the set of integers $t$ with $9 \\leq t \\leq 39$ for which there exist positive integers $a$, $b$ such that $1 \\leq a \\leq 9$, $1 \\leq b \\leq 3$, and $t = 2a + 7b$. Let $N = |A|$.\\n\\nLet $B$ be the set of positive integers $n$ such that $1 \\leq n \\leq N$ and $n \\equiv 0 \\pmod{25}$.\\n\\nLet $U$ be the sum of all elements in $B$.\\n\\nNow, let $D$ be the set of integers $d$ such that $3 \\leq d \\leq U$, $d$ divides $15$, and $\\frac{15}{d} \\geq 2$.\\n\\nCompute the smallest element of $D$.\\n\\nFind the value of this minimum.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(15),\n \"upper\": 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=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=39)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))), Eq(Mod(value=Var(\"n\"), modulus=Const(25)), Const(0))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE"], "recipe_id": "a67711", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T18:46:04.581726Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T18:46:04.590368Z"}, "problem_hash": "55e571", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 314, "completion_tokens": 359}, "timestamp": "2026-02-13T00:30:23.114Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "08cce1", "alias": "nt_min_phi_inverse_v1_1520064083_4375", "problem": "Let $k = 18$. Consider the set of all positive integers $n$ such that $1 \\le n \\le 60$ and $\\phi(n) = k$, where $\\phi$ denotes Euler's totient function. Let $m$ be the smallest element of this set. Compute the Bell number $B_m$, and then find the remainder when $B_m$ is divided by $11$. Determine the value of this remainder.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60),\n \"k\": Const(18),\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\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "SUM_DIVISIBLE", "MAX_VAL"], "recipe_id": "d5198f", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.07, "created_at": "2026-02-08T06:14:47.334680Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T06:14:47.404228Z"}, "problem_hash": "93da28", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 7937}, "timestamp": "2026-02-12T22:07:10.298Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 427}, "timestamp": "2026-02-11T23:50:08.847Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok", "K16": "same_pattern_wrong", "COUNT_PRIMES": "no", "K13": "no", "K14": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "a039c2", "alias": "sequence_count_fib_divisible_v1_717093673_3546", "problem": "Let $S$ be the set of all positive integers $t$ such that $8 \\leq t \\leq 392$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 34$, $1 \\leq b \\leq 74$, and $t = 5a + 3b$. Let $u$ be the number of elements in $S$. Define $d$ to be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 16$. Let $N$ be the number of positive integers $n_1$ with $1 \\leq n_1 \\leq u$ such that $d$ divides the $n_1$-th Fibonacci number. Compute $N$.", "answer": 62, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": 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=34)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=74)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=392)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"d\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(16)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.141, "created_at": "2026-02-08T17:40:54.348303Z", "verification": {"verified": true, "answer": 62, "timestamp": "2026-02-08T17:40:54.489140Z"}, "problem_hash": "40506a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 566}, "timestamp": "2026-02-12T22:58:28.749Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "008bcc", "alias": "nt_count_divisible_v1_677425708_3032", "problem": "Let $n_0=1$, and let $e$ be the number of distinct prime factors of $n_0$.\n\nLet $D$ be the smallest integer $d\\ge 2$ such that $d$ divides $221$, and define $p=D+e$. Let $u$ be the number of prime factors of $p$, counted with multiplicity.\n\nLet $U=44444$ and let $k=6$. Let $R$ be the number of integers $n$ such that\n\\[\n\\varphi(2) \\le n \\le U \\quad\\text{and}\\quad n\\equiv 0 \\pmod{k},\n\\]\nwhere $\\varphi$ is Euler's totient function.\n\nDefine\n\\[\nQ \\equiv 44121\\cdot R \\pmod{84383\\cdot u},\n\\]\nwith $0\\le Q<84383u$.\n\nFind the value of $Q$.", "answer": 73271, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n')),\n \"p\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(221))))), Ref(\"e\")),\n \"u\": BigOmega(n=Ref(name='p')),\n \"upper\": Const(44444),\n \"divisor\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Const(84383), Ref(\"u\"))),\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/OMEGA_ZERO/BIG_OMEGA_ONE", "ONE_PHI_2"], "recipe_id": "dfcea3", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "OMEGA_ZERO", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 1.401, "created_at": "2026-02-08T05:26:31.529132Z", "verification": {"verified": true, "answer": 73271, "timestamp": "2026-02-08T05:26:32.930300Z"}, "problem_hash": "b36c44", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "BIG_OMEGA_ONE": "ok_later", "OMEGA_ZERO": "ok_later", "K14": "no", "K16": "no", "K5": "no", "L3c": "no", "V7": "no"}, "split": "valid"} +{"id": "84f7ed", "alias": "antilemma_cartesian_v1_784195855_6811", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer between 1 and 10, inclusive, and $b$ is an integer between 1 and 25, inclusive. Compute the remainder when $19157 \\cdot x$ is divided by $53809$.", "answer": 249, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"_c\": Const(19157),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(53809)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:52:56.390498Z", "verification": {"verified": true, "answer": 249, "timestamp": "2026-02-08T08:52:56.391089Z"}, "problem_hash": "828e1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 249, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 111, "completion_tokens": 560}, "timestamp": "2026-02-13T22:17:10.326Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10999, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 250}, "timestamp": "2026-02-12T02:17:37.781Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "45db31", "alias": "nt_count_divisors_in_range_v1_151522320_2445", "problem": "Let $n = 10080$. Let $a$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 5$ such that $i + j = 5$. Let $b$ be the sum of all real solutions $x$ to the equation $x^2 - 1125x - 63666 = 0$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 61, "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(10))))),\n \"n\": Const(10080),\n \"a\": 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(4)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1125), Var(\"x\")), Const(-63666)), Const(0)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS", "VIETA_SUM"], "recipe_id": "7686de", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "COUNT_SUM_EQUALS", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 24.054, "created_at": "2026-02-08T04:48:50.234967Z", "verification": {"verified": true, "answer": 61, "timestamp": "2026-02-08T04:49:14.289414Z"}, "problem_hash": "bdb690", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 61, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 2181}, "timestamp": "2026-02-11T22:07:13.244Z"}, {"id": 8, "model": "mathstral", "answer": 18, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 504}, "timestamp": "2026-02-14T01:08:57.993Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 485}, "timestamp": "2026-02-11T21:54:22.737Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "VIETA_SUM": "ok", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K18": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "d07dd4", "alias": "modular_modexp_compute_v1_2051736721_3759", "problem": "Let $a = 13$. Let $e$ be the largest positive integer $d$ such that $d \\leq 888$ and $d$ divides $805416$. Let $m = 31329$ and define $r = a^e \\bmod m$. Let $Q$ be the remainder when the product of $r$ and the smallest positive integer $d_1 \\geq 2$ that divides $94129376190257$ is divided by $74273$. Compute $Q$.", "answer": 53751, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74273),\n \"_n\": Const(2),\n \"a\": Const(13),\n \"e\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(888)), Divides(divisor=Var(\"d\"), dividend=Const(805416))))),\n \"m\": Const(31329),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Mul(MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=Const(94129376190257))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_DIVISOR"], "recipe_id": "b756be", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:31:21.051164Z", "verification": {"verified": true, "answer": 53751, "timestamp": "2026-02-08T17:31:21.054324Z"}, "problem_hash": "cc798f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 410}, "timestamp": "2026-02-12T22:40:28.987Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K17": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4547c9", "alias": "nt_count_primes_v1_784195855_4862", "problem": "Let $A$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 29241$. Let $B$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 100$. Let\n$$\nc = \\sum_{k=1}^{8} \\phi(k) \\left\\lfloor \\frac{8}{k} \\right\\rfloor,\n$$\nwhere $\\phi(k)$ denotes Euler's totient function. Define\n$$\nQ = \\left( 353702 \\cdot (A \\bmod B) + 329703 \\cdot (A^2 \\bmod 1) + 215534 \\cdot (A \\bmod c) \\right) \\bmod 1009091.\n$$\nCompute the remainder when $Q$ is divided by $52784$.", "answer": 32304, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8),\n \"_n\": Const(103),\n \"upper\": Const(29241),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(8), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(100)), IsPrime(Var(\"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(\"_n\")))), modulus=Const(1009091)), modulus=Const(52784)),\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", "K2"], "recipe_id": "631f7b", "seed_template_id": "nt_count_primes_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.683, "created_at": "2026-02-08T07:26:36.783453Z", "verification": {"verified": true, "answer": 32304, "timestamp": "2026-02-08T07:26:37.466575Z"}, "problem_hash": "1622ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25429, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 3177}, "timestamp": "2026-02-13T10:33:51.957Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 669}, "timestamp": "2026-02-12T01:05:12.157Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "dd4c1e", "alias": "comb_catalan_compute_v1_397696148_2139", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 10$, $1 \\leq j \\leq 11$, and $i + j = 12$. Let $r = C_n$ be the $n$-th Catalan number. Let $S$ be the set of all integers $t$ with $15 \\leq t \\leq 51$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, and $t = 9a + 6b$. Let $m = |S|$ be the number of elements in $S$. Compute the remainder when the Bell number $B_{r \\bmod m}$ is divided by $68603$.", "answer": 47372, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(68603),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=51)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_SUM_EQUALS"], "recipe_id": "ca8181", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T12:58:09.819082Z", "verification": {"verified": true, "answer": 47372, "timestamp": "2026-02-08T12:58:09.830644Z"}, "problem_hash": "68af00", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 480}, "timestamp": "2026-02-12T06:00:10.200Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c3ad06", "alias": "nt_sum_divisors_mod_v1_1248542787_359", "problem": "Let $m = 80923$ and $n = 33$. Let $k$ be the number of positive integers $k$ such that $k$ is divisible by $n$ and $1 \\leq k \\leq \\pi(m)$, where $\\pi(m)$ is the number of prime numbers less than or equal to $m$.\n\nLet $\\sigma$ be the sum of all positive divisors of $k$. Define $M = 11261$ and let $\\text{result} = \\sigma \\bmod M$.\n\nCompute the value of $\\text{result}$.", "answer": 744, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80923),\n \"_n\": Const(33),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"M\": Const(11261),\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": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/C2"], "recipe_id": "14681d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:05:00.880873Z", "verification": {"verified": true, "answer": 744, "timestamp": "2026-02-08T03:05:00.886802Z"}, "problem_hash": "8267f1", "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": 238, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:18:04.367Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 744, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 2556}, "timestamp": "2026-02-09T15:29:30.344Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:07:02.981Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 418}, "timestamp": "2026-02-11T14:05:16.745Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 334}, "timestamp": "2026-02-11T20:16:44.790Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "05d296", "alias": "modular_mod_compute_v1_1742523217_511", "problem": "Let $a = -89401$ and $n = 3333$. Let $m$ be the largest positive integer $d$ such that $1 \\le d \\le n$ and $d$ divides 11142219. Let $r$ be the remainder when $a$ is divided by $m$. Compute the remainder when $14153 \\cdot r$ is divided by 78490. Find the value of this remainder.", "answer": 30330, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3333),\n \"a\": Const(-89401),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11142219))))),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Const(14153), Ref(\"result\")), modulus=Const(78490)),\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"], "recipe_id": "51757e", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T03:04:59.980217Z", "verification": {"verified": true, "answer": 30330, "timestamp": "2026-02-08T03:04:59.984797Z"}, "problem_hash": "08083f", "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": 202, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:57:47.993Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30330, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 206, "completion_tokens": 2498}, "timestamp": "2026-02-09T03:55:10.619Z"}, {"id": 8, "model": "mathstral", "answer": 1399, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 823}, "timestamp": "2026-02-11T14:01:44.574Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 525}, "timestamp": "2026-02-11T20:16:19.082Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "641cec", "alias": "antilemma_cartesian_v1_2051736721_4530", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 22$ and $1 \\leq j \\leq 33$. Compute the remainder when $$353702 \\cdot |x| \\bmod 97 + 329703 \\cdot (|x|^2 + 1) \\bmod 101 + 215534 \\cdot (|x| + 24) \\bmod 103$$ is divided by $53511$. Note: $a \\bmod m$ denotes the remainder when $a$ is divided by $m$, with $0 \\leq a \\bmod m < m$.", "answer": 44539, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(33)))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(24)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(53511)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:01:58.719051Z", "verification": {"verified": true, "answer": 44539, "timestamp": "2026-02-08T18:01:58.720473Z"}, "problem_hash": "325d23", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 388}, "timestamp": "2026-02-12T23:35:10.097Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "515271", "alias": "diophantine_product_count_v1_865884756_5476", "problem": "Let $k$ be the largest positive divisor $d$ of $60240$ such that $1 \\le d \\le 240$. Let the upper bound be $104$. Define $r$ to be the number of positive integers $x$ such that $1 \\le x \\le 104$, $x$ divides $k$, and $\\frac{k}{x} \\le 104$. Let $Q$ be the remainder when $67027 \\times r$ is divided by $83130$. Find the value of $Q$.", "answer": 74872, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60240),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(240)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"upper\": Const(104),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(67027),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83130)),\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"], "recipe_id": "51757e", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T18:37:56.189292Z", "verification": {"verified": true, "answer": 74872, "timestamp": "2026-02-08T18:37:56.204579Z"}, "problem_hash": "e1268c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 381}, "timestamp": "2026-02-13T00:18:44.886Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3338e3", "alias": "nt_sum_divisors_mod_v1_2051736721_2249", "problem": "Let $n$ be the largest positive divisor of $2850960$ that is at most $1680$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Find the remainder when $\\sigma(n)$ is divided by $10289$.", "answer": 5952, "graph": "graphs = [\n Graph(\n let={\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1680)), Divides(divisor=Var(\"d\"), dividend=Const(2850960))))),\n \"M\": Const(10289),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:32:56.607513Z", "verification": {"verified": true, "answer": 5952, "timestamp": "2026-02-08T16:32:56.610266Z"}, "problem_hash": "2257a0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 572}, "timestamp": "2026-02-12T10:55:55.092Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K18": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "037087", "alias": "nt_sum_totient_over_divisors_v1_168721529_636", "problem": "Let $n = 64160$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function.", "answer": 64160, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(64160),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SQUAREFREE", "LTE_DIFF/MOBIUS_SQUAREFREE", "LIN_FORM/MOBIUS_SQUAREFREE", "WILSON"], "recipe_id": "b1680b", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "LTE_DIFF", "MOBIUS_SQUAREFREE", "WILSON"], "num_lemmas": 5, "generation_time": 0.063, "created_at": "2026-02-08T13:10:13.377538Z", "verification": {"verified": true, "answer": 64160, "timestamp": "2026-02-08T13:10:13.440604Z"}, "problem_hash": "92a0e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 64160, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 491}, "timestamp": "2026-02-09T07:15:27.747Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 64160, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 96, "completion_tokens": 248}, "timestamp": "2026-02-09T19:35:58.016Z"}, {"id": 8, "model": "mathstral", "answer": 1008, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 1251}, "timestamp": "2026-02-11T21:11:26.683Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 64160, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 426}, "timestamp": "2026-02-11T21:08:44.293Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "LTE_DIFF": "ok", "WILSON": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K16": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.52, "hi": -5.87}, "split": "valid"} +{"id": "635e54", "alias": "nt_count_coprime_v1_1978505735_4526", "problem": "Let $m = 2$ and $n = 2$. Define $k$ to be the number of prime numbers $p$ such that $p \\geq n$ and $p \\leq d$, where $d$ is the smallest divisor of $350852148079$ that is at least $m$. Let $S$ be the set of positive integers $n_1$ such that $1 \\leq n_1 \\leq 16384$ and $\\gcd(n_1, k) = 1$. Compute the number of elements in $S$.", "answer": 7836, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"upper\": Const(16384),\n \"k\": 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\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(350852148079)))))), IsPrime(Var(\"n\"))))),\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(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.207, "created_at": "2026-02-08T18:18:19.834500Z", "verification": {"verified": true, "answer": 7836, "timestamp": "2026-02-08T18:18:21.041152Z"}, "problem_hash": "897a8f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 463}, "timestamp": "2026-02-13T00:00:05.569Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "DS2": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f8fce7", "alias": "nt_sum_divisors_compute_v1_865884756_1581", "problem": "Let $n = 21317$. Compute the sum of all positive divisors of $n$.", "answer": 21318, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(21317),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/DIVISOR_PARITY/EULER_TOTIENT_SUM"], "recipe_id": "064c83", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["DIVISOR_PARITY", "EULER_TOTIENT_SUM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T16:09:42.378733Z", "verification": {"verified": true, "answer": 21318, "timestamp": "2026-02-08T16:09:42.383496Z"}, "problem_hash": "17a4ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 21318, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 138}, "timestamp": "2026-02-12T09:57:54.537Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "DIVISOR_PARITY": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "K16": "no", "K18": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "8b3b8c", "alias": "comb_catalan_compute_v1_1470522791_223", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ such that $1 \\le i \\le 2$ and $1 \\le j \\le 5$. Let $C_n$ denote the $n$-th Catalan number. Compute the remainder when $44121 \\cdot C_n$ is divided by $97817$.", "answer": 92541, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97817),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), 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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.015, "created_at": "2026-02-08T12:54:50.533119Z", "verification": {"verified": true, "answer": 92541, "timestamp": "2026-02-08T12:54:50.548183Z"}, "problem_hash": "1b7aac", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 307}, "timestamp": "2026-02-12T05:53:31.644Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a94b59", "alias": "antilemma_cartesian_v1_1978505735_2761", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ such that $1 \\leq i \\leq 16$ and $1 \\leq j \\leq 18$. Let $x$ be the number of elements in $S$. Compute the remainder when $35848x$ is divided by $75993$.", "answer": 65169, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(18)))),\n \"Q\": Mod(value=Mul(Const(35848), Ref(\"x\")), modulus=Const(75993)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:09:31.325998Z", "verification": {"verified": true, "answer": 65169, "timestamp": "2026-02-08T17:09:31.327314Z"}, "problem_hash": "f6876a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 231}, "timestamp": "2026-02-12T21:55:23.352Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7e7967", "alias": "modular_min_modexp_v1_1978505735_2001", "problem": "Let $a = 2$. Define $\\mathcal{T}$ to be the set of all integers $t$ such that $24 \\leq t \\leq 412$ and there exist positive integers $a'$ and $b$ with $1 \\leq a' \\leq 13$, $1 \\leq b \\leq 23$, and $t = 14a' + 10b$. Let $b$ be the number of elements in $\\mathcal{T}$.\n\nLet $m$ be the smallest divisor of $4064005507$ that is greater than $1$. Let $\\mathcal{X}$ be the set of all positive integers $x$ such that $1 \\leq x \\leq 50$ and $2^x \\equiv b \\pmod{m}$. Let $r$ be the smallest element in $\\mathcal{X}$.\n\nLet $P$ be the maximum value of $x_1 y$ over all ordered pairs of positive integers $(x_1, y)$ such that $x_1 + y = 112$. Compute $P - r$.", "answer": 3099, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(112),\n \"a\": Const(2),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=23)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=412)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4064005507))))),\n \"upper\": Const(50),\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\": 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\")), Ref(\"_n\")))), expr=Mul(Var(\"x1\"), Var(\"y\")))),\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": "B1", "lemma_paths": ["B1", "MIN_PRIME_FACTOR", "LIN_FORM"], "recipe_id": "461053", "seed_template_id": "modular_min_modexp_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T16:36:22.378732Z", "verification": {"verified": true, "answer": 3099, "timestamp": "2026-02-08T16:36:22.390228Z"}, "problem_hash": "83219b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 601}, "timestamp": "2026-02-12T11:00:33.129Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "91df5a", "alias": "nt_count_gcd_equals_v1_168721529_1261", "problem": "Let $m = 178$. Define $f(d) = \\varphi(d)$ for each positive divisor $d$ of $m$, and let $n = \\sum_{d \\mid m} f(d)$. Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = n$, and let $M$ be the maximum value of $xy$ over all such pairs. Let $k$ be the number of integers $t$ with $10 \\leq t \\leq 826$ such that there exist positive integers $a \\leq 73$ and $b \\leq 97$ satisfying $t = 6a + 4b$. Compute the number of positive integers $n \\leq M$ such that $\\gcd(n, k) = 1$.", "answer": 7006, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(178),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\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(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=73)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=97)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=826)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["K3/B1", "LIN_FORM"], "recipe_id": "757f23", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "K3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 2.16, "created_at": "2026-02-08T13:33:20.253414Z", "verification": {"verified": true, "answer": 7006, "timestamp": "2026-02-08T13:33:22.413437Z"}, "problem_hash": "b14a65", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7902, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 2995}, "timestamp": "2026-02-09T15:04:01.592Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7006, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 288, "completion_tokens": 4666}, "timestamp": "2026-02-11T07:51:02.317Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 3728, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 530}, "timestamp": "2026-02-10T04:31:49.956Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 438}, "timestamp": "2026-02-12T07:00:36.745Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.28, "mid": 1.1, "hi": 4.69}, "split": "valid"} +{"id": "d3c05b", "alias": "comb_binomial_compute_v1_2080023795_26", "problem": "Let $m=2$. Let $n_0$ be the smallest integer $d$ such that $d \\ge m$ and $d$ divides $875$.\n\nConsider all integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1 \\le a \\le 21, \\quad 1 \\le b \\le 135, \\quad 36 \\le t \\le 1944, \\quad t = 15a + 12b + 9.\\]\nLet $C$ be the number of such integers $t$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy = C$. For each such pair, form the sum $x+y$. Let $M$ be the minimum value of $x+y$ over all such pairs.\n\nLet $e$ be the largest integer such that $n_0^{e}$ divides $M!$. Let $n = e$. Let $k = 5$, and define\n$$R = \\binom{n}{k}.$$\n\nCompute $R$.", "answer": 792, "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(875))))),\n \"n\": 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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=135)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=1944)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=12), Var(name='b')), Const(value=9))))))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Ref(\"_n\")),\n \"k\": Const(5),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3/V1", "MIN_PRIME_FACTOR/V1"], "recipe_id": "6848a6", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T11:30:15.835604Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T11:30:15.840510Z"}, "problem_hash": "57e193", "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": 338, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:37:12.787Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 745395651, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 4679}, "timestamp": "2026-02-10T04:02:36.857Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1287, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 612}, "timestamp": "2026-02-09T08:59:05.939Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 792, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 4355}, "timestamp": "2026-02-09T19:18:06.898Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "B3": "ok_later", "V1": "ok_later", "K15": "no", "K17": "no", "L3c": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.04, "mid": 2.79, "hi": 5.99}, "split": "valid"} +{"id": "bba8b3", "alias": "nt_count_intersection_v1_1520064083_5749", "problem": "Let $N=100000$. Let $a=5$ and $b=22$. Let $Q$ be the number of integers $n$ with $1\\le n\\le N$ such that $a$ divides $n$ and $\\gcd(n,b)=1$. Compute $Q$.", "answer": 9091, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(100000),\n \"a\": Const(5),\n \"b\": Const(22),\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": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/C3/B3", "B1"], "recipe_id": "4558f2", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "B3", "C3", "LTE_DIFF_P2"], "num_lemmas": 4, "generation_time": 12.045, "created_at": "2026-02-08T07:35:06.980501Z", "verification": {"verified": true, "answer": 9091, "timestamp": "2026-02-08T07:35:19.025743Z"}, "problem_hash": "184556", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9091, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 109, "completion_tokens": 1128}, "timestamp": "2026-02-13T11:07:33.098Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16364, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 445}, "timestamp": "2026-02-12T01:09:13.849Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "LTE_DIFF_P2": "ok", "B3": "ok_later", "C3": "ok_later", "K15": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "eb7f72", "alias": "comb_factorial_compute_v1_784195855_6687", "problem": "Let $A$ be the set of all nonnegative integers $j$ such that $0 \\le j \\le 1036$ and $\\binom{N}{j}$ is odd, where $N$ is the number of integers $t$ in the range $10 \\le t \\le 1057$ for which there exist positive integers $a \\le 19$ and $b \\le 308$ such that $t = 7a + 3b$. Let $n$ be the largest prime number that is at least 2 and at most the number of elements in $A$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\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(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(1036)), Eq(Mod(value=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=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=308)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=1057)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers'))), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/V8/MAX_PRIME_BELOW"], "recipe_id": "c7fe2d", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "V8"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T08:47:07.333074Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T08:47:07.336966Z"}, "problem_hash": "919bc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 4971}, "timestamp": "2026-02-13T21:56:13.569Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 556}, "timestamp": "2026-02-12T02:14:46.182Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "V8": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8f7d78", "alias": "nt_num_divisors_compute_v1_1978505735_8080", "problem": "Let $n = 49$. Compute the number of positive divisors of $n$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(49),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T20:38:57.526066Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T20:38:57.547212Z"}, "problem_hash": "ceb366", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 144}, "timestamp": "2026-02-13T01:26:25.732Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "8e8a58", "alias": "nt_count_gcd_equals_v1_1915831931_3432", "problem": "Let $S$ be the set of all ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 312$, $1 \\leq b \\leq 687$, and let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 13113$ and $t = 9a + 15b$ for some such pair $(a, b)$. Let $N$ be the number of elements in $T$. Now, consider all ordered pairs $(x, y)$ of positive integers such that $xy = N$. Let $k$ be the minimum possible value of $x + y$ over all such pairs. Let $d = 11$. Define $R$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 24649$ and $\\gcd(n, k) = d$. Compute the remainder when $52975 \\cdot R$ is divided by $99807$.", "answer": 48753, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52975),\n \"upper\": Const(24649),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=312)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=687)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=13113)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": 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\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(99807)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 1.985, "created_at": "2026-02-08T17:39:45.778243Z", "verification": {"verified": true, "answer": 48753, "timestamp": "2026-02-08T17:39:47.762922Z"}, "problem_hash": "7a553f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 499}, "timestamp": "2026-02-12T22:55:10.775Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ab1e2c", "alias": "nt_sum_divisors_range_v1_153355830_1919", "problem": "Let $M=55253$ and $r=2$. Let $U$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that\n$$x+y=160.$$\nLet\n$$R=\\sum_{n=1}^{U} d(n),$$\nwhere $d(n)$ denotes the number of positive divisors of $n$.\n\nLet $T$ be the number of integers $n$ with $1\\le n\\le 2550$ such that $10$ divides the $n$th Fibonacci number. Let $V$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that\n$$x+y=T.$$\nLet\n$$W=\\sum_{d\\mid V} \\varphi(d),$$\nwhere the sum is taken over all positive divisors $d$ of $V$, and $\\varphi$ is Euler's totient function.\n\nDefine\n$$Q\\equiv R^{r}+27R+W\\pmod{M},$$\nwhere $0\\le Q p$ and $\\gcd(p, q) = 1$. Let $T$ be the set of all prime numbers $n$ such that $s \\le n \\le 310$. Let $t$ be the largest element of $T$. Compute the remainder when $2003r + r$ is divided by $55594$, where the second $r$ is taken modulo $317$.", "answer": 40767, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(268),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(12), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11161)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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\"), Const(310)), IsPrime(Var(\"n\")))))), Mul(Const(2003), Mod(value=Ref(\"result\"), modulus=Const(317)))), modulus=Const(55594)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "9e60b9", "seed_template_id": "modular_product_range_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T03:43:02.846615Z", "verification": {"verified": true, "answer": 40767, "timestamp": "2026-02-08T03:43:02.855115Z"}, "problem_hash": "03dcdf", "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": 255, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:28:03.702Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:12:57.166Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 8192}, "timestamp": "2026-02-11T17:30:27.365Z"}, {"id": 8, "model": "mathstral", "answer": 2004, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 1095}, "timestamp": "2026-02-12T22:34:00.088Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 472}, "timestamp": "2026-02-11T21:07:33.011Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "K5": "no", "L3b": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "b6fdd0", "alias": "nt_lcm_compute_v1_48377204_1392", "problem": "Let $n = 1219$. Define $a$ to be the largest positive integer $d$ such that $1 \\leq d \\leq n$ and $d$ divides $1500589$. Let $b = 2756$. Compute the least common multiple of $a$ and $b$.", "answer": 63388, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1219),\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=Const(1500589))))),\n \"b\": Const(2756),\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": "MOBIUS_COPRIME", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T16:04:08.581634Z", "verification": {"verified": true, "answer": 63388, "timestamp": "2026-02-08T16:04:08.595948Z"}, "problem_hash": "aa8189", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2756, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 378}, "timestamp": "2026-02-12T09:45:59.847Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "aecb51", "alias": "geo_count_lattice_rect_v1_655260480_3082", "problem": "Let $a = 64$ and $b = 132$. Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 64$ and $0 \\leq y \\leq 132$.", "answer": 8645, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(64),\n \"b\": Const(132),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T17:10:36.117263Z", "verification": {"verified": true, "answer": 8645, "timestamp": "2026-02-08T17:10:36.119142Z"}, "problem_hash": "c6427b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8645, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 196}, "timestamp": "2026-02-12T22:00:59.548Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "b56e51", "alias": "algebra_poly_eval_v1_784195855_6692", "problem": "Let $b = 25$. Define $S$ as the set of all integers $t$ such that there exist integers $a$ and $b'$ with $1 \\leq a \\leq 2$, $1 \\leq b' \\leq 3$, $5 \\leq t \\leq 12$, and $t = 3a + 2b'$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 94$. Compute the remainder when $c - (b^2 - 2b + |S|)$ is divided by $76290$.", "answer": 75756, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94),\n \"b\": Const(25),\n \"result\": Sum(Pow(Ref(\"b\"), Const(2)), Mul(Const(-2), Ref(\"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=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 \"_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(\"_n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(76290)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "LIN_FORM"], "recipe_id": "2bb5bf", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T08:47:54.321898Z", "verification": {"verified": true, "answer": 75756, "timestamp": "2026-02-08T08:47:54.325489Z"}, "problem_hash": "596a92", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 75756, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 987}, "timestamp": "2026-02-13T21:51:57.854Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 716}, "timestamp": "2026-02-12T02:14:50.174Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ae03e8", "alias": "nt_min_crt_v1_548369836_22", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 379456$. Define $n_1$ to be the minimum value of $x + y$ over all such pairs. Let $u = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $f = \\lambda(13) + 1$, where $\\lambda$ is the Liouville function. Let $m = 8$ and $k = 11 + f$. Let $a = 6$ and $b = 2$. Define the upper bound to be the number of integers $t$ such that $9 \\leq t \\leq 102$ and there exist integers $a'$, $b'$ with $1 \\leq a' \\leq 4$, $1 \\leq b' \\leq 37$, and $t = 7a' + 2b'$. Now consider the set of all integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Let $\\text{result}$ be the smallest such $n$. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $67880 + u$.", "answer": 61046, "graph": "graphs = [\n Graph(\n let={\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(379456)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(13),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"m\": Const(8),\n \"k\": Sum(Const(11), Ref(\"f\")),\n \"a\": Const(6),\n \"b\": 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=4)), 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=102)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), 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 \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Const(67880), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "B3/MOBIUS_SUM", "LIN_FORM"], "recipe_id": "4532c1", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 0.058, "created_at": "2026-02-08T02:42:49.072914Z", "verification": {"verified": true, "answer": 61046, "timestamp": "2026-02-08T02:42:49.130535Z"}, "problem_hash": "67db75", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61046, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 418, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:43:05.056Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 61046, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 414, "completion_tokens": 2804}, "timestamp": "2026-02-09T18:50:51.381Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 374, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:21:51.507Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 40210, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 358, "completion_tokens": 551}, "timestamp": "2026-02-09T01:30:37.858Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61046, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 334, "completion_tokens": 2968}, "timestamp": "2026-02-09T07:13:04.541Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SUM": "ok_later", "C2": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "valid"} +{"id": "480e92", "alias": "antilemma_sum_primes_v1_784195855_3072", "problem": "Let $ P $ be the set of positive integers $ p $ such that there exists a positive integer $ q $ with $ p < q $, $ \\gcd(p, q) = 1 $, and $ pq = 36 $. Let $ m $ be the number of elements in $ P $. Let $ d $ be a positive divisor of $ 75 $ such that $ d \\geq m $. Let $ M $ be the smallest such $ d $. Let $ x $ be the number of prime numbers $ n $ satisfying $ 2 \\leq n \\leq M $. Compute the remainder when $ 44121 \\cdot x $ is divided by $ 70369 $.", "answer": 9498, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"x\": SumOverSet(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\"), 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')))))))), Divides(divisor=Var(\"d\"), dividend=Const(75)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"x\")), modulus=Const(70369)),\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/MIN_PRIME_FACTOR/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "05c4e9", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:12:58.344041Z", "verification": {"verified": true, "answer": 9498, "timestamp": "2026-02-08T06:12:58.347623Z"}, "problem_hash": "663a10", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "K15": "no", "LTE_DIFF_P2": "no"}, "split": "valid"} +{"id": "b4d9ec", "alias": "antilemma_v1_legendre_151522320_918", "problem": "Let $ x $ be the largest integer $ k $ such that $ 17^k $ divides $ 56474! $. Let $ s_1 = 353702 \\cdot |x| \\bmod 97 $, $ s_2 = 329703 \\cdot \\left( |x|^2 + \\varphi(2) \\right) \\bmod d $, where $ d $ is the smallest divisor of $ 1214979363347 $ that is at least $ 2 $, and $ s_3 = 215534 \\cdot |x| \\bmod 103 $. Let $ t = (353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot ((|x|^2 + \\varphi(2)) \\bmod d) + 215534 \\cdot (|x| \\bmod 103)) \\bmod 1009091 $. Compute the remainder when $ t $ is divided by $ 65272 $. Determine the value of this remainder.", "answer": 49818, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Factorial(Const(56474)), base=Const(17)),\n \"_c\": Const(19),\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)), EulerPhi(n=Const(2))), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1214979363347))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(65272)),\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", "ONE_PHI_2", "V1"], "recipe_id": "9931f5", "seed_template_id": "antilemma_v1_legendre", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_2", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:40:21.784652Z", "verification": {"verified": true, "answer": 49818, "timestamp": "2026-02-08T03:40:21.787491Z"}, "problem_hash": "d4bab3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K16": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "a8fa6d", "alias": "nt_count_gcd_equals_v1_717093673_2730", "problem": "Let $k$ be the largest positive divisor of $111884$ that is at most $332$. Compute the number of positive integers $n$ with $1 \\leq n \\leq 7000$ such that $\\gcd(n, k) = 83$.", "answer": 42, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(7000),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(332)), Divides(divisor=Var(\"d1\"), dividend=Const(111884))))),\n \"d\": Const(83),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.55, "created_at": "2026-02-08T17:08:30.315113Z", "verification": {"verified": true, "answer": 42, "timestamp": "2026-02-08T17:08:30.864674Z"}, "problem_hash": "779fe6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 519}, "timestamp": "2026-02-12T21:54:14.686Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8d47d3", "alias": "nt_sum_divisors_range_v1_1915831931_309", "problem": "Let $ S $ be the set of positive integers $ n $ such that $ 1 \\leq n \\leq 5460 $. For each $ n $ in $ S $, let $ d(n) $ denote the number of positive divisors of $ n $. Compute the sum of $ d(n) $ over all $ n $ in $ S $.", "answer": 47859, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(5460),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/DIVISOR_PARITY", "WILSON"], "recipe_id": "cb6605", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "WILSON"], "num_lemmas": 3, "generation_time": 0.657, "created_at": "2026-02-08T15:21:24.432531Z", "verification": {"verified": true, "answer": 47859, "timestamp": "2026-02-08T15:21:25.089720Z"}, "problem_hash": "8e34c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 508}, "timestamp": "2026-02-12T08:14:44.740Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8b2fbd", "alias": "antilemma_cartesian_v1_168721529_1364", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 31$ and $1 \\leq j \\leq 43$. Let $C$ be the set of integers $t$ with $7 \\leq t \\leq 113$ for which there exist positive integers $a \\leq 14$ and $b \\leq 17$ such that $t = 2a + 5b$. Let $c = |C|$. Compute the value of\n$$\n\\left( 353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot (|x|^2 \\bmod 101) + 215534 \\cdot (|x| \\bmod c) \\right) \\bmod 1009091,\n$$\ngiven that this result is further taken modulo $70947$. Find the final remainder.", "answer": 41674, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70947),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"_c\": Const(16),\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=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=17)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=113)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), modulus=Const(1009091)), 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", "COUNT_CARTESIAN"], "recipe_id": "263beb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T13:39:03.274404Z", "verification": {"verified": true, "answer": 41674, "timestamp": "2026-02-08T13:39:03.277407Z"}, "problem_hash": "5525cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 45069, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 3162}, "timestamp": "2026-02-09T16:08:01.805Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16003, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 5451}, "timestamp": "2026-02-11T07:53:59.063Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 65839, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 609}, "timestamp": "2026-02-10T05:55:27.268Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 379}, "timestamp": "2026-02-12T07:10:00.191Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.96, "mid": 5.48, "hi": 10.0}, "split": "valid"} +{"id": "ae79c9", "alias": "nt_count_divisible_and_v1_1520064083_925", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 15288$, $n \\equiv 0 \\pmod{6}$, and\n$$\nn \\equiv \\sum_{k=0}^{m} (-1)^k \\binom{9}{k} \\pmod{8},\n$$\nwhere $m$ is the number of integers $t$ with $5 \\leq t \\leq 15$ for which there exist integers $a$ and $b$, each at least 1 and at most 3, such that $t = 2a + 3b$.\n\nLet $r$ be the number of such integers $n$. Let $p$ be the largest prime number satisfying $2 \\leq p \\leq 12$. Compute the remainder when the Bell number $B_{r \\bmod p}$ is divided by $58903$.", "answer": 57072, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(15288),\n \"d1\": Const(6),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Summation(var=\"k\", start=Const(0), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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'))))))))), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\")))))))),\n \"Q\": Mod(value=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\"), Const(12)), IsPrime(Var(\"n\"))))))), modulus=Const(58903)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/BINOMIAL_ALTERNATING", "MAX_PRIME_BELOW"], "recipe_id": "e393e6", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 4.094, "created_at": "2026-02-08T03:40:12.601662Z", "verification": {"verified": true, "answer": 57072, "timestamp": "2026-02-08T03:40:16.696081Z"}, "problem_hash": "d51ca7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 57072, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 304, "completion_tokens": 1033}, "timestamp": "2026-02-10T15:18:00.475Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 57072, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 304, "completion_tokens": 1332}, "timestamp": "2026-02-10T14:02:36.837Z"}, {"id": 8, "model": "mathstral", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 1384}, "timestamp": "2026-02-12T20:28:50.556Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 903}, "timestamp": "2026-02-11T20:04:12.310Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_INTEGER_RANGE": "no", "K13": "no", "K18": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "a0ff36", "alias": "modular_sum_quadratic_residues_v1_1742523217_648", "problem": "Let $m = 2$ and $n = 11$. Let $d_0 = 37^2$, and let $d_1$ be the smallest positive divisor $d$ of $58765536377$ such that $d \\geq 2$. Let $r = \\frac{d_1(d_1 - 1)}{4}$. Let $k$ be the absolute value of $r$, and let $Q$ be the $k$-th Bell number modulo $11$. Compute the value of $Q$.", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(11),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MaxKDivides(target=Pow(Const(37), Ref(\"_m\")), base=Const(37))), Divides(divisor=Var(\"d\"), dividend=Const(58765536377))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MIN_PRIME_FACTOR"], "recipe_id": "cab2ed", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:09:48.295794Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T03:09:48.298356Z"}, "problem_hash": "a500ec", "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": 225, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:46:57.657Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:30:04.776Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "d4f17b", "alias": "nt_sum_over_divisible_v1_784195855_9231", "problem": "Let $R$ be the sum of all positive integers $n \\leq 67600$ that are divisible by $135$. Let $c$ be the number of positive integers $n$ such that\n$$\nn \\leq N \\quad \\text{and} \\quad n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3},\n$$\nwhere $N$ is the number of integers $t$ with $18 \\leq t \\leq 9046$ for which there exist positive integers $a \\leq 410$ and $b \\leq 1234$ such that\n$$\nt = 7a + 5b + 6.\n$$\nCompute the remainder when\n$$\n(R \\bmod 307) + c \\cdot (R \\bmod 317)\n$$\nis divided by $91450$.", "answer": 38348, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(307),\n \"upper\": Const(67600),\n \"divisor\": Const(135),\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\": 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=410)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1234)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=9046)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=6))))))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(317)))), modulus=Const(91450)),\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/L3C"], "recipe_id": "eac619", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.774, "created_at": "2026-02-08T16:39:10.756251Z", "verification": {"verified": true, "answer": 38348, "timestamp": "2026-02-08T16:39:13.529988Z"}, "problem_hash": "cebab6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 352}, "timestamp": "2026-02-12T11:12:55.093Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "L3C": "ok_later", "K5": "no", "MOD_SUB": "no", "V3": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7b3cbe", "alias": "comb_bell_compute_v1_717093673_2911", "problem": "Let $S$ be the set of positive integers $n_1$ such that $1 \\leq n_1 \\leq \\sum_{k=1}^{17} k$, $9$ divides $n_1$, and $\\gcd(n_1, 14) = 1$. Let $n$ be the number of elements in $S$. Define $R = B_n$, the $n$-th Bell number, which counts the number of partitions of a set of size $n$. Compute the remainder when $12835 \\cdot R$ is divided by $96119$.", "answer": 79212, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(14),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Summation(var=\"k\", start=Const(1), end=Const(17), expr=Var(\"k\"))), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(12835), Ref(\"result\")), modulus=Const(96119)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/C5"], "recipe_id": "4fa805", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:17:09.860327Z", "verification": {"verified": true, "answer": 79212, "timestamp": "2026-02-08T17:17:09.863648Z"}, "problem_hash": "8dd103", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 418}, "timestamp": "2026-02-12T22:16:17.290Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "C5": "ok_later", "K14": "no", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "da35bf", "alias": "modular_count_residue_v1_655260480_2743", "problem": "Let $R$ be the number of positive integers $n$ such that $1 \\le n \\le 70125$ and $n \\equiv 22 \\pmod{27}$. Compute the remainder when $$\n353702 \\cdot (R \\bmod 97) + 329703 \\cdot \\left(R^2 + 1 \\bmod p\\right) + 215534 \\cdot \\left(R + d \\bmod 103\\right)\n$$ is divided by $1009091$, where $p$ is the largest prime at most $102$, and $d$ is the smallest divisor of $20677$ that is at least $2$.", "answer": 9305, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"upper\": Const(70125),\n \"m\": Const(27),\n \"r\": Const(22),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\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')), Ref(\"_n\")), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(102)), IsPrime(Var(\"n1\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(20677)))))), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "modular_count_residue_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.644, "created_at": "2026-02-08T16:57:00.373140Z", "verification": {"verified": true, "answer": 9305, "timestamp": "2026-02-08T16:57:03.017449Z"}, "problem_hash": "b34cd9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 447}, "timestamp": "2026-02-12T21:35:01.021Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8a88ec", "alias": "comb_factorial_compute_v1_1742523217_3948", "problem": "Let $m = 83222$ and let $n$ be the number of positive integers at most 22 that are even and relatively prime to 35. Compute the remainder when $n!$ is multiplied by 49229 and then divided by $m$.", "answer": 68580, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(83222),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(7)))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22)), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(49229), 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_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/C5"], "recipe_id": "008eb2", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:09:27.885640Z", "verification": {"verified": true, "answer": 68580, "timestamp": "2026-02-08T06:09:27.887523Z"}, "problem_hash": "96681e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 68580, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 101, "completion_tokens": 2331}, "timestamp": "2026-02-12T20:06:59.054Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 302}, "timestamp": "2026-02-11T23:38:36.746Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C5": "ok_later", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3ad740", "alias": "sequence_fibonacci_compute_v1_458359167_1018", "problem": "Let $m = 9$ and $k_0 = 1 + 2 + 3$. For each positive integer $k \\leq k_0$, let $s_k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Define $n = \\sum_{k=1}^{k_0} \\phi(k) \\left\\lfloor \\frac{s_k}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Compute the $n$-th Fibonacci number.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))), Var(\"k\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/K2", "B3/K2"], "recipe_id": "04224a", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:13:47.466479Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T04:13:47.470703Z"}, "problem_hash": "b91fba", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 10946, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 1512}, "timestamp": "2026-02-10T15:53:17.797Z"}, {"id": 8, "model": "mathstral", "answer": 8, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 649}, "timestamp": "2026-02-13T11:13:30.724Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 453}, "timestamp": "2026-02-11T20:34:41.855Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "SUM_ARITHMETIC": "ok", "K2": "ok_later", "K13": "no", "K15": "no", "K17": "no", "L3b": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "d4ae63", "alias": "nt_sum_totient_over_divisors_v1_1431428450_142", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ of positive integers such that $1 \\le a \\le 29$ and $1 \\le b \\le 89$.\n\nDefine $\\text{result} = \\sum_{d \\mid n} \\phi(d)$, where the sum is over all positive divisors $d$ of $n$, and $\\phi$ denotes Euler's totient function.\n\nCompute the remainder when $90521 \\cdot \\text{result}$ is divided by $93372$.", "answer": 17957, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93372),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(89)))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(90521), 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"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:16:41.820533Z", "verification": {"verified": true, "answer": 17957, "timestamp": "2026-02-08T13:16:41.824506Z"}, "problem_hash": "98dc71", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 342}, "timestamp": "2026-02-12T06:28:08.629Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "K13": "no", "K14": "no", "K16": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9d17db", "alias": "diophantine_fbi2_min_v1_124444284_2558", "problem": "Let $k = 60$, $a = 4$, $b = 6$, and $\\text{upper} = 70$. Define $d$ to be an integer such that $d \\geq 5$, $d \\leq 70$, $d$ divides $k$, and $\\frac{k}{d} \\geq 7$. Let $\\text{result}$ be the smallest such $d$. Compute the value of\n$$\n\\text{result} + 2^{\\text{result} \\bmod 16} \\bmod 87510.\n$$", "answer": 37, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"a\": Const(4),\n \"b\": Const(6),\n \"upper\": Const(70),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(16))), modulus=Const(87510))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["COUNT_COPRIME_GRID", "K14"], "recipe_id": "2cf26a", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "K14"], "num_lemmas": 3, "generation_time": 0.171, "created_at": "2026-02-08T04:45:29.100657Z", "verification": {"verified": true, "answer": 37, "timestamp": "2026-02-08T04:45:29.272040Z"}, "problem_hash": "b0143f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 37, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 640}, "timestamp": "2026-02-11T22:02:47.335Z"}, {"id": 8, "model": "mathstral", "answer": 37, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 800}, "timestamp": "2026-02-14T00:34:53.268Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 264, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 373}, "timestamp": "2026-02-11T21:51:26.958Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "K14": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "MOD_FACTORIAL": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "66c64b", "alias": "nt_sum_phi_v1_151522320_954", "problem": "Let $t$ be the greatest integer $d$ such that $1 \\le d \\le 52$ and $d$ divides $3068$. Let $n_1=t^2$, and let $h$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $n=31$, and let $w=\\mu(n)^2$, where $\\mu$ denotes the Möbius function.\n\nLet $U$ be the sum of all integers $m$ such that $1 \\le m \\le 222$ and $m\\equiv 0 \\pmod{37}$. Define\n$$\\text{upper}=U\\cdot h\\cdot w.$$\n\nLet $R$ be the sum of $\\varphi(k)$ over all integers $k$ such that $1 \\le k \\le \\text{upper}$, where $\\varphi$ denotes Euler's totient function.\n\nLet $Q$ be the remainder when $45261\\cdot R$ is divided by $93089$.\n\nFind the value of $Q$.", "answer": 41834, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93089),\n \"t\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(52)), Divides(divisor=Var(\"d\"), dividend=Const(3068))))),\n \"n1\": Pow(Ref(\"t\"), Const(2)),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(31),\n \"w\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(222)), Eq(Mod(value=Var(\"n\"), modulus=Const(37)), Const(0))))), Ref(\"h\"), Ref(\"w\")),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(45261),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/DIVISOR_PARITY/MOBIUS_SQUAREFREE", "MAX_DIVISOR/DIVISOR_PARITY"], "recipe_id": "5a053f", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_DIVISOR", "MOBIUS_SQUAREFREE", "SUM_DIVISIBLE"], "num_lemmas": 4, "generation_time": 0.068, "created_at": "2026-02-08T03:41:12.411234Z", "verification": {"verified": true, "answer": 41834, "timestamp": "2026-02-08T03:41:12.479207Z"}, "problem_hash": "d8c53f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_DIVISIBLE": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "3e0285", "alias": "geo_visible_lattice_v1_1520064083_6064", "problem": "A lattice point $(x, y)$ is called visible from the origin if $\\gcd(x, y) = 1$. Let $v$ be the number of visible lattice points $(x, y)$ with $1 \\leq x, y \\leq 88$. Compute the remainder when $39207 \\cdot v$ is divided by $88804$.", "answer": 44785, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(88),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(39207), Ref(\"result\")), modulus=Const(88804)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 1.15, "created_at": "2026-02-08T07:50:01.946203Z", "verification": {"verified": true, "answer": 44785, "timestamp": "2026-02-08T07:50:03.095931Z"}, "problem_hash": "cb8701", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44785, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 119, "completion_tokens": 7141}, "timestamp": "2026-02-13T13:00:08.863Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 455}, "timestamp": "2026-02-12T01:21:33.782Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1574f7", "alias": "diophantine_product_count_v1_1742523217_3388", "problem": "Let $k = 720$ and $u = 44$. Define $A$ to be the number of positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $k/x \\leq u$. Let $d_{\\min}$ be the smallest divisor of $10497573673$ that is at least $2$. Let $\\phi$ be the number of positive integers $n$ such that $1 \\leq n \\leq 188$ and $\\gcd(n, 15) = 1$. Compute the remainder when\n$$\n353702 \\cdot (A \\bmod d_{\\min}) + 329703 \\cdot \\left( (A^2 + 1) \\bmod \\phi \\right) + 215534 \\cdot \\left( (A + 24) \\bmod 103 \\right)\n$$\nis divided by $58615$.", "answer": 19273, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24),\n \"k\": Const(720),\n \"upper\": Const(44),\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=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(10497573673))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(188)), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(58615)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "C4"], "recipe_id": "b0bd22", "seed_template_id": "diophantine_product_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.023, "created_at": "2026-02-08T05:49:38.564354Z", "verification": {"verified": true, "answer": 19273, "timestamp": "2026-02-08T05:49:38.587307Z"}, "problem_hash": "83eaef", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37533, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 2481}, "timestamp": "2026-02-12T14:58:27.064Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 326, "completion_tokens": 574}, "timestamp": "2026-02-11T23:10:28.656Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "1ab091", "alias": "algebra_quadratic_discriminant_v1_898971024_2642", "problem": "Let $a = -2$. Let $b$ be the number of integers $t$ such that $9 \\leq t \\leq 46$ and there exist integers $a'$ and $b'$ with $1 \\leq a' \\leq 4$, $1 \\leq b' \\leq 9$, and $t = 7a' + 2b'$. Let $c = -126$. Define\n$$\n\\text{result} = b^2 - (a \\cdot c) \\cdot (\\text{the number of positive integers } p \\text{ for which there exists a positive integer } q > p \\text{ such that } pq = 360 \\text{ and } \\gcd(p,q) = 1).\n$$\nCompute the remainder when $44121 \\cdot \\text{result}$ is divided by $83042$.", "answer": 41600, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83042),\n \"a\": Const(-2),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=46)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"c\": Const(-126),\n \"result\": 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=360)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"a\"), Ref(\"c\"))),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T16:53:26.808633Z", "verification": {"verified": true, "answer": 41600, "timestamp": "2026-02-08T16:53:26.814744Z"}, "problem_hash": "10ff9e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 442}, "timestamp": "2026-02-12T21:17:23.740Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5b9854", "alias": "antilemma_sum_equals_v1_579913215_5", "problem": "Let $n = 80$. Define $x$ to be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = n$, $1 \\leq i \\leq 79$, and $1 \\leq j \\leq 80$. Compute the value of $97^2 - x$.", "answer": 9330, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80),\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(79)), right=IntegerRange(start=Const(1), end=Const(80))))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(97)))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.036, "created_at": "2026-02-08T12:46:26.548209Z", "verification": {"verified": true, "answer": 9330, "timestamp": "2026-02-08T12:46:26.584127Z"}, "problem_hash": "32c19f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9330, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 225}, "timestamp": "2026-02-12T05:43:34.565Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "a66caa", "alias": "nt_euler_phi_compute_v1_784195855_3378", "problem": "Let $m = 25$. Define $n_2$ to be the number of positive integers $n \\leq m$ such that the sum of the decimal digits of $n$ is odd.\n\nLet\n$$\nc = \\left( \\sum_{d \\mid n_2} \\phi(d) \\right) - n_2,\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $p = 61 + c$.\n\nLet $q$ be the largest prime number at most $4$.\n\nDefine $n_1 = p \\cdot q$, and let $e$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $n = 66564 + e$. Compute $\\phi(n)$.", "answer": 21672, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(25),\n \"_n\": Const(4),\n \"n2\": 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 \"c\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"p\": Sum(Const(61), Ref(\"c\")),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Sum(Const(66564), 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/DIVISOR_PARITY", "L3B/EULER_TOTIENT_SUM"], "recipe_id": "e31cab", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "EULER_TOTIENT_SUM", "L3B", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T06:22:37.808014Z", "verification": {"verified": true, "answer": 21672, "timestamp": "2026-02-08T06:22:37.812758Z"}, "problem_hash": "3c86d3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF": "no", "V3": "no", "V7": "no"}, "split": "valid"} +{"id": "44039b", "alias": "nt_sum_divisors_compute_v1_865884756_218", "problem": "Let $n = 2$. Let $n_2$ be the largest prime number such that $n \\leq n_2 \\leq 6$. Let $S$ be the set of all positive integers $p$ for which there exists an integer $q$ such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $h = \\mu(n_2)^{|S|}$, where $\\mu$ denotes the M\\\"obius function. Let $n_1 = h$, and let $u = \\Omega(n_1)$, the number of prime factors of $n_1$ counted with multiplicity. Define $n = 49729 + u$. Let $\\sigma(n)$ be the sum of all positive divisors of $n$. Compute the multiplicative order of $2$ modulo $2\\sigma(n) + 3$.", "answer": 3912, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": MaxOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Ref(\"_n\")), Leq(Var(\"n3\"), Const(6)), IsPrime(Var(\"n3\"))))),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), 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 \"n1\": Ref(\"h\"),\n \"u\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(49729), Ref(\"u\")),\n \"result\": SumDivisors(n=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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "COPRIME_PAIRS/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO"], "recipe_id": "f69277", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COPRIME_PAIRS", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T15:15:58.640339Z", "verification": {"verified": true, "answer": 3912, "timestamp": "2026-02-08T15:15:58.650588Z"}, "problem_hash": "5b02c0", "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": 303, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:42:20.945Z"}], "solution_status": 0, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "3e79dd", "alias": "nt_max_prime_below_v1_655260480_1273", "problem": "Let $m = 2$ and $n = 25$. Let $r$ be the largest prime number not exceeding $25281$. Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides $1009091$. Let $p_{\\max}$ be the largest prime number $p$ with $2 \\leq p \\leq 101$. Compute the value of $$\n353702 \\cdot |r| \\bmod d_{\\min} + 329703 \\cdot \\left(|r|^2 \\bmod p_{\\max}\\right) + 215534 \\cdot \\left(|r| \\bmod 103\\right),\n$$ and then take the result modulo $95935$.", "answer": 30932, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(25),\n \"upper\": Const(25281),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=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(1009091))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(101)), IsPrime(Var(\"n1\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(95935)),\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", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.587, "created_at": "2026-02-08T16:02:47.863292Z", "verification": {"verified": true, "answer": 30932, "timestamp": "2026-02-08T16:02:48.449803Z"}, "problem_hash": "544804", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 334}, "timestamp": "2026-02-12T09:41:43.231Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K17": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c58bf0", "alias": "geo_count_lattice_rect_v1_717093673_548", "problem": "Compute the number of lattice points $(x, y)$ with $0 \\leq x \\leq 128$ and $0 \\leq y \\leq 77$.", "answer": 10062, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(128),\n \"b\": Const(77),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T15:30:10.166948Z", "verification": {"verified": true, "answer": 10062, "timestamp": "2026-02-08T15:30:10.168800Z"}, "problem_hash": "d3ee82", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10062, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 173}, "timestamp": "2026-02-12T08:39:33.283Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "3322bc", "alias": "nt_min_coprime_above_v1_397696148_2167", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2, \\dots, 7\\}$ and $\\{1, 2, \\dots, 49\\}$, and let $m$ be the number of elements in $S$. Find the smallest integer $n$ such that $25281 < n \\leq 25634$ and $\\gcd(n, m) = 1$. Let $Q$ be the remainder when $90735$ times this $n$ is divided by $87562$. Compute $Q$.", "answer": 12994, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(25281),\n \"upper\": Const(25634),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(90735),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(87562)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.029, "created_at": "2026-02-08T12:58:45.730913Z", "verification": {"verified": true, "answer": 12994, "timestamp": "2026-02-08T12:58:45.760085Z"}, "problem_hash": "36c95a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 359}, "timestamp": "2026-02-12T06:00:23.427Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K18": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "33795a", "alias": "comb_sum_binomial_row_v1_458359167_3746", "problem": "Let $n$ be the number of ordered pairs $(x, y)$ such that $1 \\leq x \\leq 3$ and $1 \\leq y \\leq 4$. Compute $2^n$.", "answer": 4096, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:18:49.626424Z", "verification": {"verified": true, "answer": 4096, "timestamp": "2026-02-08T11:18:49.627558Z"}, "problem_hash": "742e21", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 185}, "timestamp": "2026-02-12T03:54:46.213Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "e5a635", "alias": "comb_count_partitions_v1_124444284_607", "problem": "Let $m = 19$ and $n_0 = 3$. Define $n$ to be the smallest positive integer such that the largest power of $n_0$ dividing $n!$ is at least the sum of all positive integers $k \\le m$ that are divisible by 19. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $58771 \\cdot p(n)$ is divided by 61709.", "answer": 21976, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(19),\n \"_n\": Const(3),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_n\")), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=Var(\"n\"), modulus=Const(19)), Const(0)))))), domain='Z_{>0}')),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(58771),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61709)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/V5"], "recipe_id": "7f4b43", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["SUM_DIVISIBLE", "V5"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:23:46.728295Z", "verification": {"verified": true, "answer": 21976, "timestamp": "2026-02-08T03:23:46.729851Z"}, "problem_hash": "58295d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21976, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 209, "completion_tokens": 2704}, "timestamp": "2026-02-09T19:42:58.713Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 35278, "score": 2, "correct": {"strict": false, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 3501}, "timestamp": "2026-02-09T03:55:10.716Z"}], "solution_status": 1, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V5": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "f52c1a", "alias": "modular_count_residue_v1_458359167_3879", "problem": "Let $m$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\leq a \\leq 5$ and $b$ is an integer with $1 \\leq b \\leq 6$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 84100$ and $n \\equiv 13 \\pmod{m}$. Compute the number of elements in $S$.", "answer": 2803, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(84100),\n \"m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"r\": Const(13),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 3.158, "created_at": "2026-02-08T11:24:09.733103Z", "verification": {"verified": true, "answer": 2803, "timestamp": "2026-02-08T11:24:12.891119Z"}, "problem_hash": "57318e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 327}, "timestamp": "2026-02-12T04:02:14.081Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "e9cda2", "alias": "antilemma_cartesian_v1_717093673_1737", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ of integers such that $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 28$. Compute $x$.", "answer": 560, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Ref(\"x\"),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:17:25.882828Z", "verification": {"verified": true, "answer": 560, "timestamp": "2026-02-08T16:17:25.883617Z"}, "problem_hash": "2de155", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 560, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 144}, "timestamp": "2026-02-12T10:20:49.737Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ea0931", "alias": "comb_sum_binomial_mod_v1_548369836_84", "problem": "Let $m = 6241$ and $n = 21$. For each integer $k$ from $n$ to $\\sum_{k=1}^{16} \\phi(k) \\left\\lfloor \\frac{16}{k} \\right\\rfloor$, define $s_k$ to be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $\\text{sum} = \\sum_{k=n}^{\\sum_{k=1}^{16} \\phi(k) \\left\\lfloor \\frac{16}{k} \\right\\rfloor} \\binom{s_k}{k}$. Define $\\text{result} = \\text{sum} \\mod 11243$, and let $c = 98581$. Compute the value of $Q = (c \\cdot \\text{result}) \\mod 92668$.", "answer": 82503, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6241),\n \"_n\": Const(21),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=Summation(var=\"k\", start=Const(1), end=Const(16), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(16), Var(\"k\"))))), expr=Binom(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11243)),\n \"_c\": Const(98581),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(92668)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T02:45:00.881957Z", "verification": {"verified": true, "answer": 82503, "timestamp": "2026-02-08T02:45:00.892915Z"}, "problem_hash": "bea951", "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": 308, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:48:49.160Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:32:33.593Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:19:56.198Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:16:34.257Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 4155}, "timestamp": "2026-02-09T08:19:55.178Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 880}, "timestamp": "2026-02-11T03:15:29.294Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 565}, "timestamp": "2026-02-11T19:41:21.133Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "ee3400", "alias": "nt_count_divisors_in_range_v1_458359167_4706", "problem": "Let $m = 22571$. Define $N$ to be the number of prime numbers $n$ such that $2 \\leq n \\leq m$. Let $T$ be the set of all integers $t$ satisfying $33 \\leq t \\leq 7644$ for which there exist positive integers $a \\leq 462$ and $b \\leq 100$ such that $t = 12a + 21b$. Let $n$ be the number of elements in $T$. Let $a = 1$, and let $b$ be the largest positive divisor of $6385713$ that does not exceed $N$. Determine the value of the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22571),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\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=462)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=100)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=7644)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\n \"a\": Const(1),\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(6385713))))),\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_PRIMES", "lemma_paths": ["COUNT_PRIMES/LIN_FORM/MAX_DIVISOR"], "recipe_id": "fe83bf", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.031, "created_at": "2026-02-08T11:59:48.355711Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T11:59:48.386609Z"}, "problem_hash": "5da365", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 5120}, "timestamp": "2026-02-14T21:50:18.940Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 443}, "timestamp": "2026-02-12T04:53:01.560Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok_later", "MAX_DIVISOR": "ok_later", "K18": "no", "K5": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "225e04", "alias": "comb_sum_binomial_mod_v1_1978505735_1740", "problem": "Let $d_{\\text{max}}$ be the largest positive divisor of $195363$ that is at most $441$. Compute the remainder when $\\sum_{k=121}^{327} \\binom{d_{\\text{max}}}{k}$ is divided by $10151$.", "answer": 3260, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(441),\n \"sum\": Summation(var=\"k\", start=Const(121), end=Const(327), expr=Binom(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(195363))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10151)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.023, "created_at": "2026-02-08T16:22:37.415178Z", "verification": {"verified": true, "answer": 3260, "timestamp": "2026-02-08T16:22:37.438350Z"}, "problem_hash": "331c0e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 503}, "timestamp": "2026-02-12T10:33:25.615Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K17": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f9a115", "alias": "antilemma_cartesian_v1_124444284_5300", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 36$ and $1 \\leq b \\leq 39$. Compute $$\\sum_{n=1}^{x} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$. Determine the value of this sum.", "answer": 10403, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(36)), right=IntegerRange(start=Const(1), end=Const(39)))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T06:32:13.559731Z", "verification": {"verified": true, "answer": 10403, "timestamp": "2026-02-08T06:32:13.560444Z"}, "problem_hash": "471fa0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10403, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 2186}, "timestamp": "2026-02-13T01:17:39.489Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 653}, "timestamp": "2026-02-12T00:10:45.558Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "c8a4a4", "alias": "antilemma_cartesian_v1_50713871_87", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 39$ and $1 \\leq b \\leq 44$. Find the value of $|x| \\bmod 75068$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(44)))),\n \"Q\": Mod(value=Abs(arg=Ref(name='x')), modulus=Const(75068)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:44:57.665766Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T02:44:57.666272Z"}, "problem_hash": "9fb54c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 643}, "timestamp": "2026-02-08T19:48:24.738Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 391}, "timestamp": "2026-02-09T19:50:29.058Z"}, {"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-10T00:34:41.869Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 117, "completion_tokens": 330}, "timestamp": "2026-02-10T13:54:17.333Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 438}, "timestamp": "2026-02-09T23:58:50.298Z"}, {"id": 8, "model": "mathstral", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 115, "completion_tokens": 239}, "timestamp": "2026-02-11T03:08:29.173Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 227}, "timestamp": "2026-02-11T19:40:30.873Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "valid"} +{"id": "47c27b", "alias": "comb_binomial_compute_v1_2051736721_2508", "problem": "Let $m = 5$ and $n = 16$. Define $$\n = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor,$$ where $\\phi$ denotes Euler's totient function. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $r = \\binom{n}{k}$. Find the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 1580, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(16),\n \"n\": Summation(var=\"k1\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Ref(\"_m\"), Var(\"k1\"))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:45:51.786653Z", "verification": {"verified": true, "answer": 1580, "timestamp": "2026-02-08T16:45:51.792120Z"}, "problem_hash": "48bf35", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 400}, "timestamp": "2026-02-12T20:52:48.004Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "K16": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "654b6b", "alias": "nt_min_crt_v1_2051736721_6003", "problem": "Let $a = 2$, $b$ be the largest positive integer that divides 15 and is at most 3, and let $m = 4$, $k = 5$. Find the smallest positive integer $n$ such that $1 \\leq n \\leq 20$, $n \\equiv 2 \\pmod{4}$, and $n \\equiv b \\pmod{5}$.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(4),\n \"k\": Const(5),\n \"a\": Const(2),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(3)), Divides(divisor=Var(\"d\"), dividend=Const(15))))),\n \"upper\": Const(20),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.071, "created_at": "2026-02-08T18:54:03.469457Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T18:54:03.540307Z"}, "problem_hash": "f531e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 317}, "timestamp": "2026-02-13T00:38:59.560Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "283e6f", "alias": "nt_gcd_compute_v1_677425708_1891", "problem": "Let $a = 830206$ and $b = 1341102$. Let $d = \\gcd(a, b)$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 208$, $8$ divides $n$, and $\\gcd(n, 15) = 1$. Let $s = |T|$, the number of elements in $T$. Let $k = \\sum_{d \\mid s} \\mu(d)$, where $\\mu$ denotes the Möbius function. Let $D$ be the number of digits in $d$. Compute the value of $$\\sum_{i = k}^{D-1} \\left( \\text{digit}_i(d) \\cdot (i+1)^2 \\right) + 70125,$$ where $\\text{digit}_i(d)$ denotes the $i$-th digit of $d$ (starting from the units digit at $i=0$).", "answer": 70421, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56),\n \"a\": Const(830206),\n \"b\": Const(1341102),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(70125),\n \"Q\": Sum(Summation(var=\"i\", start=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=208)), Divides(divisor=Const(value=8), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=15)), right=Const(value=1))))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MOBIUS_COPRIME"], "recipe_id": "586e1a", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:37:30.879030Z", "verification": {"verified": true, "answer": 70421, "timestamp": "2026-02-08T04:37:30.881821Z"}, "problem_hash": "bbc6c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 70421, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 2133}, "timestamp": "2026-02-10T02:38:59.346Z"}], "solution_status": 2, "lemma_applicability": {"C5": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K13": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "83bb42", "alias": "diophantine_fbi2_count_v1_784195855_2795", "problem": "Let $k = 240$. Determine the number of integers $d$ such that $2 \\leq d \\leq 65$, $d$ divides $k$, and $4 \\leq \\frac{k}{d} \\leq 67$. Let $r$ denote this number.\n\nLet $s$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $\\gcd(p, q) = 1$, and $p \\cdot q = 108$.\n\nCompute the sum\n$$\n\\sum_{i=0}^{t-1} \\left( d_i \\cdot (i+1)^s \\right) + \\sum S,\n$$\nwhere $d_i$ is the $i$-th decimal digit of $|r|$ (starting from the units digit as $i=0$), $t$ is the number of digits of $|r|$, and $S$ is the set of all positive integers $n$ such that $1 \\leq n \\leq 88$ and $n \\equiv 0 \\pmod{88}$.\n\nFind the value of this sum.", "answer": 96, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(240),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(65)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(67))))),\n \"Q\": Sum(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=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')))))))))), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(88)), Eq(Mod(value=Var(\"n\"), modulus=Const(88)), Const(0)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE", "COPRIME_PAIRS"], "recipe_id": "5bee1f", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:02:57.843034Z", "verification": {"verified": true, "answer": 96, "timestamp": "2026-02-08T06:02:57.853737Z"}, "problem_hash": "fca7e4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 96, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 1952}, "timestamp": "2026-02-12T18:48:15.042Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 354, "completion_tokens": 503}, "timestamp": "2026-02-11T23:31:21.001Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_DIVISIBLE": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6cac0b", "alias": "modular_mod_compute_v1_784195855_3021", "problem": "Let $m$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 69$ and $1 \\leq j \\leq 106$ such that $\\gcd(i, j) = 1$. Let $a = 34$. Define $n$ as the number of positive integers $n$ with $1 \\leq n \\leq m$ such that the sum of the decimal digits of $n$ is divisible by 2. Find the remainder when $a$ is divided by $n$.", "answer": 34, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(69)), right=IntegerRange(start=Const(1), end=Const(106))))),\n \"a\": Const(34),\n \"m\": 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=Ref(\"_m\")), Const(0))))),\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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/L3B"], "recipe_id": "94e979", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "L3B"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T06:11:39.223134Z", "verification": {"verified": true, "answer": 34, "timestamp": "2026-02-08T06:11:39.228804Z"}, "problem_hash": "37d888", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 5901}, "timestamp": "2026-02-12T21:00:45.536Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 588}, "timestamp": "2026-02-11T23:43:22.388Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "L3B": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K14": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ea169f", "alias": "geo_count_lattice_triangle_v1_2051736721_1285", "problem": "Let $N$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 29$, $1 \\le b \\le 15$, $10 \\le t \\le 234$, and\n$$t = 6a + 4b.$$\n\nLet $A$ be the absolute value of\n$$200 \\sum n - 256\\bigl(0 - M\\bigr),$$\nwhere the sum is taken over all integers $n$ with $1 \\le n \\le 120$ and $n \\equiv 0 \\pmod{40}$, and $M$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 7$, $1 \\le b \\le 38$, $9 \\le t \\le 125$, and\n$$t = 7a + 2b.$$\n\nLet $B$ be the sum of the following three greatest common divisors:\n\\begin{align*}\n&\\gcd\\left(\\left|\\sum n_1\\right|,\\,|111|\\right) \\\\\n&\\quad +\\; \\gcd\\left(\\bigl|256 - 200\\bigr|,\\,\\bigl|240 - N\\bigr|\\right) \\\\\n&\\quad +\\; \\gcd\\left(\\bigl|0 - 256\\bigr|,\\,\\bigl|0 - 240\\bigr|\\right),\n\\end{align*}\nwhere the first sum is taken over all integers $n_1$ with $1 \\le n_1 \\le 80$ and $n_1 \\equiv 0 \\pmod{20}$.\n\nDefine\n$$R = \\frac{A + 2 - B}{2}.$$\n\nCompute $R$. ", "answer": 9784, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(40),\n \"_m\": Const(200),\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=29)), 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=10)), Leq(left=Var(name='t'), right=Const(value=234)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_m'), 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=120)), Eq(left=Mod(value=Var(name='n'), modulus=Ref(name='_c')), right=Const(value=0)))))), Mul(Const(value=256), Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='t1'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=38)), Geq(left=Var(name='t1'), right=Const(value=9)), Leq(left=Var(name='t1'), right=Const(value=125)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))))))),\n \"boundary\": Sum(GCD(a=Abs(arg=SumOverSet(set=SolutionsSet(var=Var(name='n1'), condition=And(Geq(left=Var(name='n1'), right=Const(value=1)), Leq(left=Var(name='n1'), right=Const(value=80)), Eq(left=Mod(value=Var(name='n1'), modulus=Const(value=20)), right=Const(value=0)))))), b=Abs(arg=Const(value=111))), GCD(a=Abs(arg=Sub(left=Const(value=256), right=Const(value=200))), b=Abs(arg=Sub(left=Const(value=240), right=Ref(name='_n')))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=256))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=240))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE"], "recipe_id": "a67711", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.036, "created_at": "2026-02-08T15:55:58.027388Z", "verification": {"verified": true, "answer": 9784, "timestamp": "2026-02-08T15:55:58.062951Z"}, "problem_hash": "f602b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 512, "completion_tokens": 435}, "timestamp": "2026-02-12T09:34:56.878Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ab63f7", "alias": "antilemma_product_of_sums_v1_798873815_385", "problem": "Let\n$$S_1 = \\sum_{i=1}^{6} \\sum_{j=1}^{3} ij.$$\nLet $S_2$ be the sum of all integers $j$ with $0 \\le j \\le 15$ such that\n$$\\binom{15}{j} \\equiv 1 \\pmod{2}.$$\nLet $x = S_1 S_2$.\n\nLet $M$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 49$. For each $(x,y)$ in $M$, consider $x+y$, and let $m$ be the minimum value of $x+y$ over all $(x,y)$ in $M$.\n\nLet\n$$g = \\sum_{d \\mid \\gcd(9,m)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function. Define\n$$Q = x + \\varphi(|x|+1) + \\tau\\bigl(|x| + g\\bigr),$$\nwhere $\\varphi$ is Euler's totient function and $\\tau$ is the number of positive divisors function.\n\nCompute $Q$.", "answer": 30242, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\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(6)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\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=Const(15), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\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=9), 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=49)))), expr=Sum(Var(name='x'), Var(name='y'))))), 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": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "recipe_id": "763fe4", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "arith_invariants", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:37:43.580616Z", "verification": {"verified": true, "answer": 30242, "timestamp": "2026-02-08T02:37:43.583732Z"}, "problem_hash": "d2b6e4", "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": 366, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:27:27.700Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 362, "completion_tokens": 2909}, "timestamp": "2026-02-09T16:21:56.154Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:17:08.068Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 30242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 309, "completion_tokens": 6602}, "timestamp": "2026-02-08T23:46:54.988Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 8192}, "timestamp": "2026-02-09T04:20:52.689Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.59}, "split": "valid"} +{"id": "4a707b", "alias": "nt_count_divisible_and_v1_677425708_1085", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\leq n \\leq 6547$ and $\\gcd(n, 12) = 1$. Let $e = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $s = \\left(\\sum_{d \\mid 9} \\phi(d)\\right) - 9$. Define $d_1 = 9e$ and $d_2 = 12 + s$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 74664$, $n \\equiv 0 \\pmod{d_1}$, and $n \\equiv 0 \\pmod{d_2}$.", "answer": 2074, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6547),\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(12)), Const(1))))),\n \"e\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(9),\n \"s\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": Const(74664),\n \"d1\": Mul(Const(9), Ref(\"e\")),\n \"d2\": Sum(Const(12), Ref(\"s\")),\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/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "f9456e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C4", "EULER_TOTIENT_SUM", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 2.549, "created_at": "2026-02-08T03:59:53.203017Z", "verification": {"verified": true, "answer": 2074, "timestamp": "2026-02-08T03:59:55.752133Z"}, "problem_hash": "f960cb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2074, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 4827}, "timestamp": "2026-02-09T15:33:28.800Z"}], "solution_status": 2, "lemma_applicability": {"C4": "ok", "EULER_TOTIENT_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "812694", "alias": "antilemma_cartesian_v1_124444284_9497", "problem": "Compute the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 37$ and $1 \\le b \\le 39$.", "answer": 1443, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(39)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T12:32:10.284999Z", "verification": {"verified": true, "answer": 1443, "timestamp": "2026-02-08T12:32:10.285497Z"}, "problem_hash": "7ccc09", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1443, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 197}, "timestamp": "2026-02-12T05:17:39.685Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "efbde4", "alias": "geo_count_lattice_rect_v1_124444284_5731", "problem": "Let $a = 400$ and $b = 137$. Define a lattice point as a point $(x, y)$ in the plane where both $x$ and $y$ are integers. Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$.", "answer": 55338, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(400),\n \"b\": Const(137),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T06:47:57.920777Z", "verification": {"verified": true, "answer": 55338, "timestamp": "2026-02-08T06:47:57.921757Z"}, "problem_hash": "f7b080", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 55338, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 190}, "timestamp": "2026-02-12T00:32:40.905Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ae0bff", "alias": "comb_sum_binomial_row_v1_1915831931_2880", "problem": "Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 17$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, and $t = 3a + 2b$. Let $r$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $r^n$ is divided by $99408$.", "answer": 21776, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(99408),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"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=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'))))))), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(73159), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T17:13:37.921658Z", "verification": {"verified": true, "answer": 21776, "timestamp": "2026-02-08T17:13:37.924096Z"}, "problem_hash": "df33c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 536}, "timestamp": "2026-02-12T22:11:51.595Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "573d91", "alias": "comb_count_derangements_v1_151522320_956", "problem": "Let $m = 2$ and $n = 17711$. Define $p$ to be the largest prime number such that $m \\leq p \\leq 9$. Let $D(p)$ denote the number of derangements of $p$ elements, that is, the number of permutations of $p$ elements with no fixed points.\n\nLet $s = D(p)$, and let $d_k$ denote the $k$-th decimal digit of $|s|$, where $k=0$ corresponds to the units digit. Let $\\ell$ be the number of decimal digits of $|s|$ minus the sum of the values of the Möbius function $\\mu(d)$ over all positive divisors $d$ of the greatest common divisor of 11 and the largest prime $q$ such that $2 \\leq q \\leq 16$.\n\nCompute\n$$\n\\sum_{i=0}^{\\ell-1} d_i (i+1)^2 + n.\n$$", "answer": 17823, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(17711),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), SumOverDivisors(n=GCD(a=Const(value=11), b=MaxOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=2)), Leq(left=Var(name='n'), right=Const(value=16)), IsPrime(arg=Var(name='n')))))), var='d', expr=MoebiusMu(n=Var(name='d')))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_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/MOBIUS_COPRIME"], "recipe_id": "43dda6", "seed_template_id": "comb_count_derangements_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:41:12.667979Z", "verification": {"verified": true, "answer": 17823, "timestamp": "2026-02-08T03:41:12.672226Z"}, "problem_hash": "c54f33", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K18": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "526178", "alias": "diophantine_sum_product_min_v1_48377204_2229", "problem": "Let $S = 40$ and $P = 300$. Let $M$ be the largest positive divisor of 1833 that is at most 39. Find the minimum positive integer $x \\leq M$ such that $x(S - x) = P$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(40),\n \"P\": Const(300),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(39)), Divides(divisor=Var(\"d\"), dividend=Const(1833)))))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.174, "created_at": "2026-02-08T16:40:56.483591Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T16:40:56.657540Z"}, "problem_hash": "14ef62", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 558}, "timestamp": "2026-02-12T11:12:36.036Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K18": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "8d61c9", "alias": "diophantine_fbi2_min_v1_458359167_1115", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 2039184$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $U$ be the sum of all positive integers $x$ such that $x^2 - 250x + n = 0$. Let $D$ be the set of all positive integers $d$ such that $d \\geq 6$, $d \\leq U$, $d$ divides 240, and $\\frac{240}{d} \\geq 5$. Let $r$ be the minimum element of $D$. Let $c$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 53$, $1 \\leq j \\leq 61$, and $\\gcd(i,j) = 1$. Compute $c - r$.", "answer": 2018, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(6),\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(2039184)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(240),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_d\")), Mul(Const(-250), Var(\"x\")), Ref(\"_n\")), Const(0)))),\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\")), Const(5))))),\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(53)), right=IntegerRange(start=Const(1), end=Const(61))))),\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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "B3/VIETA_SUM"], "recipe_id": "53b836", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T04:23:17.369206Z", "verification": {"verified": true, "answer": 2018, "timestamp": "2026-02-08T04:23:17.382728Z"}, "problem_hash": "71be26", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 2018, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 5129}, "timestamp": "2026-02-10T16:27:32.678Z"}, {"id": 8, "model": "mathstral", "answer": 3209, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 1000}, "timestamp": "2026-02-13T14:47:34.309Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 497}, "timestamp": "2026-02-11T20:45:26.219Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_COPRIME_GRID": "ok", "VIETA_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "7e44c4", "alias": "nt_count_with_divisor_count_v1_2051736721_5341", "problem": "Let $d_{\\text{max}}$ be the largest positive divisor of $35295337$ that is at most $5929$. Determine the number of positive integers $n \\leq d_{\\text{max}}$ that have exactly $11$ positive divisors. Multiply this count by $78205$ and compute the result.", "answer": 78205, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5929),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(35295337))))),\n \"div_count\": Const(11),\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(78205),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 3.293, "created_at": "2026-02-08T18:30:21.817862Z", "verification": {"verified": true, "answer": 78205, "timestamp": "2026-02-08T18:30:25.110662Z"}, "problem_hash": "993991", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 370}, "timestamp": "2026-02-13T00:12:42.120Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9d3796", "alias": "nt_euler_phi_compute_v1_458359167_3079", "problem": "Let $n = 30976$. Compute $\\varphi(n)$, the number of positive integers less than or equal to $n$ that are relatively prime to $n$. Let $A = |\\varphi(n)| \\mod 97$. Let $B$ be the sum of the squares of $A$ modulo the largest prime number between 2 and 102, inclusive. Let $C$ be the sum of $A$ modulo the smallest divisor $d \\geq 2$ of 1135163. Compute the value of\n$$\n(353702 \\cdot A + 329703 \\cdot B + 215534 \\cdot C) \\mod 1009091\n$$\nand then take the result modulo 64173. Find the final value.", "answer": 23719, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64173),\n \"n\": Const(30976),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Const(13),\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=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=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1135163)))))))), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:55:56.528527Z", "verification": {"verified": true, "answer": 23719, "timestamp": "2026-02-08T06:55:56.532699Z"}, "problem_hash": "a1ee80", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22749, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 2359}, "timestamp": "2026-02-13T05:58:35.806Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 651}, "timestamp": "2026-02-12T00:38:43.374Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "5fbf6e", "alias": "nt_lcm_compute_v1_1520064083_141", "problem": "Let $p$ and $q$ be positive integers such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of such integers $p$. Define $a$ to be the sum of all prime numbers $n$ satisfying $m \\leq n \\leq 133$. Let $b$ be the largest integer $k$ such that $17^k$ divides $32776!$. Let $L$ be the least common multiple of $a$ and $b$. Find the remainder when $11809 \\cdot L$ is divided by $62460$.", "answer": 45213, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(62460),\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\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(133)), IsPrime(Var(\"n\"))))),\n \"b\": MaxKDivides(target=Factorial(Const(32776)), base=Const(17)),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(11809),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/V1/SUM_PRIMES"], "recipe_id": "edc527", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_PRIMES", "V1"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:06:24.570049Z", "verification": {"verified": true, "answer": 45213, "timestamp": "2026-02-08T03:06:24.574903Z"}, "problem_hash": "b72e2a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok_later", "V1": "ok_later", "C2": "no", "K13": "no", "K5": "no", "L3b": "no", "LTE_SUM": "no"}, "split": "valid"} +{"id": "69ca3a", "alias": "antilemma_cartesian_v1_1470522791_1501", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 36$ and $1 \\le b \\le 42$. Let $m = |x| + 2$. The Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\ge 3$. Let $k$ be the smallest positive integer such that $F_k \\equiv 0 \\pmod{m}$. Determine the value of $k$.", "answer": 1137, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(36)), right=IntegerRange(start=Const(1), end=Const(42)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:42:19.584620Z", "verification": {"verified": true, "answer": 1137, "timestamp": "2026-02-08T13:42:19.586043Z"}, "problem_hash": "51da23", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 335}, "timestamp": "2026-02-12T07:19:05.393Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "53dfe5", "alias": "comb_binomial_compute_v1_1125832087_2312", "problem": "Let $u = 8$, and define $n_1 = u + 1$. Let\n$$\nh = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $T$ be the set of all integers $t$ such that $14 \\leq t \\leq 44$ and there exist positive integers $a \\leq 6$ and $b \\leq 2$ satisfying $t = 4a + 10b$. Let $c$ be the number of elements in $T$. Define $n = c + h$. Let $k = 6 \\cdot \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Compute $\\binom{n}{k}$.", "answer": 924, "graph": "graphs = [\n Graph(\n let={\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 \"u\": Const(8),\n \"n1\": Sum(Ref(\"u\"), Const(1)),\n \"h\": Summation(var=\"k\", start=Sub(Binom(n=Const(6), k=Const(0)), Const(1)), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\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=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))), Ref(\"h\")),\n \"k\": Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))), Ref(\"f\")),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "LIN_FORM/BINOMIAL_ALTERNATING", "ZERO_BINOM_0"], "recipe_id": "8afcd1", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "LIN_FORM", "ZERO_BINOM_0"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T04:31:45.420725Z", "verification": {"verified": true, "answer": 924, "timestamp": "2026-02-08T04:31:45.427826Z"}, "problem_hash": "e6ac1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 924, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 285, "completion_tokens": 981}, "timestamp": "2026-02-10T17:05:05.339Z"}, {"id": 8, "model": "mathstral", "answer": 5005, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 890}, "timestamp": "2026-02-13T18:53:08.562Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 504}, "timestamp": "2026-02-11T20:56:29.070Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ZERO_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "34a287", "alias": "nt_gcd_compute_v1_677425708_3536", "problem": "Let $p = 13$. Define $u$ to be the remainder when $ (p-1)! + 1 $ is divided by $p$. Let $a_1$ be the number of integers $t$ such that $30 \\le t \\le 1482$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 20$, $1 \\le b \\le 62$, and $t = 9a + 21b$. Let $b_1 = 17$. Define $c$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a_1, b_1)$. Let $a = 232309$ and $b = (431431 + u) \\cdot c$. Let $g = \\gcd(a, b)$. Find the remainder when $|g|$ is divided by 93444.", "answer": 33187, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93444),\n \"p\": Const(13),\n \"u\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), EulerPhi(n=Const(1)))), Const(1)), modulus=Ref(\"p\")),\n \"a1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=62)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=1482)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\n \"b1\": Const(17),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(232309),\n \"b\": Mul(Sum(Const(431431), Ref(\"u\")), Ref(\"c\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_COPRIME", "WILSON", "ONE_PHI_1"], "recipe_id": "154ea0", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "ONE_PHI_1", "WILSON"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T05:48:56.072498Z", "verification": {"verified": true, "answer": 33187, "timestamp": "2026-02-08T05:48:56.078212Z"}, "problem_hash": "61bfe8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "WILSON": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "DS2": "no", "K13": "no", "MOD_ADD": "no", "V3": "no"}, "split": "valid"} +{"id": "4b5cfa", "alias": "antilemma_cartesian_v1_1470522791_736", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 31$ and $1 \\leq j \\leq 49$. Determine the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $|x| + 2$.", "answer": 1092, "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(49)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:12:51.396504Z", "verification": {"verified": true, "answer": 1092, "timestamp": "2026-02-08T13:12:51.397986Z"}, "problem_hash": "e5fa4a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 298}, "timestamp": "2026-02-12T06:18:19.084Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d354ef", "alias": "antilemma_cartesian_v1_1978505735_2403", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 11$. Compute the value of $7^x \\bmod 99991$, and then add $28657$ to the result. Find the final sum.", "answer": 33049, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(11)))),\n \"_c\": Const(28657),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:53:19.671535Z", "verification": {"verified": true, "answer": 33049, "timestamp": "2026-02-08T16:53:19.672634Z"}, "problem_hash": "833408", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 281}, "timestamp": "2026-02-12T21:16:11.556Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1011c6", "alias": "antilemma_cartesian_v1_717093673_730", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 33$. Compute the remainder when $529 - x$ is divided by $65142$.", "answer": 65110, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(33)))),\n \"_c\": Const(529),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(65142)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:37:39.892519Z", "verification": {"verified": true, "answer": 65110, "timestamp": "2026-02-08T15:37:39.893376Z"}, "problem_hash": "c5e7ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 65110, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 238}, "timestamp": "2026-02-12T08:52:26.026Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "9134a9", "alias": "nt_count_squarefree_v1_1125832087_1264", "problem": "Let $\\phi(n)$ denote Euler's totient function and $\\mu(n)$ denote the Möbius function. Let $A$ be the set of all positive integers $n$ such that $2 \\leq n \\leq 41616$ and $\\mu(n)^2 = 1$. Let $a$ be the number of elements in $A$. Let $B$ be the set of all integers $t$ such that $24 \\leq t \\leq 16998$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 702$, $1 \\leq b \\leq 717$, and $t = 14a + 10b$. Let $b$ be the number of elements in $B$. Compute the value of $2^{|a|} \\bmod 99991 + b$.", "answer": 42021, "graph": "graphs = [\n Graph(\n let={\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'))), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=702)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=717)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=16998)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM", "ONE_PHI_2"], "recipe_id": "607892", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 15.208, "created_at": "2026-02-08T03:39:05.581557Z", "verification": {"verified": true, "answer": 42021, "timestamp": "2026-02-08T03:39:20.789952Z"}, "problem_hash": "e194cb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "split": "valid"} +{"id": "7bad17", "alias": "comb_binomial_compute_v1_717093673_4184", "problem": "Let $n = 64$. Define $s$ as the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $x \\cdot y = n$. Let $T$ be the set of integers $t$ with $5 \\leq t \\leq 12$ for which there exist positive integers $a \\leq 3$ and $b \\leq 2$ such that $t = 2a + 3b$. Let $k$ be the maximum value of $x_1 \\cdot y_1$ over all pairs of positive integers $(x_1, y_1)$ such that $x_1 + y_1 = |T|$. Compute the smallest positive integer $m$ such that the $m$-th Fibonacci number is divisible by $|\\binom{s}{k}| + 2$.", "answer": 1908, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64),\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 \"k\": 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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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')))))))))))), expr=Mul(Var(\"x1\"), Var(\"y1\")))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1", "B3"], "recipe_id": "5ff465", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T18:05:00.541559Z", "verification": {"verified": true, "answer": 1908, "timestamp": "2026-02-08T18:05:00.547169Z"}, "problem_hash": "0f9860", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 711}, "timestamp": "2026-02-12T23:43:41.800Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d0a5a2", "alias": "modular_inverse_v1_677425708_3760", "problem": "Let $a$ be the number of integers $t$ with $8 \\leq t \\leq 768$ that can be written in the form $3a + 5b$ for positive integers $a \\leq 161$ and $b \\leq 57$. Let $m = 967$. Find the smallest positive integer $x \\leq 966$ such that $a x \\equiv 1 \\pmod{m}$. Let $r$ denote this value of $x$. Let $c$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $r + c^{r \\bmod 14}$ is divided by $63560$.", "answer": 1146, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\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=161)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=57)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=768)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"m\": Const(967),\n \"upper\": Const(966),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": 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=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'))))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\"))), modulus=Const(63560))),\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", "LIN_FORM"], "recipe_id": "8146b9", "seed_template_id": "modular_inverse_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.086, "created_at": "2026-02-08T05:55:24.713154Z", "verification": {"verified": true, "answer": 1146, "timestamp": "2026-02-08T05:55:24.799574Z"}, "problem_hash": "0cabc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 202, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 4616}, "timestamp": "2026-02-12T16:48:26.317Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 633}, "timestamp": "2026-02-11T23:20:55.486Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K14": "no", "MOD_ADD": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "87b446", "alias": "modular_inverse_v1_124444284_3190", "problem": "Let $a$ be the sum of all real solutions $x$ to the equation $x^2 - 507x + 38502 = 0$. Let $m$ be the smallest divisor of $853751$ that is at least $2$. Let $S$ be the set of all integers $x$ such that $1 \\le x \\le 918$ and $ax \\equiv 1 \\pmod{m}$. Compute the smallest element of $S$.", "answer": 890, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-507), Var(\"x\")), Const(38502)), Const(0)))),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(853751))))),\n \"upper\": Const(918),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "recipe_id": "0aafd1", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.097, "created_at": "2026-02-08T05:17:12.691192Z", "verification": {"verified": true, "answer": 890, "timestamp": "2026-02-08T05:17:12.788109Z"}, "problem_hash": "699c3c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 8192}, "timestamp": "2026-02-12T05:53:07.963Z"}, {"id": 8, "model": "mathstral", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 340}, "timestamp": "2026-02-14T10:37:17.422Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 436}, "timestamp": "2026-02-11T22:23:23.793Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok", "K16": "no", "K18": "no", "MOD_ADD": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "58ebc6", "alias": "nt_sum_phi_v1_1248542787_792", "problem": "Let $R$ be the sum of $\\phi(n)$ for all integers $n$ from $1$ to $500$, inclusive, where $\\phi(n)$ denotes Euler's totient function. Let $C = \\sum_{k=1}^{49} k$. Compute the remainder when $R^2 + 20R + C$ is divided by $79471$.", "answer": 64210, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(79471),\n \"upper\": Const(500),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(49), expr=Var(\"k\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(20), 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": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC"], "recipe_id": "609463", "seed_template_id": "nt_sum_phi_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.043, "created_at": "2026-02-08T03:25:20.062401Z", "verification": {"verified": true, "answer": 64210, "timestamp": "2026-02-08T03:25:20.105149Z"}, "problem_hash": "ef5159", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:24:17.199Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:09:16.818Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:48:47.115Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64210, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 3047}, "timestamp": "2026-02-11T12:18:53.103Z"}, {"id": 8, "model": "mathstral", "answer": 3878, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 377}, "timestamp": "2026-02-12T15:15:15.589Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 542}, "timestamp": "2026-02-11T20:52:02.793Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K16": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.03, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "d45a95", "alias": "modular_product_range_v1_1520064083_9999", "problem": "Let $P = \\prod_{i=105}^{d_{\\max}} i$, where $d_{\\max}$ is the largest positive divisor of 110199 that is at most 327. Compute the remainder when $P$ is divided by 11243.", "answer": 414, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(327),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(105), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(110199)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11243)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:08:56.985946Z", "verification": {"verified": true, "answer": 414, "timestamp": "2026-02-08T11:08:56.987802Z"}, "problem_hash": "d4566a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 100, "completion_tokens": 8192}, "timestamp": "2026-02-14T10:37:34.756Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 459}, "timestamp": "2026-02-12T03:38:57.883Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "3352e3", "alias": "diophantine_fbi2_count_v1_1116507919_338", "problem": "Let $m = 11$ and $n = 2$. Define $k = 120$. Let $S$ be the set of all positive integers $d$ such that $d \\geq n$, $d$ divides $k$, $\\frac{k}{d} \\geq 6$, and $\\frac{k}{d} \\leq 69$. Furthermore, let $T$ be the set of all positive integers $k'$ such that $1 \\leq k' \\leq 21120$ and $32$ divides $k'$. Let $N = m^e$, where $e$ is the largest integer such that $m^e$ divides $|T|!$. Determine the number of elements in $S$ that are at most $e$. Compute this number.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"k\": Const(120),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(21120)), Divides(divisor=Const(32), dividend=Var(\"k\"))), domain='positive_integers'))), base=Ref(\"_m\"))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(69))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["C2/V1"], "recipe_id": "ed5736", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "V1"], "num_lemmas": 3, "generation_time": 0.079, "created_at": "2026-02-08T02:31:44.616757Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T02:31:44.696140Z"}, "problem_hash": "c776ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 611}, "timestamp": "2026-02-08T19:23:25.211Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 277, "completion_tokens": 1352}, "timestamp": "2026-02-09T15:57:43.395Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 7986}, "timestamp": "2026-02-09T19:50:11.113Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 210, "completion_tokens": 1348}, "timestamp": "2026-02-09T19:37:06.080Z"}], "solution_status": 2, "lemma_applicability": {"C2": "ok", "V1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "d00d09", "alias": "nt_min_coprime_above_v1_1918700295_2894", "problem": "Let $s$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $6765$. Let $k_{\\text{max}}$ be the number of positive integers $k$ at most $625770$ that are divisible by $90$. Let $u$ be the number of positive integers $j$ such that $j^2 \\leq 48344209$ and $j \\leq k_{\\text{max}}$. Let $r$ be the smallest integer $n$ such that $n > s$, $n \\leq u$, and $\\gcd(n, 178) = 1$. Find the value of $r$.", "answer": 6767, "graph": "graphs = [\n Graph(\n let={\n \"start\": SumOverDivisors(n=Const(value=6765), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(625770)), Divides(divisor=Const(90), dividend=Var(\"k\"))), domain='positive_integers'))), Leq(Pow(Var(\"j\"), Const(2)), Const(48344209))), domain='positive_integers')),\n \"modulus\": Const(178),\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": "C2", "lemma_paths": ["C2/C3", "K3"], "recipe_id": "59f91d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "C3", "K3"], "num_lemmas": 3, "generation_time": 0.03, "created_at": "2026-02-08T08:18:21.632185Z", "verification": {"verified": true, "answer": 6767, "timestamp": "2026-02-08T08:18:21.662261Z"}, "problem_hash": "8d6147", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6767, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 1125}, "timestamp": "2026-02-13T17:11:46.070Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 422}, "timestamp": "2026-02-12T01:46:16.245Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "K3": "ok", "C3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "82e523", "alias": "antilemma_cartesian_v1_717093673_283", "problem": "Compute the number of ordered pairs $(a, b)$ of positive integers such that $1 \\leq a \\leq 36$ and $1 \\leq b \\leq 40$.", "answer": 1440, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(36)), right=IntegerRange(start=Const(1), end=Const(40)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:17:33.425266Z", "verification": {"verified": true, "answer": 1440, "timestamp": "2026-02-08T15:17:33.426000Z"}, "problem_hash": "9abfbf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1440, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 154}, "timestamp": "2026-02-12T08:12:01.762Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "2b26d6", "alias": "comb_count_partitions_v1_1742523217_2822", "problem": "Let $m = 70$ and let $n = 45$. Define $p(n)$ to be the number of integer partitions of $n$. Let $k$ be the largest integer that can be expressed as $x \\cdot y$, where $x$ and $y$ are positive integers satisfying $x + y = 3^{m}$. Compute the remainder when $k - p(n)$ is divided by $63272$.", "answer": 42310, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70),\n \"_n\": MaxKDivides(target=Pow(Const(9), Ref(\"_m\")), base=Const(3)),\n \"n\": Const(45),\n \"result\": Partition(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(63272)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/B1"], "recipe_id": "b8c82d", "seed_template_id": "comb_count_partitions_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "K14"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:24:12.133689Z", "verification": {"verified": true, "answer": 42310, "timestamp": "2026-02-08T05:24:12.135711Z"}, "problem_hash": "b50ca2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "B1": "ok_later", "K15": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "45e4bb", "alias": "antilemma_sum_equals_v1_124444284_577", "problem": "Let $n$ be the number of integers $t$ such that there exist positive integers $a$ and $b$ satisfying $1 \\le a \\le 8$, $1 \\le b \\le 9$, $20 \\le t \\le 174$, and $t = 6a + 14b$. Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i \\le 64$ and $1 \\le j \\le 64$ such that $i + j = n$. Let $Q = 50176 + \\sum_{i=s}^{d-1} \\left( \\text{digit}_i(|x|) \\cdot (i+1)^2 \\right)$, where $d$ is the number of decimal digits of $|x|$, $\\text{digit}_i(|x|)$ is the $i$-th digit of $|x|$ (starting from the units digit at $i=0$), and $s = \\sum_{k=0}^{5} (-1)^k \\binom{5}{k}$. Compute $Q$.", "answer": 50203, "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=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=174)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=14), 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(64)), right=IntegerRange(start=Const(1), end=Const(64))))),\n \"_c\": Const(50176),\n \"Q\": Sum(Summation(var=\"i\", start=Summation(var=\"k\", start=Const(0), end=Const(5), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(5), k=Var(\"k\")))), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS"], "recipe_id": "979f4d", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:22:35.160908Z", "verification": {"verified": true, "answer": 50203, "timestamp": "2026-02-08T03:22:35.169458Z"}, "problem_hash": "5b65db", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 50203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 353, "completion_tokens": 3384}, "timestamp": "2026-02-09T19:22:12.039Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 50203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 357, "completion_tokens": 3954}, "timestamp": "2026-02-09T03:35:06.655Z"}, {"id": 8, "model": "mathstral", "answer": 50199, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 776}, "timestamp": "2026-02-11T19:12:29.906Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 346, "completion_tokens": 489}, "timestamp": "2026-02-11T20:49:21.698Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "0965cd", "alias": "diophantine_product_count_v1_865884756_560", "problem": "Let $k = 1260$ and $m = 317$. Determine the number of positive integers $x$ such that $1 \\le x \\le m$, $x$ divides $k$, and $\\frac{k}{x} \\le m$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(317),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "B3/L3C"], "recipe_id": "d61c72", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.056, "created_at": "2026-02-08T15:30:52.283836Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T15:30:52.339939Z"}, "problem_hash": "a42dc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 412}, "timestamp": "2026-02-12T08:35:47.861Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7fa67c", "alias": "nt_count_primes_v1_1918700295_757", "problem": "Let $m = 43$. Let $n$ be the largest integer such that $43^n$ divides $m^2$. Let $S$ be the set of all integers $k$ such that $n \\leq k \\leq 41616$ and $k$ is prime. Let $\\text{result} = |S|$, the number of elements in $S$. Let $D$ be the set of all integers $d \\geq 2$ that divide $537251$. Let $d_{\\min}$ be the smallest element of $D$. Compute the Bell number $B_{\\text{result} \\bmod d_{\\min}}$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(43),\n \"_n\": MaxKDivides(target=Pow(Ref(\"_m\"), Const(2)), base=Const(43)),\n \"upper\": Const(41616),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": 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": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "K14/MIN_PRIME_FACTOR"], "recipe_id": "b8203a", "seed_template_id": "nt_count_primes_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.99, "created_at": "2026-02-08T03:24:35.138949Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T03:24:36.129237Z"}, "problem_hash": "6ecbbe", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "L3c": "no", "MOD_ADD": "no", "V1": "no"}, "split": "valid"} +{"id": "7cd1be", "alias": "antilemma_cartesian_v1_1978505735_320", "problem": "Let $x$ be the number of ordered pairs $(m,n)$ of integers such that $1 \\le m \\le 15$ and $1 \\le n \\le 43$.\n\nLet $A$ be the set of all ordered pairs $(u,v)$ of positive integers such that $u$ and $v$ are odd and $u+v=8$. Let $y$ be the number of elements of $A$.\n\nLet $B$ be the set of all ordered pairs $(r,s)$ of positive integers such that $r$ and $s$ are odd and $r+s=y$. Let $z$ be the number of elements of $B$.\n\nLet $C$ be the set of all integers $t$ such that $21 \\le t \\le 102$ and there exist integers $a$ and $b$ with $1 \\le a \\le 6$ and $1 \\le b \\le 4$ for which\n$$t = 9a + 12b.$$\nLet $w$ be the number of elements of $C$.\n\nLet $D$ be the number of ordered pairs $(p,q)$ of integers such that $1 \\le p \\le 75$ and $1 \\le q \\le 75$.\n\nLet\n$$N = x^{z} \\cdot w \\cdot x + D.$$\nLet $Q$ be the remainder when $N$ is divided by $81552$.\n\nFind the value of $Q$. ", "answer": 28080, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81552),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"Q\": Mod(value=Sum(Pow(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\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x11\"), Var(\"x21\")]), condition=And(IsPositive(arg=Var(name='x11')), IsPositive(arg=Var(name='x21')), IsOdd(arg=Var(name='x11')), IsOdd(arg=Var(name='x21')), Eq(Sum(Var(\"x11\"), Var(\"x21\")), Const(8)))))))))), 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=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=102)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))), Ref(\"x\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(75)), right=IntegerRange(start=Const(1), end=Const(75))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1", "COUNT_CARTESIAN", "LIN_FORM", "COUNT_CARTESIAN"], "recipe_id": "7a8604", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T15:18:12.547280Z", "verification": {"verified": true, "answer": 28080, "timestamp": "2026-02-08T15:18:12.555885Z"}, "problem_hash": "825ba3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 432, "completion_tokens": 447}, "timestamp": "2026-02-12T08:16:22.699Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0d673a", "alias": "geo_count_lattice_triangle_v1_809748730_1613", "problem": "Consider the rectangle in the coordinate plane with vertices at $(0,0)$, $(121,0)$, $(121,196)$, and $(0,196)$. Inside this rectangle, consider the set of all lattice points $(u,v)$ with integer coordinates satisfying $1 \\le u \\le 7$ and $1 \\le v \\le 11$. Let $m$ be the number of such points.\n\nLet $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 225$. Let $S$ be the set of all values of $x + y$ as $(x,y)$ ranges over $T$, and let $N$ be the minimum of the set $S$.\n\nLet $U$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = N$. Let $M$ be the maximum of the set of all values of $xy$ as $(x,y)$ ranges over $U$.\n\nDefine\n$$A = \\left|121M - 77 \\cdot (-196)\\right|,$$\n$$B = \\gcd\\bigl(|121|,|196|\\bigr) + \\gcd\\bigl(|77-121|,|225-196|\\bigr) + \\gcd\\bigl(|0-m|,|0-225|\\bigr),$$\nand\n$$Q = \\frac{A + 2 - B}{2}.$$\n\nFind the value of $Q$. ", "answer": 6066, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(11)))),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=121), 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='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'))))))), expr=Mul(Var(name='x'), Var(name='y'))))), Mul(Const(value=77), Sub(left=Const(value=0), right=Const(value=196))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=Const(value=196))), GCD(a=Abs(arg=Sub(left=Const(value=77), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=225), right=Const(value=196)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_m'))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=225))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Ref(\"_c\"), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/B3", "B3/B1"], "recipe_id": "96d218", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T12:35:02.933163Z", "verification": {"verified": true, "answer": 6066, "timestamp": "2026-02-08T12:35:02.949133Z"}, "problem_hash": "1bfefb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 441, "completion_tokens": 630}, "timestamp": "2026-02-12T05:24:41.212Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "B1": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "aab07a", "alias": "antilemma_product_of_sums_v1_1520064083_3080", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 6$. Let $p_2$ be the largest prime number $n$ such that $2 \\leq n \\leq p_1$. Define $$ S_1 = \\sum_{k=1}^{p_2} k. $$ Let $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 8$. Compute $S_1 \\cdot S_2$.", "answer": 24300, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"S1\": Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "64baf5", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:27:17.242026Z", "verification": {"verified": true, "answer": 24300, "timestamp": "2026-02-08T05:27:17.245913Z"}, "problem_hash": "3e88d0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "a67ef6", "alias": "diophantine_product_count_v1_153355830_788", "problem": "Let $k = 1260$. Consider the set of all positive integers $x$ such that $1 \\le x \\le 49$, $x$ divides $k$, and $\\frac{k}{x} \\le 49$. Let $r$ be the number of such integers $x$. Let $c$ be the largest positive divisor $d$ of $39513795$ such that $d \\le \\sum_{d'\\mid 6285} \\phi(d')$, where $\\phi$ denotes Euler's totient function. Compute $c \\cdot r$.", "answer": 37710, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(49),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), SumOverDivisors(n=Const(value=6285), var='d', expr=EulerPhi(n=Var(name='d')))), Divides(divisor=Var(\"d\"), dividend=Const(39513795))))),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_DIVISOR"], "recipe_id": "ed432e", "seed_template_id": "diophantine_product_count_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.029, "created_at": "2026-02-08T04:10:41.463494Z", "verification": {"verified": true, "answer": 37710, "timestamp": "2026-02-08T04:10:41.492764Z"}, "problem_hash": "22f9f8", "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": 230, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:33:45.917Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:39:41.681Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 90, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 8106}, "timestamp": "2026-02-11T22:29:58.189Z"}, {"id": 8, "model": "mathstral", "answer": 50861, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 731}, "timestamp": "2026-02-13T09:46:19.353Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 578}, "timestamp": "2026-02-11T21:23:31.700Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MAX_DIVISOR": "ok_later", "K14": "no", "K5": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "72b272", "alias": "diophantine_fbi2_min_v1_124444284_313", "problem": "Let $e$ be the number of prime factors of $1$ counted with multiplicity, and let $h$ be the number of distinct prime factors of $1$. Define\n$$u=46+e.$$Let $d$ be the smallest integer with $3\\le d\\le u$, such that $d$ divides $36$ and $36/d\\ge 6$. Let $p$ be the number of primes $n$ with $2\\le n\\le 7573$. Define\n$$Q=d^2+47d+p+h.$$\nFind the value of $Q$.", "answer": 1111, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7573),\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"n\": Const(1),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"k\": Const(36),\n \"upper\": Sum(Const(46), Ref(\"e\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(47), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Ref(\"h\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/OMEGA_ZERO", "BIG_OMEGA_ZERO"], "recipe_id": "59660c", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COUNT_PRIMES", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:10:30.655882Z", "verification": {"verified": true, "answer": 1111, "timestamp": "2026-02-08T03:10:30.662118Z"}, "problem_hash": "e7d55e", "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": 235, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:10:39.144Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:45:59.543Z"}], "solution_status": 0, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_PRIMES": "ok", "OMEGA_ZERO": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "LTE_SUM": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "d560f2", "alias": "comb_bell_compute_v1_717093673_648", "problem": "Let $d$ be a positive integer. Define $S$ to be the set of all positive integers $d$ such that $1 \\leq d \\leq 9$ and $d$ divides $99$. Let $n$ be the largest element of $S$. Let $B_n$ denote the $n$th Bell number, which is the number of partitions of a set of $n$ elements. Compute the remainder when $84187 \\cdot B_n$ is divided by $95386$.", "answer": 18185, "graph": "graphs = [\n Graph(\n let={\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(9)), Divides(divisor=Var(\"d\"), dividend=Const(99))))),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": Const(84187),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(95386)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:35:01.239416Z", "verification": {"verified": true, "answer": 18185, "timestamp": "2026-02-08T15:35:01.240816Z"}, "problem_hash": "e3a8ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 255}, "timestamp": "2026-02-12T08:51:42.861Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "K15": "no", "K17": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a7f758", "alias": "nt_sum_divisors_compute_v1_971394319_235", "problem": "Let $n = 32041$. Define $\\sigma(n)$ to be the sum of all positive divisors of $n$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $k = |S|$. Compute the sum\n$$\n\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } \\sigma(n) \\right) \\cdot (i+1)^k,\n$$\nwhere $d$ is the number of digits in $\\sigma(n)$. Then multiply this sum by $\\sum_{j=1}^{137} j$ and report the final result.", "answer": 9587, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(137),\n \"n\": Const(32041),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"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)), 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(\"_c\")),\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", "COPRIME_PAIRS"], "recipe_id": "7fda43", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T12:54:40.506318Z", "verification": {"verified": true, "answer": 9587, "timestamp": "2026-02-08T12:54:40.510555Z"}, "problem_hash": "a06f1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 496}, "timestamp": "2026-02-12T05:59:00.386Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7e04ea", "alias": "antilemma_cartesian_v1_1978505735_589", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer satisfying $1 \\leq a \\leq 25$ and $b$ is an integer satisfying $1 \\leq b \\leq 28$. Let $S$ be the set of all ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 10368$. Compute the remainder when $x^2 + 11x + |S|$ is divided by $99454$.", "answer": 5614, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10368),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(11), 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\")), Ref(\"_n\")))))), modulus=Const(99454)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_CARTESIAN"], "recipe_id": "217b64", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T15:28:14.049219Z", "verification": {"verified": true, "answer": 5614, "timestamp": "2026-02-08T15:28:14.052553Z"}, "problem_hash": "0c1ccd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 530}, "timestamp": "2026-02-12T08:30:29.259Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7f8f6a", "alias": "comb_binomial_compute_v1_1520064083_7014", "problem": "Let $n = \\sum_{k=1}^{5} k$. Let $k = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $r = \\binom{n}{k}$. Compute the remainder when $17377 \\cdot r$ is divided by $85629$.", "answer": 58450, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(17377),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85629)),\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", "K2"], "recipe_id": "2a0f86", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:43:00.487295Z", "verification": {"verified": true, "answer": 58450, "timestamp": "2026-02-08T08:43:00.489762Z"}, "problem_hash": "ab736b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58450, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 1914}, "timestamp": "2026-02-13T20:51:23.627Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 463}, "timestamp": "2026-02-12T02:07:37.826Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "K15": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "49d28e", "alias": "nt_sum_totient_over_divisors_v1_717093673_517", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 21 and $b$ is an integer from 1 to 331. Compute $\\sum_{d \\mid n} \\phi(d)$.", "answer": 6951, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(331)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.006, "created_at": "2026-02-08T15:29:56.812917Z", "verification": {"verified": true, "answer": 6951, "timestamp": "2026-02-08T15:29:56.819043Z"}, "problem_hash": "666b30", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 332}, "timestamp": "2026-02-12T08:31:37.911Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "L3b": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b361fe", "alias": "modular_min_linear_v1_1978505735_2485", "problem": "Let $a$ be the number of ordered pairs $(i,j)$ where $i$ is an integer from 1 to 39 and $j$ is an integer from 1 to 241. Let $b = 23088$ and $m = 25902$. Let $x$ be the smallest positive integer such that $1 \\leq x \\leq m$ and $$\nax \\equiv b \\pmod{m}.\n$$Let $r$ be this value of $x$. Compute the remainder when $$\n\\sum_{n=1}^{r} \\phi(n)\n$$is divided by 81077.", "answer": 29735, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81077),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(241)))),\n \"b\": Const(23088),\n \"m\": Const(25902),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 1.306, "created_at": "2026-02-08T16:54:55.879390Z", "verification": {"verified": true, "answer": 29735, "timestamp": "2026-02-08T16:54:57.185228Z"}, "problem_hash": "4c6ea2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 410}, "timestamp": "2026-02-12T21:29:16.673Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K15": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "036a1d", "alias": "nt_min_coprime_above_v1_1742523217_600", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of integers such that $1 \\leq a \\leq 97$ and $1 \\leq b \\leq 97$. Let $N$ be the number of elements in $S$. Let $n$ be the smallest integer greater than $N$ and at most $9837$ such that $\\gcd(n, 418) = 1$. Compute the value of\n$$\n\\sum_{i=0}^{k-1} d_i (i+1)^2 + 99,\n$$\nwhere $d_i$ is the $i$-th decimal digit of $|n|$ (starting from the units digit as $i=0$), and $k$ is the number of decimal digits of $|n|$.", "answer": 284, "graph": "graphs = [\n Graph(\n let={\n \"start\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(97)))),\n \"upper\": Const(9837),\n \"modulus\": Const(418),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Const(99)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.037, "created_at": "2026-02-08T03:08:26.850278Z", "verification": {"verified": true, "answer": 284, "timestamp": "2026-02-08T03:08:26.887740Z"}, "problem_hash": "a84b09", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 284, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 1083}, "timestamp": "2026-02-09T20:05:16.484Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 284, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 1102}, "timestamp": "2026-02-09T04:52:22.642Z"}, {"id": 8, "model": "mathstral", "answer": 291, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 567}, "timestamp": "2026-02-11T14:57:44.748Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 297}, "timestamp": "2026-02-11T20:20:47.739Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "no", "K13": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "f3dc2a", "alias": "antilemma_sum_primes_v1_784195855_88", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$.\n\nLet $k$ be the largest integer such that $|S|^k \\le 738390861754430$.\n\nLet $x$ be the sum of all prime numbers $n$ such that $2 \\le n \\le k$.\n\nCompute the value of $(44121 \\cdot x) \\bmod 60623$.", "answer": 43414, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(60623),\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(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'))))))), Var(\"k\")), Const(738390861754430)))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MAX_VAL/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "0c3ade", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_VAL", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:57:15.890343Z", "verification": {"verified": true, "answer": 43414, "timestamp": "2026-02-08T02:57:15.892303Z"}, "problem_hash": "cc777a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 43414, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 235, "completion_tokens": 1450}, "timestamp": "2026-02-08T22:40:54.154Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "MAX_VAL": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "7c8d5e", "alias": "geo_count_lattice_rect_v1_397696148_1445", "problem": "Compute the number of lattice points in the rectangle $[0, 89] \\times [0, 159]$, including the boundary.", "answer": 14400, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(89),\n \"b\": Const(159),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T12:33:16.183639Z", "verification": {"verified": true, "answer": 14400, "timestamp": "2026-02-08T12:33:16.185300Z"}, "problem_hash": "04c32a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14400, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 191}, "timestamp": "2026-02-12T05:18:13.872Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "395b08", "alias": "nt_sum_totient_over_divisors_v1_677425708_2756", "problem": "Let $c$ be the number of distinct prime factors of 289. Let $m$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 16$. Define $a = 2m$ and $b = 2 \\cdot (15c)$. Let $d_1, d_2, \\dots, d_k$ be the positive divisors of $\\gcd(a,b)$. Define\n$$\nh = \\sum_{d \\mid \\gcd(a,b)} \\mu(d),\n$$\nwhere $\\mu(d)$ is the M\\\"obius function. Let $n = 12187 + h$. Compute\n$$\n\\sum_{d \\mid n} \\phi(d),\n$$\nwhere $\\phi(d)$ is Euler's totient function. Find the remainder when $94089$ times this sum is divided by 51058.", "answer": 2079, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94089),\n \"n2\": Const(289),\n \"c\": SmallOmega(n=Ref(name='n2')),\n \"g\": 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(16)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n1\": Mul(Const(15), Ref(\"c\")),\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 \"n\": Sum(Const(12187), Ref(\"h\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(51058)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "OMEGA_ONE"], "recipe_id": "2f8289", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T05:14:42.426833Z", "verification": {"verified": true, "answer": 2079, "timestamp": "2026-02-08T05:14:42.434715Z"}, "problem_hash": "36a862", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no"}, "split": "valid"} +{"id": "da433b", "alias": "comb_count_derangements_v1_1520064083_3070", "problem": "Let $m = 5$ and $n = 7$. Define $a$ to be the largest integer $k$ such that $2^k$ divides $n^{64} - m^b$, where $b$ is the largest integer such that $13^b$ divides $28561^{16}$. Compute the subfactorial of $a$.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(7),\n \"n\": MaxKDivides(target=Sub(Pow(Ref(\"_n\"), Const(64)), Pow(Ref(\"_m\"), MaxKDivides(target=Pow(Const(28561), Const(16)), base=Const(13)))), base=Const(2)),\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": "K14", "lemma_paths": ["K14/LTE_DIFF_P2"], "recipe_id": "d6f18f", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "LTE_DIFF_P2"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:26:21.415930Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T05:26:21.417671Z"}, "problem_hash": "568092", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "LTE_DIFF_P2": "ok_later", "DS2": "no", "K5": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "03e3a1", "alias": "nt_count_digit_sum_v1_1520064083_10003", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ where $i$ is an integer from $1$ to $99$ and $j$ is an integer from $1$ to $101$. Let $N = |S|$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$ and the sum of the decimal digits of $n$ is $23$. Let this number be $r$. Compute the remainder when $29591 \\cdot r$ is divided by $79716$.", "answer": 14232, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(101)))),\n \"target_sum\": 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 \"_c\": Const(29591),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(79716)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.515, "created_at": "2026-02-08T11:08:57.102018Z", "verification": {"verified": true, "answer": 14232, "timestamp": "2026-02-08T11:08:57.616781Z"}, "problem_hash": "8999af", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14232, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 1558}, "timestamp": "2026-02-14T10:34:45.017Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 268}, "timestamp": "2026-02-12T03:38:56.324Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "34bc0a", "alias": "nt_gcd_compute_v1_458359167_1024", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 6$. Let $P$ be the set of all products $xy$ as $(x, y)$ ranges over $S$. Let $d$ be the greatest common divisor of the maximum element of $P$ and 14. Let $a = 169440$ and $b = 317700$, and let $r = \\gcd(a, b)$. Let $Q$ be the sum of $\\varphi(n)$ for all integers $n$ from $\\sum_{d' \\mid d} \\mu(d')$ to $|r|$, inclusive, where $\\mu$ is the Möbius function and $\\varphi$ is Euler's totient function. Find the remainder when $Q$ is divided by 85743.", "answer": 28054, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85743),\n \"a\": Const(169440),\n \"b\": Const(317700),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x'), Var(name='y')))), b=Const(value=14)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_COPRIME"], "recipe_id": "6e1ff4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "sum_totient", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 1.225, "created_at": "2026-02-08T04:13:48.344080Z", "verification": {"verified": true, "answer": 28054, "timestamp": "2026-02-08T04:13:49.569408Z"}, "problem_hash": "4b678f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "LTE_SUM": "no"}, "split": "valid"} +{"id": "2707f7", "alias": "antilemma_v7_kummer_784195855_2682", "problem": "Let $C=44121$ and $M=12216$. Consider all ordered triples $(a,b,t)$ of integers satisfying\n\\begin{align*}\n1&\\le a\\le 311,\\\\\n1&\\le b\\le 191,\\\\\n9&\\le t\\le 2559,\\\\\nt&=7a+2b.\n\\end{align*}\nLet $T$ be the set of all integers $t$ for which there exists at least one such pair $(a,b)$, and let $N$ be the number of elements in $T$.\n\nNext, let $S$ be the set of all positive integers $n$ such that $1\\le n\\le M$ and $6$ divides the $n$th Fibonacci number $F_n$, where $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all positive integers $n$. Let $K$ be the number of elements in $S$.\n\nLet $D$ be the set of all positive integers $d$ such that $1\\le d\\le K$ and $d$ divides $1049558$, and let $r$ be the maximum element of $D$. Consider the binomial coefficient $\\binom{N}{r}$, and let $b$ be the largest integer $k$ such that $p^k$ divides $\\binom{N}{r}$, where $p$ is the number of positive integers $u$ for which there exists a positive integer $v$ such that\n$$uv=12, \\quad \\gcd(u,v)=1, \\quad u 0$, and $\\delta = 0$ otherwise. Define $\\varepsilon = 1$ if $D = \\sum_{d \\mid \\left( \\sum S \\right)} \\mu(d)$, and $\\varepsilon = 0$ otherwise, where $\\mu$ denotes the M\\\"obius function. Let $r = 2\\delta + \\varepsilon$. Compute $44121 \\cdot r$.", "answer": 44121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(1),\n \"b\": Const(2),\n \"c\": Const(1),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_n\"), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), SumOverDivisors(n=SumOverSet(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=4)), IsPrime(arg=Var(name='n'))))), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"Q\": Mul(Const(44121), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["SUM_PRIMES/MOBIUS_SUM"], "recipe_id": "7a7629", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:24:29.794559Z", "verification": {"verified": true, "answer": 44121, "timestamp": "2026-02-08T05:24:29.797971Z"}, "problem_hash": "7f3ebf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_PRIMES": "ok", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8": "no"}, "split": "valid"} +{"id": "956313", "alias": "geo_count_lattice_rect_v1_2051736721_4535", "problem": "Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 50$ and $0 \\leq y \\leq 25$. Let $N$ be this number. Find the remainder when $44121 \\cdot N$ is divided by $62807$.", "answer": 31129, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(50),\n \"b\": Const(25),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(62807)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T18:02:10.262135Z", "verification": {"verified": true, "answer": 31129, "timestamp": "2026-02-08T18:02:10.263435Z"}, "problem_hash": "28f68a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 376}, "timestamp": "2026-02-12T23:35:09.999Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "62ef1e", "alias": "nt_count_divisors_in_range_v1_124444284_4315", "problem": "Let $n = 166320$. Define $a$ to be the number of positive integers $k$ with $1 \\leq k \\leq 106$ such that the sum of the decimal digits of $k$ is even. Define $b$ to be the number of integers $t$ with $24 \\leq t \\leq 5610$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 188$, $1 \\leq b \\leq 310$, and $t = 15a + 9b$. Let $d$ be a positive divisor of $n$ such that $a \\leq d \\leq b$. Compute the number of such divisors $d$, and let $k$ be the smallest positive integer such that the $k$-th Fibonacci number is divisible by $k + 2$, where $k$ is this count. Determine the value of $k$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(166320),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(106)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(0))))),\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=188)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=310)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=5610)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.343, "created_at": "2026-02-08T05:55:05.769668Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T05:55:06.112412Z"}, "problem_hash": "1a1bf1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 8192}, "timestamp": "2026-02-12T16:44:59.383Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 435}, "timestamp": "2026-02-11T23:20:09.319Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K16": "no", "K18": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "02daee", "alias": "nt_sum_divisors_compute_v1_153355830_1615", "problem": "Let $p$ be the smallest prime divisor of $1773593$. Let $t = 0$ and define $n_1 = p^{2 + t}$. Let $e$ be the number of distinct prime factors of $n_1$. Let $n = 50176e$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|\\sigma(n)| + 2$.", "answer": 2917, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50176),\n \"n2\": Const(1),\n \"t\": BigOmega(n=Ref(name='n2')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1773593))))),\n \"n1\": Pow(Ref(\"p\"), Sum(Const(2), Ref(\"t\"))),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "f3c6b3", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:32:01.010196Z", "verification": {"verified": true, "answer": 2917, "timestamp": "2026-02-08T06:32:01.012211Z"}, "problem_hash": "fb2ce4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "OMEGA_ONE": "ok_later", "DS2": "no", "K18": "no", "MOD_MUL": "no", "V1": "no", "V8": "no"}, "split": "valid"} +{"id": "9b7447", "alias": "antilemma_sum_equals_v1_1431428450_722", "problem": "Let $ T $ be the set of all integers $ t $ in the interval $[9, 109]$ for which there exist integers $ a \\in [1,17] $ and $ b \\in [1,6] $ such that $ t = 5a + 4b $. Let $ m $ be the number of elements in $ T $. Let $ I_1 $ be the set of all ordered pairs of positive integers $ (i, j) $ with $ i \\leq 88 $, $ j \\leq 88 $, and $ i + j = m $. Let $ n $ be the number of elements in $ I_1 $. Let $ I_2 $ be the set of all ordered pairs of positive integers $ (i, j) $ with $ i \\leq 86 $, $ j \\leq 86 $, and $ i + j = n $. Let $ x $ be the number of elements in $ I_2 $. Compute the sum of the number of positive divisors of all integers from $ \\binom{7}{7} $ to $ |x| $, inclusive.", "answer": 395, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(7),\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=17)), 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=109)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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(88)), right=IntegerRange(start=Const(1), end=Const(88))))),\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(86)), right=IntegerRange(start=Const(1), end=Const(86))))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(7), k=Ref(\"_c\")), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "LIN_FORM/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_BINOM_N"], "recipe_id": "6db776", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 4, "generation_time": 0.063, "created_at": "2026-02-08T13:39:02.956571Z", "verification": {"verified": true, "answer": 395, "timestamp": "2026-02-08T13:39:03.019339Z"}, "problem_hash": "ae8b19", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 594}, "timestamp": "2026-02-12T07:12:06.406Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4ddf0d", "alias": "antilemma_v1_legendre_458359167_908", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x \\cdot y = 10692900$. For each such pair, compute $x + y$, and let $m$ be the minimum value among these sums. Let $p$ be the largest prime number not exceeding $5$. Compute the largest integer $x$ such that $p^x$ divides $m!$. Find the remainder when $18340 \\cdot x$ is divided by $76869$.", "answer": 47179, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76869),\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(10692900)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))),\n \"_c\": Const(18340),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V1", "B3/V1", "V1"], "recipe_id": "9796c1", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:10:16.333196Z", "verification": {"verified": true, "answer": 47179, "timestamp": "2026-02-08T04:10:16.336106Z"}, "problem_hash": "0451e2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "eda5a7", "alias": "nt_count_gcd_equals_v1_1978505735_3893", "problem": "Let $k$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 3 and $b$ is an integer from 1 to 17. Let $N$ be the number of positive integers $n$ at most $40320$ such that $\\gcd(n, k) = 3$. Determine the value of the smallest positive integer $m$ such that the $m$-th Fibonacci number is divisible by $N + 2$.", "answer": 9492, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(40320),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(17)))),\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 \"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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 3.77, "created_at": "2026-02-08T17:55:12.412874Z", "verification": {"verified": true, "answer": 9492, "timestamp": "2026-02-08T17:55:16.182424Z"}, "problem_hash": "972423", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 461}, "timestamp": "2026-02-12T23:21:54.554Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_PRIMES": "no", "K13": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "07c6b3", "alias": "nt_count_divisible_v1_1520064083_7422", "problem": "Let $A$ be the number of positive integers $n \\le 78961$ that are divisible by $28$. Let $B$ be the number of ordered pairs $(p,q)$ of positive integers such that $pq = 12$, $\\gcd(p,q) = 1$, and $p < q$. Find the remainder when $B - A$ is divided by $78436$.", "answer": 75618, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(78961),\n \"divisor\": Const(28),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(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'))))))), Ref(\"result\")), modulus=Const(78436)),\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"], "recipe_id": "c90628", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 3.993, "created_at": "2026-02-08T09:02:51.323231Z", "verification": {"verified": true, "answer": 75618, "timestamp": "2026-02-08T09:02:55.316151Z"}, "problem_hash": "26f79d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 75618, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 1320}, "timestamp": "2026-02-13T23:34:31.388Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 535}, "timestamp": "2026-02-12T02:26:17.195Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K17": "no", "K18": "no", "MOD_MUL": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6c26ac", "alias": "nt_max_prime_below_v1_151522320_1483", "problem": "Let $m = 6$. Compute $6^7 + 1$, and let $n$ be the largest integer $k$ such that $7^k$ divides this value. Let $U = 24649$. Define $P$ to be the set of all prime numbers $p$ such that $n \\le p \\le U$. Let $r$ be the largest element of $P$. Now, let $S$ be the set of all integers $t$ such that $11 \\le t \\le 2345$ and there exist positive integers $a \\le 171$ and $b \\le 287$ satisfying $t = 7a + 4b$. Find the number of elements in $S$, and denote this count by $C$. Compute the remainder when $C \\cdot r$ is divided by $68792$. Find this remainder.", "answer": 41459, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": MaxKDivides(target=Sum(Pow(Ref(\"_m\"), Const(7)), Const(1)), base=Const(7)),\n \"upper\": Const(24649),\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\": 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=171)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=287)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=2345)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"result\")), modulus=Const(68792)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LTE_SUM/LIN_FORM"], "recipe_id": "541565", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_SUM"], "num_lemmas": 2, "generation_time": 1.386, "created_at": "2026-02-08T04:02:50.314883Z", "verification": {"verified": true, "answer": 41459, "timestamp": "2026-02-08T04:02:51.700999Z"}, "problem_hash": "423e52", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "LTE_SUM": "ok", "DS2": "no", "K14": "no", "K17": "no", "K5": "no", "V3": "no"}, "split": "valid"} +{"id": "209602", "alias": "antilemma_cartesian_v1_1978505735_2841", "problem": "Compute the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 35$ and $1 \\leq b \\leq 50$. Let $x$ be this number. Find the value of $10816 - x$.", "answer": 9066, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(50)))),\n \"_c\": Const(10816),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:13:11.918440Z", "verification": {"verified": true, "answer": 9066, "timestamp": "2026-02-08T17:13:11.919515Z"}, "problem_hash": "4af8a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9066, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 181}, "timestamp": "2026-02-12T22:04:34.156Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "d4fb27", "alias": "antilemma_sum_factor_cartesian_v1_548369836_16", "problem": "Let $x$ be the sum of $ij$ over all ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 15$. Let $p$ be the largest prime number less than or equal to $2009$. Compute the remainder when\n$$\n(x \\bmod 307) + p \\cdot (x \\bmod 317)\n$$\nis divided by $72716$.", "answer": 17280, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2009),\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(7)), right=IntegerRange(start=Const(1), end=Const(15)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(307)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Mod(value=Ref(\"x\"), modulus=Const(317)))), modulus=Const(72716)),\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_FACTOR_CARTESIAN"], "recipe_id": "b2c567", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T02:42:48.925773Z", "verification": {"verified": true, "answer": 17280, "timestamp": "2026-02-08T02:42:48.927178Z"}, "problem_hash": "edb453", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 1135}, "timestamp": "2026-02-08T19:43:05.050Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 1302}, "timestamp": "2026-02-09T18:44:27.018Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:14:39.609Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 22500, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 497}, "timestamp": "2026-02-09T01:28:20.238Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17280, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 1612}, "timestamp": "2026-02-09T07:07:35.183Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_FACTOR_CARTESIAN": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.8, "mid": -4.25, "hi": -1.31}, "split": "valid"} +{"id": "fdf88f", "alias": "comb_catalan_compute_v1_1439011603_1035", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Let $C_n$ denote the $n$th Catalan number. Compute the remainder when $44121 \\cdot C_n$ is divided by $82948$.\n\nFind the value of this remainder.", "answer": 81832, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82948),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), 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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:52:41.413109Z", "verification": {"verified": true, "answer": 81832, "timestamp": "2026-02-08T15:52:41.415351Z"}, "problem_hash": "a22230", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 363}, "timestamp": "2026-02-12T09:21:35.416Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cf8376", "alias": "nt_count_gcd_equals_v1_1978505735_7460", "problem": "Let $k = 247$ and $d = 13$. Let $U$ be the largest positive divisor of $60792809$ that is at most $7777$. Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le U$ and $\\gcd(n, k) = d$. Find the remainder when $5693 \\cdot N$ is divided by $55295$.", "answer": 20821, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55295),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(7777)), Divides(divisor=Var(\"d1\"), dividend=Const(60792809))))),\n \"k\": Const(247),\n \"d\": 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(\"k\")), Ref(\"d\"))))),\n \"_c\": Const(5693),\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"], "recipe_id": "51757e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 1.753, "created_at": "2026-02-08T20:16:22.541236Z", "verification": {"verified": true, "answer": 20821, "timestamp": "2026-02-08T20:16:24.293878Z"}, "problem_hash": "2243ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 565}, "timestamp": "2026-02-13T01:19:31.558Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K17": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "109e4e", "alias": "antilemma_cartesian_v1_124444284_5035", "problem": "Let $ x $ be the number of ordered pairs $ (a,b) $ where $ a $ and $ b $ are integers satisfying $ 1 \\leq a \\leq 29 $ and $ 1 \\leq b \\leq 29 $. Compute $$ \\sum_{n = \\binom{8}{0}}^{|x|} \\tau(n), $$ where $ \\tau(n) $ denotes the number of positive divisors of $ n $.", "answer": 5807, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(29)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(8), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "recipe_id": "674433", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:21:16.580004Z", "verification": {"verified": true, "answer": 5807, "timestamp": "2026-02-08T06:21:16.581059Z"}, "problem_hash": "3dfcd7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5807, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 4998}, "timestamp": "2026-02-12T23:16:26.819Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 470}, "timestamp": "2026-02-11T23:57:54.920Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ac2f3e", "alias": "geo_count_lattice_triangle_v1_124444284_5355", "problem": "Let $ A $ be twice the area of a triangle with vertices at $ (169, 225) $, $ (121, 233) $, and $ \\left( \\sum_{k=0}^{9} (-1)^k \\binom{9}{k}, 0 \\right) $. Let $ B $ be the sum of the greatest common divisors of the absolute differences of the coordinates of each pair of vertices. Specifically,\n\n$$\nB = \\gcd(|169|, |225|) + \\gcd(|121 - 169|, |233 - 225|) + \\gcd\\left(\\left|\\sum_{k=0}^{9} (-1)^k \\binom{9}{k} - 121\\right|, |0 - 233|\\right).\n$$\n\nCompute $ \\frac{A + 2 - B}{2} $.", "answer": 6072, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(121),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=169), Const(value=233)), Mul(Const(value=121), Sub(left=Const(value=0), right=Const(value=225))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=225))), GCD(a=Abs(arg=Sub(left=Const(value=121), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=233), right=Const(value=225)))), GCD(a=Abs(arg=Sub(left=Summation(expr=Mul(Pow(base=Const(value=-1), exp=Var(name='k')), Binom(n=Const(value=9), k=Var(name='k'))), var='k', start=Const(value=0), end=Const(value=9)), right=Ref(name='_n'))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=233))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "L3B"], "recipe_id": "e9c9b1", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "L3B"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T06:33:40.858913Z", "verification": {"verified": true, "answer": 6072, "timestamp": "2026-02-08T06:33:40.871836Z"}, "problem_hash": "91c040", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6072, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 968}, "timestamp": "2026-02-13T01:21:52.576Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 599}, "timestamp": "2026-02-12T00:11:27.676Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "L3B": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "c5ebb4", "alias": "antilemma_cartesian_v1_124444284_3420", "problem": "Compute the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 12$ and $1 \\leq b \\leq 22$. Multiply this number by $65795$, and find the remainder when the product is divided by $89559$.", "answer": 84993, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(22)))),\n \"Q\": Mod(value=Mul(Const(65795), Ref(\"x\")), modulus=Const(89559)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:23:51.930460Z", "verification": {"verified": true, "answer": 84993, "timestamp": "2026-02-08T05:23:51.931142Z"}, "problem_hash": "c6531b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 84993, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 629}, "timestamp": "2026-02-12T07:40:24.079Z"}, {"id": 8, "model": "mathstral", "answer": 62041, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 121, "completion_tokens": 301}, "timestamp": "2026-02-14T16:24:47.304Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3991, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 201}, "timestamp": "2026-02-11T22:32:49.253Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "1cd803", "alias": "antilemma_sum_primes_v1_458359167_477", "problem": "Let $n_1$ 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 0$, $1$ if $D = 0$, and $0$ otherwise.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59564),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(7), Var(\"k\")), Ref(\"_n\")))),\n \"b\": Const(8),\n \"c\": Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))),\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": "COPRIME_PAIRS", "lemma_paths": ["MAX_VAL", "K2"], "recipe_id": "83afa4", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "MAX_VAL"], "num_lemmas": 3, "generation_time": 0.023, "created_at": "2026-02-08T11:39:06.012918Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T11:39:06.035661Z"}, "problem_hash": "84b090", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 551}, "timestamp": "2026-02-14T17:33:58.935Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 374}, "timestamp": "2026-02-12T04:27:13.207Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "MAX_VAL": "ok", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "445dbc", "alias": "comb_count_partitions_v1_1520064083_6733", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\le a \\le 2$ and $b$ is an integer with $1 \\le b \\le 19$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $25921 - p(n)$ is divided by $90186$.", "answer": 90092, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25921),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Const(90186)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:17:31.415043Z", "verification": {"verified": true, "answer": 90092, "timestamp": "2026-02-08T08:17:31.416458Z"}, "problem_hash": "1e6767", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 90092, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 131, "completion_tokens": 1048}, "timestamp": "2026-02-13T16:56:24.909Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 243}, "timestamp": "2026-02-12T01:44:13.860Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "d40be3", "alias": "antilemma_sum_primes_v1_1742523217_4473", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 3$.\n\nLet $S$ be the set of all integers $t$ such that $7 \\leq t \\leq 4960$ and there exist positive integers $a \\leq 755$ and $b \\leq 690$ satisfying $t = 2a + 5b$.\n\nCompute the value of $|S| - x$.", "answer": 4945, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=755)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=690)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=4960)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "SUM_PRIMES"], "recipe_id": "99a6c0", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T07:18:46.532013Z", "verification": {"verified": true, "answer": 4945, "timestamp": "2026-02-08T07:18:46.534596Z"}, "problem_hash": "790d71", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "211da4", "alias": "geo_count_lattice_rect_v1_1915831931_2346", "problem": "Let $a = 20$ and $b = 59$. Define $\\text{result}$ to be the number of lattice points $(x, y)$ such that $0 \\le x \\le a$ and $0 \\le y \\le b$. Compute $65536 - \\text{result}$.", "answer": 64276, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(20),\n \"b\": Const(59),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Sub(Const(65536), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.003, "created_at": "2026-02-08T16:44:45.518784Z", "verification": {"verified": true, "answer": 64276, "timestamp": "2026-02-08T16:44:45.521297Z"}, "problem_hash": "6958cf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 64276, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 256}, "timestamp": "2026-02-12T21:04:36.894Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "bcc304", "alias": "nt_count_gcd_equals_v1_1742523217_2437", "problem": "Let $p = 31$ and $n = 2$. Define $n_1 = p^n$. Let $v = \\lambda(n_1)$, where $\\lambda(n)$ denotes the Liouville function. Let $e = \\omega(1)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Define $\\text{upper} = 27720 + e$ and $k = 174v$. Let $d = 1$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\gcd(n, k) = d$. Define $r = |A|$. Let $B$ be the set of all integers $t$ such that $7 \\leq t \\leq 5050$ and there exist positive integers $a \\leq 402$ and $b \\leq 1520$ for which $t = 5a + 2b$. Compute the remainder when $|B| - r$ is divided by 86650.", "answer": 82769, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(31),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n')),\n \"upper\": Sum(Const(27720), Ref(\"e\")),\n \"k\": Mul(Const(174), Ref(\"v\")),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=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=402)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1520)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5050)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), Ref(\"result\")), modulus=Const(86650)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LIOUVILLE_ONE", "OMEGA_ZERO"], "recipe_id": "02048c", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 4.067, "created_at": "2026-02-08T04:46:56.294167Z", "verification": {"verified": true, "answer": 82769, "timestamp": "2026-02-08T04:47:00.361301Z"}, "problem_hash": "507366", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_ONE": "ok", "OMEGA_ZERO": "ok", "K13": "no", "K17": "no", "MOD_ADD": "no", "V1": "no", "V7": "no"}, "split": "valid"} +{"id": "5d78f3", "alias": "nt_max_prime_below_v1_1742523217_1786", "problem": "Let $S$ 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 $d = |S|$. Define $T$ to be the set of all integers $n$ with $1 \\leq n \\leq 16454$ such that the sum of the decimal digits of $n$ is divisible by $d$. Let $Q = |T|$. Let $P$ be the largest prime number less than or equal to $46368$. Find the remainder when $Q \\cdot P$ is divided by $51062$.", "answer": 49723, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(46368),\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=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16454)), Eq(Mod(value=DigitSum(Var(\"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')))))))), Const(0))))), Ref(\"result\")), modulus=Const(51062)),\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/L3B"], "recipe_id": "2005ba", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B"], "num_lemmas": 2, "generation_time": 1.393, "created_at": "2026-02-08T04:15:13.893016Z", "verification": {"verified": true, "answer": 49723, "timestamp": "2026-02-08T04:15:15.286118Z"}, "problem_hash": "2fc4cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 49723, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 257, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:52:09.850Z"}, {"id": 8, "model": "mathstral", "answer": 4636, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 679}, "timestamp": "2026-02-13T10:57:45.414Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 521}, "timestamp": "2026-02-11T20:34:07.033Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok_later", "C2": "no", "DS2": "no", "K14": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "13353f", "alias": "modular_count_residue_v1_677425708_243", "problem": "Let $M = 38416$ and $m = 15$. Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 53$ and $\\gcd(n, 20) = 1$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq |A|$ and\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.\n$$\nCompute the number of positive integers $n$ such that $1 \\leq n \\leq M$ and\n$$\nn \\equiv r \\pmod{15}.\n$$", "answer": 2561, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(38416),\n \"m\": Const(15),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(53)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1)))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "C4", "lemma_paths": ["C4/L3C"], "recipe_id": "2d2f56", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "L3C"], "num_lemmas": 2, "generation_time": 1.27, "created_at": "2026-02-08T03:10:39.677003Z", "verification": {"verified": true, "answer": 2561, "timestamp": "2026-02-08T03:10:40.947073Z"}, "problem_hash": "eec33c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2561, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1020}, "timestamp": "2026-02-08T20:25:52.109Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2561, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 1441}, "timestamp": "2026-02-10T00:59:40.480Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2561, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 1196}, "timestamp": "2026-02-10T06:17:09.129Z"}, {"id": 8, "model": "mathstral", "answer": 170, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 817}, "timestamp": "2026-02-11T17:03:44.024Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 525}, "timestamp": "2026-02-11T20:30:06.034Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "L3C": "ok_later", "C2": "no", "L3b": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "valid"} +{"id": "d9f5a1", "alias": "nt_min_coprime_above_v1_1431428450_349", "problem": "Let $D$ be the set of all positive integers $d$ such that $1 \\le d \\le 6724$ and $d$ divides $45299588$. Define $s$ to be the maximum element in $D$. Let $N$ be the set of all integers $n$ such that $s < n \\le 6818$ and $\\gcd(n, 84) = 1$. Define $m$ to be the minimum element in $N$. Let $c = 45796$ and let $Q = c - m$. Find the value of $Q$.", "answer": 39071, "graph": "graphs = [\n Graph(\n let={\n \"start\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(6724)), Divides(divisor=Var(\"d\"), dividend=Const(45299588))))),\n \"upper\": Const(6818),\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 \"_c\": Const(45796),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T13:25:10.097424Z", "verification": {"verified": true, "answer": 39071, "timestamp": "2026-02-08T13:25:10.117935Z"}, "problem_hash": "4c147c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 386}, "timestamp": "2026-02-12T06:47:35.723Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3f0e05", "alias": "nt_min_coprime_above_v1_865884756_3542", "problem": "Let $S$ be the set of all integers $t$ such that $7 \\le t \\le 1955$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 265$, $1 \\le b \\le 315$, and $t = 5a + 2b$. Let $u$ be the number of elements in $S$. Let $r$ be the smallest integer $n$ such that $1787 < n \\le u$ and $\\gcd(n, 148) = 1$. Let $c$ be the smallest divisor greater than 1 of 518122164716209. Find the remainder when $c \\cdot r$ is divided by 57934.", "answer": 55487, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(1787),\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=265)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=315)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=1955)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"modulus\": Const(148),\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\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(518122164716209))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(57934)),\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", "LIN_FORM"], "recipe_id": "0f04f8", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.04, "created_at": "2026-02-08T17:29:52.400250Z", "verification": {"verified": true, "answer": 55487, "timestamp": "2026-02-08T17:29:52.440390Z"}, "problem_hash": "814b5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 481}, "timestamp": "2026-02-12T22:38:06.917Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0bfa71", "alias": "nt_sum_totient_over_divisors_v1_798873815_533", "problem": "Let $n_2 = 267623$ and define $c = \\lambda(n_2) + 1$, where $\\lambda$ is the Liouville function. Let $p = 59 + c$ and let $q$ be the largest prime number at most 29. Define $n_1 = (p \\cdot q)^2$ and let $m$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $n = 31963 \\cdot m$. Compute the remainder when $44121 \\cdot \\sum_{d\\mid n} \\phi(d)$ is divided by $74356$.", "answer": 3627, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(267623),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"p\": Sum(Const(59), Ref(\"c\")),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Ref(\"_n\")),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Mul(Const(31963), Ref(\"m\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(74356)),\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/DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE"], "recipe_id": "0a8f32", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:40:39.312276Z", "verification": {"verified": true, "answer": 3627, "timestamp": "2026-02-08T02:40:39.314117Z"}, "problem_hash": "b220c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3627, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 257, "completion_tokens": 7102}, "timestamp": "2026-02-08T19:42:40.719Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3627, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 2424}, "timestamp": "2026-02-09T18:30:04.931Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:55:32.027Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 619}, "timestamp": "2026-02-09T01:19:03.509Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 8192}, "timestamp": "2026-02-09T06:52:17.374Z"}], "solution_status": 1, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "K13": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.59}, "split": "valid"} +{"id": "cfb0b6", "alias": "antilemma_sum_equals_v1_1915831931_716", "problem": "Let $c$ be the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 2$ and $1 \\leq b \\leq 101$. 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 100$ and $1 \\leq j \\leq 100$ such that $i + j = m$. Let $x$ be the number of ordered pairs $(i_1, j_1)$ with $1 \\leq i_1 \\leq 99$ and $1 \\leq j_1 \\leq 100$ such that $i_1 + j_1 = n$. Compute $x$.", "answer": 99, "graph": "graphs = [\n Graph(\n let={\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(101)))),\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(100)), right=IntegerRange(start=Const(1), end=Const(100))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(100))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_CARTESIAN/COMB1/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS"], "recipe_id": "a7a683", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.098, "created_at": "2026-02-08T15:38:49.445953Z", "verification": {"verified": true, "answer": 99, "timestamp": "2026-02-08T15:38:49.544282Z"}, "problem_hash": "9be375", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 293, "completion_tokens": 325}, "timestamp": "2026-02-12T08:50:31.386Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fccf84", "alias": "comb_sum_binomial_row_v1_1978505735_1250", "problem": "Let $T$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 4$, $1 \\le b \\le 4$, $19 \\le t \\le 34$, and $t = 2a + 3b + 14$. Let $n$ be the number of elements in $T$. Let $P$ be the set of all positive integers $p$ for which there exists an integer $q$ such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Define $\\text{result} = |P|^n$. Let $U$ be the set of all integers $t_1$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 101$, $1 \\le b \\le 37$, $37 \\le t_1 \\le 1541$, and $t_1 = 10a + 14b + 13$. Let $Q$ be the remainder when $|U| - \\text{result}$ is divided by 59605. Compute $Q$.", "answer": 43950, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59605),\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=4)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=34)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=14)))))))),\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=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=101)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=37)), Geq(left=Var(name='t1'), right=Const(value=37)), Leq(left=Var(name='t1'), right=Const(value=1541)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=14), Var(name='b')), Const(value=13)))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COPRIME_PAIRS"], "recipe_id": "e30a8c", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T15:59:11.910761Z", "verification": {"verified": true, "answer": 43950, "timestamp": "2026-02-08T15:59:11.919904Z"}, "problem_hash": "d4bca6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 369, "completion_tokens": 478}, "timestamp": "2026-02-12T09:34:19.167Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "754e19", "alias": "antilemma_count_primes_v1_1248542787_926", "problem": "Let $m = 32240$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq v_{13}(m!)$, where $v_{13}(m!)$ denotes the largest integer $k$ such that $13^k$ divides $m!$. Compute the number of elements in $P$.", "answer": 389, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(32240),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Ref(\"_m\")), base=Const(13))), 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": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "0b29e1", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:29:37.294029Z", "verification": {"verified": true, "answer": 389, "timestamp": "2026-02-08T03:29:37.296064Z"}, "problem_hash": "e67810", "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": 191, "completion_tokens": 8192}, "timestamp": "2026-02-09T10:09:46.093Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:07:29.693Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:11:20.907Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "K15": "no", "K17": "no", "LTE_DIFF": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "5b8746", "alias": "antilemma_v1_legendre_151522320_571", "problem": "Let $n$ be the largest prime number satisfying $2 \\le n \\le 8$. Let $h = \\sum_{d \\mid n} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $p = 2$ and define $e$ to be the remainder when $ (p - h - 1)! + 1 $ is divided by $p$. Let $q = 3 + e$. Determine the largest integer $x$ such that $q^x$ divides $11376!$. Compute the remainder when $|x|$ is divided by $82439$.", "answer": 5684, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82439),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\"))))),\n \"h\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(2),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Sum(Const(1), Ref(\"h\")))), Const(1)), modulus=Ref(\"p\")),\n \"_n\": Sum(Const(3), Ref(\"e\")),\n \"x\": MaxKDivides(target=Factorial(Const(11376)), base=Ref(\"_n\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='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/MOBIUS_SUM", "WILSON", "V1"], "recipe_id": "dfd6f6", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "V1", "WILSON"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:22:53.266848Z", "verification": {"verified": true, "answer": 5684, "timestamp": "2026-02-08T03:22:53.269734Z"}, "problem_hash": "f72783", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "WILSON": "ok", "MOBIUS_SUM": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no", "K16": "no", "L3b": "no"}, "split": "valid"} +{"id": "daa5bc", "alias": "antilemma_sum_primes_v1_784195855_2043", "problem": "Let $t = \\sum_{d \\mid 10} \\mu(d)$ and $m = \\sum_{d \\mid 1} \\mu(d)$. Let $n_0 = (2 + t) \\cdot m$. Compute the sum of all prime numbers $n$ such that $n_0 \\le n \\le 3^k$, where $k$ is the largest integer for which $3^k$ divides $2^9 + 1^9$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"n1\": Const(10),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"m\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Mul(Sum(Const(2), Ref(\"t\")), Ref(\"m\")),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxKDivides(target=Sum(Pow(Ref(\"_m\"), Const(9)), Pow(Const(1), Const(9))), base=Const(3))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["LTE_SUM/SUM_PRIMES", "MOBIUS_SUM", "SUM_PRIMES"], "recipe_id": "9ee86c", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "LTE_SUM", "MOBIUS_SUM", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T05:27:34.991780Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:27:35.002212Z"}, "problem_hash": "ad502e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "MOBIUS_SUM": "ok", "SUM_PRIMES": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V1": "no"}, "split": "valid"} +{"id": "1d705d", "alias": "comb_sum_binomial_mod_v1_397696148_1245", "problem": "Let $T$ be the set of all integers $t$ such that $18 \\leq t \\leq 9470$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 171$, $1 \\leq b \\leq 970$, and $t = 10a + 8b$. Let $m = 23$ and $n = |T|$. Let $S$ be the set of all positive integers $k$ such that $1 \\leq k \\leq n$ and $m$ divides $k$. Compute the remainder when $\\sum_{k \\in S} \\binom{232}{k}$ is divided by $11719$.", "answer": 7487, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(23),\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=171)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=970)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=9470)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"sum\": Summation(var=\"k\", start=Const(14), end=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')), expr=Binom(n=Const(232), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11719)),\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/C2"], "recipe_id": "03e7fc", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T12:26:17.724329Z", "verification": {"verified": true, "answer": 7487, "timestamp": "2026-02-08T12:26:17.744321Z"}, "problem_hash": "879810", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 471}, "timestamp": "2026-02-12T05:14:20.144Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3b": "no", "LTE_SUM": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4b0332", "alias": "modular_count_residue_v1_1978505735_2467", "problem": "Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq=1083243241080$, $\\gcd(p,q)=1$, and $p p$ with $pq = 108$ and $\\gcd(p, q) = 1$. Let $B$ be the number of elements in $T$. Let $D$ be the smallest integer $d \\geq B$ that divides 213932573339. Compute the remainder when $A \\cdot D \\cdot 44039$ is divided by 94007.", "answer": 84212, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(94007),\n \"_m\": Const(44039),\n \"_n\": Const(10657),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=203)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=357)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=4074)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), 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=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Divides(divisor=Var(\"d\"), dividend=Const(213932573339)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "LIN_FORM/B3"], "recipe_id": "c83abc", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.013, "created_at": "2026-02-08T15:24:45.657606Z", "verification": {"verified": true, "answer": 84212, "timestamp": "2026-02-08T15:24:45.670691Z"}, "problem_hash": "c4eed9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 502}, "timestamp": "2026-02-12T08:20:16.030Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "B3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K15": "no", "L3b": "no", "L3c": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e0a183", "alias": "antilemma_product_of_sums_v1_1125832087_467", "problem": "Let $m = 50625$. Let $n$ be the number of positive integers $j$ such that $\\phi(1) \\leq j \\leq 15$ and $j^4 \\leq m$. Let $P$ be the set of all ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 5$. Let $S_1$ be the sum of $i \\cdot j$ over all $(i, j) \\in P$. Let $T$ be the set of all nonnegative integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 6$, $15 \\leq t \\leq 63$, and $t = 9a + 6b$. Let $k$ be the number of elements in $T$. Let $S_2$ be the sum of all nonnegative integers $j$ such that $0 \\leq j \\leq k$ and $\\binom{n}{j}$ is odd. Compute $S_1 \\cdot S_2$.", "answer": 37800, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(50625),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), EulerPhi(n=Const(1))), Leq(Var(\"j\"), Const(15)), Leq(Pow(Var(\"j\"), Const(4)), Ref(\"_m\"))), domain='positive_integers')),\n \"S1\": 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(6)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=6)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=63)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/LIN_FORM", "PRODUCT_OF_SUMS", "ONE_PHI_2", "ONE_PHI_1"], "recipe_id": "da447f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "LIN_FORM", "ONE_PHI_1", "ONE_PHI_2", "PRODUCT_OF_SUMS"], "num_lemmas": 5, "generation_time": 0.007, "created_at": "2026-02-08T03:06:55.091238Z", "verification": {"verified": true, "answer": 37800, "timestamp": "2026-02-08T03:06:55.098128Z"}, "problem_hash": "82d189", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "LIN_FORM": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "split": "valid"} +{"id": "095fc0", "alias": "comb_count_derangements_v1_784195855_2514", "problem": "Let $m=2$. Consider all integers $n$ such that $n\\ge 2$ and\n\\[\nn \\le \\sum_{k=\\varphi(m)}^{T} \\varphi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor,\n\\]\nwhere $\\varphi$ denotes Euler's totient function and $T$ is the number of integers $u$ with $1\\le u\\le 44$ and\n\\[\nu \\equiv \\left\\lfloor \\frac{u}{2} \\right\\rfloor \\pmod{11}.\n\\]\nAmong all such $n$ that are prime, let $N$ be the largest possible value of $n$.\n\nLet $Q$ be the subfactorial $!N$, the number of permutations of $N$ elements with no fixed points.\n\nFind the value of $Q$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Summation(var=\"k\", start=EulerPhi(n=Ref(\"_m\")), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(44)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\")))))), 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": "L3C", "lemma_paths": ["L3C/K2/MAX_PRIME_BELOW", "ONE_PHI_2"], "recipe_id": "28c815", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "L3C", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:49:20.822937Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T05:49:20.826188Z"}, "problem_hash": "be2973", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "ONE_PHI_2": "ok", "K2": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "d9242f", "alias": "comb_count_surjections_v1_124444284_1342", "problem": "Let $n=6$ and $k=6$. Let\n$$R=k!\\cdot S(n,k),$$\nwhere $S(n,k)$ denotes the Stirling number of the second kind.\n\nLet $N=36$. Let $m$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=N.$$\n\nConsider the binomial coefficient\n$$\\binom{m}{0}.$$\nLet\n$$A=|R|+\\binom{m}{0}$$\nand\n$$B=|R|+0!.$$\nLet $\\varphi$ denote Euler's totient function, and $\\tau$ denote the number of positive divisors of an integer. Define\n$$Q=R+\\varphi(A)+\\tau(B).$$\n\nCompute $Q$.", "answer": 1336, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36),\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(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), k=Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Factorial(Const(0))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_0", "ONE_FACTORIAL_0"], "recipe_id": "855bee", "seed_template_id": "comb_count_surjections_v1", "ending_id": "arith_invariants", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "ONE_BINOM_0", "ONE_FACTORIAL_0"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:50:27.392168Z", "verification": {"verified": true, "answer": 1336, "timestamp": "2026-02-08T03:50:27.394770Z"}, "problem_hash": "0b1265", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1336, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 1000}, "timestamp": "2026-02-10T06:23:35.761Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1336, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 289, "completion_tokens": 1077}, "timestamp": "2026-02-09T13:13:19.943Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 1000}, "timestamp": "2026-02-11T20:21:27.761Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1336, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 623}, "timestamp": "2026-02-11T20:12:59.199Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "ONE_FACTORIAL_0": "ok", "ONE_BINOM_0": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "8d8235", "alias": "geo_count_lattice_rect_v1_2051736721_2317", "problem": "Compute the number of lattice points $(x, y)$ such that $0 \\le x \\le 240$ and $0 \\le y \\le 372$.", "answer": 89893, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(240),\n \"b\": Const(372),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T16:34:24.052295Z", "verification": {"verified": true, "answer": 89893, "timestamp": "2026-02-08T16:34:24.054660Z"}, "problem_hash": "1529fe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 89913, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 162}, "timestamp": "2026-02-12T11:08:46.967Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "04e52a", "alias": "nt_count_divisible_v1_784195855_9913", "problem": "Let $n = 180$. Define $\\text{result}$ to be the number of positive integers $n' \\leq 60516$ that are divisible by 8. Let $c$ be the number of integers $t$ with $7 \\leq t \\leq 54$ for which there exist positive integers $a \\leq 22$ and $b \\leq 2$ such that $t = 2a + 5b$.\n\nLet\n$$\nQ = \\left( 353702 \\cdot |\\text{result}| \\bmod 97 \\right) + \\left( 329703 \\cdot \\left( |\\text{result}|^2 + 1 \\right) \\bmod d \\right) + \\left( 215534 \\cdot \\left( |\\text{result}| + c \\right) \\bmod 103 \\right),\n$$\nwhere $d$ is the smallest divisor of 10403 that is at least 2. Compute the remainder when $Q$ is divided by 67908.", "answer": 35794, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10403),\n \"_n\": Const(103),\n \"upper\": Const(60516),\n \"divisor\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_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=22)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=54)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(67908)),\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"], "recipe_id": "e2ef0b", "seed_template_id": "nt_count_divisible_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.545, "created_at": "2026-02-08T17:17:31.172758Z", "verification": {"verified": true, "answer": 35794, "timestamp": "2026-02-08T17:17:34.717589Z"}, "problem_hash": "eeb109", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 347, "completion_tokens": 363}, "timestamp": "2026-02-12T22:21:23.028Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "421f75", "alias": "nt_euler_phi_compute_v1_784195855_941", "problem": "Let $a = \\phi(\\phi(\\phi(2)))$, where $\\phi$ denotes Euler's totient function. Let $m = \\sum_{d \\mid a} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $n_1 = 28561 \\cdot m$ and let $e$ be the number of distinct prime factors of $n_1$. Let $n = 46225$ and let $\\text{result} = \\phi(n)$. Finally, let $c = 45136 \\cdot e$.\n\nCompute the remainder when $c \\cdot \\text{result}$ is divided by $57961$.", "answer": 43273, "graph": "graphs = [\n Graph(\n let={\n \"n2\": EulerPhi(n=EulerPhi(n=EulerPhi(n=Const(2)))),\n \"m\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Mul(Const(28561), Ref(\"m\")),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(46225),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Mul(Const(45136), Ref(\"e\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(57961)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "OMEGA_ONE", "ONE_PHI_1", "ONE_PHI_2"], "recipe_id": "919a26", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["MOBIUS_SUM", "OMEGA_ONE", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:42:34.952038Z", "verification": {"verified": true, "answer": 43273, "timestamp": "2026-02-08T04:42:34.956174Z"}, "problem_hash": "b64cf3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SUM": "ok", "OMEGA_ONE": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "49eced", "alias": "antilemma_cartesian_v1_865884756_6927", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 16$ and $1 \\leq b \\leq 23$. Compute the remainder when $34329 \\cdot x$ is divided by $52115$.", "answer": 21242, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"Q\": Mod(value=Mul(Const(34329), Ref(\"x\")), modulus=Const(52115)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T19:27:37.333454Z", "verification": {"verified": true, "answer": 21242, "timestamp": "2026-02-08T19:27:37.334170Z"}, "problem_hash": "921d6a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 354}, "timestamp": "2026-02-13T01:04:18.205Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "86dd29", "alias": "nt_count_coprime_and_v1_809748730_1571", "problem": "Let $S$ be the set of all positive integers $t$ such that $8 \\leq t \\leq 103$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 16$, $1 \\leq b \\leq 11$, and $t = 3a + 5b$. Let $c$ be the number of elements in $S$. Let $T$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 651376$ and $c$ divides $k$. Let $u$ be the number of elements in $T$. Determine the value of $u$.", "answer": 3948, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(651376)), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=103)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k1\": Const(3),\n \"k2\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\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"], "recipe_id": "03e7fc", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 7.092, "created_at": "2026-02-08T12:33:09.010742Z", "verification": {"verified": true, "answer": 3948, "timestamp": "2026-02-08T12:33:16.102824Z"}, "problem_hash": "f1905b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 491}, "timestamp": "2026-02-12T05:20:37.862Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "L3b": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a7919c", "alias": "nt_count_divisors_in_range_v1_1915831931_3771", "problem": "Let $n = 166320$. Let $a$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 9$. Let $b = 41584$. Define $D$ to be the set of all positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the number of elements in $D$. \\n\\nFind this number.", "answer": 119, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(166320),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(9)))),\n \"b\": Const(41584),\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": "C4", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C4", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.447, "created_at": "2026-02-08T17:54:19.741174Z", "verification": {"verified": true, "answer": 119, "timestamp": "2026-02-08T17:54:20.188506Z"}, "problem_hash": "95559d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 60, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 609}, "timestamp": "2026-02-12T23:18:51.157Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "K15": "no", "K16": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fd4f71", "alias": "antilemma_v7_kummer_1520064083_1645", "problem": "Let $x$ be the largest integer $k$ such that $2^k$ divides $\\binom{180}{72}$. Let $x^2+22x$ be the sum of $x^2$ and $22x$.\n\nLet $M$ be the sum of all positive integers $n$ such that $1\\le n\\le 1134$ and $n\\equiv 0\\pmod{189}$. Let $T$ be the number of positive integers $j$ such that $1\\le j\\le M$ and $j^5\\le 984930291881790849$.\n\nLet\n$$Q = x^2+22x+T.$$\n\nFind the value of $Q$.", "answer": 4017, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(22),\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Binom(n=Const(180), k=Const(72)), base=Ref(\"_n\")),\n \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_m\")), Mul(Ref(\"_c\"), Ref(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1134)), Eq(Mod(value=Var(\"n\"), modulus=Const(189)), Const(0)))))), Leq(Pow(Var(\"j\"), Const(5)), Const(984930291881790849))), domain='positive_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["SUM_DIVISIBLE/C3", "V7"], "recipe_id": "b2094d", "seed_template_id": "antilemma_v7_kummer", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C3", "SUM_DIVISIBLE", "V7"], "num_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T04:09:13.399220Z", "verification": {"verified": true, "answer": 4017, "timestamp": "2026-02-08T04:09:13.410605Z"}, "problem_hash": "f36124", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V7": "ok", "C3": "ok_later", "COUNT_INTEGER_RANGE": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "262ce3", "alias": "modular_count_residue_v1_1248542787_398", "problem": "Let $U = 70225$, $m = 2$, and $r = 1$. Let $R$ be the number of integers $n$ such that\n\\[1 \\le n \\le U \\quad \\text{and} \\quad n \\equiv r \\pmod{m}.\n\\]\nLet\n\\[T = \\min\\{x + y : x, y \\text{ are positive integers and } xy = 36\\}.\n\\]\nLet $M$ be the maximum element of the set of all integers $n$ such that\n\\[2 \\le n \\le T \\quad \\text{and} \\quad n \\text{ is prime}.\n\\]\nLet\n\\[s = |R| \\bmod M,\n\\]\nwhere $|R|$ denotes the absolute value of $R$. Finally, let $Q$ be the $s$-th Bell number $B_s$, the number of partitions of a set with $s$ elements.\n\nCompute $Q$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(70225),\n \"m\": Const(2),\n \"r\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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 },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "63381f", "seed_template_id": "modular_count_residue_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 2.657, "created_at": "2026-02-08T03:06:41.796995Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:06:44.453725Z"}, "problem_hash": "2aea36", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 767}, "timestamp": "2026-02-09T03:39:23.244Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 682}, "timestamp": "2026-02-09T15:53:48.041Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 5630}, "timestamp": "2026-02-09T14:34:09.162Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K18": "no", "K5": "no", "L3c": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "3ac290", "alias": "antilemma_sum_equals_v1_1439011603_2868", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = 83$, $1 \\leq i \\leq 81$, and $1 \\leq j \\leq 82$. Let $c$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 24$ and $1 \\leq b \\leq 24$. Define\n\\[\nQ = c + \\sum_{k=0}^{d-1} d_k (k+1)^2,\n\\]\nwhere $d$ is the number of digits in the decimal representation of $x$, and $d_k$ is the $k$-th digit of $x$ (starting from the units digit as $k=0$). Compute the value of $Q$.", "answer": 609, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(83),\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(82))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"Q\": Sum(Summation(var=\"i1\", 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='i1'), base=None), Pow(Sum(Var(\"i1\"), Const(1)), Ref(\"_m\")))), 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", "COUNT_SUM_EQUALS"], "recipe_id": "f8b274", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T17:03:06.052633Z", "verification": {"verified": true, "answer": 609, "timestamp": "2026-02-08T17:03:06.058009Z"}, "problem_hash": "9d33d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 580, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 347}, "timestamp": "2026-02-12T21:40:48.201Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "57e02a", "alias": "antilemma_sum_primes_v1_1742523217_1321", "problem": "Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq 29$ and $\\gcd(n, 12) = 1$. Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 3$. Let $c$ be the number of positive integers $n$ such that $1 \\leq n \\leq 22089$ and $\\gcd(n, m) = 1$. Compute $x^2 + 23x + c$.", "answer": 8976, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(3),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(29)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_d\")), IsPrime(Var(\"n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22089)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"Q\": Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(23), Ref(\"x\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/C4", "SUM_PRIMES"], "recipe_id": "26c772", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:40:43.621534Z", "verification": {"verified": true, "answer": 8976, "timestamp": "2026-02-08T03:40:43.624083Z"}, "problem_hash": "bc13af", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8976, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 1287}, "timestamp": "2026-02-10T06:39:20.768Z"}], "solution_status": 2, "lemma_applicability": {"C4": "ok", "SUM_PRIMES": "ok", "K17": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "2870fd", "alias": "modular_count_residue_v1_717093673_4169", "problem": "Let $N = 92956$ and $U = 44100$. Let $c$ be the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $n \\equiv 10 \\pmod{14}$. Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 11056445416533195083998593000$. Compute the remainder when $P - c$ is divided by $N$.", "answer": 91854, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92956),\n \"upper\": Const(44100),\n \"m\": Const(14),\n \"r\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Sub(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=11056445416533195083998593000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), 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"], "recipe_id": "c90628", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 1.431, "created_at": "2026-02-08T18:04:16.519399Z", "verification": {"verified": true, "answer": 91854, "timestamp": "2026-02-08T18:04:17.950576Z"}, "problem_hash": "ec1309", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 471}, "timestamp": "2026-02-12T23:43:31.098Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e71fe4", "alias": "nt_min_crt_v1_124444284_9061", "problem": "Let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 102900$, $\\gcd(p, q) = 1$, and $p < q$. Let $u$ be the number of integers $t$ in the range $9 \\leq t \\leq 70$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 28$, $1 \\leq b \\leq 2$, and $t = 2a + 7b$. Let $n_0$ be the smallest positive integer $n \\leq u$ such that $n \\equiv 4 \\pmod{7}$ and $n \\equiv 5 \\pmod{k}$. Compute $\\sum_{n=1}^{n_0} \\tau(n)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 219, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(7),\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=102900)), 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(4),\n \"b\": 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=28)), 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=70)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), 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 \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T12:10:53.849792Z", "verification": {"verified": true, "answer": 219, "timestamp": "2026-02-08T12:10:53.858825Z"}, "problem_hash": "3c8304", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 222, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 3106}, "timestamp": "2026-02-14T22:41:52.795Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 670}, "timestamp": "2026-02-12T04:59:15.520Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "K14": "no", "K16": "no", "L3b": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "61d148", "alias": "nt_count_divisible_v1_153355830_1672", "problem": "Let $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 14$. Let $P$ be the maximum value of $xy$ over all $(x,y)$ in $A$.\n\nLet $B$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = P$. Let $N$ be the minimum value of $x + y$ over all $(x,y)$ in $B$.\n\nLet $R$ be the number of integers $n$ such that $1 \\le n \\le 54289$ and $28$ divides $n$.\n\nConsider all ordered pairs $(p,q)$ of positive integers such that\n\\[pq = 54, \\quad \\gcd(p,q) = 1, \\quad p < q.\\]\nLet $k$ be the number of distinct values of $p$ that occur among these pairs.\n\nDefine\n\\[Q = R + \\left(k^{\\,\\operatorname{Mod}(R,N)} \\bmod 60454\\right),\\]\nwhere $\\operatorname{Mod}(R,N)$ is the remainder when $R$ is divided by $N$.\n\nFind the value of $Q$.", "answer": 2002, "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\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(14)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(54289),\n \"divisor\": Const(28),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": 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=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'))))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\"))), modulus=Const(60454))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/COPRIME_PAIRS"], "recipe_id": "a22e9e", "seed_template_id": "nt_count_divisible_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "generation_time": 5.699, "created_at": "2026-02-08T06:33:01.663862Z", "verification": {"verified": true, "answer": 2002, "timestamp": "2026-02-08T06:33:07.362503Z"}, "problem_hash": "8ad161", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1939, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 1535}, "timestamp": "2026-02-13T01:42:07.277Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 376, "completion_tokens": 661}, "timestamp": "2026-02-12T00:13:32.544Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "COPRIME_PAIRS": "ok_later", "DS2": "no", "K13": "no", "K14": "no", "K16": "no", "LTE_DIFF": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "f23662", "alias": "antilemma_cartesian_v1_971394319_117", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 24$ and $1 \\leq b \\leq 34$. Compute the remainder when $44121 \\cdot x$ is divided by $75137$.", "answer": 12113, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(34)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(75137)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:50:42.366166Z", "verification": {"verified": true, "answer": 12113, "timestamp": "2026-02-08T12:50:42.366955Z"}, "problem_hash": "fc1d33", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 244}, "timestamp": "2026-02-12T05:49:15.719Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "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}, "split": "valid"} +{"id": "a7a747", "alias": "antilemma_cartesian_v1_784195855_7213", "problem": "Compute the number of ordered pairs $(x,y)$ of positive integers such that $1 \\leq x \\leq 10$ and $1 \\leq y \\leq 13$.", "answer": 130, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(13)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T09:08:49.533902Z", "verification": {"verified": true, "answer": 130, "timestamp": "2026-02-08T09:08:49.534366Z"}, "problem_hash": "8dec85", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 130, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 136}, "timestamp": "2026-02-12T02:35:25.045Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "e74293", "alias": "antilemma_cartesian_v1_349078426_685", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 29$ and $1 \\leq b \\leq 50$. Compute the remainder when $92954 \\cdot x$ is divided by $96143$.", "answer": 86957, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(50)))),\n \"_c\": Const(92954),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(96143)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:13:00.673910Z", "verification": {"verified": true, "answer": 86957, "timestamp": "2026-02-08T13:13:00.674425Z"}, "problem_hash": "edbdd2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 435}, "timestamp": "2026-02-12T06:24:46.617Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8b66c7", "alias": "diophantine_fbi2_min_v1_865884756_4954", "problem": "Let $k = 60$ and $U = 70$. Define $d_0$ to be the smallest integer $d$ such that $6 \\leq d \\leq U$, $d$ divides $k$, and $\\frac{k}{d} \\geq 5$. Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 258$, $6$ divides $n$, and $\\gcd(n, 35) = 1$. Let $B$ be the number of integers $t$ such that $7 \\leq t \\leq 6676$ and there exist positive integers $a \\leq 644$, $b \\leq 1728$ satisfying $t = 5a + 2b$. Compute $d_0^2 + A \\cdot d_0 + B$.", "answer": 6882, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(60),\n \"upper\": Const(70),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(258)), Divides(divisor=Const(6), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))), 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=644)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1728)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=6676)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))),\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", "C5"], "recipe_id": "a37113", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T18:17:59.816132Z", "verification": {"verified": true, "answer": 6882, "timestamp": "2026-02-08T18:17:59.824408Z"}, "problem_hash": "66cd7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 1082}, "timestamp": "2026-02-12T23:58:26.086Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok", "C2": "no", "K15": "no", "L3c": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8f9806", "alias": "antilemma_cartesian_v1_898971024_1341", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 29$ and $1 \\leq b \\leq 46$. Compute the remainder when $47219 \\cdot x$ is divided by $80117$.", "answer": 18184, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(46)))),\n \"_c\": Const(47219),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(80117)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:05:17.559164Z", "verification": {"verified": true, "answer": 18184, "timestamp": "2026-02-08T16:05:17.559980Z"}, "problem_hash": "bfaf08", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 558}, "timestamp": "2026-02-12T09:47:35.979Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1d8f20", "alias": "sequence_count_fib_divisible_v1_784195855_998", "problem": "Let $d = 7$ and let $U = 983$. Define $\\text{result}$ to be the number of positive integers $n$ with $1 \\leq n \\leq U$ such that $d$ divides the $n$-th Fibonacci number. Compute $\\text{result}$.", "answer": 122, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(983),\n \"d\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["MOBIUS_COPRIME", "C2", "B3"], "recipe_id": "0f713c", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2", "MOBIUS_COPRIME", "V1"], "num_lemmas": 4, "generation_time": 0.264, "created_at": "2026-02-08T04:44:41.409989Z", "verification": {"verified": true, "answer": 122, "timestamp": "2026-02-08T04:44:41.673583Z"}, "problem_hash": "18e344", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 122, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 1501}, "timestamp": "2026-02-11T22:00:09.849Z"}, {"id": 8, "model": "mathstral", "answer": 123, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 586}, "timestamp": "2026-02-14T00:17:29.633Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 163, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 513}, "timestamp": "2026-02-11T21:50:10.961Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "fc254c", "alias": "nt_sum_divisors_range_v1_124444284_7664", "problem": "Let $N$ be the total number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 89$ and $1 \\leq j \\leq 89$. For each integer $n$ with $1 \\leq n \\leq N$, let $\\tau(n)$ denote the number of positive divisors of $n$. Compute the sum\n$$\n\\sum_{n=1}^{N} \\tau(n).\n$$", "answer": 72359, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(89)), right=IntegerRange(start=Const(1), end=Const(89)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.68, "created_at": "2026-02-08T09:16:26.635062Z", "verification": {"verified": true, "answer": 72359, "timestamp": "2026-02-08T09:16:27.314842Z"}, "problem_hash": "42ed58", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 171200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 6586}, "timestamp": "2026-02-14T02:54:23.438Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 587}, "timestamp": "2026-02-12T02:47:12.978Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "61d38c", "alias": "antilemma_cartesian_v1_458359167_1574", "problem": "Let $x$ be the number of ordered pairs of integers $(a, b)$ such that $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 32$. Let $c$ be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = 2018$. Compute the remainder when $\\left(x \\bmod 293\\right) + c \\cdot \\left(x \\bmod 337\\right)$ is divided by $81311$.", "answer": 61848, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81311),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), 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\")), Const(2018))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(337)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "two_moduli", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:45:30.560919Z", "verification": {"verified": true, "answer": 61848, "timestamp": "2026-02-08T04:45:30.561983Z"}, "problem_hash": "41e9cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61848, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 948}, "timestamp": "2026-02-11T21:53:04.080Z"}, {"id": 8, "model": "mathstral", "answer": 51063, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 770}, "timestamp": "2026-02-13T23:19:20.161Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 410}, "timestamp": "2026-02-11T21:45:57.818Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.83, "hi": 1.59}, "split": "valid"} +{"id": "1f7f9d", "alias": "nt_min_with_divisor_count_v1_1918700295_2028", "problem": "Let $n = 7$ and $U = 99856$. Let $m$ be the smallest positive integer such that $1 \\leq m \\leq U$ and the number of positive divisors of $m$ is exactly 9. Compute the value of\n$$\n\\left( \\sum_{k=1}^{7} \\phi(k) \\left\\lfloor \\frac{7}{k} \\right\\rfloor \\right) \\cdot m.\n$$", "answer": 1008, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"upper\": Const(99856),\n \"div_count\": Const(9),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mul(Summation(var=\"k\", start=Const(1), end=Const(7), 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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2"], "recipe_id": "2e65cb", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2"], "num_lemmas": 1, "generation_time": 5.23, "created_at": "2026-02-08T07:39:02.845336Z", "verification": {"verified": true, "answer": 1008, "timestamp": "2026-02-08T07:39:08.075335Z"}, "problem_hash": "afbe80", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1008, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 1191}, "timestamp": "2026-02-13T11:31:14.434Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7168, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 816}, "timestamp": "2026-02-12T01:12:09.623Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b1b086", "alias": "nt_min_phi_inverse_v1_1125832087_58", "problem": "Let $k = 6$ and $u = 20$. Define $m$ as the smallest positive integer $n \\leq u$ such that $\\phi(n) = k$, where $\\phi$ is Euler's totient function. Let $c$ be the number of positive integers $n$ at most $2471$ such that $n \\geq 2$, $n$ is prime, and $\\gcd(n, 10) = 1$. Compute the value of $5^{|m|} + c$ modulo $99991$.", "answer": 79112, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(20),\n \"k\": Const(6),\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 \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2471)), IsPrime(Var(\"n\")))))), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C4"], "recipe_id": "4d3769", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T02:51:09.644520Z", "verification": {"verified": true, "answer": 79112, "timestamp": "2026-02-08T02:51:09.649687Z"}, "problem_hash": "d6a5b8", "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": 227, "completion_tokens": 8192}, "timestamp": "2026-02-10T11:41:25.772Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:23:46.848Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:40:02.674Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 78490, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 463}, "timestamp": "2026-02-10T13:59:59.074Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 78489, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 1678}, "timestamp": "2026-02-10T12:50:39.848Z"}, {"id": 8, "model": "mathstral", "answer": 87654, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 341}, "timestamp": "2026-02-11T04:42:50.826Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 508}, "timestamp": "2026-02-11T19:44:14.109Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C4": "ok_later", "K13": "no", "K15": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "4138b3", "alias": "comb_catalan_compute_v1_151522320_792", "problem": "Let $a$ be the number of ordered pairs $(i,j)$ of positive integers such that $i \\leq 10$, $j \\leq 11$, and $i + j = 12$. Let $b = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Define $n = a \\cdot b$. Compute the $n$-th Catalan number.", "answer": 16796, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n2\": Sub(Binom(n=Ref(\"_n\"), k=Const(3)), Binom(n=Const(7), k=Const(0))),\n \"v\": 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 \"m\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": 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(10)), right=IntegerRange(start=Const(1), end=Const(11))))), Ref(\"m\")),\n \"result\": Catalan(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "ZERO_BINOM_N", "ONE_BINOM_0"], "recipe_id": "14e69d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "ONE_BINOM_0", "ZERO_BINOM_N"], "num_lemmas": 4, "generation_time": 0.017, "created_at": "2026-02-08T03:32:19.840126Z", "verification": {"verified": true, "answer": 16796, "timestamp": "2026-02-08T03:32:19.857515Z"}, "problem_hash": "7a84ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 632}, "timestamp": "2026-02-10T15:01:56.159Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 776}, "timestamp": "2026-02-10T13:52:21.461Z"}, {"id": 8, "model": "mathstral", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 413}, "timestamp": "2026-02-11T19:35:06.713Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 428}, "timestamp": "2026-02-11T20:00:31.966Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "ZERO_BINOM_N": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "86d42f", "alias": "nt_gcd_compute_v1_784195855_2612", "problem": "Let $n_1$ be the largest prime number between $2$ and $29$, inclusive. Let $\\mu$ denote the Möbius function, and define $v=\\mu(n_1)^2$.\n\nLet $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=216, \\quad \\gcd(p,q)=1, \\quad p 0$, $1$ if $D = 0$, and $0$ otherwise.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(20736),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(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\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=Binom(n=Const(288), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"a\": Const(-4),\n \"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=1260)), 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 \"c\": Const(-8),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_m\"), 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": "B3", "lemma_paths": ["B3/V8/COPRIME_PAIRS"], "recipe_id": "e6c18f", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "V8"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T16:53:09.640548Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T16:53:09.646459Z"}, "problem_hash": "54c8c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 302, "completion_tokens": 627}, "timestamp": "2026-02-12T21:26:55.493Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok_later", "V8": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c86e4c", "alias": "comb_bell_compute_v1_1918700295_2855", "problem": "Let $m_0$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1827904$. Let $n_0 = 8$. Define $n$ to be the largest positive integer $d \\leq n_0$ such that $d$ divides $m_0$. Compute the number of ways to partition a set of $n$ elements into any number of nonempty unlabeled subsets.", "answer": 4140, "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(1827904)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(8),\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=MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\": 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/B3/MAX_DIVISOR"], "recipe_id": "8cbe26", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:15:38.249511Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T08:15:38.252262Z"}, "problem_hash": "3b8009", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 1837}, "timestamp": "2026-02-13T16:43:50.283Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 417}, "timestamp": "2026-02-12T01:42:58.859Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_DIVISOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "76fe1c", "alias": "nt_min_coprime_above_v1_655260480_4466", "problem": "Let $a = 27720$ and $b = 27963$. Let $m = 233$. Define $S$ to be the set of all integers $n$ such that $a < n \\leq b$ and $\\gcd(n, m) = 1$. Let $r$ be the minimum element of $S$. Compute the remainder when $r^2 + 3r + 32$ is divided by $88767$.", "answer": 81117, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(27720),\n \"upper\": Const(27963),\n \"modulus\": Const(233),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(32),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Summation(var=\"k\", start=Const(1), end=Const(2), expr=Var(\"k\")), Ref(\"result\")), Ref(\"_c\")), modulus=Const(88767)),\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"], "recipe_id": "609463", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.034, "created_at": "2026-02-08T17:57:13.897975Z", "verification": {"verified": true, "answer": 81117, "timestamp": "2026-02-08T17:57:13.931802Z"}, "problem_hash": "4085a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 692}, "timestamp": "2026-02-12T23:25:18.104Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K14": "no", "K17": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d17495", "alias": "comb_sum_binomial_row_v1_1116507919_449", "problem": "Let $d(n)$ denote the sum of the values of $\\mu(d)$ over all positive divisors $d$ of $n$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all integers $n$ such that $n \\ge d(\\gcd(8,15))$, $n \\le 35$, and $\\gcd(n,6) = \\phi(1)$, where $\\phi$ is Euler's totient function. Let $N = |S|$. Compute $2^N$.", "answer": 4096, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": 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\"), Const(35)), Eq(GCD(a=Var(\"n\"), b=Const(6)), EulerPhi(n=Const(1)))))),\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": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ONE_PHI_1", "C4"], "recipe_id": "09053b", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:34:22.653894Z", "verification": {"verified": true, "answer": 4096, "timestamp": "2026-02-08T02:34:22.655830Z"}, "problem_hash": "b54502", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 1449}, "timestamp": "2026-02-08T19:34:04.467Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 936}, "timestamp": "2026-02-09T17:54:10.674Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 6951}, "timestamp": "2026-02-09T21:47:06.536Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 802}, "timestamp": "2026-02-09T21:31:33.626Z"}], "solution_status": 2, "lemma_applicability": {"C4": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "K14": "no", "K5": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "46da34", "alias": "comb_bell_compute_v1_48377204_948", "problem": "Let $T$ be the set of all integers $t$ such that $10 \\le t \\le 44$ and $t = 6a + 4b$ for some integers $a, b$ with $1 \\le a \\le 2$ and $1 \\le b \\le 8$. Let $k$ be the number of elements in $T$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = k$. Let $n$ be the minimum value of $x + y$ over all such pairs. Compute the remainder when $58747 \\cdot B_n$ is divided by $64699$, where $B_n$ denotes the $n$th Bell number.", "answer": 9039, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64699),\n \"_n\": Const(58747),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=8)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T15:47:38.759323Z", "verification": {"verified": true, "answer": 9039, "timestamp": "2026-02-08T15:47:38.762629Z"}, "problem_hash": "7282b8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 433}, "timestamp": "2026-02-12T09:09:55.362Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c032d6", "alias": "algebra_quadratic_discriminant_v1_1520064083_3975", "problem": "Let $m$ be the number of ordered pairs $(i,j)$ of integers with $1 \\le i \\le 3$, $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\n$$pq = 54, \\quad \\gcd(p,q) = 1, \\quad p < q.$$\n\nLet $c = 4$, and consider the set of all positive integers $d$ such that $1 \\le d \\le c$ and $d$ divides $m$. Let $M$ be the maximum element of this set (assume this set is nonempty).\n\nConsider the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = M$. Let $P$ be the maximum value of $xy$ over all such pairs $(x,y)$.\n\nDefine\n$$R = b^{\\,n} - a c P,$$\nwhere $a = -2$, $b = -4$, and $c = -2$.\n\nCompute $R$.", "answer": 0, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\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(3)), right=IntegerRange(start=Const(1), end=Const(9))))),\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=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 \"a\": Const(-2),\n \"b\": Const(-4),\n \"c\": Const(-2),\n \"result\": Sub(Pow(Ref(\"b\"), 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\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\")))))))), 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": "COPRIME_PAIRS", "lemma_paths": ["COUNT_COPRIME_GRID/MAX_DIVISOR/B1", "COPRIME_PAIRS/B1"], "recipe_id": "b4772b", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "COUNT_COPRIME_GRID", "MAX_DIVISOR"], "num_lemmas": 4, "generation_time": 0.017, "created_at": "2026-02-08T05:59:50.211285Z", "verification": {"verified": true, "answer": 0, "timestamp": "2026-02-08T05:59:50.228760Z"}, "problem_hash": "698791", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 285, "completion_tokens": 1149}, "timestamp": "2026-02-12T18:04:49.149Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 244, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 352, "completion_tokens": 606}, "timestamp": "2026-02-11T23:27:27.514Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "B1": "ok_later", "MAX_DIVISOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K17": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3b7b18", "alias": "nt_count_divisors_in_range_v1_153355830_916", "problem": "Let $A$ be the set of positive integers $n$ such that the largest power of $2$ dividing $n!$ is at least $2444$. Let $N$ be the smallest element of $A$. Let $B$ be the set of positive integers $k$ such that $1 \\leq k \\leq N$ and $48$ divides $k$. Let $n = 110880$, $a = 32$, and $m = 19$. Let $b$ be the largest integer such that $m^b$ divides $902079606596111390074904829592133306678985676093985838176871085024218578910930387981841^n$. Let $D$ be the set of all positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $r$ be the number of elements in $D$. Find the remainder when $34909 \\cdot r$ is divided by $66048$.", "answer": 56404, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(34909),\n \"_m\": Const(19),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(2444)), domain='Z_{>0}'))), Divides(divisor=Const(48), dividend=Var(\"k\"))), domain='positive_integers')),\n \"n\": Const(110880),\n \"a\": Const(32),\n \"b\": MaxKDivides(target=Pow(Const(902079606596111390074904829592133306678985676093985838176871085024218578910930387981841), Ref(\"_n\")), base=Ref(\"_m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(66048)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/C2/K14"], "recipe_id": "6b0983", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "K14", "V5"], "num_lemmas": 3, "generation_time": 0.05, "created_at": "2026-02-08T04:15:23.384425Z", "verification": {"verified": true, "answer": 56404, "timestamp": "2026-02-08T04:15:23.434466Z"}, "problem_hash": "36c8be", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V5": "ok", "C2": "ok_later", "K14": "ok_later", "K18": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "split": "valid"} +{"id": "e796e5", "alias": "antilemma_product_of_sums_v1_784195855_1050", "problem": "Let $m=2$ and $N=51893$.\n\nLet $A$ be the number of integers $n$ with $1\\le n\\le 5$ such that $\\gcd(n,12)=1$. Let $B$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1\\le a\\le 3,\\quad 1\\le b\\le 9,\\quad 16\\le t\\le 84,\\quad t=10a+6b.$$\n\nDefine\n$$S_1=\\sum_{k=A}^{B} k.$$\n\nConsider the set of all ordered pairs $(i,j)$ of integers with $1\\le i\\le 3$ and $1\\le j\\le 4$. Since $\\varphi(m)$ is fixed and nonzero, assume this set is nonempty. Let\n$$S_2=\\sum_{1\\le i\\le 3\\atop 1\\le j\\le 4} ij.$$\n\nDefine\n$$x=S_1S_2,$$\nand let\n$$Q\\equiv 44121x\\pmod{N},\\qquad 0\\le Q< N.$$\n\nFind the value of $Q$.", "answer": 11561, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(51893),\n \"S1\": Summation(var=\"k\", start=EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1)))))), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=84)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/ONE_PHI_2/SUM_ARITHMETIC", "LIN_FORM/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "764bf4", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 0.003, "created_at": "2026-02-08T04:49:14.494472Z", "verification": {"verified": true, "answer": 11561, "timestamp": "2026-02-08T04:49:14.497441Z"}, "problem_hash": "958fcf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "ONE_PHI_2": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "4d7ca0", "alias": "diophantine_fbi2_count_v1_1520064083_4709", "problem": "Let $k = 720$. Consider the set of all positive integers $d$ such that $3 \\leq d \\leq 171$, $d$ divides $k$, and $2 \\leq k/d \\leq t$, where $t$ is the number of positive integers $n$ with $1 \\leq n \\leq 2^{36}$, $n \\equiv \\lfloor n/2 \\rfloor \\pmod{7}$, and $n$ odd. Let $c$ be the number of such divisors $d$. Compute $\\sum_{n=1}^{c} \\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37),\n \"k\": Const(720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(171)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxKDivides(target=Mul(Const(43510401967103441382187610899263914996292033744994218261103082572642881352299832350660351638910416470401469159186248679397809320442476177150622685283005091786546462197434889281), Const(33224506909157485882970576468529059510619731375747441199711084811004233984759440456732014200282840394592804793903633591541584261985023427343253776394662187041203488450376272462220631088832616496056333508051161852659063537556607748971153425540833746438137998248642463431544190414021028776030066340786407843252909327500483655477767075022205031877287093123116999614453173829589135347901092038067509516843214510499892391872090485757371475147135097888794227315570251641342702869581526587038225586356819495290168079036250118554146663138699595326002979201336055571543596466978227390616337132608527476225891325821907221238374039211880602014414417098455344437178801698276802743425970250172133456034931385182227231303772851253370204837211878540914871748341343765075546092995964709629685532808311097826774502825091128194625601373180426939122653586147481733474935208420327704481503895018033037293202194521443241684502896828100368079746610691030097909301016460099309716494859581892253515410157460669470866306564419922154330209219479395019965311687419898881464864841857538881795231054930884073686060369890032562139375125318022813284083425754818597178775343070015227577123288887411369742847556310063220384977666175340673988201343213195565542239729004434283831692783316345533749131798036759439606905352681220138205422907844627346212552186587313238562233322924654799119897047435194830835178321847538965723730850516461149157540689121373104895865963544273325482137085762784163971924997769294069781586758099209397926844472568306400094569129112644022413297813717621085474071130991886022174594832919897798896415038214498352764859397587942488100691350159729783590976658416202160327576338382952515972835242442987529)), base=Ref(\"_n\"))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))))))),\n \"Q\": 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": "MIN_PRIME_FACTOR", "lemma_paths": ["K13/L3C"], "recipe_id": "4b8c73", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K13", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.068, "created_at": "2026-02-08T06:24:02.222347Z", "verification": {"verified": true, "answer": 150, "timestamp": "2026-02-08T06:24:02.290715Z"}, "problem_hash": "e8c2c4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "L3C": "ok_later", "C2": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "dd32e0", "alias": "nt_num_divisors_compute_v1_677425708_2883", "problem": "Let $d$ be an integer. Define $n$ to be the smallest integer $d \\geq 2$ that divides 11025. Compute the number of positive divisors of $n$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(11025))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR"], "recipe_id": "bc3776", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:21:46.838723Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T05:21:46.840865Z"}, "problem_hash": "a6984c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 87, "completion_tokens": 2601}, "timestamp": "2026-02-12T07:18:27.462Z"}, {"id": 8, "model": "mathstral", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 221}, "timestamp": "2026-02-14T12:59:55.831Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 332}, "timestamp": "2026-02-11T22:30:50.707Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "K18": "no", "L3b": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "8edcfd", "alias": "nt_count_gcd_equals_v1_458359167_4356", "problem": "Let $S$ be the set of all positive integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 89$, $1 \\leq b \\leq 5$, and $t = 4a + 5b + 6$, and $15 \\leq t \\leq 387$. Let $x$ and $y$ be positive integers such that $xy = |S|$. Define $k$ to be the minimum value of $x + y$ over all such pairs $(x, y)$. Let $u = 24025$. Determine the value of $74994$ multiplied by the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 1$, then take the remainder when this product is divided by $56659$.", "answer": 52197, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56659),\n \"upper\": Const(24025),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=89)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=387)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=6))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(74994), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.176, "created_at": "2026-02-08T11:42:43.485180Z", "verification": {"verified": true, "answer": 52197, "timestamp": "2026-02-08T11:42:45.661207Z"}, "problem_hash": "6751b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29323, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 3447}, "timestamp": "2026-02-14T18:34:41.589Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 536}, "timestamp": "2026-02-12T04:33:23.415Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "64d205", "alias": "sequence_count_fib_divisible_v1_48377204_751", "problem": "Let $S$ be the set of all integers $t$ such that $30 \\le t \\le 2280$ and there exist integers $a$ and $b$ with $1 \\le a \\le 7$, $1 \\le b \\le 237$, and $t = 21a + 9b$. Let $u$ be the number of elements in $S$.\n\nLet $T$ be the set of all positive integers $p$ such that there exists an integer $q$ satisfying $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $d$ be the number of elements in $T$.\n\nLet $R$ be the set of all positive integers $n$ such that $1 \\le n \\le u$ and $d$ divides the $n$th Fibonacci number. Compute the number of elements in $R$.", "answer": 246, "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=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=237)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=2280)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"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=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 \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.29, "created_at": "2026-02-08T15:40:59.455417Z", "verification": {"verified": true, "answer": 246, "timestamp": "2026-02-08T15:40:59.744938Z"}, "problem_hash": "62cc32", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 542}, "timestamp": "2026-02-12T08:53:35.465Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ea3b01", "alias": "antilemma_coprime_grid_v1_677425708_2541", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of integers with $1 \\leq i \\leq 55$ and $1 \\leq j \\leq 138$ such that $\\gcd(i,j) = 1$.\n\nLet $p_1$ be the largest prime number at most 102, and $p_2$ be the largest prime number at most 103. Define\n$$\nQ = \\left( 353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot \\left( (|x|^2 + 1) \\bmod p_1 \\right) + 215534 \\cdot \\left( \\left( \\sum |x| \\right) \\bmod 21 \\right) \\bmod p_2 \\right) \\bmod 68948.\n$$\nCompute $Q$.", "answer": 46656, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(68948),\n \"_n\": Const(97),\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(55)), right=IntegerRange(start=Const(1), end=Const(138))))),\n \"_c\": Const(21),\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=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(102)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(103)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\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_COPRIME_GRID"], "recipe_id": "3aaedd", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:06:57.903899Z", "verification": {"verified": true, "answer": 46656, "timestamp": "2026-02-08T05:06:57.908599Z"}, "problem_hash": "3f57cb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_CARTESIAN": "no", "COUNT_PRIMES": "no", "DS2": "no", "K17": "no", "K18": "no"}, "split": "valid"} +{"id": "b0be23", "alias": "diophantine_product_count_v1_865884756_638", "problem": "Let $n_1 = 37$. Let $s = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $k = 480 + s$ and let $u = 362 + \\Omega(1)$, where $\\Omega(1) = 0$. Let $r$ be the number of positive integers $x$ such that $1 \\le x \\le u$, $x$ divides $k$, and $\\frac{k}{x} \\le u$. Let $Q$ be the remainder when $44121 \\cdot r$ is divided by $76436$. Compute $Q$.", "answer": 53430, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(37),\n \"s\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"w\": BigOmega(n=Ref(name='n')),\n \"k\": Sum(Const(480), Ref(\"s\")),\n \"upper\": Sum(Const(362), Ref(\"w\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(76436)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "3194d0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM"], "num_lemmas": 2, "generation_time": 0.037, "created_at": "2026-02-08T15:32:51.704003Z", "verification": {"verified": true, "answer": 53430, "timestamp": "2026-02-08T15:32:51.741331Z"}, "problem_hash": "820a7e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "8f4601", "alias": "antilemma_cartesian_v1_124444284_3305", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 30$. Compute the value of\n$$\n\\left( 353702 \\cdot (|x| \\bmod 97) + 329703 \\cdot \\left( (|x|^2 + 1) \\bmod 101 \\right) + 215534 \\cdot \\left( (|x| + 50) \\bmod 103 \\right) \\right) \\bmod 1009091\n$$\ndivided by 92651, and report the remainder.", "answer": 23899, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"_c\": Const(50),\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=Const(103)))), modulus=Const(1009091)), modulus=Const(92651)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T05:21:01.434480Z", "verification": {"verified": true, "answer": 23899, "timestamp": "2026-02-08T05:21:01.436251Z"}, "problem_hash": "cb1d52", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23899, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 1166}, "timestamp": "2026-02-12T06:45:07.432Z"}, {"id": 8, "model": "mathstral", "answer": 9, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 1049}, "timestamp": "2026-02-14T12:34:19.052Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 50906, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 424}, "timestamp": "2026-02-11T22:28:13.267Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "c314b6", "alias": "nt_sum_divisors_compute_v1_809748730_340", "problem": "Let $n = 22500$ and $m = 76747$. Let $S$ be the sum of all positive divisors of $n$. Let $C$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $D$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 10$ such that $\\gcd(i, j) = 1$. Compute $S + \\left(C^{S \\bmod D} \\bmod m\\right)$.", "answer": 71073, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76747),\n \"n\": Const(22500),\n \"result\": SumDivisors(n=Ref(\"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=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(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(10))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "COPRIME_PAIRS"], "recipe_id": "3c4e9d", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T11:28:44.435165Z", "verification": {"verified": true, "answer": 71073, "timestamp": "2026-02-08T11:28:44.437821Z"}, "problem_hash": "23f454", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71073, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 1574}, "timestamp": "2026-02-14T14:54:16.838Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 71914, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 613}, "timestamp": "2026-02-12T04:09:22.884Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "fa4b16", "alias": "nt_min_coprime_above_v1_2051736721_4930", "problem": "Let $S$ be the set of all integers $n$ such that $1459 < n \\leq 1784$ and $\\gcd(n, 315) = 1$. Let $m$ be the smallest element of $S$. Let $T$ be the set of all integers $n_1$ such that $1 \\leq n_1 \\leq 301$ and $\\gcd(n_1, 12) = 1$. Compute the remainder when\n\n$$\n353702 \\cdot (m \\bmod 97) + 329703 \\cdot \\left(m^2 + 1\\right) \\bmod |T| + 215534 \\cdot (m \\bmod 22) \\bmod 103\n$$\n\nis divided by $1009091$, and then compute the remainder when that result is divided by $54622$.", "answer": 2013, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(1459),\n \"upper\": Const(1784),\n \"modulus\": Const(315),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(22),\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=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(301)), Eq(GCD(a=Var(\"n1\"), b=Const(12)), Const(1))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(54622)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4"], "recipe_id": "6fd0d0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4"], "num_lemmas": 1, "generation_time": 0.056, "created_at": "2026-02-08T18:15:48.693980Z", "verification": {"verified": true, "answer": 2013, "timestamp": "2026-02-08T18:15:48.750027Z"}, "problem_hash": "ca63e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 639}, "timestamp": "2026-02-12T23:58:42.197Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "C2": "no", "K15": "no", "K5": "no", "L3b": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e397ac", "alias": "nt_sum_gcd_range_mod_v1_2051736721_1797", "problem": "Let $N$ be the largest positive divisor of $52287325$ that is at most $7225$. Let $k = 168$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $M = 11551$. Compute the remainder when $35631 \\cdot (\\text{sum} \\bmod M)$ is divided by $79777$.", "answer": 79397, "graph": "graphs = [\n Graph(\n let={\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(7225)), Divides(divisor=Var(\"d\"), dividend=Const(52287325))))),\n \"k\": Const(168),\n \"M\": Const(11551),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Const(35631), Ref(\"result\")), modulus=Const(79777)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.605, "created_at": "2026-02-08T16:12:45.894564Z", "verification": {"verified": true, "answer": 79397, "timestamp": "2026-02-08T16:12:46.499834Z"}, "problem_hash": "fa6a00", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 370}, "timestamp": "2026-02-12T10:15:44.016Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "37370b", "alias": "nt_sum_divisors_compute_v1_717093673_1719", "problem": "Let $n = 33333$. Compute the sum of all positive divisors of $n$.", "answer": 45696, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(33333),\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", "MOBIUS_SUM"], "recipe_id": "32ec1f", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T16:17:12.119736Z", "verification": {"verified": true, "answer": 45696, "timestamp": "2026-02-08T16:17:12.124889Z"}, "problem_hash": "e275e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 52584, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 329}, "timestamp": "2026-02-12T10:20:37.332Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "K17": "no", "K18": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "26f785", "alias": "antilemma_cartesian_v1_1125832087_549", "problem": "Let $x$ be the number of elements in the Cartesian product of the sets $\\{1,2,3,\\dots,26\\}$ and $\\{1,2,3,\\dots,36\\}$.\n\nLet $A$ be the set of all ordered pairs $(u,v)$ of positive integers such that $u$ and $v$ are odd and $u+v=24$. Let $N$ be the number of elements in $A$.\n\nLet\n$$T=\\sum_{k=0}^{8}(-1)^k\\binom{8}{k}.$$\n\nDefine\n$$S=\\sum_{n=N}^{|x|} \\varphi(n),$$\nwhere $\\varphi(n)$ denotes the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nLet $Q$ be the remainder when $S$ is divided by $86502$.\n\nFind the value of $Q$.", "answer": 6814, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(24))))), k=Summation(var=\"k\", start=Const(0), end=Const(8), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"_n\"), k=Var(\"k\"))))), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(86502)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/ONE_BINOM_0", "BINOMIAL_ALTERNATING", "COUNT_CARTESIAN"], "recipe_id": "302cb5", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "sum_totient", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 4, "generation_time": 0.026, "created_at": "2026-02-08T03:09:05.058508Z", "verification": {"verified": true, "answer": 6814, "timestamp": "2026-02-08T03:09:05.084054Z"}, "problem_hash": "4a3736", "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": 308, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:13:58.203Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:54:49.276Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 3511}, "timestamp": "2026-02-11T08:11:01.690Z"}, {"id": 8, "model": "mathstral", "answer": 137, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 837}, "timestamp": "2026-02-11T15:47:11.469Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 642}, "timestamp": "2026-02-11T20:24:32.499Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "d9f009", "alias": "nt_sum_gcd_range_mod_v1_655260480_5887", "problem": "Let $m=2$. Let $n$ be the smallest possible value of $x+y$ among all ordered pairs $(x,y)$ of positive integers such that $xy=16402500$.\n\nLet $N$ be the number of ordered pairs $(a,b)$ of integers such that $1\\le a\\le 11$ and $1\\le b\\le 101$.\n\nLet $k$ be the smallest possible value of $u+v$ among all ordered pairs $(u,v)$ of positive integers such that $uv=n$.\n\nLet $M=11261$, and let\n$$S=\\sum_{t=1}^{N} \\gcd(t,k).$$\nLet $r$ be the remainder when $S$ is divided by $M$.\n\nLet $D$ be the set of all integers $d$ such that $d\\ge m$ and $d$ divides $537251$, and let $d_0$ be the smallest element of $D$. Let $e$ be the remainder when $|r|$ is divided by $d_0$.\n\nFinally, let $Q$ be the $e$-th Bell number. Find the remainder when $Q$ is divided by $100000$.", "answer": 1, "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(16402500)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"N\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(101)))),\n \"k\": 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 \"M\": Const(11261),\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=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), 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", "COUNT_CARTESIAN", "B3/B3"], "recipe_id": "9c6ed0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "bell_mod", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.654, "created_at": "2026-02-08T18:41:59.280779Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T18:41:59.935240Z"}, "problem_hash": "b97a5b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 383, "completion_tokens": 489}, "timestamp": "2026-02-13T00:26:51.440Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b62973", "alias": "geo_count_lattice_triangle_v1_1978505735_748", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 26$. Define $P$ to be the maximum value of $xy$ over all such pairs.\n\nLet $A = 2 \\cdot |181P - 196 \\cdot (-88)|$.\n\nDefine the following three values:\n- $b_1 = \\gcd(169, 88)$\n- $b_2 = \\gcd(|196 - 169|, |181 - 88|)$\n- $b_3 = \\gcd(196, 181)$\n\nLet $B = b_1 + b_2 + b_3$.\n\nCompute the value of $\\frac{A + 2 - B}{2}$.", "answer": 6669, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(169),\n \"_n\": Const(2),\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=Const(value=26)))), expr=Mul(Var(name='x'), Var(name='y')))), Const(value=181)), Mul(Const(value=196), Sub(left=Const(value=0), right=Const(value=88))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=88))), GCD(a=Abs(arg=Sub(left=Const(value=196), right=Ref(name='_m'))), b=Abs(arg=Sub(left=Const(value=181), right=Const(value=88)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=196))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=181))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Ref(\"_n\"), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "B1"], "recipe_id": "7086d0", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T15:35:01.829079Z", "verification": {"verified": true, "answer": 6669, "timestamp": "2026-02-08T15:35:01.843074Z"}, "problem_hash": "5ea30d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 429}, "timestamp": "2026-02-12T08:46:55.004Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3b": "no", "LTE_DIFF": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "05df37", "alias": "geo_count_lattice_triangle_v1_124444284_6753", "problem": "Let $A = (0, 0)$, $B = (377, 225)$, and $C = (169, 128)$. Compute the area of triangle $ABC$ using the shoelace formula, which gives $\\frac{1}{2} |x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|$. Let this area be denoted $\\text{area}$. Let $b$ be the number of lattice points on the boundary of triangle $ABC$, computed as the sum of the greatest common divisors of the absolute differences in coordinates along each side: \n\n$$\nb = \\gcd(|377|, |225|) + \\gcd(|169 - 377|, |128 - d_1|) + \\gcd(|-169|, |-128|),\n$$\n\nwhere $d_1 = \\sum_{d \\mid 225} \\phi(d)$. Compute the quantity\n\n$$\nQ = \\frac{2 \\cdot \\text{area} + 2 - b}{2}.\n$$\n\nFind the value of $Q$.", "answer": 5115, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(128),\n \"_n\": Const(169),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=377), Const(value=128)), Mul(Const(value=169), Sub(left=Const(value=0), right=Const(value=225))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=377)), b=Abs(arg=Const(value=225))), GCD(a=Abs(arg=Sub(left=Ref(name='_n'), right=Const(value=377))), b=Abs(arg=Sub(left=Const(value=128), right=SumOverDivisors(n=Const(value=225), var='d', expr=EulerPhi(n=Var(name='d')))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=128))))),\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": "K3", "lemma_paths": ["K3", "V5"], "recipe_id": "817234", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "V5"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T08:37:22.129040Z", "verification": {"verified": true, "answer": 5115, "timestamp": "2026-02-08T08:37:22.136300Z"}, "problem_hash": "c9ffba", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5115, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 1175}, "timestamp": "2026-02-13T20:08:12.958Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 368, "completion_tokens": 538}, "timestamp": "2026-02-12T02:03:01.204Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "V5": "ok", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "de6b0b", "alias": "nt_sum_gcd_range_mod_v1_1978505735_4838", "problem": "Let $ n = 61680 $ and $ N = 6241 $. Let $ k $ be the largest positive divisor of $ n $ that is at most $ 240 $. Define\n$$\n\\text{sum} = \\sum_{m=1}^{N} \\gcd(m, k).\n$$\nLet $ M = 11083 $. Find the remainder when $ \\text{sum} $ is divided by $ M $.", "answer": 746, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61680),\n \"N\": Const(6241),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(240)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"M\": Const(11083),\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_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.272, "created_at": "2026-02-08T18:36:00.738284Z", "verification": {"verified": true, "answer": 746, "timestamp": "2026-02-08T18:36:01.010563Z"}, "problem_hash": "653a95", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 414}, "timestamp": "2026-02-13T00:16:57.401Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "MOD_SUB": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7a9ff5", "alias": "comb_sum_binomial_mod_v1_1439011603_546", "problem": "Let $S$ be the set of positive divisors $d$ of $25265$ such that $1 \\le d \\le 155$. Let $m$ be the maximum element of $S$. Compute the remainder when $\\sum_{k=55}^{m} \\binom{188}{k}$ is divided by $10253$.", "answer": 2843, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10253),\n \"sum\": Summation(var=\"k\", start=Const(55), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(155)), Divides(divisor=Var(\"d\"), dividend=Const(25265))))), expr=Binom(n=Const(188), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.019, "created_at": "2026-02-08T15:34:48.273885Z", "verification": {"verified": true, "answer": 2843, "timestamp": "2026-02-08T15:34:48.292710Z"}, "problem_hash": "b36d16", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 504}, "timestamp": "2026-02-12T08:49:07.772Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "49f178", "alias": "comb_count_derangements_v1_1820931509_366", "problem": "Let $m = 18$. Define $\\mu$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $a = 3$, $b = 5$, and $n_2 = a + b$. Define $s = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$. Let $n_1 = 8$ and $m' = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Let $p$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 9$ such that $i + j = \\mu$. Define $n = p + s + m'$. Compute the subfactorial $!n$, which counts the number of derangements of $n$ elements.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\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 \"a\": Const(3),\n \"b\": Const(5),\n \"n2\": Sum(Ref(\"a\"), Ref(\"b\")),\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(8),\n \"m\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(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(9))))), Ref(\"s\"), Ref(\"m\")),\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": "COMB1", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING"], "recipe_id": "9319ab", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T11:34:09.333539Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T11:34:09.351405Z"}, "problem_hash": "f0b1e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14833, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 1008}, "timestamp": "2026-02-14T15:57:43.066Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 619}, "timestamp": "2026-02-12T04:17:03.191Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "061038", "alias": "diophantine_product_count_v1_1978505735_884", "problem": "Let $k = 360$ and $\\text{upper} = 126$. Compute the number of positive integers $x$ such that $1 \\leq x \\leq 126$, $x$ divides $k$, and $\\frac{k}{x} \\leq 126$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(360),\n \"upper\": Const(126),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.088, "created_at": "2026-02-08T15:39:50.122079Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T15:39:50.209638Z"}, "problem_hash": "2386a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 22, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 542}, "timestamp": "2026-02-12T08:58:31.474Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "MOD_MUL": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "de633a", "alias": "nt_gcd_compute_v1_677425708_4142", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 436$ such that $2$ divides $n$ and $\\gcd(n,35)=1$. Let $d$ be the smallest integer greater than or equal to $2$ that divides $N$.\n\nLet $g=\\gcd(543411,1026443)$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=1587600$. Let $T$ be the minimum value of $x+y$ over all such pairs $(x,y)$.\n\nLet\n$$Q\\equiv g^{d}+10g+T\\pmod{99255},$$\nwhere $0\\le Q<99255$.\n\nFind the value of $Q$. ", "answer": 97526, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(99255),\n \"_m\": Const(10),\n \"_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(436)), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))))))),\n \"a\": Const(543411),\n \"b\": Const(1026443),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Ref(\"_m\"), 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(1587600)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), modulus=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/MIN_PRIME_FACTOR/B3"], "recipe_id": "a5f335", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:27:45.415789Z", "verification": {"verified": true, "answer": 97526, "timestamp": "2026-02-08T06:27:45.419019Z"}, "problem_hash": "ab20d6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 97526, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 2621}, "timestamp": "2026-02-13T00:26:18.504Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 487}, "timestamp": "2026-02-12T00:05:51.235Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "B3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "89eee6", "alias": "comb_count_surjections_v1_1918700295_1005", "problem": "Let $n = 4$ and $k = 2$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind. Let $r$ be the absolute value of this result. Find the $r$-th Bell number modulo $11$, and then compute the Bell number corresponding to that remainder.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(4),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_SUM_EQUALS", "LIN_FORM"], "recipe_id": "1a0145", "seed_template_id": "comb_count_surjections_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.032, "created_at": "2026-02-08T05:27:22.762029Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:27:22.793683Z"}, "problem_hash": "5149f7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21147, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 3640}, "timestamp": "2026-02-12T10:05:09.042Z"}, {"id": 8, "model": "mathstral", "answer": 52, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 457}, "timestamp": "2026-02-14T19:22:13.845Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 585}, "timestamp": "2026-02-11T22:45:29.722Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "a1f496", "alias": "modular_product_range_v1_124444284_1850", "problem": "Let $N$ be the sum of all integers $x$ such that $x^2-48x-1105=0$. Let $M$ be the minimum of the set of all values of $x+y$ as $(x,y)$ ranges over all ordered pairs of positive integers satisfying $xy=144$. Let $S$ be the set of all integers $n$ such that $1\\le n\\le N$ and $n\\equiv 0\\pmod{M}$. Let\n$$P=\\prod_{i=6}^{\\,\\sum_{n\\in S} n} i.$$\nFind the remainder when $P$ is divided by $11779$.", "answer": 8538, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(11779),\n \"_n\": Const(6),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-48), Var(\"x\")), Const(-1105)), Const(0))))), 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(144)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(0)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/SUM_DIVISIBLE", "B3/SUM_DIVISIBLE"], "recipe_id": "617187", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "SUM_DIVISIBLE", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:11:04.259318Z", "verification": {"verified": true, "answer": 8538, "timestamp": "2026-02-08T04:11:04.263258Z"}, "problem_hash": "3fcefc", "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": 253, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:35:54.810Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:41:58.546Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 8192}, "timestamp": "2026-02-12T03:22:26.256Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 489}, "timestamp": "2026-02-12T02:05:43.913Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9914, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 4090}, "timestamp": "2026-02-11T22:30:05.723Z"}, {"id": 8, "model": "mathstral", "answer": 11778, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 591}, "timestamp": "2026-02-13T09:52:17.733Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 443}, "timestamp": "2026-02-11T21:23:46.500Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "VIETA_SUM": "ok", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "8e3429", "alias": "comb_count_permutations_fixed_v1_784195855_5057", "problem": "Let $n = 243$. Let $k$ be the largest integer such that $3^k$ divides $4^n - 1$. Let $\\alpha = \\phi(2)$, where $\\phi$ is Euler's totient function. Compute the multiplicative order of $2$ modulo $2|\\binom{k}{\\alpha} \\cdot !(k - \\alpha)| + 3$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 174, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(243),\n \"n\": MaxKDivides(target=Sub(Pow(Const(4), Ref(\"_n\")), Const(1)), base=Const(3)),\n \"k\": EulerPhi(n=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\": 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": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF", "ONE_PHI_2"], "recipe_id": "9d9878", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T07:38:57.469619Z", "verification": {"verified": true, "answer": 174, "timestamp": "2026-02-08T07:38:57.473465Z"}, "problem_hash": "4ced15", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF": "ok", "ONE_PHI_2": "ok", "DS2": "no", "MOD_SUB": "no", "V1": "no", "V8": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "24e280", "alias": "nt_count_gcd_equals_v1_865884756_3176", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 47089$ and $\\gcd(n, 399) = 19$. Compute the number of such integers $n$.", "answer": 1416, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(47089),\n \"k\": Const(399),\n \"d\": Const(19),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1", "C5"], "recipe_id": "5fe515", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C5", "V1"], "num_lemmas": 2, "generation_time": 6.628, "created_at": "2026-02-08T17:12:28.931819Z", "verification": {"verified": true, "answer": 1416, "timestamp": "2026-02-08T17:12:35.559374Z"}, "problem_hash": "0a3864", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2478, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 445}, "timestamp": "2026-02-12T22:00:37.539Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "V1": "ok", "K5": "same_pattern_wrong", "C2": "no", "K15": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e5a88f", "alias": "antilemma_cartesian_v1_124444284_6941", "problem": "Compute the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 24$.", "answer": 552, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(24)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T08:43:28.550775Z", "verification": {"verified": true, "answer": 552, "timestamp": "2026-02-08T08:43:28.551154Z"}, "problem_hash": "ec110b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 552, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 159}, "timestamp": "2026-02-12T02:10:35.270Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "806284", "alias": "modular_product_range_v1_153355830_1916", "problem": "Let $m = 2$ and $n = 11699$. Let $p$ be the largest integer $k$ such that $2^k$ divides $929293739471222707^7$. Let $S$ be the set of all prime numbers $x$ such that $m \\leq x \\leq 46$. Define $a = \\max(S)$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 24025$. Define $b$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $T$. Define\n\n$$\n\\text{prod} = \\prod_{i = a}^{b} i.\n$$\n\nCompute the remainder when $\\text{prod}$ is divided by $n$.", "answer": 3763, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(11699),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxKDivides(target=Pow(Const(929293739471222707), Const(7)), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(46)), IsPrime(Var(\"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\")), Const(24025)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14", "B3"], "recipe_id": "8c5fa8", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:46:19.320965Z", "verification": {"verified": true, "answer": 3763, "timestamp": "2026-02-08T06:46:19.324077Z"}, "problem_hash": "99c69d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "K14": "ok_later", "K17": "no", "K5": "no", "MAX_VAL": "no", "V5": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "d8375c", "alias": "nt_sum_totient_over_divisors_v1_677425708_118", "problem": "Let $m=31$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n\\[pq=108,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 6$ and $\\gcd(p, q) = 1$. Let $a = |P|$, and let $\\varphi(a)$ denote Euler's totient function evaluated at $a$. Define $T$ to be the set of all integers $n_1$ such that $\\varphi(a) \\leq n_1 \\leq u$. Compute the sum of the number of positive divisors of $n_1$ as $n_1$ ranges over all elements of $T$.", "answer": 68799, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77017),\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), 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=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(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "COUNT_PRIMES"], "recipe_id": "769d08", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.357, "created_at": "2026-02-08T15:15:13.795354Z", "verification": {"verified": true, "answer": 68799, "timestamp": "2026-02-08T15:15:14.152315Z"}, "problem_hash": "5eccaa", "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": 281, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:21:26.416Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "ONE_PHI_2": "ok_later", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "5c8a28", "alias": "comb_catalan_compute_v1_1431428450_974", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Let $C_n$ denote the $n$th Catalan number. Find the remainder when $44121 \\cdot C_n$ is divided by $90008$.", "answer": 20452, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(90008)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:50:18.085960Z", "verification": {"verified": true, "answer": 20452, "timestamp": "2026-02-08T13:50:18.088807Z"}, "problem_hash": "d7de37", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 393}, "timestamp": "2026-02-12T07:28:53.650Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "35f13b", "alias": "nt_lcm_compute_v1_168721529_1343", "problem": "Let $ n = 97 $, $ a = 1440 $, and let $ b $ be the number of elements in the Cartesian product of the sets $\\{1, 2, \\dots, 16\\}$ and $\\{1, 2, \\dots, 79\\}$. Define $ r = \\text{lcm}(a, b) $. Let $ c $ be the number of positive integers $ n $ such that $ 1 \\leq n \\leq 58 $ and $ \\gcd(n, 15) = 1 $. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left(\\sum |r|^2 \\bmod 101\\right) + 215534 \\cdot \\left(\\sum |r| \\bmod 103\\right)\n$$\nis divided by $ 94036 $.", "answer": 77418, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97),\n \"a\": Const(1440),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(79)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(58)), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\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=Const(103)))), modulus=Const(1009091)), modulus=Const(94036)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "COUNT_CARTESIAN"], "recipe_id": "aadbca", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T13:38:07.162378Z", "verification": {"verified": true, "answer": 77418, "timestamp": "2026-02-08T13:38:07.165403Z"}, "problem_hash": "3e2c5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:54:41.239Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 75154, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 2470}, "timestamp": "2026-02-11T07:53:27.415Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 10024, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 711}, "timestamp": "2026-02-10T05:41:05.608Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 494}, "timestamp": "2026-02-12T07:09:52.256Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "COUNT_CARTESIAN": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "COUNT_SUM_EQUALS": "no", "K5": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 0.96, "mid": 5.48, "hi": 10.0}, "split": "valid"} +{"id": "30b441", "alias": "comb_count_surjections_v1_655260480_4251", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 2$ and $1 \\leq b \\leq 3$.\n\nLet $k$ be the number of ordered pairs $(c, d)$ such that $1 \\leq c \\leq 2$ and $1 \\leq d \\leq 3$.\n\nCompute the remainder when $44121 \\cdot k! \\cdot S(n, k)$ is divided by $63170$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 55780, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\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=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(63170)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.031, "created_at": "2026-02-08T17:49:24.202525Z", "verification": {"verified": true, "answer": 55780, "timestamp": "2026-02-08T17:49:24.233381Z"}, "problem_hash": "7112f2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 400, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 400}, "timestamp": "2026-02-12T23:14:30.833Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "54f630", "alias": "nt_min_phi_inverse_v1_1520064083_1167", "problem": "Let $k = 6$. Determine the value of $22500 - m$, where $m$ is the smallest positive integer $n$ with $1 \\leq n \\leq 20$ such that $\\phi(n) = k$.", "answer": 22493, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(20),\n \"k\": Const(6),\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\": Sub(Const(22500), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V5/B3", "B3/V5/B3"], "recipe_id": "45fa2c", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 3, "generation_time": 0.032, "created_at": "2026-02-08T03:49:04.937263Z", "verification": {"verified": true, "answer": 22493, "timestamp": "2026-02-08T03:49:04.969563Z"}, "problem_hash": "5cbc9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 22493, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 605}, "timestamp": "2026-02-10T15:47:19.049Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 22493, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 435}, "timestamp": "2026-02-10T14:25:08.945Z"}, {"id": 8, "model": "mathstral", "answer": 22493, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 109, "completion_tokens": 412}, "timestamp": "2026-02-13T00:17:58.963Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 22491, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 293}, "timestamp": "2026-02-11T20:10:58.250Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "V5": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "07a14a", "alias": "nt_euler_phi_compute_v1_784195855_2252", "problem": "Let $n = 30276$. Define $\\phi(n)$ to be the number of positive integers less than or equal to $n$ that are relatively prime to $n$. Let $r = \\phi(n)$. Let $\\mathcal{P}$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq 31$, and let $k$ be the number of elements in $\\mathcal{P}$. Define\n$$\nQ = B_{|r| \\bmod k},\n$$\nwhere $B_k$ denotes the $k$-th Bell number, the number of partitions of a set of $k$ elements. Compute $Q$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(30276),\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\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(31)), 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": ["COUNT_PRIMES"], "recipe_id": "5f163c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T05:37:23.681184Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T05:37:23.702606Z"}, "problem_hash": "b8b1d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 909}, "timestamp": "2026-02-12T12:04:09.397Z"}, {"id": 8, "model": "mathstral", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 492}, "timestamp": "2026-02-14T20:45:29.645Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1386, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 410}, "timestamp": "2026-02-11T22:55:05.823Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "DS2": "no", "K15": "no", "K17": "no", "LTE_DIFF": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "fec6da", "alias": "comb_count_permutations_fixed_v1_168721529_1475", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 94500$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the sum of all real numbers $x$ satisfying\n$$\nx^2 - 6x - 7735 = \\sum_{d \\mid 32} \\mu(d),\n$$\nwhere $\\mu$ denotes the M\\\"obius function. Define $Q$ to be the remainder when $\\binom{n}{k} \\cdot !(n - k)$ is divided by $93766$, where $!m$ denotes the number of derangements of $m$ elements. Compute $Q$.", "answer": 38020, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93766),\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=94500)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-6), Var(\"x\")), Const(-7735)), SumOverDivisors(n=Const(value=32), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": Const(14753),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "MOBIUS_SUM", "VIETA_SUM"], "recipe_id": "14c7dd", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:42:56.352768Z", "verification": {"verified": true, "answer": 38020, "timestamp": "2026-02-08T13:42:56.356099Z"}, "problem_hash": "101c31", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 28, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 2153}, "timestamp": "2026-02-09T17:36:43.655Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "VIETA_SUM": "ok", "K18": "no", "L3b": "no", "L3c": "no", "LTE_DIFF": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "2e2d9d", "alias": "nt_count_coprime_v1_784195855_1821", "problem": "Let $m = 3$ and let $n = \\sum_{k=1}^{m} k$. Let $k = \\sum_{j=1}^{n} j$ and let $u = 78400$. Compute the number of positive integers $n$ such that $1 \\le n \\le u$ and $\\gcd(n, k) = 1$.", "answer": 44800, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"upper\": Const(78400),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 6.076, "created_at": "2026-02-08T05:19:41.731790Z", "verification": {"verified": true, "answer": 44800, "timestamp": "2026-02-08T05:19:47.807403Z"}, "problem_hash": "3a5bde", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 1340}, "timestamp": "2026-02-12T06:50:26.562Z"}, {"id": 8, "model": "mathstral", "answer": 89592, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 632}, "timestamp": "2026-02-14T12:39:43.458Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 402}, "timestamp": "2026-02-11T22:28:43.183Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "f43104", "alias": "antilemma_cartesian_v1_784195855_5668", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 35$. Let $Q$ be the difference between the number of ordered pairs $(a,b)$ with $1 \\leq a \\leq 24$, $1 \\leq b \\leq 37$, and $x$. Find the value of $Q$.", "answer": 293, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(35)))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(37)))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:01:53.904416Z", "verification": {"verified": true, "answer": 293, "timestamp": "2026-02-08T08:01:53.905688Z"}, "problem_hash": "b9365b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 293, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 202}, "timestamp": "2026-02-12T01:28:42.726Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "2ab47b", "alias": "nt_count_gcd_equals_v1_784195855_500", "problem": "Let $m = 5$ and $n = 25$. Define $\\text{upper}$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 222200$ and $n$ divides $k$. Let $k$ be the largest integer such that $17^k$ divides\n$$\n1340480418895698023067411176743717312981007012239556134605753941864386337047277655624320393544131928113^m.\n$$\nLet $d = 83$. Define $\\text{result}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\gcd(n, k) = d$. Let $c = 82089$. Compute the remainder when $c \\cdot \\text{result}$ is divided by $65336$.", "answer": 3366, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(25),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(222200)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k\": MaxKDivides(target=Pow(Const(1340480418895698023067411176743717312981007012239556134605753941864386337047277655624320393544131928113), Ref(\"_m\")), base=Const(17)),\n \"d\": Const(83),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": Const(82089),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(65336)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14", "C2"], "recipe_id": "ca0542", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "K14"], "num_lemmas": 2, "generation_time": 0.727, "created_at": "2026-02-08T04:25:03.349576Z", "verification": {"verified": true, "answer": 3366, "timestamp": "2026-02-08T04:25:04.076297Z"}, "problem_hash": "ee44f9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "K14": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "6cc437", "alias": "modular_product_range_v1_784195855_3948", "problem": "Let $m = 1376$. Define $n$ to be the number of positive integers $k$ such that $1 \\leq k \\leq m$, $8$ divides $k$, and $\\gcd(k, 21) = 1$. Let $s$ be the number of positive integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 20$, $1 \\leq b \\leq 15$, $12 \\leq t \\leq 215$, and $t = 7a + 5b$. Compute the remainder when the product of all integers from $n$ to $s$, inclusive, is divided by $10037$.", "answer": 3115, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1376),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=20)), 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=12)), Leq(left=Var(name='t'), right=Const(value=215)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10037)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/LIN_FORM"], "recipe_id": "d740a6", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:42:53.739570Z", "verification": {"verified": true, "answer": 3115, "timestamp": "2026-02-08T06:42:53.744139Z"}, "problem_hash": "141673", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 7410}, "timestamp": "2026-02-13T03:55:26.341Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 439}, "timestamp": "2026-02-12T00:25:17.875Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c74af4", "alias": "nt_sum_gcd_range_mod_v1_2051736721_2338", "problem": "Let $N = 1089$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 656100$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $m$ be the minimum element of $T$. Let $k$ be the number of positive integers $n$ such that $1 \\le n \\le m$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Define\n$$\n\\text{sum} = \\sum_{n_1=1}^{N} \\gcd(n_1, k).\n$$\nLet $M = 11831$. Compute the remainder when $\\text{sum}$ is divided by $M$, and subtract this remainder from $45360$. Find the value of this difference.", "answer": 33661, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(45360),\n \"N\": Const(1089),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(656100)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"M\": Const(11831),\n \"sum\": Summation(var=\"n1\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n1\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"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": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.095, "created_at": "2026-02-08T16:35:42.499172Z", "verification": {"verified": true, "answer": 33661, "timestamp": "2026-02-08T16:35:42.594076Z"}, "problem_hash": "7cb030", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 452}, "timestamp": "2026-02-12T11:09:01.940Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c42c36", "alias": "comb_sum_binomial_mod_v1_124444284_4459", "problem": "Let $S$ be the set of all positive integers $t$ such that $8 \\le t \\le 409$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 77$, $1 \\le b \\le 8$, satisfying $t = 5a + 3b$. Let $m$ be the number of positive integers $n$ with $1 \\le n \\le 954$ such that the sum of the decimal digits of $n$ is odd. Define\n\\[\n\\text{sum} = \\sum_{k=28}^{|S|} \\binom{m}{k}.\n\\]\nCompute the value of $(128 - (\\text{sum} \\mod 11321)) \\mod 72759$.", "answer": 63773, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"sum\": Summation(var=\"k\", start=Const(28), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=77)), 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=8)), Leq(left=Var(name='t'), right=Const(value=409)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(954)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(1))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11321)),\n \"_c\": Const(128),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72759)),\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", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.075, "created_at": "2026-02-08T06:01:59.697605Z", "verification": {"verified": true, "answer": 63773, "timestamp": "2026-02-08T06:01:59.772833Z"}, "problem_hash": "b5c4cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 128, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 5286}, "timestamp": "2026-02-12T18:24:18.594Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 616}, "timestamp": "2026-02-11T23:28:58.276Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "fd8c98", "alias": "nt_sum_gcd_range_mod_v1_1470522791_1450", "problem": "Let $N$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 13675204$. Let $p_{\\text{max}}$ be the smallest prime divisor of $1028222104841$ that is at least $2$. Let $k$ be the number of prime numbers $n$ such that $2 \\leq n \\leq p_{\\text{max}}$. Compute the remainder when $\\sum_{n=1}^{N} \\gcd(n, k)$ is divided by $11057$.", "answer": 1925, "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(13675204)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1028222104841)))))), IsPrime(Var(\"n\"))))),\n \"M\": Const(11057),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "B3"], "recipe_id": "a5d2df", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.878, "created_at": "2026-02-08T13:39:38.153691Z", "verification": {"verified": true, "answer": 1925, "timestamp": "2026-02-08T13:39:39.031372Z"}, "problem_hash": "9483e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 479}, "timestamp": "2026-02-12T07:13:57.604Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f99980", "alias": "antilemma_cartesian_v1_717093673_3242", "problem": "Compute the sum $\\sum_{n=1}^{182} \\tau(n)$, where $\\tau(n)$ denotes the number of positive divisors of $n$. The upper limit of the summation is the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 13$ and $1 \\leq j \\leq 14$.", "answer": 981, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(14)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(17), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "recipe_id": "674433", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T17:26:56.435081Z", "verification": {"verified": true, "answer": 981, "timestamp": "2026-02-08T17:26:56.436483Z"}, "problem_hash": "212e08", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 468}, "timestamp": "2026-02-12T22:33:41.945Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "faf1fc", "alias": "antilemma_coprime_grid_v1_1520064083_3546", "problem": "Let $n = 13$. Define $S$ as the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 36$ and $1 \\le j \\le 60$, and\n\\[\n\\gcd(i,j) = \\sum_{d \\mid \\gcd\\left(2^{k}, n\\right)} \\mu(d),\n\\]\nwhere $k$ is the largest integer such that $2^k$ divides $\\binom{4265}{1706}$, and $\\mu$ denotes the Möbius function.\n\nLet $x$ be the number of elements in $S$. Compute the remainder when $44121x$ is divided by $86258$.", "answer": 15570, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13),\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=MaxKDivides(target=Binom(n=Const(value=4265), k=Const(value=1706)), base=Const(value=2)), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(36)), right=IntegerRange(start=Const(1), end=Const(60))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(86258)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["V7/MOBIUS_COPRIME/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "330195", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "V7"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:44:06.976218Z", "verification": {"verified": true, "answer": 15570, "timestamp": "2026-02-08T05:44:06.977431Z"}, "problem_hash": "363419", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V7": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF": "no", "V5": "no", "V8": "no"}, "split": "valid"} +{"id": "c86fde", "alias": "algebra_quadratic_discriminant_v1_1978505735_2277", "problem": "Let $c = 2$. Let $m$ be the number of integers $t$ with $14 \\leq t \\leq 44$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 6$, and $t = 10a + 4b$. Let $a = -2$, $b = -16$, $c = -32$, and let $D = b^2 - 4ac$. Define $r = 2$ if $D > 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Let $p$ be the largest prime number at most $m$, and let $q$ be the largest prime number at most $\\max(2, p)$. Compute the Bell number $B_{|r| \\bmod q}$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"_n\": Const(2),\n \"a\": Const(-2),\n \"b\": Const(-16),\n \"c\": Const(-32),\n \"D\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Const(2), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_c\")), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\")))))), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "LIN_FORM/MAX_PRIME_BELOW"], "recipe_id": "dbd266", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T16:48:37.379194Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T16:48:37.388695Z"}, "problem_hash": "4c4c2d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 298, "completion_tokens": 795}, "timestamp": "2026-02-12T21:07:27.098Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ca3145", "alias": "algebra_quadratic_discriminant_v1_1742523217_3314", "problem": "Let $n = 1$ and define $\\phi(n)$ as Euler's totient function. Let $b = \\sum_{k=\\phi(1)}^{2} k$. Let $c$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 4$. Compute the remainder when $66908 \\cdot (b^2 - 4 \\cdot (-6) \\cdot c)$ is divided by $83713$.", "answer": 77161, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66908),\n \"_n\": Const(2),\n \"a\": Const(-6),\n \"b\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Const(2), expr=Var(\"k\")),\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(4)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Const(83713)),\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", "ONE_PHI_1", "B3"], "recipe_id": "861f82", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:46:40.190823Z", "verification": {"verified": true, "answer": 77161, "timestamp": "2026-02-08T05:46:40.193604Z"}, "problem_hash": "32255c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K15": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "split": "valid"} +{"id": "2bc0dd", "alias": "geo_visible_lattice_v1_397696148_2020", "problem": "Let $n = 100$. Define $r$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\le x, y \\le n$ and $\\gcd(x, y) = 1$. Compute $$\\sum_{k=1}^{r} \\tau(k),$$ where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 53988, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(100),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Summation(var=\"n\", start=Div(Const(66), Const(66)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.217, "created_at": "2026-02-08T12:54:19.898650Z", "verification": {"verified": true, "answer": 53988, "timestamp": "2026-02-08T12:54:20.115740Z"}, "problem_hash": "68db38", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 612}, "timestamp": "2026-02-12T05:54:46.006Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "49f784", "alias": "nt_count_squarefree_v1_1918700295_1189", "problem": "Let $m = 2$ and $U = 66666$. Let $S$ be the set of all integers $n$ such that $\\phi(2) \\leq n \\leq U$ and \n$$\n\\mu(n)^2 = \\sum_{d \\mid \\gcd(5, d_0)} \\mu(d),\n$$\nwhere $d_0$ is the smallest divisor of $1001$ that is at least $m$, $\\phi$ is Euler's totient function, and $\\mu$ is the M\\\"obius function. Let $c$ be the number of elements in $S$. Compute $44121 \\cdot c$, and then find the remainder when this product is divided by $54590$. Determine the value of this remainder.", "answer": 40438, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(66666),\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=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Ref(name='_n')), Divides(divisor=Var(name='d'), dividend=Const(value=1001)))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(54590)),\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": "0e2cc0", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 8.658, "created_at": "2026-02-08T05:38:32.794212Z", "verification": {"verified": true, "answer": 40438, "timestamp": "2026-02-08T05:38:41.452061Z"}, "problem_hash": "921727", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V7": "no"}, "split": "valid"} +{"id": "faa646", "alias": "modular_sum_quadratic_residues_v1_1742523217_3584", "problem": "Let $m = 4$. Let $S$ 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 such pairs. Let $p$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 11$ and $1 \\leq j \\leq 44$ such that $\\gcd(i, j) = 1$. Compute $\\frac{p(p - \\phi(2))}{d}$.", "answer": 25043, "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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"p\": 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(11)), right=IntegerRange(start=Const(1), end=Const(44))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), EulerPhi(n=Const(2)))), 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/COUNT_COPRIME_GRID", "ONE_PHI_2"], "recipe_id": "2647e6", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:58:11.027803Z", "verification": {"verified": true, "answer": 25043, "timestamp": "2026-02-08T05:58:11.031784Z"}, "problem_hash": "79d7ec", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "COUNT_COPRIME_GRID": "ok_later", "K16": "no", "L3b": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "5c44a8", "alias": "nt_sum_totient_over_divisors_v1_1125832087_1415", "problem": "Let $n = 80981$. Define $r = \\sum_{d \\mid n} \\phi(d)$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 8$. Let $M$ be the maximum value of $xy$ over all pairs $(x, y) \\in S$. Let $N$ be the largest prime number $n$ such that $2 \\leq n \\leq M$. Compute the remainder when $N - r$ is divided by $54533$.", "answer": 28098, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(80981),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(8)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Const(54533)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MAX_PRIME_BELOW"], "recipe_id": "a1754a", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:43:08.101936Z", "verification": {"verified": true, "answer": 28098, "timestamp": "2026-02-08T03:43:08.104035Z"}, "problem_hash": "4b6cee", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 28098, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 1515}, "timestamp": "2026-02-10T15:28:09.828Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 28098, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 801}, "timestamp": "2026-02-10T14:13:02.247Z"}, {"id": 8, "model": "mathstral", "answer": 37043, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 885}, "timestamp": "2026-02-12T22:35:01.408Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 474}, "timestamp": "2026-02-11T20:06:48.762Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K5": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "20483c", "alias": "modular_min_modexp_v1_2051736721_1300", "problem": "Let $a = 5$ and $m = 827$. Let $b$ be the largest positive divisor of 96404 that is at most 308. Determine the value of the smallest positive integer $x$ such that $1 \\leq x \\leq 118$ and $a^x \\equiv b \\pmod{m}$.", "answer": 21, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(308),\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(96404))))),\n \"m\": Const(827),\n \"upper\": Const(118),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T15:56:03.607065Z", "verification": {"verified": true, "answer": 21, "timestamp": "2026-02-08T15:56:03.615304Z"}, "problem_hash": "e6db9f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 260}, "timestamp": "2026-02-12T09:35:07.122Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K17": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cbacea", "alias": "antilemma_cartesian_v1_1874849503_1206", "problem": "Let $n_0 = 3$.\n\nConsider the set of all ordered pairs $(u,v)$ with $1 \\le u \\le 22$ and $1 \\le v \\le 40$. Let $x$ be the number of elements in this set.\n\nLet $S$ be the set of all ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1 + x_2 = T,$$\nwhere $T$ is the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1 \\le a \\le 2, \\quad 1 \\le b \\le 3, \\quad 5 \\le t \\le 12, \\quad t = 3a + 2b.$$\nLet $m$ be the number of elements in $S$.\n\nDefine\n$$Q = \\sum_{n=\\binom{m}{n_0}}^{|x|} d(n),$$\nwhere $d(n)$ denotes the number of positive divisors of $n$.\n\nFind the value of $Q$.", "answer": 6109, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(40)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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'))))))))))))), k=Ref(\"_n\")), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/ONE_BINOM_N", "COUNT_CARTESIAN"], "recipe_id": "12aef1", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "LIN_FORM", "ONE_BINOM_N"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T13:41:00.664395Z", "verification": {"verified": true, "answer": 6109, "timestamp": "2026-02-08T13:41:00.668005Z"}, "problem_hash": "a26c45", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6109, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 357, "completion_tokens": 4641}, "timestamp": "2026-02-10T02:19:53.024Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 355, "completion_tokens": 504}, "timestamp": "2026-02-11T21:12:57.974Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "ONE_BINOM_N": "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.62, "hi": 1.56}, "split": "valid"} +{"id": "273e3b", "alias": "geo_visible_lattice_v1_655260480_2998", "problem": "Let $n = 111$. Define $\\text{result}$ as the number of lattice points $(x, y)$ with $1 \\leq x, y \\leq n$ such that $\\gcd(x, y) = 1$. Let $Q$ be the remainder when $97999 \\cdot \\text{result}$ is divided by $81019$. Compute $Q$.", "answer": 46347, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(111),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(97999), Ref(\"result\")), modulus=Const(81019)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.279, "created_at": "2026-02-08T17:07:17.890804Z", "verification": {"verified": true, "answer": 46347, "timestamp": "2026-02-08T17:07:18.169913Z"}, "problem_hash": "69891f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 41955, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 493}, "timestamp": "2026-02-12T21:52:03.697Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ad00ce", "alias": "antilemma_cartesian_v1_2051736721_3507", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 8$ and $1 \\leq b \\leq 9$.\\\\\n\nCompute the remainder when $86499 \\cdot x$ is divided by $53798$.", "answer": 41158, "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\": Mod(value=Mul(Const(86499), Ref(\"x\")), modulus=Const(53798)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:23:21.392796Z", "verification": {"verified": true, "answer": 41158, "timestamp": "2026-02-08T17:23:21.393577Z"}, "problem_hash": "ddf055", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 370}, "timestamp": "2026-02-12T22:26:38.688Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6f331e", "alias": "antilemma_product_of_sums_v1_677425708_480", "problem": "Let\n$$S_1 = \\sum_{k=1}^{13} k.$$Let $S_2$ be the sum of all products $ij$ taken over all ordered pairs $(i,j)$ of integers with $1\\le i\\le 3$ and $1\\le j\\le 9$.\nLet $x = S_1 S_2$.\n\nLet $p$ be the largest prime not exceeding $193$. Let $T$ be the number of integers $n$ such that $2\\le n\\le p$ and $n$ is prime.\n\nDefine $Q$ to be the remainder when\n$$x^2 + Tx + x$$\nis divided by $64992$.\n\nFind the value of $Q$.", "answer": 15425, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"S1\": Summation(var=\"k\", start=Const(1), end=Const(13), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(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\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(193)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))), Ref(\"x\")), Const(5)), modulus=Const(64992)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "PRODUCT_OF_SUMS"], "recipe_id": "bcbd39", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:33:41.277827Z", "verification": {"verified": true, "answer": 15425, "timestamp": "2026-02-08T03:33:41.280608Z"}, "problem_hash": "38e95a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39990, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 3215}, "timestamp": "2026-02-08T20:39:00.898Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 39990, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 2389}, "timestamp": "2026-02-10T04:30:29.497Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "d0f0b9", "alias": "antilemma_sum_factor_cartesian_v1_1440796553_240", "problem": "Let $t=23$ and let $n_1=t^2$. Let $c$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $p=41$, $q=23$, and $r=13$, and let $n=pqr$. Let $w$ be the remainder when the number of positive divisors of $n$ is divided by $2c$.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 15$ and $1\\le j\\le 11$. Let $x$ be the sum of all products $ij$ over these pairs.\n\nLet $d$ range over the integers. Let $m$ be the least integer $d$ such that $d\\ge 2$ and $d$ divides $40577833$.\n\nLet $x_1$ be the remainder when $x$ is divided by $293$, and let $x_2$ be the remainder when $x$ is divided by $m+w$. Let $c_1=3001$.\n\nLet $Q$ be the remainder when $x_1+c_1x_2$ is divided by $61632$. Find the value of $Q$.", "answer": 14122, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"t\": Const(23),\n \"n1\": Pow(Ref(\"t\"), Ref(\"_n\")),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": Const(41),\n \"q\": Const(23),\n \"r\": Const(13),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Mul(Const(2), Ref(\"c\"))),\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(15)), right=IntegerRange(start=Const(1), end=Const(11)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": Const(3001),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(40577833))))), Ref(\"w\"))))), modulus=Const(61632)),\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", "SUM_FACTOR_CARTESIAN"], "recipe_id": "169e6b", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:40:18.798827Z", "verification": {"verified": true, "answer": 14122, "timestamp": "2026-02-08T11:40:18.803014Z"}, "problem_hash": "d48d70", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_FACTOR_CARTESIAN": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "MOD_SUB": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "27563d", "alias": "nt_count_digit_sum_v1_677425708_1306", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $$\nx y = \\left(1 + \\sum_{j=0}^{50220} \\left[ \\binom{50220}{j} \\equiv 1 \\pmod{2} \\right] \\right) + 17,\n$$ where the bracket is 1 if the congruence holds and 0 otherwise. Let $T$ be the set of all values $x + y$ for $(x, y) \\in S$. Let $s$ be the minimum value in $T$.\n\nNow, consider the set of all positive integers $n$ such that $1 \\leq n \\leq 99235$ and the sum of the decimal digits of $n$ equals $s$. Compute the number of such integers $n$.", "answer": 4840, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50220),\n \"upper\": Const(99235),\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\")), Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(50220), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(17))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/B3", "ONE_PHI_2"], "recipe_id": "c98a92", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "V8"], "num_lemmas": 3, "generation_time": 4.252, "created_at": "2026-02-08T04:05:00.011630Z", "verification": {"verified": true, "answer": 4840, "timestamp": "2026-02-08T04:05:04.263752Z"}, "problem_hash": "0f93dc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7074, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 6259}, "timestamp": "2026-02-09T18:17:33.743Z"}], "solution_status": 0, "lemma_applicability": {"ONE_PHI_2": "ok", "V8": "ok", "B3": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "K13": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "beb01f", "alias": "nt_min_crt_v1_124444284_720", "problem": "Let $n = 2$. Let $d$ be the smallest integer greater than or equal to 2 that divides the number of positive integers less than or equal to 983 that are relatively prime to 15. Denote this smallest such $d$ by $m$.\n\nLet $k = 8$, $a = 2$, $b = 4$, and let the upper bound be 24. Find the smallest integer $n$ such that $\\phi(n) \\leq n \\leq 24$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$.\n\nCompute the remainder when $44345$ multiplied by this value of $n$ is divided by 56886.", "answer": 33610, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"m\": 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(983)), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))))))),\n \"k\": Const(8),\n \"a\": Const(2),\n \"b\": Const(4),\n \"upper\": Const(24),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"_c\": Const(44345),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(56886)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MIN_PRIME_FACTOR", "ONE_PHI_2"], "recipe_id": "48074a", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.16, "created_at": "2026-02-08T03:27:58.868734Z", "verification": {"verified": true, "answer": 33610, "timestamp": "2026-02-08T03:27:59.028787Z"}, "problem_hash": "ca9462", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33610, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 1792}, "timestamp": "2026-02-09T21:04:54.437Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 33610, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 1791}, "timestamp": "2026-02-09T05:11:02.561Z"}], "solution_status": 2, "lemma_applicability": {"C4": "ok", "ONE_PHI_2": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "77e761", "alias": "nt_count_gcd_equals_v1_1978505735_2679", "problem": "Let $k = 168$ and $d = 84$. Define $A$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 48400$ and $\\gcd(n, k) = d$. Let $r = |A|$. Let $B$ be the set of all integers $t$ such that $27 \\leq t \\leq 76$ and there exist positive integers $a \\leq 8$ and $b \\leq 8$ satisfying $t = 3a + 4b + 20$. Let $c = |B|$. Let $q$ be the smallest prime divisor of $1201289$ that is at least $2$. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left( (r^2 + 1) \\bmod 101 \\right) + 215534 \\cdot \\left( (|r| + c) \\bmod q \\right)\n$$\nis divided by $91064$.", "answer": 71599, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": Const(48400),\n \"k\": Const(168),\n \"d\": Const(84),\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(\"t\"), condition=Exists(var=Var(name='a'), condition=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=8)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=76)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=20)))))))),\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(\"_m\")), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(1201289)))))))), modulus=Const(1009091)), modulus=Const(91064)),\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"], "recipe_id": "e2ef0b", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 7.625, "created_at": "2026-02-08T17:06:25.712925Z", "verification": {"verified": true, "answer": 71599, "timestamp": "2026-02-08T17:06:33.338319Z"}, "problem_hash": "bf33b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 358, "completion_tokens": 449}, "timestamp": "2026-02-12T21:54:38.055Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K15": "no", "L3c": "no", "MAX_VAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "74d488", "alias": "nt_count_coprime_and_v1_1742523217_4568", "problem": "Let $d$ be a positive divisor of 9378. Define $\\phi(d)$ to be Euler's totient function. Let $S$ be the set of all positive integers $d$ that divide 9378, and define\n$$\n\\text{upper} = \\sum_{d \\mid 9378} \\phi(d).\n$$\nLet $k_1 = 8$ and $k_2 = 9$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $\\gcd(n, 8) = 1$, and $\\gcd(n, 9) = 1$. Let $\\text{result}$ be the number of elements in this set.\n\nLet $m = 2$, and let $c$ be the smallest integer $d$ such that $d \\geq m$ and $d$ divides 79352239. Compute the remainder when $c \\cdot \\text{result}$ is divided by 63909.", "answer": 63012, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(63909),\n \"upper\": SumOverDivisors(n=Const(value=9378), var='d', expr=EulerPhi(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 \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(79352239))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "K3"], "recipe_id": "3aa1f9", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.677, "created_at": "2026-02-08T08:58:19.360753Z", "verification": {"verified": true, "answer": 63012, "timestamp": "2026-02-08T08:58:21.037864Z"}, "problem_hash": "b90c61", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48603, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 2555}, "timestamp": "2026-02-13T22:38:01.527Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 461}, "timestamp": "2026-02-12T02:20:00.332Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "58cb24", "alias": "geo_visible_lattice_v1_1470522791_1463", "problem": "Let $n = 99$. Define $L$ to be the number of visible lattice points $(x, y)$ such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the remainder when $44121 \\cdot L$ is divided by $80491$.", "answer": 58475, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(99),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(80491)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.46, "created_at": "2026-02-08T13:40:42.381160Z", "verification": {"verified": true, "answer": 58475, "timestamp": "2026-02-08T13:40:42.841040Z"}, "problem_hash": "05d758", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 511}, "timestamp": "2026-02-12T07:14:03.391Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cd3378", "alias": "nt_min_phi_inverse_v1_548369836_251", "problem": "Let $m = 4$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = m$. For each such pair, compute $x + y$, and let $n$ be the minimum of these sums. Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 180$, $\\gcd(p, q) = 1$, and $p < q$. Define $u = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{P}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Let $r$ be the smallest positive integer $n$ such that $1 \\leq n \\leq u$ and $\\phi(n) = 1$. Compute $68419 \\cdot r$.", "answer": 68419, "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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), 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=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'))))))), Var(\"k\"))))),\n \"k\": Const(1),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"_c\": Const(68419),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/K2", "B3/K2"], "recipe_id": "2bf208", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K2"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T02:49:42.140504Z", "verification": {"verified": true, "answer": 68419, "timestamp": "2026-02-08T02:49:42.145844Z"}, "problem_hash": "a598b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 1083}, "timestamp": "2026-02-08T20:17:02.161Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 311, "completion_tokens": 1347}, "timestamp": "2026-02-09T21:32:33.081Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:13:42.735Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 612}, "timestamp": "2026-02-09T04:00:01.386Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 1479}, "timestamp": "2026-02-09T11:09:02.359Z"}, {"id": 8, "model": "mathstral", "answer": 68419, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 607}, "timestamp": "2026-02-11T04:15:57.562Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 305, "completion_tokens": 710}, "timestamp": "2026-02-11T19:43:09.786Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "K2": "ok_later", "K5": "no", "L3b": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -7.96, "mid": -5.66, "hi": -3.26}, "split": "valid"} +{"id": "1d7ca7", "alias": "algebra_quadratic_discriminant_v1_677425708_962", "problem": "Consider the quadratic equation $ax^2 + bx + c = 0$ with $a = -6$, $b = -2$, and $c = -8$. Let $D$ be the discriminant of this equation. Define $r = 2$ if $D > 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Let $m$ be the smallest positive integer such that $7^{1379}$ divides $m!$, and let $d$ be the largest positive divisor of $68674333$ that is at most $m$. Compute $r^2 + 16r + d$.", "answer": 8281, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(16),\n \"a\": Const(-6),\n \"b\": Const(-2),\n \"c\": Const(-8),\n \"D\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"result\": Sum(Mul(Ref(\"_m\"), Iverson(condition=Gt(Ref(\"D\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(7)), Const(1379)), domain='Z_{>0}'))), Divides(divisor=Var(\"d\"), dividend=Const(68674333))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/MAX_DIVISOR"], "recipe_id": "7fbcb5", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "V5"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:53:50.406969Z", "verification": {"verified": true, "answer": 8281, "timestamp": "2026-02-08T03:53:50.410367Z"}, "problem_hash": "f87dd9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8281, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 4072}, "timestamp": "2026-02-09T14:25:46.161Z"}], "solution_status": 2, "lemma_applicability": {"V5": "ok", "MAX_DIVISOR": "ok_later", "C2": "no", "K16": "no", "L3c": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "711558", "alias": "geo_count_lattice_triangle_v1_784195855_10260", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(120,16)$, and $(29,169)$. Let $B$ be the number of lattice points on the boundary of this triangle. Given that $2A$ is an integer, compute $\\left| A - \\frac{B}{2} + 1 \\right|$.", "answer": 9904, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=120), Const(value=169)), Mul(Ref(name='_n'), Sub(left=Const(value=0), right=Const(value=16))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=16))), GCD(a=Abs(arg=Sub(left=Const(value=29), right=Const(value=120))), b=Abs(arg=Sub(left=CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(value=1), end=Const(value=13)), right=IntegerRange(start=Const(value=1), end=Const(value=13)))), right=Const(value=16)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=29))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=169))))),\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": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T17:32:36.122329Z", "verification": {"verified": true, "answer": 9904, "timestamp": "2026-02-08T17:32:36.127619Z"}, "problem_hash": "c3fa0b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 488}, "timestamp": "2026-02-12T23:06:48.063Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5f2bcf", "alias": "comb_count_permutations_fixed_v1_1874849503_804", "problem": "Let $m=2$, $r=3$, and $n=9$. Define\n$$k = \\sum_{j=1}^{r} j,$$\nand let\n$$R = \\binom{n}{k}\\,\\bigl(!(n-k)\\bigr),$$\nwhere $!t$ denotes the number of derangements of $t$ objects.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=121$. For each such pair, compute $x+y$, and let $L$ be the minimum of all these values of $x+y$. Let $S$ be the set of all integers $t$ such that $m\\le t\\le L$ and $t$ is prime, and let $c$ be the maximum element of $S$ (assume $S$ is nonempty).\n\nLet\n$$Q$$\nbe the remainder when $c-R$ is divided by $88192$.\n\nFind the value of $Q$.", "answer": 88043, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"n\": Const(9),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"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(121)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(88192)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "recipe_id": "8dc017", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T13:18:51.722207Z", "verification": {"verified": true, "answer": 88043, "timestamp": "2026-02-08T13:18:51.729382Z"}, "problem_hash": "4a29c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 88043, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 599}, "timestamp": "2026-02-09T21:06:03.578Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 88137, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 545}, "timestamp": "2026-02-11T21:09:46.693Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "valid"} +{"id": "ddd96e", "alias": "nt_euler_phi_compute_v1_1520064083_972", "problem": "Let $p = 11$ and $n_2 = p^4$. Let $n_1$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 10$. Define $h$ as the sum of $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$. Let $n = 65536 + h$ and let $r = \\phi(n)$. Let $u$ be the number of distinct prime factors of $n_2$. Compute the remainder when $12996u - r$ is divided by $67786$.", "answer": 48014, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67786),\n \"p\": Const(11),\n \"n2\": Pow(Ref(\"p\"), Const(4)),\n \"u\": SmallOmega(n=Ref(name='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(10)))), 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\": Sum(Const(65536), Ref(\"h\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(Mul(Const(12996), Ref(\"u\")), 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/EULER_TOTIENT_SUM", "OMEGA_ONE"], "recipe_id": "7c4aef", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:41:37.886395Z", "verification": {"verified": true, "answer": 48014, "timestamp": "2026-02-08T03:41:37.889507Z"}, "problem_hash": "966af0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "OMEGA_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "K5": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "4f5da5", "alias": "comb_count_derangements_v1_971394319_1305", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 412$, $1 \\leq b \\leq 1696$, and $8a + 6b = xy$. Let $m$ be the minimum value of $x + y$ over all such pairs.\n\nLet $n$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 164$ and $\\binom{m}{j}$ is odd. Compute the subfactorial of $n$.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(164),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=MinOverSet(set=MapOverSet(set=SolutionsSet(var=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=412)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1696)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=13472)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3/V8"], "recipe_id": "0b327f", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "V8"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T13:36:00.100324Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T13:36:00.107351Z"}, "problem_hash": "b9ac40", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 532}, "timestamp": "2026-02-12T07:10:44.237Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "V8": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "aab938", "alias": "modular_min_linear_v1_1520064083_7863", "problem": "Let $a = 57136$ and $b$ be the largest positive divisor of $351056$ that is at most $592$. Let $m = 89642$. Find the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $ax \\equiv b \\pmod{m}$.", "answer": 15752, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(57136),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(592)), Divides(divisor=Var(\"d\"), dividend=Const(351056))))),\n \"m\": Const(89642),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 3.459, "created_at": "2026-02-08T09:20:53.385240Z", "verification": {"verified": true, "answer": 15752, "timestamp": "2026-02-08T09:20:56.844660Z"}, "problem_hash": "a3a4f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15752, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 114, "completion_tokens": 2822}, "timestamp": "2026-02-14T03:10:00.581Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 437}, "timestamp": "2026-02-12T02:49:40.020Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "de5296", "alias": "nt_sum_divisors_mod_v1_168721529_1119", "problem": "Let $N = 1599268436834212369267529577760027711532456085925222543779398890335218030881$ and let $e = 35$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 13$ and $n \\equiv 0 \\pmod{13}$. Let $b$ be the sum of all elements of $A$. Let $k$ be the largest integer such that $b^k$ divides $N^e$. Let $\\sigma(k)$ denote the sum of all positive divisors of $k$. Find the remainder when $\\sigma(k)$ is divided by $11159$.", "answer": 9360, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35),\n \"n\": MaxKDivides(target=Pow(Const(159926843683421236926752957776002771153245608592522254377939889030122675218030881), Ref(\"_n\")), base=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(13)), Eq(Mod(value=Var(\"n\"), modulus=Const(13)), Const(0)))))),\n \"M\": Const(11159),\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/K14"], "recipe_id": "328274", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K14", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T13:28:23.551884Z", "verification": {"verified": true, "answer": 9360, "timestamp": "2026-02-08T13:28:23.553727Z"}, "problem_hash": "273fff", "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": 264, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:51:47.585Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 419}, "timestamp": "2026-02-10T02:11:43.729Z"}], "solution_status": 0, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "K14": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "K17": "no", "K18": "no", "V7": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "valid"} +{"id": "5e367f", "alias": "antilemma_cartesian_v1_1431428450_990", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer satisfying $1 \\le a \\le 16$ and $b$ is an integer satisfying $1 \\le b \\le 22$. Compute $$\\sum_{n=1}^{|x|} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$. Find the value of this sum.", "answer": 2128, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(22)))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:50:52.928449Z", "verification": {"verified": true, "answer": 2128, "timestamp": "2026-02-08T13:50:52.929208Z"}, "problem_hash": "6ee127", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 326}, "timestamp": "2026-02-12T07:29:01.090Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3e5f3d", "alias": "nt_count_intersection_v1_349078426_1121", "problem": "Let $A$ be the set of all integers $t$ such that $30 \\leq t \\leq 134$ and there exist positive integers $a \\in [1,12]$, $b \\in [1,8]$ satisfying $t = 5a + 7b + 18$. Let $m = |A|$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $b$ be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Let $B$ be the set of all integers $t$ such that $7 \\leq t \\leq 10010$ and there exist positive integers $a \\in [1,4220]$, $b \\in [1,314]$ satisfying $t = 2a + 5b$. Let $N = |B|$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $7$ divides $n$, and $\\gcd(n, b) = 1$. Let $r = |T|$. Determine the value of the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $r + 2$.", "answer": 714, "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=12)), 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=30)), Leq(left=Var(name='t'), right=Const(value=134)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=18)))))))),\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=4220)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=314)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=10010)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\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\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.363, "created_at": "2026-02-08T13:25:48.622396Z", "verification": {"verified": true, "answer": 714, "timestamp": "2026-02-08T13:25:48.985172Z"}, "problem_hash": "7e1c7e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 386, "completion_tokens": 585}, "timestamp": "2026-02-12T06:52:48.073Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a4f15f", "alias": "comb_catalan_compute_v1_898971024_561", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ where $i$ is an integer with $1 \\leq i \\leq 2$ and $j$ is an integer with $1 \\leq j \\leq 5$. Let $C_n$ denote the $n$-th Catalan number. Compute $65025 - C_n$.", "answer": 48229, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": Const(65025),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T15:32:28.990331Z", "verification": {"verified": true, "answer": 48229, "timestamp": "2026-02-08T15:32:29.007365Z"}, "problem_hash": "bdfdef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 258}, "timestamp": "2026-02-12T08:37:51.885Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4a3a69", "alias": "nt_count_divisible_and_v1_1248542787_222", "problem": "Let $n_0=34$ and $U=106752$.\n\nLet $d_1$ be the number of integers $t$ such that $5\\le t\\le 12$ and there exist integers $a$ and $b$ with $1\\le a\\le 3$, $1\\le b\\le 2$, and\n$$t=2a+3b.$$\nLet $d_2=8$.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le U$ such that\n$$n\\equiv 0\\pmod{d_1}$$\nand\n$$n\\equiv \\sum_{d\\mid 32}\\mu(d)\\pmod{d_2},$$\nwhere $\\mu$ is the Möbius function.\n\nAmong all ordered pairs $(x,y)$ of positive integers satisfying $x+y=n_0$, let $P$ be the largest possible value of $xy$. Among all ordered pairs $(x,y)$ of positive integers satisfying $xy=P$, let $S$ be the smallest possible value of $x+y$.\n\nLet $M$ be the largest possible value of $xy$ among all ordered pairs $(x,y)$ of positive integers satisfying $x+y=S$.\n\nDefine\n$$Q\\equiv M-R\\pmod{89962},$$\nwhere $0\\le Q<89962$.\n\nFind the value of $Q$.", "answer": 85803, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(34),\n \"upper\": Const(106752),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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 \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=Const(value=32), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(89962)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/B1", "MOBIUS_SUM", "LIN_FORM"], "recipe_id": "5b96f8", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 9.718, "created_at": "2026-02-08T03:01:17.645380Z", "verification": {"verified": true, "answer": 85803, "timestamp": "2026-02-08T03:01:27.363676Z"}, "problem_hash": "8c4ac3", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 85803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 420, "completion_tokens": 832}, "timestamp": "2026-02-09T01:29:41.581Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 85803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 416, "completion_tokens": 1540}, "timestamp": "2026-02-09T14:06:09.564Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 85803, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 374, "completion_tokens": 6444}, "timestamp": "2026-02-09T01:57:00.039Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "fb0e51", "alias": "nt_count_digit_sum_v1_1874849503_428", "problem": "Let $f(x) = x^2 - 9999x + 724598$. Let $u$ be the sum of all real solutions $x$ to the equation $f(x) = \\sum_{d \\mid 14} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 64$. Define $t$ to be the minimum value of $x + y$ over all such pairs. Compute the number of positive integers $n$ with $1 \\leq n \\leq u$ such that the sum of the decimal digits of $n$ is equal to $t$.", "answer": 633, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": Const(2),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-9999), Var(\"x\")), Const(724598)), SumOverDivisors(n=Ref(name='_m'), var='d', expr=MoebiusMu(n=Var(name='d')))))),\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(64)))), 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": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "VIETA_SUM", "B3"], "recipe_id": "48bf0f", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_SUM", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.487, "created_at": "2026-02-08T13:03:31.583745Z", "verification": {"verified": true, "answer": 633, "timestamp": "2026-02-08T13:03:32.070465Z"}, "problem_hash": "3647bd", "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": 266, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:46:45.286Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MOBIUS_SUM": "ok", "VIETA_SUM": "ok", "DS2": "no", "K16": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "41a869", "alias": "nt_sum_phi_v1_124444284_8587", "problem": "Let $S$ be the set of all positive integers $n$ such that $2 \\leq n \\leq \\sum_{d \\mid 432} \\phi(d)$ and $n$ is prime. Let $M$ be the maximum element of $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq M$. Compute the sum $$\\sum_{n \\in T} \\phi(n),$$ and denote this sum by $\\Sigma$. Find the value of $96100 - \\Sigma$.", "answer": 39460, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), SumOverDivisors(n=Const(value=432), var='d', expr=EulerPhi(n=Var(name='d')))), IsPrime(Var(\"n\"))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(96100),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_PRIME_BELOW"], "recipe_id": "d8e8cc", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.038, "created_at": "2026-02-08T09:47:58.501011Z", "verification": {"verified": true, "answer": 39460, "timestamp": "2026-02-08T09:47:58.538670Z"}, "problem_hash": "546c36", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39670, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 3193}, "timestamp": "2026-02-14T19:37:40.485Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 449}, "timestamp": "2026-02-12T04:40:20.381Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MAX_PRIME_BELOW": "ok_later", "K18": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "cb7348", "alias": "comb_count_surjections_v1_717093673_1905", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4\\}$. Let $k = 4$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Let $Q$ be the smallest positive integer such that the $Q$-th Fibonacci number is divisible by $|r| + 2$. Find the value of $Q$.", "answer": 2553, "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(4)))),\n \"k\": Const(4),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:23:24.106244Z", "verification": {"verified": true, "answer": 2553, "timestamp": "2026-02-08T16:23:24.108682Z"}, "problem_hash": "8c082e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 378}, "timestamp": "2026-02-12T10:37:01.398Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "81ed88", "alias": "nt_num_divisors_compute_v1_1918700295_97", "problem": "Let $n = 99225$. Determine the value of the number of positive divisors of $n$.", "answer": 45, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(99225),\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": ["LIN_FORM/MOBIUS_COPRIME", "LIOUVILLE_MINUS_ONE"], "recipe_id": "d26941", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T02:59:05.104532Z", "verification": {"verified": true, "answer": 45, "timestamp": "2026-02-08T02:59:05.119416Z"}, "problem_hash": "e0969f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 45, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 1003}, "timestamp": "2026-02-10T12:05:00.922Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 45, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 533}, "timestamp": "2026-02-08T22:43:00.630Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 45, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 68, "completion_tokens": 570}, "timestamp": "2026-02-10T22:13:10.892Z"}, {"id": 8, "model": "mathstral", "answer": 54, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 80, "completion_tokens": 513}, "timestamp": "2026-02-11T08:59:07.401Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 45, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 127, "completion_tokens": 197}, "timestamp": "2026-02-11T20:00:20.071Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "K13": "no", "K14": "no", "K16": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.02}, "split": "valid"} +{"id": "e509aa", "alias": "antilemma_cartesian_v1_458359167_2956", "problem": "Let $x$ be the total number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 21$ and $1 \\leq j \\leq 28$. Compute $$\n\\sum_{i=0}^{2} \\left( \\text{the } i\\text{th digit of } |x| \\right) \\cdot (i+1)^2 + 45360.\n$$ Find the value of this sum.", "answer": 45445, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(2), k=Const(2)), 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(45360)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ZERO_BINOM_N"], "recipe_id": "778787", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ZERO_BINOM_N"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:52:03.425109Z", "verification": {"verified": true, "answer": 45445, "timestamp": "2026-02-08T06:52:03.426530Z"}, "problem_hash": "24e2b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 45445, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 1171}, "timestamp": "2026-02-13T05:28:53.895Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 45469, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 299}, "timestamp": "2026-02-12T00:35:24.326Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ZERO_BINOM_N": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "c5f82d", "alias": "nt_sum_divisors_mod_v1_784195855_7996", "problem": "Let $n$ be the largest positive divisor of $532080$ that does not exceed $720$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Compute the remainder when $91933 \\cdot \\sigma(n)$ is divided by $83013$.", "answer": 68193, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(720),\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(532080))))),\n \"M\": Const(11779),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"_c\": Const(91933),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83013)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:39:33.842601Z", "verification": {"verified": true, "answer": 68193, "timestamp": "2026-02-08T09:39:33.844652Z"}, "problem_hash": "fe2643", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 68193, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 104, "completion_tokens": 1656}, "timestamp": "2026-02-14T08:27:52.068Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 717}, "timestamp": "2026-02-12T03:25:13.766Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V3": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "7ac22a", "alias": "nt_sum_gcd_range_mod_v1_1742523217_4669", "problem": "Let $N$ be the number of integers $t$ such that $21 \\leq t \\leq 23799$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1132$, $1 \\leq b \\leq 1135$, and $t = 12a + 9b$. Let $k$ be the number of positive integers $k'$ such that $1 \\leq k' \\leq 10332$ and the greatest common divisor of $k'$ and $151$ is $1$ divides $k'$. Define\n\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\n\nLet $Q$ be the smallest positive integer such that the $Q$-th Fibonacci number is divisible by $|\\text{sum} \\mod 11579| + 2$. Compute $Q$.", "answer": 2658, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10332),\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=1132)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1135)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=23799)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(151)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"M\": Const(11579),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/C2", "LIN_FORM"], "recipe_id": "91f71f", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "C4", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.365, "created_at": "2026-02-08T09:01:38.195431Z", "verification": {"verified": true, "answer": 2658, "timestamp": "2026-02-08T09:01:38.560700Z"}, "problem_hash": "2fff2c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 192, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 8108}, "timestamp": "2026-02-13T23:22:20.058Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 825}, "timestamp": "2026-02-12T02:24:31.154Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "C2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "K5": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "749426", "alias": "nt_count_gcd_equals_v1_1470522791_133", "problem": "Let $k_0 = \\sum_{k=1}^{5} k$. For each positive integer $k \\le k_0$, define $c_k$ as the number of integers $t$ in the interval $7 \\le t \\le 25$ for which there exist integers $a$ and $b$ such that $1 \\le a \\le 3$, $1 \\le b \\le 5$, and $t = 5a + 2b$. Let $k = \\sum_{k=1}^{k_0} \\phi(k) \\left\\lfloor \\frac{c_k}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Let $S$ be the set of positive integers $n \\le 31684$ such that $\\gcd(n, k) = 15$. Compute the number of elements in $S$.", "answer": 1056, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")),\n \"upper\": Const(31684),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=25)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), Var(\"k\"))))),\n \"d\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/LIN_FORM/K2"], "recipe_id": "0f1532", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 3.099, "created_at": "2026-02-08T12:50:07.370924Z", "verification": {"verified": true, "answer": 1056, "timestamp": "2026-02-08T12:50:10.469787Z"}, "problem_hash": "a0aa9b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 527}, "timestamp": "2026-02-12T05:50:31.075Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K2": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "K16": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cbd223", "alias": "antilemma_product_of_sums_v1_784195855_3193", "problem": "Let $S_1$ be the sum of all nonnegative integers $j \\leq v$ such that the binomial coefficient $\\binom{15}{j}$ is odd, where $v$ is the largest integer $k$ such that $13^k$ divides $12^{3937376385699289} + 1^{3937376385699289}$. Let $S_2 = \\sum_{k=1}^{12} k$, and let $x = S_1 \\cdot S_2$. Compute the remainder when $\\sum_{n=1}^{|x|} \\phi(n)$ is divided by 58311, where $\\phi$ denotes Euler's totient function.", "answer": 41938, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": Const(12),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxKDivides(target=Sum(Pow(Const(12), Const(3937376385699289)), Pow(Const(1), Const(3937376385699289))), base=Const(13))), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\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=Const(58311)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "PRODUCT_OF_SUMS", "lemma_paths": ["PRODUCT_OF_SUMS", "LTE_SUM"], "recipe_id": "0bb7af", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_SUM", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.497, "created_at": "2026-02-08T06:17:39.475564Z", "verification": {"verified": true, "answer": 41938, "timestamp": "2026-02-08T06:17:39.972764Z"}, "problem_hash": "16f0ea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_ADD": "no", "V5": "no", "V7": "no"}, "split": "valid"} +{"id": "db9674", "alias": "comb_bell_compute_v1_1125832087_1319", "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 the product $x \\cdot y$ over all such pairs. Compute the $n$-th Bell number, $B_n$. Let $c$ be the number of integers $t$ such that $11 \\leq t \\leq 3490$ and there exist positive integers $a \\leq 114$, $b \\leq 673$ satisfying $t = 7a + 4b$. Find the remainder when $c \\cdot B_n$ is divided by $90065$.", "answer": 78134, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(90065),\n \"n\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Bell(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=114)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=673)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=3490)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B1"], "recipe_id": "88e07c", "seed_template_id": "comb_bell_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:41:15.867625Z", "verification": {"verified": true, "answer": 78134, "timestamp": "2026-02-08T03:41:15.871268Z"}, "problem_hash": "99c7c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:24:17.358Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:08:03.973Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 78134, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 3480}, "timestamp": "2026-02-11T16:44:25.658Z"}, {"id": 8, "model": "mathstral", "answer": 42, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 439}, "timestamp": "2026-02-12T21:42:09.969Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 531}, "timestamp": "2026-02-11T21:06:05.783Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "b2f70e", "alias": "comb_count_surjections_v1_153355830_2574", "problem": "Let $n = 6$ and $k = 4$. Compute the value of $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. \n\nNow, let $C$ be the total number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 25$ and $1 \\leq b \\leq 28$. Find the remainder when $C$ minus that value is divided by $63167$.", "answer": 62307, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63167),\n \"n\": Const(6),\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(25)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T07:13:58.340227Z", "verification": {"verified": true, "answer": 62307, "timestamp": "2026-02-08T07:13:58.341238Z"}, "problem_hash": "08454c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62307, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 1117}, "timestamp": "2026-02-13T09:03:08.346Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 340, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 497}, "timestamp": "2026-02-12T00:56:06.972Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "92a892", "alias": "nt_count_divisors_in_range_v1_717093673_3823", "problem": "Let $n$ be the largest positive divisor of $527760$ that is at most $720$. Let $a = 7$ and $b = 79$. Define $\\text{result}$ to be the number of positive divisors $d_1$ of $n$ such that $a \\leq d_1 \\leq b$. Let $\\text{Q}$ be the remainder when $1 - \\text{result}$ is divided by $77436$. Compute $\\text{Q}$.", "answer": 77421, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77436),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(720)), Divides(divisor=Var(\"d\"), dividend=Const(527760))))),\n \"a\": Const(7),\n \"b\": Const(79),\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\": Const(1),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T17:53:04.798535Z", "verification": {"verified": true, "answer": 77421, "timestamp": "2026-02-08T17:53:04.805652Z"}, "problem_hash": "ccd46e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 77430, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 709}, "timestamp": "2026-02-12T23:23:39.013Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "58c6fa", "alias": "geo_count_lattice_triangle_v1_898971024_1240", "problem": "Let $m = 289$, $d = 225$, $c = 5$, and $n = 81$. Define $\\text{area}_{2x} = \\left| 111m + (-81)d \\right|$. Let $b_1 = \\gcd(289, 81)$. Let $S_1$ be the set of all positive integers $k \\leq 112445$ such that $43$ divides $k$. Let $a = |S_1|$. Let $S_2$ be the set of all positive integers $n \\leq a$ such that $c$ divides $n$ and $\\gcd(n, 14) = 1$. Let $b_2 = \\gcd(289, |S_2|)$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 12321$. Let $s = \\min\\{x + y \\mid (x, y) \\in T\\}$. Let $U$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = s$. Let $b_3 = \\gcd(81, |U|)$. Let $b_4 = \\gcd(225, 111)$. Define $\\text{boundary} = b_1 + b_2 + b_3 + b_4$. Compute $\\frac{\\text{area}_{2x} + 2 - \\text{boundary}}{2}$.", "answer": 6925, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(225),\n \"_c\": Const(5),\n \"_m\": Const(289),\n \"_n\": Const(81),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_m'), Const(value=111)), Mul(Ref(name='_d'), Sub(left=Const(value=0), right=Const(value=81))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=289)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=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='k'), condition=And(Geq(left=Var(name='k'), right=Const(value=1)), Leq(left=Var(name='k'), right=Const(value=112445)), Divides(divisor=Const(value=43), dividend=Var(name='k'))), domain='positive_integers'))), Divides(divisor=Ref(name='_c'), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=14)), right=Const(value=1))))), right=Const(value=289))), b=Abs(arg=Sub(left=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='x2')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(left=Sum(Var(name='x1'), Var(name='x2')), right=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=12321)))), expr=Sum(Var(name='x'), Var(name='y')))))))), right=Const(value=81)))), 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": "B3", "lemma_paths": ["B3/COMB1", "C2/C5"], "recipe_id": "aa7895", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "C5", "COMB1"], "num_lemmas": 4, "generation_time": 0.034, "created_at": "2026-02-08T16:01:03.784905Z", "verification": {"verified": true, "answer": 6925, "timestamp": "2026-02-08T16:01:03.818514Z"}, "problem_hash": "33e987", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 451, "completion_tokens": 690}, "timestamp": "2026-02-12T09:38:06.568Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C2": "ok", "C5": "ok_later", "COMB1": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K14": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "28174e", "alias": "modular_product_range_v1_865884756_903", "problem": "Let $P$ be the product of all integers from $\\sum_{k=1}^{15} k$ to $289$, inclusive. Let $r$ be the remainder when $P$ is divided by $10343$. Let $S$ be the set of positive integers $n$ such that $1 \\leq n \\leq 26289$, $9$ divides $n$, and $\\gcd(n, 35) = 1$. Let $c$ be the number of elements in $S$. Compute the remainder when $r + c \\cdot (r \\bmod 397)$ is divided by $55819$.", "answer": 8159, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(251),\n \"_n\": Const(35),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Summation(var=\"k\", start=Const(1), end=Const(15), expr=Var(\"k\")), end=Const(289)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10343)),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_m\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(26289)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))), Mod(value=Ref(\"result\"), modulus=Const(397)))), modulus=Const(55819)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "SUM_ARITHMETIC"], "recipe_id": "9903f5", "seed_template_id": "modular_product_range_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T15:40:49.635983Z", "verification": {"verified": true, "answer": 8159, "timestamp": "2026-02-08T15:40:49.644957Z"}, "problem_hash": "d19eda", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 462}, "timestamp": "2026-02-12T08:54:04.577Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "SUM_ARITHMETIC": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K15": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2e7e47", "alias": "antilemma_sum_equals_v1_1915831931_1749", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $i + j = 10$, $1 \\leq i \\leq 8$, and $1 \\leq j \\leq 8$. Let $N$ be the number of elements in $S$. Let $k$ be the number of positive integers $x_1, x_2$ such that both are odd and $x_1 + x_2 = 4$. Let $D$ be the number of digits in $N$. Compute the value of $\\sum_{i_1=0}^{D-1} \\left( \\text{digit}_{i_1}(N) \\cdot (i_1 + 1)^k \\right) \\cdot 20164$, where $\\text{digit}_{i_1}(N)$ denotes the $i_1$-th digit of $N$ (starting from the units place as digit 0).", "answer": 20171, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(20164),\n \"x\": 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(8)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"Q\": Sum(Summation(var=\"i1\", start=Sub(Binom(n=Const(2), 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='i1'), base=None), Pow(Sum(Var(\"i1\"), Const(1)), 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)))))))), 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", "COUNT_SUM_EQUALS", "ZERO_BINOM_0"], "recipe_id": "c0ae67", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM", "ZERO_BINOM_0"], "num_lemmas": 4, "generation_time": 0.046, "created_at": "2026-02-08T16:24:52.819124Z", "verification": {"verified": true, "answer": 20171, "timestamp": "2026-02-08T16:24:52.864745Z"}, "problem_hash": "056e9e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 348}, "timestamp": "2026-02-12T10:40:18.231Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "ZERO_BINOM_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "df1c87", "alias": "antilemma_cartesian_v1_655260480_6009", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 39$ and $1 \\leq b \\leq 40$. Let $N$ be the number of elements in $S$. Compute the value of $$\n N + \\left(2^{N \\bmod 15}\\right) \\bmod 64063.\n$$", "answer": 1561, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(40)))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Const(15))), modulus=Const(64063))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:46:40.346813Z", "verification": {"verified": true, "answer": 1561, "timestamp": "2026-02-08T18:46:40.347616Z"}, "problem_hash": "ee7a7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1561, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 257}, "timestamp": "2026-02-13T00:31:19.679Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "b1e12f", "alias": "geo_count_lattice_rect_v1_655260480_2949", "problem": "Let $a = 128$ and $b = 445$. Define $R$ to be the set of all lattice points $(x, y)$ such that $0 \\le x \\le a$ and $0 \\le y \\le b$. Let $N$ be the number of elements in $R$. Compute the remainder when $128 - N$ is divided by $74827$.", "answer": 17421, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(128),\n \"b\": Const(445),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Sub(Const(128), Ref(\"result\")), modulus=Const(74827)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T17:05:18.649148Z", "verification": {"verified": true, "answer": 17421, "timestamp": "2026-02-08T17:05:18.651530Z"}, "problem_hash": "0dce5c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 17461, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 329}, "timestamp": "2026-02-12T21:51:35.955Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "879abb", "alias": "nt_count_gcd_equals_v1_784195855_6268", "problem": "Let $u$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 52769$. Let $k$ be the sum of all positive integers $n$ such that $1 \\leq n \\leq 302$ and $n$ is divisible by 151. Compute the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 453$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(302),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(52769)), IsPrime(Var(\"n\"))))),\n \"k\": 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(151)), Const(0))))),\n \"d\": Const(453),\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": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE", "COUNT_PRIMES"], "recipe_id": "603dc3", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 4.052, "created_at": "2026-02-08T08:31:31.252404Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T08:31:35.304249Z"}, "problem_hash": "595636", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 1220}, "timestamp": "2026-02-13T19:31:34.542Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 340}, "timestamp": "2026-02-12T01:59:03.724Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_DIVISIBLE": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "5cf888", "alias": "nt_count_digit_sum_v1_349078426_783", "problem": "Let $U$ be the total number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 99$ and $1 \\leq b \\leq 101$. Compute the number of positive integers $n \\leq U$ such that the sum of the decimal digits of $n$ is 15.", "answer": 592, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(101)))),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 5.484, "created_at": "2026-02-08T13:17:39.573855Z", "verification": {"verified": true, "answer": 592, "timestamp": "2026-02-08T13:17:45.057555Z"}, "problem_hash": "3f48e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 439}, "timestamp": "2026-02-12T06:30:11.375Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0a7c1a", "alias": "geo_count_lattice_rect_v1_2051736721_5504", "problem": "Let $a = 60$ and $b = 16$. Compute the number of lattice points in the rectangle $[0, 60] \\times [0, 16]$, including the boundary. Multiply this number by $37379$, and find the remainder when the result is divided by $97401$.", "answer": 93826, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(60),\n \"b\": Const(16),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(37379), Ref(\"result\")), modulus=Const(97401)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T18:37:47.237998Z", "verification": {"verified": true, "answer": 93826, "timestamp": "2026-02-08T18:37:47.238741Z"}, "problem_hash": "2f26b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49626, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 260}, "timestamp": "2026-02-13T00:20:38.467Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6e9733", "alias": "nt_count_divisible_v1_1742523217_3853", "problem": "Let $n = 37$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $e$ be the largest integer such that $n^e$ divides $94931877133^{|S|}$. Let $U = 70225$. Define $T$ to be the set of all positive integers $n$ such that $1 \\le n \\le U$ and $n$ is divisible by $e$. Let $c = |T|$. Let $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1562500$. Define $B$ to be the set of all values $x + y$ where $(x,y) \\in A$. Let $m$ be the minimum element of $B$. Compute the remainder when $m - c$ is divided by $54940$.", "answer": 52424, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37),\n \"upper\": Const(70225),\n \"divisor\": MaxKDivides(target=Pow(Const(94931877133), 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')))))))), base=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 \"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(1562500)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(54940)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "COPRIME_PAIRS/K14"], "recipe_id": "d8f70b", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "K14"], "num_lemmas": 3, "generation_time": 2.257, "created_at": "2026-02-08T06:06:56.969048Z", "verification": {"verified": true, "answer": 52424, "timestamp": "2026-02-08T06:06:59.226505Z"}, "problem_hash": "0a7656", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "K14": "ok_later", "L3c": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "a2bf75", "alias": "sequence_fibonacci_compute_v1_677425708_4042", "problem": "Let $c = 144$. Consider all ordered pairs $(x, y)$ of positive integers such that $x + y = c$. Let $m$ be the maximum value of $xy$ over all such pairs.\n\nNow consider all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $n_1$ be the minimum value of $x + y$ over all such pairs.\n\nNext, consider all ordered pairs $(x, y)$ of positive integers such that $xy = n_1$. Let $n$ be the minimum value of $x + y$ over all such pairs.\n\nCompute the $n$-th Fibonacci number, where the Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 46368, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(144),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3", "B1/B3"], "recipe_id": "db7887", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "B3"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T06:24:45.929228Z", "verification": {"verified": true, "answer": 46368, "timestamp": "2026-02-08T06:24:45.933808Z"}, "problem_hash": "b7f76a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 46368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 930}, "timestamp": "2026-02-12T23:46:31.826Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 525}, "timestamp": "2026-02-12T00:01:35.719Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e4ac2b", "alias": "nt_sum_over_divisible_v1_2051736721_818", "problem": "Let $A$ be the set of all positive integers $n$ such that $n \\leq 58564$ and $n$ is divisible by 16. Let $S$ be the sum of all elements in $A$. Let $B$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 3887660590619905952896873830$, $\\gcd(p, q) = 1$, and $p < q$. Let $C$ be the number of elements in $B$. Compute the remainder when $C - S$ is divided by 90815.", "answer": 62531, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(58564),\n \"divisor\": Const(16),\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\": 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=3887660590619905952896873830)), 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(90815)),\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"], "recipe_id": "c90628", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 1.966, "created_at": "2026-02-08T15:41:34.554453Z", "verification": {"verified": true, "answer": 62531, "timestamp": "2026-02-08T15:41:36.520076Z"}, "problem_hash": "d59f31", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 480}, "timestamp": "2026-02-12T08:56:14.825Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "C2": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ff2916", "alias": "diophantine_fbi2_min_v1_865884756_1050", "problem": "Let $d_{\\min}$ be the smallest divisor of $27614957$ that is at least $2$. Let $k = 35$. Let $S$ be the set of all integers $d_1$ such that $3 \\leq d_1 \\leq 45$, $d_1$ divides $k$, and $k / d_1 \\geq 7$. Let $r$ be the minimum element of $S$. Let $d_2$ be the smallest divisor of $16387202345537$ that is at least $2$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 345$, and let $p_{\\max}$ be the largest element of $P$. Define\n$$\nQ = (r \\bmod d_{\\min}) + d_2 \\cdot (r \\bmod p_{\\max}).\n$$\nCompute $Q$.", "answer": 10020, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(27614957))))),\n \"k\": Const(35),\n \"upper\": Const(45),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_m\")), Leq(Var(\"d1\"), Ref(\"upper\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(7))))),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d2\"), condition=And(Geq(Var(\"d2\"), Const(2)), Divides(divisor=Var(\"d2\"), dividend=Const(16387202345537))))), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(345)), IsPrime(Var(\"n\")))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MIN_PRIME_FACTOR", "MAX_PRIME_BELOW"], "recipe_id": "9a08a4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T15:44:21.561946Z", "verification": {"verified": true, "answer": 10020, "timestamp": "2026-02-08T15:44:21.570134Z"}, "problem_hash": "0b9e42", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 401}, "timestamp": "2026-02-12T09:02:14.456Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3674dc", "alias": "antilemma_product_of_sums_v1_458359167_1305", "problem": "Let $m = 9$. Let $n$ be the smallest possible value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = m$.\n\nLet\n$$A = \\sum_{i=1}^{5} \\sum_{j=1}^{9} ij$$\nand\n$$B = \\sum_{k=\\varphi(2)}^{n} k,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $Q = A \\cdot B$.\n\nCompute $Q$.", "answer": 14175, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": Mul(SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))), Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=Ref(\"_n\"), expr=Var(\"k\"))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/PRODUCT_OF_SUMS/SUM_ARITHMETIC", "ONE_PHI_2"], "recipe_id": "f56ae8", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:32:33.706676Z", "verification": {"verified": true, "answer": 14175, "timestamp": "2026-02-08T04:32:33.708610Z"}, "problem_hash": "a2304d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "V3": "no", "V7": "no"}, "split": "valid"} +{"id": "80f0d9", "alias": "comb_factorial_compute_v1_784195855_6072", "problem": "Let $m$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18$. Let $n$ be the largest prime number that is at least $m$ and at most the number of elements in $T$. Compute $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), 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\")), Ref(\"_m\")))))), 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", "COMB1/MAX_PRIME_BELOW"], "recipe_id": "dcb61f", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T08:18:35.217369Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T08:18:35.220148Z"}, "problem_hash": "3cc2e6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 1656}, "timestamp": "2026-02-13T17:00:51.372Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 397}, "timestamp": "2026-02-12T01:45:00.779Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K13": "no", "K14": "no", "K17": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e5d573", "alias": "geo_count_lattice_triangle_v1_48377204_1257", "problem": "Let $A$ be the area of a triangle with vertices at $(0,0)$, $(128,144)$, and $(9,128)$, multiplied by $2$. Let $B$ be the sum of the greatest common divisors of the lengths of the sides of this triangle, computed as follows:\n\n- $\\gcd(128, 144)$,\n- $\\gcd(|9 - 128|, |128 - 144|)$,\n- $\\gcd(9, C)$, where $C$ is the number of positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 2473420950$ and $\\gcd(p, q) = 1$.\n\nDefine $R = \\frac{A + 2 - B}{2}$. Let $Q$ be the remainder when $39664 \\cdot R$ is divided by $68385$.\n\nCompute $Q$.", "answer": 65454, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(128),\n \"_n\": Const(9),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), Const(value=128)), Mul(Ref(name='_n'), Sub(left=Const(value=0), right=Const(value=144))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=128)), b=Abs(arg=Const(value=144))), GCD(a=Abs(arg=Sub(left=Const(value=9), right=Ref(name='_m'))), b=Abs(arg=Sub(left=Const(value=128), right=Const(value=144)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=9))), b=Abs(arg=Sub(left=Const(value=0), right=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=2473420950)), 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\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"_c\": Const(39664),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(68385)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T16:00:14.350974Z", "verification": {"verified": true, "answer": 65454, "timestamp": "2026-02-08T16:00:14.368725Z"}, "problem_hash": "ef6c34", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 335}, "timestamp": "2026-02-12T09:36:26.171Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ce03af", "alias": "nt_sum_gcd_range_mod_v1_1978505735_2533", "problem": "Let $N = 2048$ and $k = 60$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when $\\text{sum}$ is divided by $10093$. Let $Q$ be the Bell number $B_s$, where $s$ is the remainder when $|r|$ is divided by $11$. Compute $Q$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(2048),\n \"k\": Const(60),\n \"M\": Const(10093),\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=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3"], "recipe_id": "c896d6", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "C2"], "num_lemmas": 2, "generation_time": 0.222, "created_at": "2026-02-08T16:57:21.694673Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T16:57:21.917037Z"}, "problem_hash": "2d81df", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 562}, "timestamp": "2026-02-12T21:29:41.058Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "B3": "ok_later", "COUNT_INTEGER_RANGE": "no", "K14": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d3966d", "alias": "nt_sum_totient_over_divisors_v1_1520064083_1547", "problem": "Let $p = 7$ and define $h$ to be the remainder when $(p-1)! + 1$ is divided by $p$. Let $n_1$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 60$. Let $w$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Define $n = (71580 + h) \\cdot w$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$.", "answer": 71580, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(7),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\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(60)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Ref(\"_n\")),\n \"n\": Mul(Sum(Const(71580), Ref(\"h\")), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/DIVISOR_PARITY", "WILSON"], "recipe_id": "df7069", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B1", "DIVISOR_PARITY", "WILSON"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T04:04:50.534157Z", "verification": {"verified": true, "answer": 71580, "timestamp": "2026-02-08T04:04:50.544497Z"}, "problem_hash": "83c768", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K18": "no", "V1": "no", "V3": "no"}, "split": "valid"} +{"id": "24fae4", "alias": "diophantine_product_count_v1_1520064083_2672", "problem": "Let $e$ be the number of prime factors of $1$ counted with multiplicity, and let $f$ be the same for $1$. Let $k = 360$ and let the upper bound be $63$. Define the result as the number of positive integers $x$ such that $1 \\leq x \\leq 63$, $x$ divides $360$, and $\\frac{360}{x} \\leq 63$. Compute the remainder when $44121$ multiplied by this result is divided by $75613 + e + f$.", "answer": 12790, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": BigOmega(n=Ref(name='n1')),\n \"n\": Const(1),\n \"f\": BigOmega(n=Ref(name='n')),\n \"k\": Const(360),\n \"upper\": Const(63),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Sum(Const(75613), Ref(\"e\")), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO"], "recipe_id": "bffe79", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T04:54:56.292799Z", "verification": {"verified": true, "answer": 12790, "timestamp": "2026-02-08T04:54:56.297932Z"}, "problem_hash": "4a5372", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "d0a2e8", "alias": "nt_count_divisible_and_v1_1125832087_2439", "problem": "Let $d_1 = 10$. Let $d_2$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 2$, $1 \\le b \\le 6$, $7 \\le t \\le 22$, and\n$$t = 5a + 2b.$$\n\nLet $N$ be the number of integers $n$ with $1 \\le n \\le 18900$ such that $n$ is divisible by both $d_1$ and $d_2$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy = 372100$. Let $S$ be the set of all values of $x + y$ over these pairs, and let $m$ be the minimum element of $S$.\n\nLet $C$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1 + x_2 = m.$$\n\nLet $Q = C - N$. Compute $Q$. ", "answer": 295, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(18900),\n \"d1\": Const(10),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(372100)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COMB1", "LIN_FORM"], "recipe_id": "abc095", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.707, "created_at": "2026-02-08T04:37:18.475614Z", "verification": {"verified": true, "answer": 295, "timestamp": "2026-02-08T04:37:19.182716Z"}, "problem_hash": "b91019", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 295, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 339, "completion_tokens": 1285}, "timestamp": "2026-02-10T17:22:32.200Z"}, {"id": 8, "model": "mathstral", "answer": 344352320001, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 643}, "timestamp": "2026-02-13T20:27:31.503Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 528}, "timestamp": "2026-02-11T21:01:47.209Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "95c37d", "alias": "nt_count_intersection_v1_1470522791_1756", "problem": "Let $N = 50000$. Compute the number of positive integers $n \\leq N$ such that $9$ divides $n$ and $\\gcd(n, 16) = 1$. Denote this number by $r$. Let $s$ be the smallest integer greater than $1$ that divides $1113121$. Let $t$ be the number of integers in the interval $[26, 254]$ that can be expressed as $10a + 8b + 8$ for some integers $a \\in [1, 15]$ and $b \\in [1, 12]$. Compute the remainder when $$353702 \\cdot |r| \\bmod 97 + 329703 \\cdot \\left(|r|^2 \\bmod s\\right) + 215534 \\cdot \\left(|r| \\bmod 21\\right)$$ is divided by $1009091$, and then compute the remainder when that result is divided by $54043$. Determine the value of this final remainder.", "answer": 39158, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\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=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1113121))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(21)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=12)), Geq(left=Var(name='t'), right=Const(value=26)), Leq(left=Var(name='t'), right=Const(value=254)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b')), Const(value=8))))))))))), modulus=Const(1009091)), modulus=Const(54043)),\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"], "recipe_id": "e2ef0b", "seed_template_id": "nt_count_intersection_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.907, "created_at": "2026-02-08T13:57:18.100494Z", "verification": {"verified": true, "answer": 39158, "timestamp": "2026-02-08T13:57:20.007755Z"}, "problem_hash": "d4bbc6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 350, "completion_tokens": 489}, "timestamp": "2026-02-12T07:36:23.635Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ec713b", "alias": "antilemma_sum_factor_cartesian_v1_1125832087_90", "problem": "Let $N$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq=6$, $\\gcd(p,q)=1$, and $p 0] + [D = 0]$, where $[P]$ is 1 if $P$ is true and 0 otherwise. Define $k$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Compute the Bell number $B_{|r| \\bmod k}$.\n\nFind the value of this Bell number.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(121),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(-1),\n \"b\": Const(1),\n \"c\": Const(0),\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\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["B3/COMB1"], "recipe_id": "5d3bfa", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.029, "created_at": "2026-02-08T11:49:35.116887Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T11:49:35.145644Z"}, "problem_hash": "d6fbee", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 738}, "timestamp": "2026-02-14T19:29:37.579Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 500}, "timestamp": "2026-02-12T04:39:25.480Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8ecc7a", "alias": "antilemma_v8_lucas_124444284_1242", "problem": "Let $n = 52$. Define $f$ as the sum of $\\mu(d)$ over all positive divisors $d$ of $n$, where $\\mu$ denotes the M\\\"obius function. Let $p = 29 + f$. Define $c$ as the number of prime factors of $p$ counted with multiplicity. Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 89079$ and $\\binom{89079}{j}$ is odd. Compute the value of $$\nx^2 + 16x + 2304c \\bmod{57350}.\n$$", "answer": 28040, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(52),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Sum(Const(29), Ref(\"f\")),\n \"c\": BigOmega(n=Ref(name='p')),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(89079)), Eq(Mod(value=Binom(n=Const(89079), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(16), Ref(\"x\")), Mul(Const(2304), Ref(\"c\"))), modulus=Const(57350)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "BIG_OMEGA_ONE", "lemma_paths": ["BIG_OMEGA_ONE", "MOBIUS_SUM", "V8"], "recipe_id": "b35c64", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MOBIUS_SUM", "V8"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:46:21.770289Z", "verification": {"verified": true, "answer": 28040, "timestamp": "2026-02-08T03:46:21.773997Z"}, "problem_hash": "4217d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 41506, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 2592}, "timestamp": "2026-02-10T04:59:56.638Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 28040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 253, "completion_tokens": 1908}, "timestamp": "2026-02-09T11:20:31.056Z"}], "solution_status": 1, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "MOBIUS_SUM": "ok", "V8": "ok", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "c40668", "alias": "nt_sum_divisors_compute_v1_1915831931_201", "problem": "Let $n = 64620$. Compute the sum of the positive divisors of $n$. Let $\\sigma$ denote this sum. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 24$ and $n_1 \\equiv 0 \\pmod{4}$. Let $s = \\sum S$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s$. Let $M$ be the maximum value of $xy$ over all such pairs. Compute the remainder when $\\sigma^2 + 37\\sigma + M$ is divided by $77541$.", "answer": 7947, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77541),\n \"_n\": Const(2),\n \"n\": Const(64620),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(37), 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\")), SumOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(24)), Eq(Mod(value=Var(\"n1\"), modulus=Const(4)), Const(0)))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), modulus=Ref(\"_m\")),\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/B1"], "recipe_id": "b31d79", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:13:49.043114Z", "verification": {"verified": true, "answer": 7947, "timestamp": "2026-02-08T15:13:49.048096Z"}, "problem_hash": "582a76", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 600}, "timestamp": "2026-02-12T08:01:32.341Z"}], "solution_status": 0, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "B1": "ok_later", "K18": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2f05a3", "alias": "antilemma_product_of_sums_v1_1520064083_1769", "problem": "Let $S_1$ be the sum of all values of $k$ such that $k$ ranges from $1$ to $14$ and $\\_j$ ranges from $1$ to $6$, taking one term $k$ for each pair $(k, \\_j)$. Let $S_2 = \\sum_{k=1}^{17} k$. Define $x = S_1 \\cdot S_2$. Let $T$ be the set of all integers $t$ such that $5 \\leq t \\leq 5046$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1101$, $1 \\leq b \\leq 948$, and $t = 2a + 3b$. Let $c$ be the number of elements in $T$. Compute the remainder when $c - x$ is divided by $71386$. Find the value of this remainder.", "answer": 51422, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(71386),\n \"_n\": Const(17),\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(14)), right=IntegerRange(start=Const(1), end=Const(6)))), expr=Var(\"k\"))),\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=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=1101)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=948)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=5046)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "PRODUCT_OF_SUMS"], "recipe_id": "d58bcf", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:16:17.774602Z", "verification": {"verified": true, "answer": 51422, "timestamp": "2026-02-08T04:16:17.776149Z"}, "problem_hash": "d8d344", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "DS2": "no", "K18": "no", "V5": "no"}, "split": "valid"} +{"id": "087d7d", "alias": "geo_visible_lattice_v1_2051736721_5594", "problem": "Let $n = 81$. Define a lattice point $(x, y)$ to be visible if $\\gcd(x, y) = 1$. A point $(x, y)$ is considered within bounds if $1 \\leq x, y \\leq n$. Let $r$ be the number of visible lattice points within bounds. Compute the remainder when $44121 \\cdot r$ is divided by $90892$.", "answer": 56399, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(81),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(90892)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 2.303, "created_at": "2026-02-08T18:40:56.766147Z", "verification": {"verified": true, "answer": 56399, "timestamp": "2026-02-08T18:40:59.069398Z"}, "problem_hash": "4bb335", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 344}, "timestamp": "2026-02-13T00:22:40.016Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "46f1b0", "alias": "antilemma_cartesian_v1_397696148_1901", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 40$ and $1 \\leq j \\leq 45$. Compute the remainder when $32521 \\cdot x$ is divided by 51107.", "answer": 20285, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(40)), right=IntegerRange(start=Const(1), end=Const(45)))),\n \"Q\": Mod(value=Mul(Const(32521), Ref(\"x\")), modulus=Const(51107)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:50:09.112190Z", "verification": {"verified": true, "answer": 20285, "timestamp": "2026-02-08T12:50:09.112748Z"}, "problem_hash": "c78391", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 261}, "timestamp": "2026-02-12T05:43:30.506Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "effe1d", "alias": "antilemma_product_of_sums_v1_1520064083_2213", "problem": "Let $S_1$ be the sum of all integers $j$ with $0 \\leq j \\leq 31$ such that $\\binom{31}{j}$ is odd. Let $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ where $i$ and $j$ are integers from 1 to 4. Define $x = S_1 \\cdot S_2$. Let $y$ be the minimum value of $a + b$ over all pairs of positive integers $(a, b)$ such that $a \\cdot b = 6002500$. Compute $y - x$, and find the remainder when this value is divided by 75332.", "answer": 30632, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(31),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(31), 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(4)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\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(6002500)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"x\")), modulus=Const(75332)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "PRODUCT_OF_SUMS"], "recipe_id": "ebe031", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T04:34:42.121168Z", "verification": {"verified": true, "answer": 30632, "timestamp": "2026-02-08T04:34:42.125988Z"}, "problem_hash": "4dc7c2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "V1": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "d56e68", "alias": "modular_count_residue_v1_48377204_972", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 6$ and the sum of the decimal digits of $n$ is even. Let $m$ be the number of elements in $S$.\n\nLet $T$ be the set of all 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 $r$ be the number of such integers $p$.\n\nLet $U$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 46368$ and $n_1 \\equiv r \\pmod{m}$. \n\nCompute the number of elements in $U$.", "answer": 15456, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"upper\": Const(46368),\n \"m\": 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 \"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=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 \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\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", "L3B"], "recipe_id": "f7212b", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B"], "num_lemmas": 2, "generation_time": 1.796, "created_at": "2026-02-08T15:50:47.841324Z", "verification": {"verified": true, "answer": 15456, "timestamp": "2026-02-08T15:50:49.637262Z"}, "problem_hash": "c9ce15", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11592, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 421}, "timestamp": "2026-02-12T09:18:23.448Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok", "K18": "no", "LTE_SUM": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cebf05", "alias": "nt_sum_over_divisible_v1_1915831931_2562", "problem": "Let $d$ be the largest positive divisor of $14732$ that is at most $116$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 35344$ and $n$ is divisible by $d$. Compute the sum of all elements in $S$. Multiply this sum by $87796$, then find the remainder when the result is divided by $53479$.", "answer": 47980, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53479),\n \"upper\": Const(35344),\n \"divisor\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(116)), Divides(divisor=Var(\"d\"), dividend=Const(14732))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(87796), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 1.153, "created_at": "2026-02-08T16:57:09.231874Z", "verification": {"verified": true, "answer": 47980, "timestamp": "2026-02-08T16:57:10.385178Z"}, "problem_hash": "3ff3db", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 444}, "timestamp": "2026-02-12T21:36:56.023Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K16": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0fbb60", "alias": "nt_count_divisible_and_v1_48377204_1467", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 110700$, $n$ is divisible by 6, and $n$ is divisible by 10. Let $p_{\\text{max}}$ be the largest prime number at most 100. Let $d_{\\text{min}}$ be the smallest integer $d$ such that $d \\geq 2$ and $d$ divides 1071509. Compute the remainder when $$353702 \\cdot |A| \\bmod p_{\\text{max}} + 329703 \\cdot \\left(|A|^2 \\bmod 1\\right) + 215534 \\cdot \\left(|A| \\bmod 4\\right)$$ is divided by 103, and then compute the remainder when that result is divided by 50511.", "answer": 40843, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(100),\n \"upper\": Const(110700),\n \"d1\": Const(6),\n \"d2\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(4),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(1071509))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(50511)),\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"], "recipe_id": "d42f47", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.724, "created_at": "2026-02-08T16:06:08.850374Z", "verification": {"verified": true, "answer": 40843, "timestamp": "2026-02-08T16:06:12.574296Z"}, "problem_hash": "49ae76", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 608}, "timestamp": "2026-02-12T09:54:12.611Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3dfa34", "alias": "antilemma_v8_lucas_168721529_1916", "problem": "Let $N=66359$. Let $A$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq=54$, $\\gcd(p,q)=1$, and $p 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Compute the sum $\\sum_{k=1}^{r} \\tau(k)$, where $\\tau(k)$ is the number of positive divisors of $k$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(-1),\n \"b\": Const(-12),\n \"c\": Const(-20),\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 \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T13:43:30.343656Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T13:43:30.361960Z"}, "problem_hash": "cf9847", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 288}, "timestamp": "2026-02-12T07:20:32.349Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "DS2": "no", "K15": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1a7296", "alias": "antilemma_cartesian_v1_124444284_8489", "problem": "Compute the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 38$ and $1 \\leq j \\leq 50$. Let this number be $x$. Find the value of $9216 - x$.", "answer": 7316, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(50)))),\n \"_c\": Const(9216),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T09:44:17.735893Z", "verification": {"verified": true, "answer": 7316, "timestamp": "2026-02-08T09:44:17.736275Z"}, "problem_hash": "4920a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7316, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 147}, "timestamp": "2026-02-12T03:07:15.898Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "63040e", "alias": "nt_sum_totient_over_divisors_v1_1742523217_5301", "problem": "Let $g = 4$ and $m$ be the largest prime number between 2 and 9, inclusive. Define $a = g \\cdot m$ and $b = g \\cdot 2$. Let $t = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $n_1 = 16 + t$ and $e = \\sum_{d \\mid n_1} \\mu(d)$. Let $n$ be the number of integers $t$ such that $7 \\le t \\le 8267$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 2826$, $1 \\le b \\le 523$, and $t = 2a + 5b$. Compute $$\\sum_{d \\mid n} \\varphi(d),$$ where $\\varphi$ is Euler's totient function.", "answer": 8257, "graph": "graphs = [\n Graph(\n let={\n \"g\": Const(4),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"n2\": Const(2),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n2\")),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Sum(Const(16), Ref(\"t\")),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\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=2826)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=523)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=8267)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "LIN_FORM/MOBIUS_SUM"], "recipe_id": "2a4c17", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T10:54:31.496072Z", "verification": {"verified": true, "answer": 8257, "timestamp": "2026-02-08T10:54:31.500498Z"}, "problem_hash": "b7f452", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K14": "no", "K17": "no", "LTE_SUM": "no"}, "split": "valid"} +{"id": "b6d199", "alias": "algebra_quadratic_discriminant_v1_124444284_1625", "problem": "Let $a = -2$, $b = -28$, and $c = -96$. Define $\\text{result} = b^2 - 4ac$. Compute the value of $3588 \\times \\text{result}$.", "answer": 57408, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-2),\n \"b\": Const(-28),\n \"c\": Const(-96),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mul(Const(3588), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MOBIUS_SUM"], "recipe_id": "b2327f", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "affine_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T04:03:47.666354Z", "verification": {"verified": true, "answer": 57408, "timestamp": "2026-02-08T04:03:47.686246Z"}, "problem_hash": "bbcb4a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 57408, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 241}, "timestamp": "2026-02-11T16:11:17.106Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 57408, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 294}, "timestamp": "2026-02-10T15:11:15.076Z"}, {"id": 8, "model": "mathstral", "answer": 57408, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 207}, "timestamp": "2026-02-13T05:21:19.843Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 203}, "timestamp": "2026-02-11T20:21:58.078Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "869b3c", "alias": "comb_sum_binomial_mod_v1_2051736721_5663", "problem": "Let $n = 10949$. Define $S = \\sum_{k=7}^{321} \\binom{363}{k}$, and let $r$ be the remainder when $S$ is divided by $n$. Let $T$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 1411742273421480$. Compute the remainder when $T - r$ is divided by $92300$.", "answer": 91261, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10949),\n \"sum\": Summation(var=\"k\", start=Const(7), end=Const(321), expr=Binom(n=Const(363), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n \"Q\": Mod(value=Sub(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=1411742273421480)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), modulus=Const(92300)),\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"], "recipe_id": "c90628", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.032, "created_at": "2026-02-08T18:42:43.172273Z", "verification": {"verified": true, "answer": 91261, "timestamp": "2026-02-08T18:42:43.204726Z"}, "problem_hash": "6e5743", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 463}, "timestamp": "2026-02-13T00:29:05.234Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "94f9cc", "alias": "modular_sum_quadratic_residues_v1_784195855_1035", "problem": "Let $p$ be the smallest prime divisor of $1429537070069$. Let $T$ be the set of all integers $t$ such that $11 \\leq t \\leq 408$ and there exist positive integers $a \\leq 28$ and $b \\leq 53$ satisfying $t = 7a + 4b$. Let $c$ be the number of elements in $T$. Let $k$ be the largest integer such that $3^k$ divides $\\binom{c}{152}$. Compute $\\frac{p(p-1)}{k}$. Let $m = 2 \\left| \\frac{p(p-1)}{k} \\right| + 3$. Find the smallest positive integer $d$ such that $2^d \\equiv 1 \\pmod{m}$.", "answer": 8004, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1429537070069))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), MaxKDivides(target=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=28)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=53)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=408)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), k=Const(152)), base=Ref(\"_n\"))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/V7", "MIN_PRIME_FACTOR"], "recipe_id": "fd2118", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T04:48:01.571837Z", "verification": {"verified": true, "answer": 8004, "timestamp": "2026-02-08T04:48:01.578601Z"}, "problem_hash": "e0d06b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "V7": "ok_later", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V3": "no"}, "split": "valid"} +{"id": "49dde4", "alias": "antilemma_product_of_sums_v1_1520064083_3592", "problem": "Let $m = 2$. Let $n$ be the smallest integer greater than or equal to $2$ that divides $1147$. Let $S$ be the set of all prime numbers $p$ such that $m \\leq p \\leq n$. Define $a_j = 1$ if $\\binom{\\max S}{j}$ is odd, and $a_j = 0$ otherwise, for integers $j$ from $0$ to $31$. Let $A$ be the sum of all $a_j$ for $j = 0$ to $31$. Let $T$ be the set of all integers $t$ such that $5 \\leq t \\leq 15$ and $t = 2a + 3b$ for some integers $a, b$ with $1 \\leq a \\leq 3$ and $1 \\leq b \\leq 3$. Let $B$ be the sum of all elements in $T$. Compute $A \\cdot B$.", "answer": 22320, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1147))))),\n \"x\": Mul(SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(31)), Eq(Mod(value=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), k=Var(\"j\")), modulus=Const(2)), Const(1))))), Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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'))))))))), expr=Var(\"k\"))),\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/MAX_PRIME_BELOW", "LIN_FORM/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "a1d399", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 0.006, "created_at": "2026-02-08T05:46:03.768687Z", "verification": {"verified": true, "answer": 22320, "timestamp": "2026-02-08T05:46:03.774231Z"}, "problem_hash": "0d0066", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "PRODUCT_OF_SUMS": "ok", "MAX_PRIME_BELOW": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "K15": "no", "K18": "no"}, "split": "valid"} +{"id": "140d18", "alias": "diophantine_sum_product_min_v1_1520064083_8416", "problem": "Let $P$ be the sum of all real numbers $x$ such that $x^2 - 506x + 9253 = 0$. Let $S = 45$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq 44$ and $x(S - x) = P$. Compute the remainder when $21577$ times this value of $x$ is divided by $68365$.", "answer": 64504, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(68365),\n \"_n\": Const(2),\n \"S\": Const(45),\n \"P\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-506), Var(\"x\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(487))))), Const(0)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(44)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"Q\": Mod(value=Mul(Const(21577), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/VIETA_SUM"], "recipe_id": "73d405", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T10:10:33.078225Z", "verification": {"verified": true, "answer": 64504, "timestamp": "2026-02-08T10:10:33.088994Z"}, "problem_hash": "d290e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64504, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 563}, "timestamp": "2026-02-14T06:40:22.707Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 496}, "timestamp": "2026-02-12T03:12:42.764Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "VIETA_SUM": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "60c33b", "alias": "modular_product_range_v1_784195855_9486", "problem": "Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy$ equals the number of integers $t$ with $19 \\leq t \\leq 3874$ for which there exist positive integers $a \\in [1,21]$ and $b \\in [1,756]$ satisfying $t = 4a + 5b + 10$. Let $m$ be the minimum value of $x + y$ over all $(x,y) \\in T$. Define $p = \\prod_{i=36}^{m} i$. Let $r$ be the remainder when $p$ is divided by $11527$. Find the remainder when $99789 \\cdot r$ is divided by $84232$.", "answer": 63825, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11527),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(36), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=756)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=3874)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=10))))))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n \"_c\": Const(99789),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(84232)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:51:57.501533Z", "verification": {"verified": true, "answer": 63825, "timestamp": "2026-02-08T16:51:57.506082Z"}, "problem_hash": "c90b6b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 619}, "timestamp": "2026-02-12T21:15:09.751Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "edcd1a", "alias": "antilemma_sum_primes_v1_151522320_1569", "problem": "Let $p=17$, and let $n_1=p$. Let $w$ be the number of distinct prime factors of $n_1$, and let $n=w$. Let $c$ be the number of prime factors of $n$, counted with multiplicity.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=24216241$. For each such pair, form the sum $x+y$. Let $T$ be the set of all these sums, and let $M$ be the minimum element of $T$.\n\nLet $x$ be the sum of all prime integers between $2$ and $4$, inclusive. Define\n\\[Q = M\\cdot c\\cdot x.\n\\]\nCompute $Q$. ", "answer": 49210, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(17),\n \"n1\": Ref(\"p\"),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"n\": Ref(\"w\"),\n \"c\": BigOmega(n=Ref(name='n')),\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\": Mul(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(24216241)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"c\")), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/BIG_OMEGA_ZERO", "OMEGA_ONE", "SUM_PRIMES"], "recipe_id": "535f3c", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "affine_mod", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "OMEGA_ONE", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:06:10.764069Z", "verification": {"verified": true, "answer": 49210, "timestamp": "2026-02-08T04:06:10.765989Z"}, "problem_hash": "c74aa6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "OMEGA_ONE": "ok", "SUM_PRIMES": "ok", "BIG_OMEGA_ZERO": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "K15": "no", "K18": "no"}, "split": "valid"} +{"id": "1cf8fc", "alias": "modular_product_range_v1_1915831931_1108", "problem": "Let $m = 27$. Let $T$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 25$, $1 \\leq j \\leq 25$, and $i + j = m$. Let $n$ be the number of elements in $T$. Define $P = \\prod_{i=1}^{n} i$, where the product starts at 60 and ends at $\\sum_{k=1}^{n} k$. Let $r$ be the remainder when $P$ is divided by 11903. Compute the value of $\\sum_{k=1}^{|r|} \\tau(k)$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 82080, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(27),\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(25)), right=IntegerRange(start=Const(1), end=Const(25))))),\n \"prod\": MathProduct(expr=Var(\"i1\"), var=\"i1\", start=Const(60), end=Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11903)),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/SUM_ARITHMETIC"], "recipe_id": "5ed95e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T15:53:35.774617Z", "verification": {"verified": true, "answer": 82080, "timestamp": "2026-02-08T15:53:35.789187Z"}, "problem_hash": "0746d2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 509}, "timestamp": "2026-02-12T09:25:57.636Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_CARTESIAN": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d3655e", "alias": "diophantine_fbi2_min_v1_1440796553_1261", "problem": "Let $k = 6$. Define $U$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 5659500$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all integers $d$ such that $2 \\leq d \\leq U$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Define $r$ to be the minimum element of $S$. Compute $r^2 + 36r + \\sum_{i=1}^{59} i$.", "answer": 1846, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(59),\n \"_n\": Const(2),\n \"k\": Const(6),\n \"upper\": 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=5659500)), 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\": 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\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(36), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\"))),\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", "COPRIME_PAIRS"], "recipe_id": "2620b3", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T13:36:59.974537Z", "verification": {"verified": true, "answer": 1846, "timestamp": "2026-02-08T13:36:59.980118Z"}, "problem_hash": "8e4ef3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1846, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 787}, "timestamp": "2026-02-12T07:08:12.550Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "9cf9c7", "alias": "antilemma_count_primes_v1_1125832087_1483", "problem": "Let $M=5$. Let $T$ be the number of integers $k$ with $1\\le k\\le392$ such that $8$ divides $k$.\n\nLet $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that\n$$xy=T.$$\nFor each $(x,y)$ in $S$, consider $x+y$, and let $u$ be the smallest value of $x+y$ over all such pairs.\n\nLet $C$ be the number of integers $n$ with $1\\le n\\le12115$ such that $M$ divides $n$ and\n$$\\gcd(n,u)=1.$$\n\nLet $x$ be the number of prime integers $n$ with $2\\le n\\le C$.\n\nLet $Q$ be the remainder when $57599\\cdot x$ is divided by $68042$.\n\nFind the value of $Q$.", "answer": 9609, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(12115)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(392)), Divides(divisor=Const(8), dividend=Var(\"k\"))), domain='positive_integers'))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"_c\": Const(57599),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(68042)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/B3/C5/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "1b35f1", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C2", "C5", "COUNT_PRIMES"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T03:45:44.404345Z", "verification": {"verified": true, "answer": 9609, "timestamp": "2026-02-08T03:45:44.414097Z"}, "problem_hash": "6be0d2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "B3": "ok_later", "C5": "ok_later", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "0b7285", "alias": "comb_count_derangements_v1_124444284_7", "problem": "Let $S$ be the set of all integers $t$ such that $7 \\le t \\le 29$ and there exist positive integers $a$ and $b$ with $1 \\le a \\le 3$, $1 \\le b \\le 7$, and $t = 5a + 2b$. Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le |S|$ and $\\gcd(n, 6) = 1$. Let $r = !N$, the number of derangements of $N$ elements. Let $c$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\le i \\le 33$, $1 \\le j \\le 34$, and $i + j = 35$. Compute the value of $c - r$, and then take the result modulo $84119$. Find the value of this final quantity.", "answer": 82298, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(35),\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=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=7)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"_c\": 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(33)), right=IntegerRange(start=Const(1), end=Const(34))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(84119)),\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", "LIN_FORM/C4"], "recipe_id": "418b17", "seed_template_id": "comb_count_derangements_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T02:52:53.831024Z", "verification": {"verified": true, "answer": 82298, "timestamp": "2026-02-08T02:52:53.842400Z"}, "problem_hash": "cd3776", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 82298, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 3101}, "timestamp": "2026-02-08T19:58:16.498Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 82298, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 2250}, "timestamp": "2026-02-08T21:10:29.681Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 82298, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 2116}, "timestamp": "2026-02-10T20:24:59.470Z"}, {"id": 8, "model": "mathstral", "answer": 24, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 599}, "timestamp": "2026-02-11T08:27:00.747Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 492}, "timestamp": "2026-02-11T19:57:47.324Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C4": "ok_later", "K14": "no", "K16": "no", "K5": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "valid"} +{"id": "058985", "alias": "sequence_lucas_compute_v1_1742523217_1540", "problem": "Let $s$ be the largest integer $k$ such that $11^k$ divides $10^{2357947691} + 1^{2357947691}$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s$. Let $M$ be the maximum value of $xy$ over all $(x, y) \\in P$. Let $n$ be the largest prime number less than or equal to $M$. Compute the remainder when $44121 \\cdot L_n$ is divided by $94735$, where $L_n$ denotes the $n$-th Lucas number.", "answer": 52954, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(94735),\n \"_n\": Const(44121),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MaxKDivides(target=Sum(Pow(Const(10), Const(2357947691)), Pow(Const(1), Const(2357947691))), base=Const(11))))), expr=Mul(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/B1/MAX_PRIME_BELOW"], "recipe_id": "01004c", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LTE_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:02:32.341751Z", "verification": {"verified": true, "answer": 52954, "timestamp": "2026-02-08T04:02:32.346726Z"}, "problem_hash": "f30990", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "B1": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "39b31d", "alias": "nt_euler_phi_compute_v1_1520064083_4079", "problem": "Let $d$ be a positive divisor of $285107$ such that $1 \\leq d \\leq 527$. Define $n_2$ to be the largest such $d$.\n\nDefine\n$$\nt = \\sum_{d \\mid n_2} \\phi(d) - n_2,\n$$\nwhere $\\phi$ denotes Euler's totient function.\n\nLet $p = 23 + t$ and $q = 2$. Define $n_1 = p^2 (q + 1)$.\n\nLet $m = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function.\n\nDefine $n = 51984 + m$.\n\nCompute $\\phi(n)$.", "answer": 16416, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(527)), Divides(divisor=Var(\"d\"), dividend=Const(285107))))),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"p\": Sum(Const(23), Ref(\"t\")),\n \"q\": Const(2),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"n\": Sum(Const(51984), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE"], "recipe_id": "d350c7", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_DIVISOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:03:25.519644Z", "verification": {"verified": true, "answer": 16416, "timestamp": "2026-02-08T06:03:25.521572Z"}, "problem_hash": "734935", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SQUAREFREE": "ok", "EULER_TOTIENT_SUM": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "V7": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "e99eac", "alias": "nt_lcm_compute_v1_124444284_779", "problem": "Let $n$ be the number of positive integers at most $19069$ whose digit sum is odd. Let $a = 1889$, and let $b$ be the sum of all real solutions $x$ to the equation $x^2 - 1912x + n = 0$. Let $r = \\mathrm{lcm}(a, b)$. Compute the remainder when $62149 \\cdot r$ is divided by $82366$.", "answer": 75030, "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(19069)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"a\": Const(1889),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1912), Var(\"x\")), Ref(\"_n\")), Const(0)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(62149),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82366)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/VIETA_SUM"], "recipe_id": "8d11a4", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:30:25.289767Z", "verification": {"verified": true, "answer": 75030, "timestamp": "2026-02-08T03:30:25.291947Z"}, "problem_hash": "df78b1", "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": 207, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:01:18.674Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 75030, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 3655}, "timestamp": "2026-02-09T05:52:01.588Z"}, {"id": 8, "model": "mathstral", "answer": 1236, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 696}, "timestamp": "2026-02-12T17:58:17.385Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 570}, "timestamp": "2026-02-11T20:57:06.781Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "VIETA_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K5": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "241684", "alias": "nt_sum_totient_over_divisors_v1_865884756_109", "problem": "Let $m=81$ and $N=59431$.\n\nLet $t$ be the largest integer $k$ such that $3^k \\le 33348494141937$. Define $n_2 = t^2$, and let $c$ be the remainder when the number of positive divisors of $n_2$ is divided by $2$.\n\nConsider all ordered pairs $(x_1,y_1)$ of positive integers such that $x_1y_1 = m$. For each such pair, form the sum $x_1 + y_1$, and let $S$ be the set of all these sums. Let $s$ be the minimum of the set $S$.\n\nNow consider all ordered pairs $(x,y)$ of positive integers such that $x + y = s$. For each such pair, form the product $xy$, and let $n_1$ be the maximum of all such products.\n\nLet\n$$u = \\sum_{d \\mid n_1} \\varphi(d) - n_1,$$\nwhere the sum is taken over all positive divisors $d$ of $n_1$, and $\\varphi$ denotes Euler's totient function. Define\n$$n = N\\cdot c + u.$$\n\nFinally, let\n$$Q = \\sum_{d_1 \\mid n} \\varphi(d_1),$$\nwhere the sum is taken over all positive divisors $d_1$ of $n$.\n\nCompute $Q$. ", "answer": 59431, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(81),\n \"_n\": Const(59431),\n \"t\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(33348494141937)))),\n \"n2\": Pow(Ref(\"t\"), Const(2)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Const(2)),\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\")), 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(\"_m\")))), expr=Sum(Var(\"x1\"), Var(\"y1\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Mul(Ref(\"_n\"), Ref(\"c\")), Ref(\"u\")),\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": "B3", "lemma_paths": ["B3/B1/EULER_TOTIENT_SUM", "MAX_VAL/DIVISOR_PARITY"], "recipe_id": "7089a9", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "B3", "DIVISOR_PARITY", "EULER_TOTIENT_SUM", "MAX_VAL"], "num_lemmas": 5, "generation_time": 0.013, "created_at": "2026-02-08T15:11:05.990195Z", "verification": {"verified": true, "answer": 59431, "timestamp": "2026-02-08T15:11:06.003247Z"}, "problem_hash": "d399ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 59431, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 428, "completion_tokens": 2352}, "timestamp": "2026-02-10T04:08:52.779Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "MAX_VAL": "ok", "B1": "ok_later", "DIVISOR_PARITY": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "K16": "same_pattern_wrong", "K13": "no", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "b1ecab", "alias": "sequence_lucas_compute_v1_1918700295_2728", "problem": "Let $k$ be the largest integer such that $2^k \\leq 5$. Let $s$ be the sum $\\sum_{k=1}^{6} k$. Find the largest prime number $n$ such that $k \\leq n \\leq s$. Compute the Lucas number corresponding to $n$.", "answer": 9349, "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(5)))),\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(\"_m\"), expr=Var(\"k\"))), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/MAX_PRIME_BELOW", "MAX_VAL/MAX_PRIME_BELOW"], "recipe_id": "900bac", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MAX_VAL", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T08:10:56.441796Z", "verification": {"verified": true, "answer": 9349, "timestamp": "2026-02-08T08:10:56.446312Z"}, "problem_hash": "b5779a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9349, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 111, "completion_tokens": 702}, "timestamp": "2026-02-13T15:42:29.207Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 343}, "timestamp": "2026-02-12T01:37:36.048Z"}], "solution_status": 1, "lemma_applicability": {"MAX_VAL": "ok", "SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "137df3", "alias": "algebra_poly_eval_v1_1520064083_1347", "problem": "Let $ m $ be the largest integer such that $ 2^m $ divides $ 7^{32768} - 5^{32768} $. Let $ a = \\sum_{d \\mid 5} \\phi(d) $, where $ \\phi $ denotes Euler's totient function. Define $ Q = |a \\cdot m^2 + 5m - 1| $. Compute $ Q $.", "answer": 1529, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"m\": MaxKDivides(target=Sub(Pow(Const(7), Const(32768)), Pow(Const(5), Const(32768))), base=Const(2)),\n \"result\": Sum(Mul(SumOverDivisors(n=Const(value=5), var='d', expr=EulerPhi(n=Var(name='d'))), Pow(Ref(\"m\"), Ref(\"_n\"))), Mul(Const(5), Ref(\"m\")), Const(-1)),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2", "K3"], "recipe_id": "5a02be", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "LTE_DIFF_P2"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:55:34.858298Z", "verification": {"verified": true, "answer": 1529, "timestamp": "2026-02-08T03:55:34.860067Z"}, "problem_hash": "4e582c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K3": "ok", "LTE_DIFF_P2": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "split": "valid"} +{"id": "46a064", "alias": "modular_sum_quadratic_residues_v1_655260480_1343", "problem": "Let $S$ be the set of all positive integers $t \\leq 608$ for which there exist positive integers $a \\leq 128$ and $b \\leq 17$ such that $t = 4a + 5b + 11$. Let $p = |S|$. Let $D$ be the number of positive integers $p_1$ such that $p_1 q = 3000$ for some integer $q > p_1$, and $\\gcd(p_1, q) = 1$. Define $\\text{result} = \\frac{p(p-1)}{D}$. Compute $64168 \\cdot \\text{result} \\mod 84121$.", "answer": 1804, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64168),\n \"_n\": Const(84121),\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=128)), 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=20)), Leq(left=Var(name='t'), right=Const(value=608)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=11)))))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), 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=3000)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q')))))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T16:04:14.557088Z", "verification": {"verified": true, "answer": 1804, "timestamp": "2026-02-08T16:04:14.565931Z"}, "problem_hash": "e1e9d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 572}, "timestamp": "2026-02-12T09:49:07.753Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K15": "no", "K5": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9ddf22", "alias": "modular_min_linear_v1_397696148_1454", "problem": "Let $n = 8898$, $a = 40493$, and $m = 56654$. Let $b$ be the largest positive integer $d$ such that $d \\leq n$ and $d$ divides $79485834$. Compute the smallest positive integer $x$ such that $x \\leq m$ and $$a x \\equiv b \\pmod{m}.$$", "answer": 50112, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8898),\n \"a\": Const(40493),\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(79485834))))),\n \"m\": Const(56654),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 3.664, "created_at": "2026-02-08T12:33:26.477044Z", "verification": {"verified": true, "answer": 50112, "timestamp": "2026-02-08T12:33:30.141365Z"}, "problem_hash": "91be53", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 586}, "timestamp": "2026-02-12T05:18:23.801Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3c": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "af8b54", "alias": "algebra_poly_eval_v1_1470522791_1132", "problem": "Let $P$ be the number of prime numbers $n$ such that $2\\le n\\le 409$. Let $A$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=P$.\n\nLet $B$ be the minimum value of $x+y$ taken over all ordered pairs $(x,y)$ of positive integers such that $xy=40000$. Let $C$ be the minimum value of $x+y$ taken over all ordered pairs $(x,y)$ of positive integers such that $xy=B$.\n\nLet $y=11$. Define\n\\[R=\\frac{A\\cdot y^3+C\\cdot y^2-10y+30}{50}.\\]\n\nCompute $R$. ", "answer": 1160, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(50),\n \"_n\": Const(3),\n \"y\": Const(11),\n \"result\": Div(Sum(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\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(409)), IsPrime(Var(\"n\"))))))))), Pow(Ref(\"y\"), 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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(40000)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), Pow(Ref(\"y\"), Ref(\"_c\"))), Mul(Const(-10), Ref(\"y\")), Const(30)), Ref(\"_m\")),\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/COMB1", "B3/B3"], "recipe_id": "860342", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "COUNT_PRIMES"], "num_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T13:26:49.991140Z", "verification": {"verified": true, "answer": 1160, "timestamp": "2026-02-08T13:26:50.005583Z"}, "problem_hash": "9bcf75", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 372}, "timestamp": "2026-02-12T06:51:01.196Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "COMB1": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "437225", "alias": "modular_min_modexp_v1_1470522791_1750", "problem": "Find the smallest positive integer $x \\leq 44$ such that $2^x \\equiv 282 \\pmod{397}$. Let $r$ be the absolute value of this $x$, and let $k$ be the remainder when $r$ is divided by $11$. Compute the $k$th Bell number.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": Const(282),\n \"m\": Const(397),\n \"upper\": Const(44),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MIN_PRIME_FACTOR", "MAX_PRIME_BELOW"], "recipe_id": "1efd0c", "seed_template_id": "modular_min_modexp_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.085, "created_at": "2026-02-08T13:56:17.816257Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T13:56:17.901456Z"}, "problem_hash": "511522", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 312}, "timestamp": "2026-02-12T07:36:20.059Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "K18": "no", "K5": "no", "MOD_ADD": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d0affe", "alias": "comb_sum_binomial_row_v1_1125832087_871", "problem": "Let $m = 84$ and let $N$ be the largest positive divisor of $8484$ that does not exceed $m$. Let $n$ be the number of positive integers $k \\leq N$ such that $$\nk \\equiv \\left\\lfloor \\frac{k}{2} \\right\\rfloor \\pmod{7}.\n$$\nCompute $2^n$.", "answer": 4096, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(84),\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(8484))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/L3C"], "recipe_id": "21ae47", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:20:54.077954Z", "verification": {"verified": true, "answer": 4096, "timestamp": "2026-02-08T03:20:54.080878Z"}, "problem_hash": "63c40a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 1285}, "timestamp": "2026-02-10T14:01:26.653Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 1362}, "timestamp": "2026-02-10T13:19:10.253Z"}, {"id": 8, "model": "mathstral", "answer": 4096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 573}, "timestamp": "2026-02-11T18:43:11.519Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 395}, "timestamp": "2026-02-11T19:25:00.235Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "b12f24", "alias": "antilemma_v8_lucas_151522320_415", "problem": "Let $m = 63231$. Let $x$ be the number of nonnegative integers $j \\leq m$ such that $\\binom{63231}{j}$ is odd. Let $y$ be the number of nonnegative integers $j \\leq 85415$ such that $\\binom{85415}{j}$ is odd. Compute the remainder when $y - x$ is divided by $99139$.", "answer": 83779, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(63231),\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(63231), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(85415)), Eq(Mod(value=Binom(n=Const(85415), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"x\")), modulus=Const(99139)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "V8"], "recipe_id": "e5e9c2", "seed_template_id": "antilemma_v8_lucas", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:14:02.459993Z", "verification": {"verified": true, "answer": 83779, "timestamp": "2026-02-08T03:14:02.462845Z"}, "problem_hash": "870a97", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V8": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "8839ea", "alias": "nt_gcd_compute_v1_784195855_1203", "problem": "Let $n_1$ be the number of integers $n$ with $1 \\leq n \\leq 59$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $u = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Let $n = 12201$ and $h = \\mu(n)^2$. Define $a = 730656 + u + h$ and $b = 1380128$. Let $g = \\gcd(a, b)$. Compute the remainder when $90057 \\cdot g$ is divided by $68000$.", "answer": 31488, "graph": "graphs = [\n Graph(\n let={\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Const(59)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(12201),\n \"h\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Sum(Const(730656), Ref(\"u\"), Ref(\"h\")),\n \"b\": Const(1380128),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(90057), Ref(\"result\")), modulus=Const(68000)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE", "ONE_PHI_1"], "recipe_id": "9ea676", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3C", "MOBIUS_SQUAREFREE", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T04:54:11.861558Z", "verification": {"verified": true, "answer": 31488, "timestamp": "2026-02-08T04:54:11.869805Z"}, "problem_hash": "709f0b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "MOBIUS_SQUAREFREE": "ok", "ONE_PHI_1": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "valid"} +{"id": "1aff99", "alias": "diophantine_sum_product_min_v1_1918700295_46", "problem": "Let $S = 62$ and $P = 432$. Define $r$ to be the smallest positive integer $x$ such that $1 \\leq x \\leq 61$ and $x(S - x) = P$. Let $c$ be the smallest positive integer $n$ such that the largest power of $11$ dividing $n!$ is at least the number of positive integers $m \\leq 664$ for which the sum of the digits of $m$ is even. Compute $c - r$.", "answer": 3325, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(664),\n \"_n\": Const(11),\n \"S\": Const(62),\n \"P\": Const(432),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(61)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_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)))))), domain='Z_{>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": "L3B", "lemma_paths": ["L3B/V5"], "recipe_id": "f21c51", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "V5"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T02:57:40.409101Z", "verification": {"verified": true, "answer": 3325, "timestamp": "2026-02-08T02:57:40.416208Z"}, "problem_hash": "66b797", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 3325, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 3797}, "timestamp": "2026-02-08T22:15:28.274Z"}], "solution_status": 2, "lemma_applicability": {"L3B": "ok", "V5": "ok_later", "DS2": "no", "K5": "no", "MOD_MUL": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "baec19", "alias": "diophantine_product_count_v1_458359167_2460", "problem": "Let $k = 360$ and let $u = 234$. Consider the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Let $r$ be the number of elements in this set. Compute $r + \\phi(|r| + 1) + \\tau(|r| + 1)$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 46, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(360),\n \"upper\": Const(234),\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\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE/L3C"], "recipe_id": "ef5388", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 4, "generation_time": 0.151, "created_at": "2026-02-08T05:26:17.478182Z", "verification": {"verified": true, "answer": 46, "timestamp": "2026-02-08T05:26:17.628804Z"}, "problem_hash": "f5cd3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 46, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 1461}, "timestamp": "2026-02-12T22:40:50.861Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 479}, "timestamp": "2026-02-11T23:54:04.684Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "L3C": "ok_later", "SUM_DIVISIBLE": "ok_later", "COUNT_COPRIME_GRID": "no", "L3c": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "34ed41", "alias": "nt_count_gcd_equals_v1_717093673_1999", "problem": "Let $m = 7310$, $n = 93430$, and $k = 382$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 36481$. Define $d$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $T$ be the set of all positive integers $n'$ such that $1 \\leq n' \\leq 11236$ and $\\gcd(n', k) = d$. Compute the number of elements in $T$. Let $c$ be the largest prime number not exceeding $m$. Find the remainder when $c$ times the number of elements in $T$ is divided by $n$. Compute this remainder.", "answer": 25101, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7310),\n \"_n\": Const(93430),\n \"upper\": Const(11236),\n \"k\": Const(382),\n \"d\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(36481)))), 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(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\"))))),\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", "B3"], "recipe_id": "a333a0", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.947, "created_at": "2026-02-08T16:26:59.271445Z", "verification": {"verified": true, "answer": 25101, "timestamp": "2026-02-08T16:27:00.218636Z"}, "problem_hash": "3d3bef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 320}, "timestamp": "2026-02-12T10:37:52.470Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "K5": "no", "L3c": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ed1190", "alias": "antilemma_v7_kummer_1520064083_4172", "problem": "Let $m = 490$. Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all positive integers $t$ that can be expressed as $t = 9a + 15b + 10$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 360$ and $1 \\le b \\le 32$, and such that $34 \\le t \\le 3730$. Let $N$ be the number of elements in $S$. Determine the largest integer $k$ such that $n^k$ divides $\\binom{N}{m}$. Compute $k$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(490),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": MaxKDivides(target=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=360)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=32)), Geq(left=Var(name='t'), right=Const(value=34)), Leq(left=Var(name='t'), right=Const(value=3730)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=10)))))))), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/LIN_FORM/V7", "V7"], "recipe_id": "1b897d", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "V7"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:07:39.403595Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T06:07:39.405715Z"}, "problem_hash": "061e90", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V7": "ok", "LIN_FORM": "ok_later", "COUNT_CARTESIAN": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "split": "valid"} +{"id": "fc28e5", "alias": "comb_factorial_compute_v1_1440796553_596", "problem": "Let $ n = 8 $ and $ A = n! $. Let $ S $ be the set of all positive integers $ k $ such that $ k \\geq \\phi(2) $, $ k \\leq 35287 $, and $ 7 $ divides $ k $. Compute the remainder when $ |S| - A $ is divided by $ 62639 $.", "answer": 27360, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35287),\n \"n\": Const(8),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(2))), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(7), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"result\")), modulus=Const(62639)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2", "ONE_PHI_2"], "recipe_id": "07fb06", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C2", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:52:46.824345Z", "verification": {"verified": true, "answer": 27360, "timestamp": "2026-02-08T11:52:46.825847Z"}, "problem_hash": "6678f4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "ONE_PHI_2": "ok", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "V1": "no"}, "split": "valid"} +{"id": "b7a375", "alias": "geo_count_lattice_triangle_v1_1431428450_716", "problem": "Let $ A $ be the absolute value of $ 121 \\cdot 111 + 48 \\cdot (-256) $. Let $ B $ be the sum of the following three greatest common divisors:\n\n- $ \\gcd(121, 256) $,\n- $ \\gcd\\left( \\left| 121 - T \\right|, \\left| 111 - 256 \\right| \\right) $, where $ T $ is the number of integers $ t $ in the interval $[34, 140]$ for which there exist integers $ a \\in [1,8] $ and $ b \\in [1,9] $ such that $ t = 6a + 8b + 20 $,\n- $ \\gcd\\left( \\left| 0 - N \\right|, \\left| 0 - 111 \\right| \\right) $, where $ N $ is the number of positive integers $ n \\leq 96 $ such that the sum of the binary digits of $ n $ is even.\n\nDefine $ R = \\frac{A + 2 - B}{2} $. Compute $ R $.", "answer": 570, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(256),\n \"_n\": Const(96),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=121), Const(value=111)), Mul(Const(value=48), Sub(left=Const(value=0), right=Const(value=256))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=Ref(name='_m'))), GCD(a=Abs(arg=Sub(left=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=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=34)), Leq(left=Var(name='t'), right=Const(value=140)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b')), Const(value=20)))))))), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=256)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Eq(left=Mod(value=DigitSum(x=Var(name='n'), base=Const(value=2)), modulus=Const(value=2)), right=Const(value=0))))))), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T13:38:43.826924Z", "verification": {"verified": true, "answer": 570, "timestamp": "2026-02-08T13:38:43.841348Z"}, "problem_hash": "06dae2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 362, "completion_tokens": 723}, "timestamp": "2026-02-12T07:12:00.315Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "K17": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0e5c07", "alias": "nt_sum_divisors_compute_v1_1248542787_29", "problem": "Let $n_1=5$. Define\n$$m=\\sum_{d\\mid n_1} \\varphi(d)-n_1,$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nLet $p$ be the sum of $m$ and the smallest integer $d\\ge 2$ such that $d$ divides $7014007$.\n\nLet $t$ be the remainder when\n$$ (p-1)! + \\varphi(1) $$\nis divided by $p$.\n\nLet $n=58081$, and let $R$ be the sum of all positive divisors of $n$. Let $c=25070$, and define $Q$ to be the remainder when $cR$ is divided by $70693+t$.\n\nFind the value of $Q$.", "answer": 14291, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(5),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"p\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(7014007))))), Ref(\"m\")),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), EulerPhi(n=Const(1))), modulus=Ref(\"p\")),\n \"n\": Const(58081),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Const(25070),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(70693), Ref(\"t\"))),\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/EULER_TOTIENT_SUM/WILSON", "ONE_PHI_1"], "recipe_id": "feaef5", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MIN_PRIME_FACTOR", "ONE_PHI_1", "WILSON"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T02:55:13.615230Z", "verification": {"verified": true, "answer": 14291, "timestamp": "2026-02-08T02:55:13.620614Z"}, "problem_hash": "5c8f24", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14291, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 5900}, "timestamp": "2026-02-08T23:16:52.607Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 14291, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 1977}, "timestamp": "2026-02-08T21:47:41.960Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:44:39.969Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_1": "ok", "EULER_TOTIENT_SUM": "ok_later", "WILSON": "ok_later", "DS2": "no", "K15": "no", "L3c": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "valid"} +{"id": "70d083", "alias": "antilemma_product_of_sums_v1_168721529_763", "problem": "Let $m = 15$ and $n = 50625$. Define $A$ as the set of all nonnegative integers $j$ such that $j \\leq k$, where $k$ is the number of positive integers $p$ for which there exists a positive integer $q$ satisfying $p \\cdot q = 2700$, $\\gcd(p, q) = 1$, and $p < q$. Furthermore, require that the binomial coefficient $\\binom{15}{j}$ is odd. Let $S_1$ be the sum of all elements in $A$.\n\nLet $S_2$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 7$.\n\nCompute $S_1 \\cdot S_2$.", "answer": 94080, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\n \"_n\": Const(50625),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_m\")), Leq(Pow(Var(\"j\"), 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=2700)), 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\"))), domain='positive_integers'))), Eq(Mod(value=Binom(n=Const(15), 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(7)), right=IntegerRange(start=Const(1), end=Const(7)))), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/C3", "PRODUCT_OF_SUMS"], "recipe_id": "2a16ad", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T13:17:10.638491Z", "verification": {"verified": true, "answer": 94080, "timestamp": "2026-02-08T13:17:10.644496Z"}, "problem_hash": "b906ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7840, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 308, "completion_tokens": 1330}, "timestamp": "2026-02-09T08:52:43.769Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2352, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 507}, "timestamp": "2026-02-09T21:19:41.067Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "PRODUCT_OF_SUMS": "ok", "C3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "valid"} +{"id": "3d718a", "alias": "nt_num_divisors_compute_v1_2051736721_5257", "problem": "Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 2x - 24 = 0$. Let $m$ be the sum of all elements of $S$. Determine the number of prime numbers $n_1$ such that $m \\leq n_1 \\leq 17609$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(17609),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-2), Var(\"x\")), Const(-24)), Const(0))))), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/COUNT_PRIMES"], "recipe_id": "870a88", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T18:27:08.648774Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T18:27:08.657636Z"}, "problem_hash": "184de1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 300}, "timestamp": "2026-02-13T00:10:46.543Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "51b7fa", "alias": "modular_product_range_v1_898971024_924", "problem": "Let $n = 90$. Let $P$ be the product of all integers $i$ from $n$ to $D$, inclusive, where $D$ is the largest positive divisor of $331198$ that is at most $574$. Define $r$ to be the remainder when $P$ is divided by $10163$. Compute the Bell number $B_s$, where $s$ is the remainder when $|r|$ is divided by $11$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(574)), Divides(divisor=Var(\"d\"), dividend=Const(331198)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10163)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T15:47:13.029424Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T15:47:13.036281Z"}, "problem_hash": "28989f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 406}, "timestamp": "2026-02-12T09:08:42.730Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1585e5", "alias": "antilemma_v7_kummer_124444284_94", "problem": "Let $S$ be the set of all integers $t$ such that $38 \\leq t \\leq 2426$ and $t = 12a + 15b + 11$ for some positive integers $a$ and $b$ with $1 \\leq a \\leq 135$ and $1 \\leq b \\leq 53$. Let $m = |S|$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 2742$, $6$ divides $n$, and $\\gcd(n, 35) = 1$. Let $k = |T|$. Determine the largest integer $x$ such that $2^x$ divides $\\binom{m}{k}$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=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=135)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=53)), Geq(left=Var(name='t'), right=Const(value=38)), Leq(left=Var(name='t'), right=Const(value=2426)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=11)))))))), k=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2742)), Divides(divisor=Const(6), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1)))))), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/V7", "C5/V7", "V7"], "recipe_id": "d98f62", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 7, "lemma_set": ["C5", "LIN_FORM", "V7"], "num_lemmas": 3, "generation_time": 0.027, "created_at": "2026-02-08T02:57:50.724120Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T02:57:50.750813Z"}, "problem_hash": "ecf655", "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": 283, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:40:41.813Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 7962}, "timestamp": "2026-02-08T22:45:39.836Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok", "V7": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "20fcd9", "alias": "nt_count_intersection_v1_1978505735_2733", "problem": "Let $N$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $x y = 25000000$. Let $b = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $11$ divides $n$, and $\\gcd(n, b) = 1$. Let $r$ be the number of elements in $S$. Compute the remainder when $47817 \\cdot r$ is divided by $85814$.", "answer": 71799, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(25000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(11),\n \"b\": 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(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(47817),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85814)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.322, "created_at": "2026-02-08T17:08:52.672046Z", "verification": {"verified": true, "answer": 71799, "timestamp": "2026-02-08T17:08:52.994187Z"}, "problem_hash": "51c455", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 686}, "timestamp": "2026-02-12T21:55:09.929Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ece9ff", "alias": "algebra_poly_eval_v1_1978505735_8076", "problem": "Let $\\mathcal{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 < q$. Let $\\mathcal{B}$ be the set of all positive integers $p_1$ for which there exists a positive integer $q$ such that $p_1q = 216$, $\\gcd(p_1, q) = 1$, and $p_1 < q$. Let $m$ be the number of elements in $\\mathcal{A}$, and $n$ be the number of elements in $\\mathcal{B}$. Let $x$ be the smallest divisor of $2695$ that is at least $2$. Let $r$ be the sum of all real solutions $x_1$ to the equation $x_1^2 - 7x_1 - 2640 = 0$. Define $\\text{result} = -x^m + r \\cdot x - 8$, and let $Q = 44121 \\cdot \\text{result}$. Compute $Q$.", "answer": 88242, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2695),\n \"_c\": Const(44121),\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(\"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=216)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q'))))))),\n \"x\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_d\"))))),\n \"result\": Sum(Mul(Const(-1), Pow(Ref(\"x\"), Ref(\"_m\"))), Mul(SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_n\")), Mul(Const(-7), Var(\"x1\")), Const(-2640)), Const(0)))), Ref(\"x\")), Const(-8)),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS", "COPRIME_PAIRS/VIETA_SUM", "MIN_PRIME_FACTOR"], "recipe_id": "7a09d3", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T20:38:57.420539Z", "verification": {"verified": true, "answer": 88242, "timestamp": "2026-02-08T20:38:57.429321Z"}, "problem_hash": "f4b2a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 88242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 352, "completion_tokens": 613}, "timestamp": "2026-02-13T01:26:29.570Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok_later", "DS2": "no", "K13": "no", "L3b": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "3edb1f", "alias": "antilemma_cartesian_v1_1431428450_585", "problem": "Compute the number of ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 34$ and $1 \\leq b \\leq 39$. Subtract this number from $84681$ and report the result.", "answer": 83355, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(34)), right=IntegerRange(start=Const(1), end=Const(39)))),\n \"Q\": Sub(Const(84681), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:33:04.697217Z", "verification": {"verified": true, "answer": 83355, "timestamp": "2026-02-08T13:33:04.698061Z"}, "problem_hash": "e835c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 83355, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 117}, "timestamp": "2026-02-12T07:05:35.105Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ab7622", "alias": "nt_lcm_compute_v1_124444284_3551", "problem": "Let $a = 1041$ and $b = 1446$. Let $L = \\mathrm{lcm}(a, b)$. Let $m$ be the largest integer $k$ such that $2^k \\leq 3404229882140$. Compute the remainder when $L^2 + 24L + m$ is divided by $95095$.", "answer": 11363, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95095),\n \"a\": Const(1041),\n \"b\": Const(1446),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(24), Ref(\"result\")), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(2), Var(\"k\")), Const(3404229882140))))), modulus=Ref(\"_n\")),\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"], "recipe_id": "0a018a", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_VAL"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T05:26:58.593000Z", "verification": {"verified": true, "answer": 11363, "timestamp": "2026-02-08T05:26:58.595972Z"}, "problem_hash": "300183", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11363, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 3241}, "timestamp": "2026-02-12T09:33:04.288Z"}, {"id": 8, "model": "mathstral", "answer": 20383, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 1374}, "timestamp": "2026-02-14T18:54:53.432Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 365}, "timestamp": "2026-02-11T22:42:55.110Z"}], "solution_status": 1, "lemma_applicability": {"MAX_VAL": "ok", "K16": "same_pattern_wrong", "COUNT_PRIMES": "no", "K13": "no", "K15": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "a3567b", "alias": "modular_count_residue_v1_1742523217_2731", "problem": "Let $N = 91345$ and $U = 33333$. Let $m = \\sum_{k=1}^7 k$. Let $r$ be the number of integers $t$ such that $21 \\leq t \\leq 108$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 8$, and $t = 15a + 6b$. Let $c$ be the number of positive integers $n \\leq U$ such that $n \\equiv r \\pmod{m}$. Let $s = \\sum_{d\\mid \\gcd(12,25)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Compute the remainder when $\\sum_{n=s}^{|c|} \\phi(n)$ is divided by $N$, where $\\phi$ is Euler's totient function.", "answer": 65308, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(91345),\n \"upper\": Const(33333),\n \"m\": Summation(var=\"k\", start=Const(1), end=Const(7), expr=Var(\"k\")),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=108)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MOBIUS_COPRIME", "SUM_ARITHMETIC", "LIN_FORM"], "recipe_id": "c3fadc", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 4.444, "created_at": "2026-02-08T05:19:17.048534Z", "verification": {"verified": true, "answer": 65308, "timestamp": "2026-02-08T05:19:21.492731Z"}, "problem_hash": "d00909", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "DS2": "no", "K15": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V3": "no"}, "split": "valid"} +{"id": "1c1b19", "alias": "nt_count_intersection_v1_1439011603_2876", "problem": "Let $m = 5929$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$, and define $n_0 = \\min\\{x + y \\mid (x, y) \\in S\\}$. Let $b$ be the number of positive integers $n$ such that $1 \\leq n \\leq n_0$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Determine the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 100000$, $11$ divides $n_1$, and $\\gcd(n_1, b) = 1$. Let $N$ be this count. Compute $\\sum_{n_2=1}^{N} \\tau(n_2)$, where $\\tau(n_2)$ denotes the number of positive divisors of $n_2$.", "answer": 32816, "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 \"N\": Const(100000),\n \"a\": Const(11),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Summation(var=\"n2\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n2\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 3.422, "created_at": "2026-02-08T17:03:08.451407Z", "verification": {"verified": true, "answer": 32816, "timestamp": "2026-02-08T17:03:11.873588Z"}, "problem_hash": "f389e7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 586}, "timestamp": "2026-02-12T21:41:01.788Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "L3c": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8d3eb1", "alias": "antilemma_v7_kummer_784195855_81", "problem": "Let $p = 37$ and $q = 59$. Let $s = \\sum_{d \\mid p} \\mu(d)$, where $\\mu$ is the Möbius function, and define $p' = p + s$. Let $n = p' \\cdot q$. Let $\\lambda(n)$ denote the Liouville function of $n$, which is $(-1)^{\\Omega(n)}$ where $\\Omega(n)$ is the total number of prime factors of $n$ counted with multiplicity. Let $k = 2\\lambda(n)$. Determine the value of $k$, and find the largest integer $x$ such that $k^x$ divides $\\binom{4145}{1658}$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(37),\n \"s\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Sum(Const(37), Ref(\"s\")),\n \"q\": Const(59),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(2), Ref(\"v\")),\n \"x\": MaxKDivides(target=Binom(n=Const(4145), k=Const(1658)), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["LIOUVILLE_ONE", "MOBIUS_SUM", "V7"], "recipe_id": "5c40c5", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_ONE", "MOBIUS_SUM", "V7"], "num_lemmas": 4, "generation_time": 0.027, "created_at": "2026-02-08T02:56:53.354400Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T02:56:53.381399Z"}, "problem_hash": "0e13ee", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 2296}, "timestamp": "2026-02-08T22:36:21.501Z"}], "solution_status": 2, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "MOBIUS_SUM": "ok", "V7": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "K17": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "adc401", "alias": "nt_sum_phi_v1_458359167_2465", "problem": "Let $m = 3$. Let $n$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 37$ and $1 \\leq j \\leq 76$ such that $\\gcd(i, j) = 1$. Let $u$ be the number of positive integers $\\nu$ such that $1 \\leq \\nu \\leq n$, $m$ divides $\\nu$, and $\\gcd(\\nu, 35) = 1$. Compute the sum of $\\phi(\\nu)$ over all positive integers $\\nu$ from 1 to $u$, inclusive, where $\\phi$ denotes Euler's totient function.", "answer": 48678, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\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(37)), right=IntegerRange(start=Const(1), end=Const(76))))),\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=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\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/C5"], "recipe_id": "4e19af", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.05, "created_at": "2026-02-08T05:26:22.135987Z", "verification": {"verified": true, "answer": 48678, "timestamp": "2026-02-08T05:26:22.185757Z"}, "problem_hash": "0bf079", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48608, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 4723}, "timestamp": "2026-02-12T22:43:48.018Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 720}, "timestamp": "2026-02-11T23:54:07.678Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "C5": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "60a55d", "alias": "nt_count_divisible_and_v1_458359167_1815", "problem": "Let $m = 6$. Let $n$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $d_2$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $U = 53844$ and $d_1 = 4$. Compute the number of positive integers $n \\leq U$ such that $n \\equiv \\sum_{k=0}^{1} (-1)^k \\binom{1}{k} \\pmod{4}$ and $n \\equiv 0 \\pmod{d_2}$. Let this number be $R$. Find the remainder when $95876 \\cdot R$ is divided by $97403$.", "answer": 63964, "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 \"upper\": Const(53844),\n \"d1\": Const(4),\n \"d2\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Summation(var=\"k\", start=Const(0), end=Const(1), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(1), k=Var(\"k\"))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(95876),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(97403)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "BINOMIAL_ALTERNATING", "lemma_paths": ["BINOMIAL_ALTERNATING", "B1/B3"], "recipe_id": "08b9b2", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "BINOMIAL_ALTERNATING"], "num_lemmas": 3, "generation_time": 3.149, "created_at": "2026-02-08T04:51:45.651285Z", "verification": {"verified": true, "answer": 63964, "timestamp": "2026-02-08T04:51:48.800278Z"}, "problem_hash": "32e3c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 63964, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 292, "completion_tokens": 1343}, "timestamp": "2026-02-11T22:25:39.278Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 789}, "timestamp": "2026-02-14T03:19:40.705Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 629}, "timestamp": "2026-02-11T22:03:13.405Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "BINOMIAL_ALTERNATING": "ok", "B3": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "9de030", "alias": "nt_sum_divisors_compute_v1_458359167_1173", "problem": "Let $n_2$ be the smallest divisor of $19154616739$ that is at least $2$. Let $f = \\lambda(n_2) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n_1 = \\phi(2) + f$, where $\\phi$ is Euler's totient function. Let $v = \\Omega(n_1)$, the number of prime factors of $n_1$ counted with multiplicity. Define $n = 73441 + v$. Compute the sum of all positive divisors of $n$.", "answer": 73713, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73441),\n \"n2\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(19154616739))))),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Sum(EulerPhi(n=Const(2)), Ref(\"f\")),\n \"v\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Ref(\"_n\"), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIOUVILLE_MINUS_ONE", "BIG_OMEGA_ZERO", "ONE_PHI_2"], "recipe_id": "291fa2", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T04:26:17.830809Z", "verification": {"verified": true, "answer": 73713, "timestamp": "2026-02-08T04:26:17.832797Z"}, "problem_hash": "e8b634", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF": "no"}, "split": "valid"} +{"id": "32dbad", "alias": "algebra_poly_eval_v1_784195855_5735", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 15$, $3$ divides $n$, and $\\gcd(n, 14) = 1$. Let $m_1$ be the number of elements in $A$.\n\nLet $B$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 7$, $16 \\leq t \\leq 43$, and $t = 5a + 2b + 9$. Let $m_2$ be the number of elements in $B$.\n\nCompute the value of $m_1 m_2^2 - 8m_2 - 2$.", "answer": 1534, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=43)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=9)))))))),\n \"result\": Sum(Mul(Ref(\"_n\"), Pow(Ref(\"m\"), Const(2))), Mul(Const(-8), Ref(\"m\")), Const(-2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/LIN_FORM"], "recipe_id": "d740a6", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:05:17.829917Z", "verification": {"verified": true, "answer": 1534, "timestamp": "2026-02-08T08:05:17.833087Z"}, "problem_hash": "e84569", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1534, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 1706}, "timestamp": "2026-02-13T14:29:31.876Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2298, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 717}, "timestamp": "2026-02-12T01:30:45.472Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "V7": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "a829c4", "alias": "modular_sum_quadratic_residues_v1_1742523217_1705", "problem": "Let $p = 557$. Compute $\\frac{p(p-1)}{4}$.", "answer": 77423, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(557),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM/MOBIUS_COPRIME", "B3/MOBIUS_COPRIME"], "recipe_id": "79f14b", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "LTE_SUM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:06:42.719411Z", "verification": {"verified": true, "answer": 77423, "timestamp": "2026-02-08T04:06:42.723628Z"}, "problem_hash": "99c657", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 77423, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 130, "completion_tokens": 322}, "timestamp": "2026-02-10T15:49:51.695Z"}, {"id": 8, "model": "mathstral", "answer": 77313, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 76, "completion_tokens": 187}, "timestamp": "2026-02-13T10:53:15.759Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 77778, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 139}, "timestamp": "2026-02-11T20:33:33.494Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LTE_SUM": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K18": "no", "K5": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "5d303c", "alias": "algebra_vieta_sum_v1_2051736721_3826", "problem": "Let $f(x) = x^4 - 2x^3 - 67x^2 + c x$, where $c$ is the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 122186994930$, $\\gcd(p, q) = 1$, and $p < q$. Let $d$ be the number of positive integers $t$ with $10 \\leq t \\leq 213$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 9$, $1 \\leq b \\leq 50$, and $t = 7a + 3b$. Define $c = d$. Find the product of all real solutions $x$ to the equation $f(x) = 0$.", "answer": 192, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Ref(name='_m')), Mul(Const(value=-2), Pow(base=Var(name='x'), exp=Const(value=3))), Mul(Const(value=-67), Pow(base=Var(name='x'), exp=Ref(name='_n'))), 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=122186994930)), 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(name='x')), 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=9)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=50)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=213)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), right=Const(value=0)))),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.102, "created_at": "2026-02-08T17:34:55.404333Z", "verification": {"verified": true, "answer": 192, "timestamp": "2026-02-08T17:34:55.506502Z"}, "problem_hash": "6bbd56", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 459}, "timestamp": "2026-02-12T22:48:22.831Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1b5047", "alias": "comb_sum_binomial_row_v1_784195855_3552", "problem": "Let $A$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 4$. Let $m$ be the number of elements in $A$. \n\nDefine $w = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$ and $t = \\sum_{k=0}^{2} (-1)^k \\binom{2}{k}$. Let $n = w \\cdot |\\{1,2\\} \\times \\{1,2,3,4,5\\}| + t$. Compute $m^n$, multiply the result by $40559$, and find the remainder when the product is divided by $91466$.", "answer": 6852, "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(4))))),\n \"n2\": Const(0),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"u\": Const(1),\n \"n1\": Sum(Ref(\"u\"), Const(1)),\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(Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))), Ref(\"w\")), Ref(\"t\")),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"_c\": Const(40559),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91466)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "COMB1/COUNT_CARTESIAN"], "recipe_id": "b527e3", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:29:51.878708Z", "verification": {"verified": true, "answer": 6852, "timestamp": "2026-02-08T06:29:51.881228Z"}, "problem_hash": "29dfb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6852, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 1039}, "timestamp": "2026-02-13T00:40:30.912Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4900, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 344}, "timestamp": "2026-02-12T00:07:21.257Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "373bca", "alias": "comb_count_surjections_v1_48377204_738", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $a \\in \\{1, 2\\}$ and $b \\in \\{1, 2, 3\\}$. Let $k = 2$. Let $r = k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind. Compute the sum of the number of positive divisors of all integers from $1$ to $|r|$.", "answer": 267, "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(3)))),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:40:45.868726Z", "verification": {"verified": true, "answer": 267, "timestamp": "2026-02-08T15:40:45.872802Z"}, "problem_hash": "9e62c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 409}, "timestamp": "2026-02-12T08:53:26.138Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "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}, "split": "valid"} +{"id": "68ddbc", "alias": "geo_visible_lattice_v1_124444284_4339", "problem": "Let $n = 60$. A visible lattice point $(x,y)$ is a point in the coordinate plane with integer coordinates such that $\\gcd(x,y) = 1$. Let $V$ be the number of visible lattice points $(x,y)$ with $1 \\leq x \\leq n$ and $1 \\leq y \\leq n$. Compute\n$$\n\\sum_{k=1}^{V} \\tau(k),\n$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 17294, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(60),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Summation(var=\"n\", start=Div(Const(93), Const(93)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.145, "created_at": "2026-02-08T05:56:27.216562Z", "verification": {"verified": true, "answer": 17294, "timestamp": "2026-02-08T05:56:27.361208Z"}, "problem_hash": "66e8f0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17296, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 5162}, "timestamp": "2026-02-12T16:43:35.767Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 624}, "timestamp": "2026-02-11T23:20:17.795Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b2de9b", "alias": "diophantine_fbi2_min_v1_1874849503_1654", "problem": "Let $d$ be an integer satisfying $4 \\leq d \\leq 58$ such that $d$ divides $48$ and $\\frac{48}{d} \\geq 4$. Determine the smallest possible value of $d$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(48),\n \"a\": Const(3),\n \"b\": Const(3),\n \"upper\": Const(58),\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(4))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["L3B", "K2"], "recipe_id": "a8e813", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["K2", "L3B", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.207, "created_at": "2026-02-08T14:00:48.691213Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T14:00:48.897967Z"}, "problem_hash": "6cc210", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 634}, "timestamp": "2026-02-10T06:10:09.754Z"}, {"id": 8, "model": "mathstral", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 175}, "timestamp": "2026-02-11T21:29:00.417Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 372}, "timestamp": "2026-02-11T21:18:03.564Z"}], "solution_status": 2, "lemma_applicability": {"K2": "ok", "L3B": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K16": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "valid"} +{"id": "5594ff", "alias": "comb_bell_compute_v1_48377204_1607", "problem": "Let $N$ be the number of integers $t$ such that $14 \\leq t \\leq 40$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 5$, and $t = 10a + 4b$. Let $s = \\sum_{k=0}^{6} (-1)^k \\binom{6}{k}$ and $v = \\sum_{k=0}^{0} (-1)^k \\binom{0}{k}$. Let $n$ be the product of $s$, $v$, and the number of ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 8$, $1 \\leq j \\leq 9$, and $i + j = N$. Compute the Bell number $B_n$, which counts the number of partitions of an $n$-element set.", "answer": 4140, "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=14)), Leq(left=Var(name='t'), right=Const(value=40)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"a\": Const(1),\n \"b\": Const(5),\n \"n2\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"n1\": Const(0),\n \"v\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": 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(8)), right=IntegerRange(start=Const(1), end=Const(9))))), Ref(\"s\")), Ref(\"v\")),\n \"result\": Bell(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_bell_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.081, "created_at": "2026-02-08T16:15:32.739731Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T16:15:32.820241Z"}, "problem_hash": "3cef2f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 304, "completion_tokens": 384}, "timestamp": "2026-02-12T10:11:41.848Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "46dff7", "alias": "algebra_quadratic_discriminant_v1_717093673_1355", "problem": "Let $n$ be the largest integer $k$ such that $3^k \\le 13$. 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$. Compute $(-12)^n - 4 \\cdot a \\cdot (-80)$.", "answer": 784, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(13)))),\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=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 \"b\": Const(-12),\n \"c\": Const(-80),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(Ref(\"_m\"), 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": ["MAX_VAL/COPRIME_PAIRS"], "recipe_id": "9302f2", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS", "MAX_VAL"], "num_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T16:01:45.556358Z", "verification": {"verified": true, "answer": 784, "timestamp": "2026-02-08T16:01:45.594154Z"}, "problem_hash": "bb7174", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1424, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 411}, "timestamp": "2026-02-12T09:39:29.104Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "COPRIME_PAIRS": "ok_later", "K16": "same_pattern_wrong", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ea53ce", "alias": "diophantine_fbi2_count_v1_784195855_8872", "problem": "Let $m = 7$ and $n = 3$. Let $A$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 4151$, $m$ divides $k$, and $\\gcd(k, 6) = 1$. Let $T = |A|$, the number of elements in $A$. Let $S$ be the set of all divisors $d$ of $720$ such that $n \\leq d \\leq T$, $3 \\leq \\frac{720}{d} \\leq 198$. Compute the number of elements in $S$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(3),\n \"k\": Const(720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4151)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(198))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["K14", "C5"], "recipe_id": "e1277c", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "K14", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.05, "created_at": "2026-02-08T16:23:35.788397Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T16:23:35.838839Z"}, "problem_hash": "d59458", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 610}, "timestamp": "2026-02-12T10:32:47.783Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "K14": "ok", "K13": "no", "K16": "no", "LTE_DIFF_P2": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9c7e0f", "alias": "nt_count_primes_v1_1978505735_1618", "problem": "Let $n$ be a positive integer. Define $d$ to be a positive divisor of 10 that is at most $n$. Let $m$ be the largest such $d$. Determine the number of prime numbers $n$ such that $m \\leq n \\leq 10296$.", "answer": 1262, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(10296),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(10)))))), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 2.691, "created_at": "2026-02-08T16:17:19.815389Z", "verification": {"verified": true, "answer": 1262, "timestamp": "2026-02-08T16:17:22.506731Z"}, "problem_hash": "960de2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 454}, "timestamp": "2026-02-12T10:22:20.329Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f88365", "alias": "nt_count_divisible_and_v1_124444284_253", "problem": "Let $d_1 = \\sum_{k=1}^{2} k$ and $d_2 = 10$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 74520$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Let $k$ be the number of elements in $S$. Compute the smallest positive integer $m$ such that the $m$-th Fibonacci number is divisible by $k + 2$.", "answer": 570, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(74520),\n \"d1\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(2), expr=Var(\"k\")), expr=Var(\"k\")),\n \"d2\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"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/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 6.017, "created_at": "2026-02-08T03:06:43.370725Z", "verification": {"verified": true, "answer": 570, "timestamp": "2026-02-08T03:06:49.387696Z"}, "problem_hash": "fbda91", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2469}, "timestamp": "2026-02-09T15:11:50.046Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 570, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2615}, "timestamp": "2026-02-09T00:10:55.666Z"}, {"id": 8, "model": "mathstral", "answer": 30, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 772}, "timestamp": "2026-02-11T16:40:01.361Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 427}, "timestamp": "2026-02-11T20:26:37.215Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K13": "no", "K15": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "2781df", "alias": "modular_count_residue_v1_2080023795_104", "problem": "Let $d$ be a positive integer such that $1 \\leq d \\leq 22$ and $d$ divides 638. Define $m$ to be the largest such $d$. Let $n$ be a positive integer satisfying $1 \\leq n \\leq 64516$ and $n \\equiv 16 \\pmod{m}$. Compute the number of such integers $n$.", "answer": 2932, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(64516),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(22)), Divides(divisor=Var(\"d\"), dividend=Const(638))))),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 2.448, "created_at": "2026-02-08T11:32:53.687571Z", "verification": {"verified": true, "answer": 2932, "timestamp": "2026-02-08T11:32:56.135844Z"}, "problem_hash": "f00eae", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2932, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 792}, "timestamp": "2026-02-08T20:44:45.880Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2932, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 781}, "timestamp": "2026-02-10T05:13:23.541Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2932, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 407}, "timestamp": "2026-02-09T09:57:50.164Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2932, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 128, "completion_tokens": 1455}, "timestamp": "2026-02-09T20:27:00.676Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 379}, "timestamp": "2026-02-12T04:12:18.000Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.57}, "split": "valid"} +{"id": "6b18cc", "alias": "nt_euler_phi_compute_v1_458359167_1914", "problem": "Let $n = 41905$. Let $\\phi(n)$ denote Euler's totient function. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 419904$. Let $m$ be the minimum value of $x + y$ over all such pairs. Compute the remainder when\n$$\n\\phi(n)^2 + \\left( \\sum_{d \\mid 29} \\phi(d) \\right) \\cdot \\phi(n) + m\n$$\nis divided by $93527$.", "answer": 29884, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(93527),\n \"n\": Const(41905),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(SumOverDivisors(n=Const(value=29), var='d', expr=EulerPhi(n=Var(name='d'))), 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(419904)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), 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", "K3"], "recipe_id": "764f19", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K3"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:55:55.680425Z", "verification": {"verified": true, "answer": 29884, "timestamp": "2026-02-08T04:55:55.682338Z"}, "problem_hash": "08fd94", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 29884, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 3211}, "timestamp": "2026-02-11T22:27:36.749Z"}, {"id": 8, "model": "mathstral", "answer": 1304, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 1118}, "timestamp": "2026-02-14T03:35:14.629Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 685}, "timestamp": "2026-02-11T22:04:19.258Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K3": "ok", "C2": "no", "K14": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "f2d31a", "alias": "antilemma_v1_legendre_677425708_2343", "problem": "Let $d=4$.\n\nLet $C$ be the number of integers $t$ for which there exist integers $a$ and $b$ with $1\\le a\\le 288$, $1\\le b\\le 9$, $9\\le t\\le 639$, and\n$$t=2a+7b.$$\n\nLet $m$ be the number of positive integers $j$ with $1\\le j\\le 5$ such that\n$$j^d\\le C.$$\n\nLet $n$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 14$ and $1\\le j\\le 70$ such that $\\gcd(i,j)=1$.\n\nLet $Q$ be the greatest integer $k$ such that $m^k$ divides $n!$.\n\nFind the value of $Q$.", "answer": 166, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(4),\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=288)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=639)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(5)), Leq(Pow(Var(\"j\"), Ref(\"_d\")), Ref(\"_c\"))), domain='positive_integers')),\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(15)), right=IntegerRange(start=Const(1), end=Const(71))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/C3/COUNT_COPRIME_GRID/V1", "V1"], "recipe_id": "3f80b0", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "COUNT_COPRIME_GRID", "LIN_FORM", "V1"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T05:00:25.665735Z", "verification": {"verified": true, "answer": 166, "timestamp": "2026-02-08T05:00:25.668251Z"}, "problem_hash": "39bf56", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V1": "ok", "C3": "ok_later", "COUNT_COPRIME_GRID": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "K16": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "361b89", "alias": "antilemma_k2_v1_151522320_2425", "problem": "Let $x = \\sum_{k=1}^{346} \\phi(k) \\left\\lfloor \\frac{346}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $c = \\sum_{d\\mid 5776} \\phi(d)$. Compute the remainder when $x^2 + (1+2+3)x + c$ is divided by 67876.", "answer": 7075, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(346),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(346), Var(\"k\"))))),\n \"_c\": SumOverDivisors(n=Const(value=5776), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")), Ref(\"x\")), Ref(\"_c\")), modulus=Const(67876)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["SUM_ARITHMETIC", "K3", "K2"], "recipe_id": "3555f8", "seed_template_id": "antilemma_k2_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K13", "K2", "K3", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T04:48:03.553640Z", "verification": {"verified": true, "answer": 7075, "timestamp": "2026-02-08T04:48:03.560654Z"}, "problem_hash": "d1e16b", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 7075, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 2278}, "timestamp": "2026-02-11T22:06:46.894Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 630}, "timestamp": "2026-02-14T01:07:13.567Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 651}, "timestamp": "2026-02-11T21:53:17.435Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "K3": "ok", "SUM_ARITHMETIC": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "5b393b", "alias": "nt_count_digit_sum_v1_168721529_1955", "problem": "Let $a$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 100$. Let $b = 12$ and define $n_1 = ab + 1$. Let $m$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $t = 22 + m$. Compute the number of positive integers $n \\leq 9999$ such that the sum of the decimal digits of $n$ is equal to $t$. Let $Q$ be the remainder when $82799$ times this count is divided by $76500 + \\omega(1)$, where $\\omega(1)$ is the number of distinct prime factors of 1. Find the value of $Q$.", "answer": 35460, "graph": "graphs = [\n Graph(\n let={\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(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Const(12),\n \"n1\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(1),\n \"c\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(9999),\n \"target_sum\": Sum(Const(22), Ref(\"m\")),\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(82799),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(76500), 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/DIVISOR_PARITY", "OMEGA_ZERO"], "recipe_id": "4839d8", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.448, "created_at": "2026-02-08T14:01:56.853038Z", "verification": {"verified": true, "answer": 35460, "timestamp": "2026-02-08T14:01:57.301057Z"}, "problem_hash": "e799a2", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 35460, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 2062}, "timestamp": "2026-02-10T00:00:28.309Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "OMEGA_ZERO": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "MOD_MUL": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "526321", "alias": "sequence_count_fib_divisible_v1_1520064083_9563", "problem": "Let $d$ be the largest positive divisor of $36445$ that is at most $185$. Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le d$ and $18$ divides the $n$th Fibonacci number. Compute the remainder when $44121 \\cdot N$ is divided by $85177$.", "answer": 65576, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(185)), Divides(divisor=Var(\"d\"), dividend=Const(36445))))),\n \"d\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(85177)),\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"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T10:52:52.936770Z", "verification": {"verified": true, "answer": 65576, "timestamp": "2026-02-08T10:52:52.946719Z"}, "problem_hash": "eea230", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 65576, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 1605}, "timestamp": "2026-02-14T09:20:38.188Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 405}, "timestamp": "2026-02-12T03:31:09.861Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "31256b", "alias": "antilemma_v7_kummer_1248542787_404", "problem": "Let $S$ be the set of all positive integers $n \\leq 106546$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $T$ be the set of all positive integers $n \\leq |S|$ such that the sum of the decimal digits of $n$ is even. Let $m = 1937$ and $n = 3$. Let $x$ be the largest integer $k$ such that $3^k$ divides $\\binom{|T|}{1937}$. Compute $x$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1937),\n \"_n\": Const(3),\n \"x\": MaxKDivides(target=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(106546)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))), 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": "LIN_FORM", "lemma_paths": ["L3C/L3B/V7", "V7"], "recipe_id": "81cd19", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "lemma_set": ["L3B", "L3C", "LIN_FORM", "V7"], "num_lemmas": 4, "generation_time": 0.22, "created_at": "2026-02-08T03:06:54.478974Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T03:06:54.699459Z"}, "problem_hash": "bc7234", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 3204}, "timestamp": "2026-02-09T03:46:43.198Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 6331}, "timestamp": "2026-02-09T15:58:56.507Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:37:22.266Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "V7": "ok", "L3B": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "K15": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "valid"} +{"id": "c5f0bb", "alias": "nt_max_prime_below_v1_124444284_6534", "problem": "Let $d$ be a positive divisor of 14 that is at most 2. Let $n$ be a prime number such that $n \\geq d$ and $n \\leq 10667$. Determine the value of the largest such prime $n$.", "answer": 10667, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"upper\": Const(10667),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\")))))), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.252, "created_at": "2026-02-08T08:30:24.892867Z", "verification": {"verified": true, "answer": 10667, "timestamp": "2026-02-08T08:30:25.144660Z"}, "problem_hash": "ffe2fb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10667, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 254}, "timestamp": "2026-02-12T01:57:43.663Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K5": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "c40c73", "alias": "nt_count_coprime_and_v1_677425708_3365", "problem": "Let $N$ be the number of positive integers $n \\leq 26301$ such that $\\gcd(n, 9) = \\sum_{d\\mid \\gcd(15,22)} \\mu(d)$ and $\\gcd(n, k_2) = 1$, where $k_2 = \\sum_{d\\mid 11} \\phi(d)$. Compute the value of $N$.", "answer": 15940, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(26301),\n \"k1\": Const(9),\n \"k2\": SumOverDivisors(n=Const(value=11), 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(GCD(a=Var(\"n\"), b=Ref(\"k1\")), SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d')))), 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": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "K3"], "recipe_id": "bc2273", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 9.246, "created_at": "2026-02-08T05:40:27.876213Z", "verification": {"verified": true, "answer": 15940, "timestamp": "2026-02-08T05:40:37.122053Z"}, "problem_hash": "389f8f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K3": "ok", "MOBIUS_COPRIME": "ok", "DS2": "no", "K16": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no"}, "split": "valid"} +{"id": "25220b", "alias": "comb_binomial_compute_v1_898971024_2968", "problem": "Let $T$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $T$. Let $k$ be the largest prime number $n_2$ such that $n_2 \\geq m$ and $n_2 \\leq 10$. Compute $\\binom{12}{k}$, then find the remainder when $44121$ times this binomial coefficient is divided by $95563$.", "answer": 63337, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(95563),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(10)), IsPrime(Var(\"n1\"))))),\n \"n\": Const(12),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), 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(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "5bbe0a", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T17:05:47.453914Z", "verification": {"verified": true, "answer": 63337, "timestamp": "2026-02-08T17:05:47.463129Z"}, "problem_hash": "b82abe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 485}, "timestamp": "2026-02-12T21:46:55.333Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "92cba1", "alias": "modular_product_range_v1_1248542787_513", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 2895$, $5$ divides $n$, and $\\gcd(n, 14) = 1$. Let $P = \\prod_{i=24}^{A} i$, and let $r$ be the remainder when $P$ is divided by $11867$. Let $e$ be the largest integer such that $5^e$ divides $395!$. Compute the remainder when\n$$\n353702 \\cdot (r \\bmod e) + 329703 \\cdot \\left(r^2 \\bmod d_0\\right) + 215534 \\cdot \\left((r + 44) \\bmod 103\\right)\n$$\nis divided by $81253$, where $d_0$ is the smallest integer greater than $1$ that divides $1071509$.", "answer": 72424, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(81253),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2895)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(24), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11867)),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxKDivides(target=Factorial(Const(395)), base=Const(5)))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_m\")), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1071509))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(44)), modulus=Const(103)))), modulus=Const(1009091)), 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", "V1", "C5/V1"], "recipe_id": "a72ba6", "seed_template_id": "modular_product_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T03:11:07.596319Z", "verification": {"verified": true, "answer": 72424, "timestamp": "2026-02-08T03:11:07.606484Z"}, "problem_hash": "c3e030", "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": 310, "completion_tokens": 8192}, "timestamp": "2026-02-09T05:03:30.384Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 58148, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 4297}, "timestamp": "2026-02-09T17:42:59.521Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:12:23.156Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "18514e", "alias": "nt_count_divisible_v1_677425708_2582", "problem": "Let $n$ be a positive integer. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq 30976$ and $n$ is divisible by 10. Let $A$ be the number of elements in this set.\n\nLet $B$ be the sum\n$$\n\\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |A| \\right) \\cdot (i+1)^2,\n$$\nwhere $d$ is the number of digits in $|A|$.\n\nLet $C$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 229549320$.\n\nCompute $B + C$.", "answer": 123, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(30976),\n \"divisor\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), EulerPhi(n=SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d'))))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_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=229549320)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["COPRIME_PAIRS", "MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "1d7766", "seed_template_id": "nt_count_divisible_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 11.875, "created_at": "2026-02-08T05:08:06.329815Z", "verification": {"verified": true, "answer": 123, "timestamp": "2026-02-08T05:08:18.204574Z"}, "problem_hash": "3eb11d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_1": "ok", "DS2": "no", "K17": "no", "L3c": "no", "LTE_SUM": "no", "V7": "no"}, "split": "valid"} +{"id": "e843fc", "alias": "nt_count_squarefree_v1_1742523217_4643", "problem": "Let $n$ be a positive integer. Define the result to be the number of integers $n$ with $1 \\leq n \\leq 36100$ such that $\\mu(n)^2 = 1$, where $\\mu$ denotes the Möbius function. Let $Q$ be the sum of two terms: the first term is the sum over the digits $d_i$ of the absolute value of the result, where each digit at position $i$ (starting from the units place as position 0) is multiplied by $(i+1)^2$, and the second term is the largest integer $k$ such that $11^k$ divides $31372!$. Compute $Q$.", "answer": 3305, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"upper\": Const(36100),\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\": Sum(Summation(var=\"i\", start=Const(0), 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)))), MaxKDivides(target=Factorial(Const(31372)), base=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1", "ONE_PHI_1"], "recipe_id": "3a1fd0", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "V1"], "num_lemmas": 2, "generation_time": 16.102, "created_at": "2026-02-08T09:00:36.853359Z", "verification": {"verified": true, "answer": 3305, "timestamp": "2026-02-08T09:00:52.955751Z"}, "problem_hash": "78d561", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"ONE_PHI_1": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K13": "no", "K18": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no"}, "split": "valid"} +{"id": "9e3504", "alias": "nt_count_divisible_v1_1978505735_3371", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 121$. Let $d$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $r$ be the number of positive integers $n$ such that $1 \\le n \\le 36864$ and $n \\equiv 0 \\pmod{d}$. Let $c$ be the number of integers $t$ such that $33 \\le t \\le 591$ and $t = 12a + 21b$ for some positive integers $a \\le 30$ and $b \\le 11$. Compute the remainder when $r^2 + d' \\cdot r + c$ is divided by $96185$, where $d'$ is the smallest prime divisor of $1230731$.", "answer": 65004, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(96185),\n \"upper\": Const(36864),\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\")), Const(121)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_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=30)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=591)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1230731))))), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "LIN_FORM", "B3"], "recipe_id": "05fe6f", "seed_template_id": "nt_count_divisible_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 1.288, "created_at": "2026-02-08T17:35:38.105666Z", "verification": {"verified": true, "answer": 65004, "timestamp": "2026-02-08T17:35:39.393533Z"}, "problem_hash": "77d8a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 467}, "timestamp": "2026-02-12T22:50:23.655Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bc5cfd", "alias": "comb_count_partitions_v1_124444284_8087", "problem": "Let $N$ be the number of integers $t$ such that $20\\le t\\le 924$ and there exist integers $a$ and $b$ with $1\\le a\\le 91$ and $1\\le b\\le 27$ satisfying\n$$t = 6a + 14b.$$\nAmong all ordered pairs $(x,y)$ of positive integers such that\n$$xy = N,$$\nlet $n$ be the minimum possible value of $x+y$.\n\nLet $P(n)$ denote the number of integer partitions of $n$, and let $R = P(n)$. Let $c=19600$ and $m=83875$. Define\n$$Q \\equiv c - R \\pmod{m},$$\nwith $0\\le Q < m$. Find the value of $Q$. ", "answer": 50301, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83875),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=91)), 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=20)), Leq(left=Var(name='t'), right=Const(value=924)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=14), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(19600),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T09:33:34.521241Z", "verification": {"verified": true, "answer": 50301, "timestamp": "2026-02-08T09:33:34.523379Z"}, "problem_hash": "b59428", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31855, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 4676}, "timestamp": "2026-02-14T04:47:28.889Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 439}, "timestamp": "2026-02-12T03:00:37.959Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "4f7615", "alias": "geo_count_lattice_rect_v1_50713871_41", "problem": "Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 80$ and $0 \\leq y \\leq 92$.", "answer": 7533, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(80),\n \"b\": Const(92),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.0, "created_at": "2026-02-08T02:43:52.581489Z", "verification": {"verified": true, "answer": 7533, "timestamp": "2026-02-08T02:43:52.581898Z"}, "problem_hash": "b40479", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7533, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 158}, "timestamp": "2026-02-08T19:45:15.656Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7533, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 191}, "timestamp": "2026-02-09T19:17:17.598Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 7533, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 98, "completion_tokens": 3940}, "timestamp": "2026-02-09T23:41:11.757Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7533, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 95, "completion_tokens": 307}, "timestamp": "2026-02-10T13:50:21.914Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7533, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 81, "completion_tokens": 352}, "timestamp": "2026-02-09T23:13:51.683Z"}, {"id": 8, "model": "mathstral", "answer": 14843, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 91, "completion_tokens": 392}, "timestamp": "2026-02-11T02:56:00.131Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7533, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 179}, "timestamp": "2026-02-11T19:40:08.193Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -8.6, "hi": -6.14}, "split": "valid"} +{"id": "5a815c", "alias": "diophantine_fbi2_min_v1_124444284_5160", "problem": "Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 18$, and let $k$ be the maximum value of $xy$ over all such pairs. Let $u = 91$. Define $d_{\\text{min}}$ to be the smallest integer $d$ such that $7 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq \\max\\{p \\mid p \\text{ is a prime and } 2 \\leq p \\leq 4\\}$. Compute the remainder when $31066 \\cdot d_{\\text{min}}$ is divided by $95313$.", "answer": 88968, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95313),\n \"k\": 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(18)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(91),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))))))),\n \"_c\": Const(31066),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "B1"], "recipe_id": "7086d0", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T06:25:40.095901Z", "verification": {"verified": true, "answer": 88968, "timestamp": "2026-02-08T06:25:40.108038Z"}, "problem_hash": "7db233", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 88968, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 900}, "timestamp": "2026-02-12T23:44:10.162Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 93198, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 460}, "timestamp": "2026-02-12T00:01:12.919Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "K15": "no", "L3b": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8f488c", "alias": "nt_count_coprime_and_v1_1520064083_3708", "problem": "Let $p_1 = 11$ and $q_1 = 31$, and define $n_1 = p_1 q_1$. Let $t$ be the remainder when the number of positive divisors of $n_1$ is divided by the largest power of $2$ that divides $\\binom{170}{68}$. Let $p = 59$ and let $q$ be the largest prime number $n$ such that $2 \\leq n \\leq 17$. Define $n = p^2 q$. Let $v = \\mu(n)^2$, where $\\mu$ is the Möbius function. Let $k_1 = 9$ and $k_2 = 11 + t$. Let $S$ be the set of all positive integers $n \\leq 45766$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Compute the value of $(82927 \\cdot |S|) \\bmod (87804 + v)$.", "answer": 32615, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(11),\n \"q1\": Const(31),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=MaxKDivides(target=Binom(n=Const(170), k=Const(68)), base=Const(2))),\n \"p\": Const(59),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(17)), IsPrime(Var(\"n\"))))),\n \"n\": Mul(Pow(Ref(\"p\"), Ref(\"_n\")), Ref(\"q\")),\n \"v\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(45766),\n \"k1\": Const(9),\n \"k2\": Sum(Const(11), Ref(\"t\")),\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(82927),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(87804), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "V7/DIVISOR_PARITY"], "recipe_id": "6d2ee6", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "V7"], "num_lemmas": 4, "generation_time": 9.021, "created_at": "2026-02-08T05:49:28.872149Z", "verification": {"verified": true, "answer": 32615, "timestamp": "2026-02-08T05:49:37.893454Z"}, "problem_hash": "49e876", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V7": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K13": "no", "L3c": "no", "V5": "no"}, "split": "valid"} +{"id": "1029d2", "alias": "nt_count_divisible_and_v1_1520064083_1034", "problem": "Let $c = 13$, $m = 14$, and $n_0 = 3$. Let $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 26$. Let $e$ be the largest nonnegative integer such that $c^e$ divides $m^M - 1$.\nDefine\n$$d_1 = \\sum_{k=1}^{e} \\varphi(k) \\left\\lfloor \\frac{n_0}{k} \\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $d_2 = 10$ and $U = 54900$.\nLet $N$ be the number of integers $n$ with $1 \\le n \\le U$ such that $n$ is divisible by both $d_1$ and $d_2$.\nFind the value of $N$.", "answer": 1830, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(13),\n \"_m\": Const(14),\n \"_n\": Const(3),\n \"upper\": Const(54900),\n \"d1\": Summation(var=\"k\", start=Const(1), end=MaxKDivides(target=Sub(Pow(Ref(\"_m\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(26)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Const(1)), base=Ref(\"_c\")), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"d2\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LTE_DIFF/K2", "B1/LTE_DIFF/K2"], "recipe_id": "8521cd", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "K2", "LIN_FORM", "LTE_DIFF"], "num_lemmas": 4, "generation_time": 1.851, "created_at": "2026-02-08T03:43:32.178119Z", "verification": {"verified": true, "answer": 1830, "timestamp": "2026-02-08T03:43:34.029207Z"}, "problem_hash": "a0cbba", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "K2": "ok_later", "LTE_DIFF": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K18": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "valid"} +{"id": "ae8afc", "alias": "nt_count_divisors_in_range_v1_153355830_1881", "problem": "Let $m = 2$ and let $n = 221760$. Define $a$ to be the largest prime number at least $m$ and at most 56. Let $b = 31686$. Let $S$ be the set of all positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the number of elements in $S$, and let this count be $c$. Find the value of $$c + 2^c \\bmod 55192,$$ where the exponentiation and modulo operations are performed with the standard nonnegative remainder.", "answer": 2179, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")),\n \"n\": Const(221760),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(56)), IsPrime(Var(\"n\"))))),\n \"b\": Const(31686),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\"))), modulus=Const(55192))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["SUM_ARITHMETIC/MAX_PRIME_BELOW"], "recipe_id": "6ca83a", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.397, "created_at": "2026-02-08T06:44:55.284992Z", "verification": {"verified": true, "answer": 2179, "timestamp": "2026-02-08T06:44:55.681984Z"}, "problem_hash": "76431f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3131, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 4041}, "timestamp": "2026-02-13T04:33:58.530Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 494}, "timestamp": "2026-02-12T00:29:49.265Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K15": "no", "MOD_MUL": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "f19f6d", "alias": "comb_count_derangements_v1_784195855_7096", "problem": "Let $n$ be the largest positive divisor of $88$ that is at most $8$. Compute the number of derangements of $n$ elements.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\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(88))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:05:28.944862Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T09:05:28.945842Z"}, "problem_hash": "150eac", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14833, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 79, "completion_tokens": 1429}, "timestamp": "2026-02-14T00:11:40.592Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 337}, "timestamp": "2026-02-12T02:30:45.199Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e2fcfb", "alias": "nt_euler_phi_compute_v1_1918700295_1565", "problem": "Let $N = 54289$. Let $S$ be the set of all ordered pairs of positive integers $(p, q)$ such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_0$ be the number of elements in $S$. Let $n_1 = \\varphi(n_0) + \\Omega(1)$, where $\\varphi$ denotes Euler's totient function and $\\Omega(k)$ denotes the number of prime factors of $k$ counted with multiplicity. Let $f = \\Omega(n_1)$. Let $n = N + f$. Compute $\\varphi(n)$.", "answer": 54056, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54289),\n \"n2\": Const(1),\n \"h\": BigOmega(n=Ref(name='n2')),\n \"n1\": Sum(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=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')))))))), Ref(\"h\")),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Ref(\"_n\"), Ref(\"f\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2/BIG_OMEGA_ZERO"], "recipe_id": "f628bd", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "COPRIME_PAIRS", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:53:14.234128Z", "verification": {"verified": true, "answer": 54056, "timestamp": "2026-02-08T05:53:14.237025Z"}, "problem_hash": "25c915", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "BIG_OMEGA_ZERO": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "23ea81", "alias": "antilemma_count_primes_v1_151522320_553", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq d$, where $d$ is the smallest divisor of $1044449415299$ that is at least $2$. Let $m = 512$ and $n = 92343$. Compute the remainder when $B_{!k}$ is divided by $n$, where $k$ is the exponent of the highest power of $2$ that divides $7^m - 5^m$, and $B_{!k}$ denotes the Bell number indexed by $k \\bmod 2$.", "answer": 23632, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(512),\n \"_n\": Const(92343),\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\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1044449415299)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=MaxKDivides(target=Sub(Pow(Const(7), Const(512)), Pow(Const(5), Ref(\"_m\"))), base=Const(2)))), modulus=Ref(\"_n\")),\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/COUNT_PRIMES", "LTE_DIFF_P2", "COUNT_PRIMES"], "recipe_id": "f7b913", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LTE_DIFF_P2", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:22:30.761627Z", "verification": {"verified": true, "answer": 23632, "timestamp": "2026-02-08T03:22:30.763613Z"}, "problem_hash": "fa2314", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LTE_DIFF_P2": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "15e935", "alias": "comb_factorial_compute_v1_1874849503_108", "problem": "Let $n$ be the number of positive integers $k$ such that $\\gcd(k, 6) = 1$ and $1 \\leq k \\leq p$, where $p$ is the largest prime number at most $21$. Compute the value of $n!$.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(21)), IsPrime(Var(\"n\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))),\n \"result\": Factorial(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C4", "ONE_PHI_2"], "recipe_id": "7c31e7", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T12:48:43.612544Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T12:48:43.616676Z"}, "problem_hash": "dafbd5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 3561}, "timestamp": "2026-02-09T13:52:07.217Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 774}, "timestamp": "2026-02-10T03:11:53.875Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 119, "completion_tokens": 5521}, "timestamp": "2026-02-10T03:49:32.503Z"}], "solution_status": 2, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "C4": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "K5": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "6fca75", "alias": "antilemma_count_primes_v1_1918700295_1873", "problem": "Let $n$ be the number of positive integers $k$ such that $1 \\le k \\le 158031$ and $81$ divides $k$. Let $x$ be the number of prime numbers $n$ such that $2 \\le n \\le n$. Let $c$ be the smallest integer $d \\ge 2$ that divides $344324365169$. Compute the remainder when $x \\bmod 307 + c \\cdot (x \\bmod 317)$ is divided by $50108$.", "answer": 25166, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(158031)), Divides(divisor=Const(81), 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 \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(344324365169))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(307)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(317)))), modulus=Const(50108)),\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/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "778988", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:08:06.527264Z", "verification": {"verified": true, "answer": 25166, "timestamp": "2026-02-08T06:08:06.531169Z"}, "problem_hash": "ea68d7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "1beb7a", "alias": "diophantine_fbi2_count_v1_124444284_6429", "problem": "Let $k = 360$. Compute the number of positive integers $d$ such that $6 \\leq d \\leq 205$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 201$.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(360),\n \"a\": Const(5),\n \"b\": Const(1),\n \"upper\": Const(200),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(205)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(201))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["SUM_ARITHMETIC", "K2"], "recipe_id": "2a0f86", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "K2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.078, "created_at": "2026-02-08T08:22:59.623202Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T08:22:59.701497Z"}, "problem_hash": "608ecc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 537}, "timestamp": "2026-02-12T01:55:36.862Z"}], "solution_status": 2, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "316fb8", "alias": "nt_count_intersection_v1_1520064083_8166", "problem": "Let $m$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=8503056$.\n\nLet $n$ 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\\[\n x_1+x_2=m.\n\\]\n\nLet $N=100000$, $a=11$, and $b=10$. Let $r$ be the number of integers $k$ with $1\\le k\\le N$ such that $11$ divides $k$ and $\\gcd(k,10)=1$.\n\nLet\n\\[\nC=\\sum_{d\\mid n} \\varphi(d),\n\\]\nwhere the sum is taken over all positive divisors $d$ of $n$.\n\nDefine $Q$ to be the remainder when $C-r$ is divided by $71742$, taken in the set $\\{0,1,2,\\dots,71741\\}$.\n\nFind the value of $Q$.", "answer": 71022, "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(8503056)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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(100000),\n \"a\": Const(11),\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\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(71742)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COMB1/K3"], "recipe_id": "1cfc05", "seed_template_id": "nt_count_intersection_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "K3"], "num_lemmas": 3, "generation_time": 14.332, "created_at": "2026-02-08T10:02:41.903326Z", "verification": {"verified": true, "answer": 71022, "timestamp": "2026-02-08T10:02:56.235787Z"}, "problem_hash": "c39394", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71022, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1764}, "timestamp": "2026-02-14T06:08:37.159Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 355, "completion_tokens": 465}, "timestamp": "2026-02-12T03:10:03.766Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COMB1": "ok_later", "K3": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "K5": "no", "L3b": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "d5945a", "alias": "nt_sum_gcd_range_mod_v1_784195855_996", "problem": "Let $N = 1089$ and $k = 336$. Define\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $M = 11243$, and define\n$$\n\\text{result} = \\text{sum} \\bmod M.\n$$\nLet $c = 62737$, and define\n$$\nQ = (c \\cdot \\text{result}) \\bmod 59041.\n$$\nCompute $Q$.", "answer": 3650, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(1089),\n \"k\": Const(336),\n \"M\": Const(11243),\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\": Const(62737),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59041)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/COMB1"], "recipe_id": "aa4ba4", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "COMB1"], "num_lemmas": 2, "generation_time": 0.246, "created_at": "2026-02-08T04:44:32.525709Z", "verification": {"verified": true, "answer": 3650, "timestamp": "2026-02-08T04:44:32.771596Z"}, "problem_hash": "73c234", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 3650, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 3378}, "timestamp": "2026-02-11T22:00:08.029Z"}, {"id": 8, "model": "mathstral", "answer": 48640, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 842}, "timestamp": "2026-02-14T00:17:17.409Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 433}, "timestamp": "2026-02-11T21:50:07.202Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "COMB1": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "a00e7a", "alias": "antilemma_k2_v1_124444284_2668", "problem": "Let $n = 58564$. Define\n$$\nx = \\sum_{k=1}^{118} \\phi(k) \\left\\lfloor \\frac{\\sum_{d \\mid 118} \\phi(d)}{k} \\right\\rfloor.\n$$\nLet $D$ be the number of digits in $|x|$. Compute\n$$\n\\sum_{i=0}^{D-1} \\left( \\text{the } i\\text{-th digit of } |x| \\right) \\cdot (i+1)^2 + n.\n$$", "answer": 58685, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(58564),\n \"x\": Summation(var=\"k\", start=Const(1), end=Const(118), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=Const(value=118), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Const(66), Const(66)), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Div(Const(44), Const(44))), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), 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": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "IDENTITY_SUB_SELF", "lemma_paths": ["IDENTITY_SUB_SELF", "IDENTITY_DIV_SELF", "K3/K2", "K2"], "recipe_id": "d9046a", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF", "IDENTITY_SUB_SELF", "K2", "K3"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T04:52:12.315456Z", "verification": {"verified": true, "answer": 58685, "timestamp": "2026-02-08T04:52:12.318249Z"}, "problem_hash": "75c601", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 58685, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 1867}, "timestamp": "2026-02-11T22:18:24.729Z"}, {"id": 8, "model": "mathstral", "answer": 58730, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 910}, "timestamp": "2026-02-14T02:45:46.809Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 511}, "timestamp": "2026-02-11T21:59:50.358Z"}], "solution_status": 1, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok", "IDENTITY_SUB_SELF": "ok", "K2": "ok", "K3": "ok", "L3b": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "edca53", "alias": "diophantine_fbi2_min_v1_1520064083_311", "problem": "Let $d$ be an integer such that $5 \\le d \\le 24$, $d$ divides $14$, and $\\frac{14}{d} \\ge 2$. Determine the value of the smallest such $d$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(14),\n \"a\": Const(4),\n \"b\": Const(1),\n \"upper\": Const(24),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "OMEGA_ONE", "lemma_paths": ["OMEGA_ONE", "LIN_FORM", "WILSON"], "recipe_id": "a6aa9b", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "OMEGA_ONE", "WILSON"], "num_lemmas": 3, "generation_time": 0.052, "created_at": "2026-02-08T03:14:37.507153Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T03:14:37.559248Z"}, "problem_hash": "ebc60c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 425}, "timestamp": "2026-02-10T13:37:08.681Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 282}, "timestamp": "2026-02-10T13:06:45.582Z"}, {"id": 8, "model": "mathstral", "answer": 7, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 125}, "timestamp": "2026-02-11T17:19:02.736Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 250}, "timestamp": "2026-02-11T19:24:34.156Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ONE": "ok", "WILSON": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "7bc3d9", "alias": "nt_sum_over_divisible_v1_717093673_3742", "problem": "Compute the sum of all positive integers $n$ such that $1 \\leq n \\leq 77841$ and $n$ is divisible by 72. Let $S$ be this sum. Let $A = 353702 \\cdot (S \\bmod 97)$, $B = 329703 \\cdot \\left((S^2 + 1) \\bmod d_0\\right)$ where $d_0$ is the smallest divisor of 10403 that is at least 2, and $C = 215534 \\cdot \\left((S + 6) \\bmod M\\right)$ where $M$ is the number of integers $t$ with $8 \\leq t \\leq 118$ such that $t = 3a + 5b$ for some integers $a, b$ with $1 \\leq a \\leq 21$, $1 \\leq b \\leq 11$. Let $Q = (A + B + C) \\bmod 1009091$, and compute $Q \\bmod 86906$.", "answer": 84647, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(77841),\n \"divisor\": Const(72),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(6),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(10403))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=21)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=118)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), modulus=Const(1009091)), modulus=Const(86906)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "LIN_FORM"], "recipe_id": "e2ef0b", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.92, "created_at": "2026-02-08T17:49:35.675953Z", "verification": {"verified": true, "answer": 84647, "timestamp": "2026-02-08T17:49:38.595991Z"}, "problem_hash": "e2adb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 354, "completion_tokens": 430}, "timestamp": "2026-02-12T23:15:20.309Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "K16": "no", "K18": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "309e66", "alias": "nt_sum_phi_v1_1978505735_7628", "problem": "Let $n = 512$. Let $D$ be the set of all positive divisors of $276992$ that are at most $n$. Let $d_{\\text{max}}$ be the largest element in $D$. Compute the sum of $\\phi(k)$ for all positive integers $k$ from $1$ to $d_{\\text{max}}$.", "answer": 79852, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(512),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(276992))))),\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_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.042, "created_at": "2026-02-08T20:21:55.748808Z", "verification": {"verified": true, "answer": 79852, "timestamp": "2026-02-08T20:21:55.790785Z"}, "problem_hash": "6009eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 465}, "timestamp": "2026-02-13T01:21:25.356Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K18": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0132e1", "alias": "nt_max_prime_below_v1_1520064083_3373", "problem": "Let $r$ be the largest prime number less than or equal to $48841$. Let $c$ be the number of positive multiples of $128$ between $\\phi(2)$ and $67712$, inclusive. Compute the remainder when $c - r$ is divided by $74174$.", "answer": 25880, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(48841),\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=Sub(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(2))), Leq(Var(\"k\"), Const(67712)), Divides(divisor=Const(128), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"result\")), modulus=Const(74174)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2", "ONE_PHI_2"], "recipe_id": "07fb06", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 1.4, "created_at": "2026-02-08T05:36:30.165027Z", "verification": {"verified": true, "answer": 25880, "timestamp": "2026-02-08T05:36:31.564628Z"}, "problem_hash": "c78950", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "ONE_PHI_2": "ok", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "7f16be", "alias": "nt_count_coprime_and_v1_349078426_1653", "problem": "Let $k_1 = 8$ and let $k_2$ be the largest digit from 1 to 9 that divides 117. Determine the number of positive integers $n$ such that $1 \\leq n \\leq 10116$, $\\gcd(n, 8) = 1$, and $\\gcd(n, k_2) = 1$.\n\nFind the value of this number.", "answer": 3372, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(10116),\n \"k1\": Const(8),\n \"k2\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(9)), Divides(divisor=Var(\"d\"), dividend=Const(117))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 1.063, "created_at": "2026-02-08T13:49:12.813793Z", "verification": {"verified": true, "answer": 3372, "timestamp": "2026-02-08T13:49:13.876302Z"}, "problem_hash": "64b07e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1672, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 531}, "timestamp": "2026-02-12T07:24:16.238Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "faf2c3", "alias": "modular_product_range_v1_1918700295_486", "problem": "Let $m = 2$. Let $S$ be the set of all integers $n$ such that $n \\geq \\sum_{d \\mid \\gcd(15,22)} \\mu(d)$, $n \\leq 36$, and $n \\equiv 0 \\pmod{9}$. Let $p$ be the product $\\prod_{i=k}^{466} i$, where $k$ is the largest prime number in the interval $[m, \\max(S)]$. Compute the remainder when $p$ is divided by $10253$.", "answer": 4128, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=15), b=Const(value=22)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(36)), Eq(Mod(value=Var(\"n\"), modulus=Const(9)), Const(0))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), end=Const(466)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10253)),\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/MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "recipe_id": "d78ad2", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_COPRIME", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T03:17:25.407583Z", "verification": {"verified": true, "answer": 4128, "timestamp": "2026-02-08T03:17:25.417222Z"}, "problem_hash": "ad2396", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "SUM_DIVISIBLE": "ok", "MAX_PRIME_BELOW": "ok_later", "L3b": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "c04692", "alias": "geo_visible_lattice_v1_124444284_8702", "problem": "Let $n = 80$. Define $R$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\le x, y \\le n$ and $\\gcd(x, y) = 1$. Compute the remainder when $$\\sum_{k=1}^{R} \\phi(k)$$ is divided by $88447$.", "answer": 11535, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(80),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(13), Const(13)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(88447)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.344, "created_at": "2026-02-08T11:52:30.453534Z", "verification": {"verified": true, "answer": 11535, "timestamp": "2026-02-08T11:52:30.797273Z"}, "problem_hash": "32e060", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44223, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 122, "completion_tokens": 6815}, "timestamp": "2026-02-14T20:15:58.496Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 615}, "timestamp": "2026-02-12T04:43:52.868Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "bdc06c", "alias": "nt_min_coprime_above_v1_655260480_1983", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of positive integers with $1 \\leq a \\leq 15$ and $1 \\leq b \\leq 20$. Let $m$ be the number of elements in $S$. Determine the smallest integer $n$ such that $32768 < n \\leq 33078$ and $\\gcd(n, m) = 1$. Compute the remainder when $59195 \\cdot n$ is divided by 94176.", "answer": 42097, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59195),\n \"start\": Const(32768),\n \"upper\": Const(33078),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(20)))),\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(Ref(\"_n\"), Ref(\"result\")), modulus=Const(94176)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.053, "created_at": "2026-02-08T16:30:06.525676Z", "verification": {"verified": true, "answer": 42097, "timestamp": "2026-02-08T16:30:06.578734Z"}, "problem_hash": "2a5678", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 343}, "timestamp": "2026-02-12T10:45:48.233Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K17": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8e63b7", "alias": "algebra_poly_eval_v1_2051736721_2571", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 36$. Define $m$ to be the minimum value of $x + y$ as $(x,y)$ ranges over $S$. Compute the value of\n\\[\n3m^4 - 8m^3 - 3m^2 + m \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor - 6.\n\\]", "answer": 48066, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\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(36)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Sum(Mul(Const(3), Pow(Ref(\"m\"), Const(4))), Mul(Const(-8), Pow(Ref(\"m\"), Const(3))), Mul(Const(-3), Pow(Ref(\"m\"), Const(2))), Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))), Ref(\"m\")), Const(-6)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "B3"], "recipe_id": "f1ea07", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T16:47:33.768960Z", "verification": {"verified": true, "answer": 48066, "timestamp": "2026-02-08T16:47:33.775224Z"}, "problem_hash": "58caa6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 522}, "timestamp": "2026-02-12T21:02:40.858Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "K14": "no", "K17": "no", "K18": "no", "L3c": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7c53dc", "alias": "antilemma_v8_lucas_1742523217_4557", "problem": "Let $m = 82839$ and $n = 5994$. Define $S$ as the set of all nonnegative integers $j$ such that $j \\leq \\min\\left\\{x + y \\mid x, y \\text{ are positive integers and } xy = 8982009\\right\\}$ and $\\binom{n}{j}$ is odd. Let $x$ be the number of elements in $S$. Compute the remainder when $14021x$ is divided by $m$.", "answer": 27299, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82839),\n \"_n\": Const(5994),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(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\")), Const(8982009)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Mul(Const(14021), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V8", "V8"], "recipe_id": "f5bde1", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:58:06.080838Z", "verification": {"verified": true, "answer": 27299, "timestamp": "2026-02-08T08:58:06.082598Z"}, "problem_hash": "3970bd", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "V8": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "20b624", "alias": "nt_gcd_compute_v1_1248542787_545", "problem": "Let $a = 64580$, $b = 142076$, and $m = 81592$. Let $d = \\gcd(a, b)$ and let $c$ be the number of ordered pairs $(i,j)$ where $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 6$. Let $n = 2$. Let $M$ be the largest prime number $n$ such that $2 \\leq n \\leq 43$. Compute the remainder when $d^2 + M \\cdot d + c$ is divided by $81592$.", "answer": 33288, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(81592),\n \"_n\": Const(2),\n \"a\": Const(64580),\n \"b\": Const(142076),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(43)), IsPrime(Var(\"n\"))))), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COUNT_CARTESIAN"], "recipe_id": "c11072", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:12:27.065722Z", "verification": {"verified": true, "answer": 33288, "timestamp": "2026-02-08T03:12:27.068139Z"}, "problem_hash": "d569ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33288, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1971}, "timestamp": "2026-02-09T05:26:21.715Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 33288, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 1520}, "timestamp": "2026-02-09T18:04:29.610Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:37:18.022Z"}, {"id": 8, "model": "mathstral", "answer": 88984, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 958}, "timestamp": "2026-02-12T12:07:39.690Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 417}, "timestamp": "2026-02-11T20:34:40.607Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "K5": "no", "MAX_VAL": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.84, "mid": -2.81, "hi": 1.35}, "split": "valid"} +{"id": "74dbd4", "alias": "nt_count_gcd_equals_v1_1742523217_712", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 334084$. Define $T$ to be the set of all values $x+y$ where $(x,y) \\in S$. Let $m$ be the minimum value in $T$. Define $k$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $m$. Determine the number of positive integers $n$ such that $1 \\le n \\le 24964$ and $\\gcd(n, k) = 4$.", "answer": 5874, "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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(334084)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(24964),\n \"k\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"d\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B3/K3"], "recipe_id": "cc9cf6", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K3"], "num_lemmas": 2, "generation_time": 2.298, "created_at": "2026-02-08T03:11:30.804657Z", "verification": {"verified": true, "answer": 5874, "timestamp": "2026-02-08T03:11:33.102724Z"}, "problem_hash": "7486f0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5874, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 1981}, "timestamp": "2026-02-09T21:38:03.265Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5874, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 236, "completion_tokens": 1623}, "timestamp": "2026-02-09T06:11:24.903Z"}, {"id": 8, "model": "mathstral", "answer": 6241, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 505}, "timestamp": "2026-02-11T16:54:17.035Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 587}, "timestamp": "2026-02-11T20:27:55.479Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K3": "ok_later", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "41cf8d", "alias": "nt_sum_divisors_compute_v1_153355830_816", "problem": "Let $g = 4$, $m = 6$, and $n_2 = 4$. Define $a = g \\cdot m$ and $b = g \\cdot n_2$. Let $t$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the M\\\"obius function. Let $n_1$ be the largest integer $k$ such that $31^k$ divides $29791^71$. Define $v = \\mu(n_1)^{2 + t}$. Let $n = 43681 \\cdot v$. Compute the sum of all positive divisors of $n$.", "answer": 50673, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(43681),\n \"g\": Const(4),\n \"m\": Const(6),\n \"n2\": Const(4),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n2\")),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": MaxKDivides(target=Pow(Const(29791), Const(71)), base=Const(31)),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Sum(Const(2), Ref(\"t\"))),\n \"n\": Mul(Ref(\"_n\"), 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": "K14", "lemma_paths": ["K14/MOBIUS_SQUAREFREE", "MOBIUS_COPRIME"], "recipe_id": "f1692d", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["K14", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:11:23.577767Z", "verification": {"verified": true, "answer": 50673, "timestamp": "2026-02-08T04:11:23.581685Z"}, "problem_hash": "acee26", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K15": "no", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "93b20d", "alias": "modular_mod_compute_v1_1978505735_4979", "problem": "Let $a = -34453$ and $m = 16384$. Compute the remainder when $a$ is divided by $m$. Let this remainder be $r$.\n\nLet $S$ be the set of all positive integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 67$, $1 \\leq b \\leq 75$, $7 \\leq t \\leq 509$, and $t = 2a + 5b$. Compute the number of elements in $S$. Let this number be $k$.\n\nCompute the sum of $\\phi(d)$ over all positive divisors $d$ of $3001$. Let this sum be $s$.\n\nCompute the value of $(r \\bmod 199 + s \\cdot (r \\bmod k)) \\bmod 54637$. Find the value of this result.", "answer": 28756, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(199),\n \"a\": Const(-34453),\n \"m\": Const(16384),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": SumOverDivisors(n=Const(value=3001), var='d', expr=EulerPhi(n=Var(name='d'))),\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=67)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=75)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=509)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), modulus=Const(54637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "K3"], "recipe_id": "83bac8", "seed_template_id": "modular_mod_compute_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T18:42:01.575104Z", "verification": {"verified": true, "answer": 28756, "timestamp": "2026-02-08T18:42:01.578691Z"}, "problem_hash": "b49843", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 599}, "timestamp": "2026-02-13T00:25:05.690Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4cad7e", "alias": "modular_mod_compute_v1_1915831931_1834", "problem": "Let $n = 82047$ and $a = -37636$. Define $r = a \\bmod 5184$. Let\n$$\nS = 353702 \\cdot \\left( |r| \\bmod \\left| \\left\\{ n \\in \\mathbb{Z}^+ : 1 \\leq n \\leq 1077,\\ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11} \\right\\} \\right| \\right) \n+ 329703 \\cdot \\left( |r|^2 \\bmod 1 \\right) \\bmod 101\n+ 215534 \\cdot \\left( |r| \\bmod \\max\\{ xy : x, y \\in \\mathbb{Z}^+,\\ x + y = 6 \\} \\right) \\bmod 103.\n$$\nCompute the remainder when $S \\bmod 1009091$ is divided by $n$.", "answer": 67185, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82047),\n \"a\": Const(-37636),\n \"m\": Const(5184),\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=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1077)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))))), 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')), 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\"))))), modulus=Const(103)))), 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": "L3C", "lemma_paths": ["L3C", "B1"], "recipe_id": "e5b9e6", "seed_template_id": "modular_mod_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "L3C"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T16:29:00.176254Z", "verification": {"verified": true, "answer": 67185, "timestamp": "2026-02-08T16:29:00.183419Z"}, "problem_hash": "2cdd81", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 335, "completion_tokens": 523}, "timestamp": "2026-02-12T10:47:02.460Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "L3C": "ok", "K13": "no", "K14": "no", "K18": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c5c7cd", "alias": "algebra_poly_eval_v1_1978505735_7622", "problem": "Let $k$ be the number of nonnegative integers $j \\leq 51200$ for which $\\binom{51200}{j}$ is odd. Let $m$ be the number of positive integers $n \\leq 9$ such that the sum of the digits of $n$ is even. Define $$\nresult = 2k^m - 5k^3 - 10k^2 - 2k - 5.\n$$ Compute the remainder when $65733 \\cdot \\mathrm{result}$ is divided by $55828$.", "answer": 53287, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(2),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(51200)), Eq(Mod(value=Binom(n=Const(51200), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"result\": Sum(Mul(Const(2), Pow(Ref(\"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))))))), Mul(Const(-5), Pow(Ref(\"k\"), Const(3))), Mul(Const(-10), Pow(Ref(\"k\"), Const(2))), Mul(Const(-2), Ref(\"k\")), Const(-5)),\n \"_c\": Const(65733),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(55828)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "V8"], "recipe_id": "67780f", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "V8"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T20:21:53.522530Z", "verification": {"verified": true, "answer": 53287, "timestamp": "2026-02-08T20:21:53.526356Z"}, "problem_hash": "c153e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 709}, "timestamp": "2026-02-13T01:21:20.180Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "V8": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K18": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1b4749", "alias": "nt_count_phi_equals_v1_677425708_4196", "problem": "Let $F_n$ denote the $n$th Fibonacci number, defined by $F_1 = 1$, $F_2 = 1$, and $F_{n+2} = F_{n+1} + F_n$ for all integers $n \\ge 1$. Let $M = 66975$.\n\nLet $U$ be the number of integers $n$ with $1 \\le n \\le M$ such that $10$ divides $F_n$.\n\nLet\n$$N = 18287798260516399715452536772885455351230559917164778579442013491642122174507811130807168349762752474386928869653984451715528661796542700018016676694560659871448224278017364176135293435247232418650042973240488208830356597900390625.$$ \nLet $k$ be the largest integer such that $5^k$ divides $N^2$.\n\nLet $R$ be the number of integers $n$ with $1 \\le n \\le U$ such that $\\varphi(n) = k$, where $\\varphi$ is Euler's totient function.\n\nWrite $R$ in base $10$ with no leading zeros, and let its decimal digits (from units to highest place) be $d_0, d_1, \\dots, d_{t-1}$, where $t$ is the number of digits of $R$. Define\n$$Q = \\left( \\sum_{i=0}^{t-1} d_i (i+1)^2 \\right) + 2.$$\n\nCompute $Q$. ", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66975),\n \"_n\": Const(2),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(10), dividend=Fibonacci(arg=Var(name='n')))))),\n \"k\": MaxKDivides(target=Pow(Const(18287798260516399715452536772885455351230559917164778579442013491642122174507811130807168349762752474386928869653984451715528661796542700018016676694560659871448224278017364176135293435247232418650042973240488208830356597900390625), Ref(\"_n\")), base=Const(5)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": 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)))), Const(2)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "K14"], "recipe_id": "50bdfe", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "K14"], "num_lemmas": 3, "generation_time": 2.03, "created_at": "2026-02-08T06:29:21.636272Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T06:29:23.666048Z"}, "problem_hash": "2f435f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "K14": "ok", "K13": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "21697f", "alias": "comb_binomial_compute_v1_1915831931_4008", "problem": "Let $S$ be the set of integers $t$ in the range $5 \\leq t \\leq 55$ for which there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 23$, $1 \\leq b \\leq 3$, and $t = 2a + 3b$. Let $n$ be the smallest possible value of $x + y$ where $x$ and $y$ are positive integers such that $xy = |S|$. Compute the remainder when $44121 \\cdot \\binom{n}{8}$ is divided by $86501$.", "answer": 62332, "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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=23)), 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=55)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(86501)),\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/B3"], "recipe_id": "05313e", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T18:02:56.582152Z", "verification": {"verified": true, "answer": 62332, "timestamp": "2026-02-08T18:02:56.584951Z"}, "problem_hash": "558d34", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 561}, "timestamp": "2026-02-12T23:40:39.541Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a8f4d5", "alias": "nt_count_gcd_equals_v1_1820931509_259", "problem": "Let $A$ be the set of all integers $t$ such that $23 \\leq t \\leq 222$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 62$, $1 \\leq b \\leq 12$, and $t = 2a + 7b + 14$. Let $N = |A|$. Define $k$ to be the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ is divisible by $97$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 5184$ and $\\gcd(n, k) = 97$. Compute the remainder when $44121 \\cdot |S|$ is divided by $72494$.", "answer": 65982, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(5184),\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=62)), 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=23)), Leq(left=Var(name='t'), right=Const(value=222)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=14))))))))), Eq(Mod(value=Var(\"n\"), modulus=Const(97)), Const(0))))),\n \"d\": Const(97),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(72494)),\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"], "recipe_id": "a67711", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.42, "created_at": "2026-02-08T11:27:47.671468Z", "verification": {"verified": true, "answer": 65982, "timestamp": "2026-02-08T11:27:48.091717Z"}, "problem_hash": "16d94b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 4916}, "timestamp": "2026-02-14T14:39:04.798Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 561}, "timestamp": "2026-02-12T04:07:28.488Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "K15": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "3a2964", "alias": "modular_count_residue_v1_1978505735_7030", "problem": "Let $m = 29$ and $r = 14$. Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 44944$ and $n \\equiv r \\pmod{m}$. Let $B$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 21003$ and the $n_1$-th Fibonacci number is even. Compute the remainder when $\\left(A \\bmod{293}\\right) + B \\cdot \\left(A \\bmod{337}\\right)$ is divided by $61294$.", "answer": 4525, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(293),\n \"upper\": Const(44944),\n \"m\": Const(29),\n \"r\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(21003)), Divides(divisor=Const(2), dividend=Fibonacci(arg=Var(name='n1')))))), Mod(value=Ref(\"result\"), modulus=Const(337)))), modulus=Const(61294)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE"], "recipe_id": "3b5f28", "seed_template_id": "modular_count_residue_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE"], "num_lemmas": 1, "generation_time": 1.378, "created_at": "2026-02-08T20:01:24.735524Z", "verification": {"verified": true, "answer": 4525, "timestamp": "2026-02-08T20:01:26.113062Z"}, "problem_hash": "959385", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 695}, "timestamp": "2026-02-13T01:15:16.700Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "K15": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "99fae5", "alias": "nt_num_divisors_compute_v1_397696148_1336", "problem": "Let $n = 26244$. Determine the number of positive divisors of $n$. Let $Q$ be the remainder when the absolute value of this number is divided by 97098.\n\nFind the value of $Q$.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(26244),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97098)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T12:30:57.609255Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T12:30:57.620135Z"}, "problem_hash": "1cfb60", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 48, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 246}, "timestamp": "2026-02-12T05:16:13.193Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8b6074", "alias": "comb_count_partitions_v1_655260480_5010", "problem": "Let $n$ be the largest positive divisor of $1677$ that is at most $39$. Let $p$ be the number of integer partitions of $n$. Find the remainder when $75330 \\cdot p$ is divided by $82231$.", "answer": 73073, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(39),\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(1677))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(75330),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82231)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:14:48.847087Z", "verification": {"verified": true, "answer": 73073, "timestamp": "2026-02-08T18:14:48.849506Z"}, "problem_hash": "9da8a1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 921}, "timestamp": "2026-02-12T23:54:57.193Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "98a6d1", "alias": "geo_visible_lattice_v1_2051736721_4863", "problem": "Compute the number of ordered pairs $(x, y)$ of positive integers such that $1 \\le x, y \\le 50$ and $\\gcd(x, y) = 1$. Multiply this number by $51499$, and find the remainder when the result is divided by $73622$.", "answer": 9949, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(50),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(51499),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(73622)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.057, "created_at": "2026-02-08T18:13:36.858815Z", "verification": {"verified": true, "answer": 9949, "timestamp": "2026-02-08T18:13:36.915886Z"}, "problem_hash": "9d3d1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8202, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 466}, "timestamp": "2026-02-12T23:53:42.748Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6f9e5c", "alias": "geo_count_lattice_rect_v1_1978505735_5701", "problem": "Let $a = 360$ and $b = 127$. Let $R$ be the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the Bell number $B_r$, where $r$ is the remainder when $|R|$ is divided by $11$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(360),\n \"b\": Const(127),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.003, "created_at": "2026-02-08T19:10:25.273586Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T19:10:25.276363Z"}, "problem_hash": "23abf8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 294}, "timestamp": "2026-02-13T00:50:56.275Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3b683f", "alias": "nt_euler_phi_compute_v1_548369836_210", "problem": "Let $n_2$ be the maximum value of $x \\cdot y$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 58$. Let $u = \\left( \\sum_{d \\mid n_2} \\phi(d) \\right) - n_2$, where the sum is taken over all positive divisors $d$ of $n_2$. Let $n = 61504 + u + \\Omega(1)$, where $\\Omega(1)$ denotes the number of prime factors of $1$ counted with multiplicity. Compute $\\phi(n)$, where $\\phi$ is Euler's totient function.", "answer": 29760, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61504),\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(58)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Const(1),\n \"c\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Ref(\"_n\"), Ref(\"u\"), Ref(\"c\")),\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": "B1", "lemma_paths": ["B1/EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "c9f8f5", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T02:49:15.343823Z", "verification": {"verified": true, "answer": 29760, "timestamp": "2026-02-08T02:49:15.345206Z"}, "problem_hash": "72827d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29760, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 256, "completion_tokens": 973}, "timestamp": "2026-02-08T20:15:17.581Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 29760, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 938}, "timestamp": "2026-02-09T20:58:20.736Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 29760, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 6663}, "timestamp": "2026-02-09T23:25:57.031Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 29760, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 2510}, "timestamp": "2026-02-09T03:30:16.767Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29760, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 873}, "timestamp": "2026-02-09T10:25:20.064Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "BIG_OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -7.69, "hi": -5.37}, "split": "valid"} +{"id": "4efe43", "alias": "antilemma_v1_legendre_677425708_2508", "problem": "Let $m = 18$ and $n = 17$. Let $p$ be the largest prime number less than or equal to $m$. Define $d$ to be the largest integer $k$ such that\n$$\n\\left( \\sum_{\\substack{n=1 \\\\ p \\mid n}}^{n} 1 \\right)^k\n$$\ndivides $129217!$. Compute $12544 - d$.", "answer": 4469, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\n \"_n\": Const(17),\n \"x\": MaxKDivides(target=Factorial(Const(129217)), base=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), Const(0)))))),\n \"Q\": Sub(Const(12544), Ref(\"x\")),\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_DIVISIBLE/V1", "V1"], "recipe_id": "dc932a", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_DIVISIBLE", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:06:14.383962Z", "verification": {"verified": true, "answer": 4469, "timestamp": "2026-02-08T05:06:14.386758Z"}, "problem_hash": "1db4c8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "SUM_DIVISIBLE": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "K14": "no", "L3c": "no", "LTE_SUM": "no", "V5": "no"}, "split": "valid"} +{"id": "f11a34", "alias": "antilemma_sum_primes_v1_1125832087_294", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 3$.\n\nLet $T$ be the set of all positive integers $t$ such that $8 \\leq t \\leq 7994$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1330$, $1 \\leq b \\leq 448$, and $t = 5a + 3b$. Let $y$ be the number of elements in $T$.\n\nCompute $x \\cdot y$.", "answer": 39895, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": 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=1330)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=448)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=7994)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "SUM_PRIMES"], "recipe_id": "d90cd6", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:00:55.602752Z", "verification": {"verified": true, "answer": 39895, "timestamp": "2026-02-08T03:00:55.604986Z"}, "problem_hash": "c87002", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "df5dee", "alias": "nt_count_squarefree_v1_151522320_1324", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 58081$ and $\\mu(n)^2 = 1$, where $\\mu$ denotes the Möbius function. Define $A$ to be the number of such integers $n$.\n\nLet $t$ be an integer satisfying $10 \\leq t \\leq 32$. Suppose there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 2$ such that $t = 4a + 6b$. Define $B$ to be the number of such integers $t$.\n\nLet $C$ be the number of positive integers $n$ such that $1 \\leq n \\leq 20223$, $7$ divides $n$, and $\\gcd(n, B) = 1$.\n\nCompute the remainder when $11^{|A|} + C$ is divided by $99991$.", "answer": 33512, "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=10)), Leq(left=Var(name='t'), right=Const(value=32)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"upper\": Const(58081),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), Const(1))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20223)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/C5"], "recipe_id": "435b02", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM"], "num_lemmas": 2, "generation_time": 8.227, "created_at": "2026-02-08T03:53:01.253714Z", "verification": {"verified": true, "answer": 33512, "timestamp": "2026-02-08T03:53:09.480790Z"}, "problem_hash": "90374d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "C5": "ok_later", "DS2": "no", "K17": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "1cbad2", "alias": "antilemma_cartesian_v1_48377204_2419", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\le i \\le 14$ and $1 \\le j \\le 17$. Compute the remainder when $44121 \\cdot x$ is divided by $61069$.", "answer": 57999, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(17)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(61069)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:46:16.609131Z", "verification": {"verified": true, "answer": 57999, "timestamp": "2026-02-08T16:46:16.609984Z"}, "problem_hash": "d7c182", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 238, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 459}, "timestamp": "2026-02-12T20:53:32.110Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "384dff", "alias": "nt_count_divisible_and_v1_151522320_1198", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define $d_1$ to be the sum of all integers $k$ from $\\phi(2)$ to the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 60$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_2 = 12$. Let $N$ be the number of positive integers $n$ at most $212400$ such that $n$ is divisible by both $d_1$ and $d_2$. Compute the remainder when $45403 \\cdot N$ is divided by $63993$.", "answer": 40197, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(212400),\n \"d1\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), 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=60)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), expr=Var(\"k\")),\n \"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 \"_c\": Const(45403),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63993)),\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/SUM_ARITHMETIC", "ONE_PHI_2"], "recipe_id": "dfce1e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 7.624, "created_at": "2026-02-08T03:50:07.432191Z", "verification": {"verified": true, "answer": 40197, "timestamp": "2026-02-08T03:50:15.056208Z"}, "problem_hash": "7952e8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "391408", "alias": "antilemma_cartesian_v1_1742523217_44", "problem": "Compute the number of ordered pairs $(x,y)$ such that $x$ is an integer satisfying $1 \\leq x \\leq 28$ and $y$ is an integer satisfying $1 \\leq y \\leq 43$.", "answer": 1204, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(43)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:50:52.788588Z", "verification": {"verified": true, "answer": 1204, "timestamp": "2026-02-08T02:50:52.789136Z"}, "problem_hash": "113def", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 131}, "timestamp": "2026-02-09T13:04:32.994Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 246}, "timestamp": "2026-02-08T22:09:00.941Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 111, "completion_tokens": 1106}, "timestamp": "2026-02-10T13:17:42.144Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 272}, "timestamp": "2026-02-10T14:16:06.305Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 94, "completion_tokens": 321}, "timestamp": "2026-02-10T13:22:40.892Z"}, {"id": 8, "model": "mathstral", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 105, "completion_tokens": 262}, "timestamp": "2026-02-11T04:50:44.744Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1204, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 146}, "timestamp": "2026-02-11T19:22:42.048Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "valid"} +{"id": "1db6ad", "alias": "nt_count_divisors_in_range_v1_124444284_557", "problem": "Let $p = 11$ and $n_2 = p^4$. Let $m$ be the number of distinct prime factors of $n_2$. Let $n_1 = 1$ and $w$ be the number of prime factors of $n_1$ counted with multiplicity. Define $n = 221760 \\cdot m$. Compute the number of positive divisors $d$ of $n$ such that $76 \\leq d \\leq 2470 + w$. Find the value of this number.", "answer": 86, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(11),\n \"n2\": Pow(Ref(\"p\"), Const(4)),\n \"m\": SmallOmega(n=Ref(name='n2')),\n \"n1\": Const(1),\n \"w\": BigOmega(n=Ref(name='n1')),\n \"n\": Mul(Const(221760), Ref(\"m\")),\n \"a\": Const(76),\n \"b\": Sum(Const(2470), Ref(\"w\")),\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": "BIG_OMEGA_ZERO", "lemma_paths": ["BIG_OMEGA_ZERO", "OMEGA_ONE"], "recipe_id": "ab331a", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "OMEGA_ONE"], "num_lemmas": 2, "generation_time": 0.024, "created_at": "2026-02-08T03:22:12.132925Z", "verification": {"verified": true, "answer": 86, "timestamp": "2026-02-08T03:22:12.157362Z"}, "problem_hash": "f9db7d", "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": 224, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:08:38.159Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 86, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 4775}, "timestamp": "2026-02-09T03:23:08.331Z"}], "solution_status": 1, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "OMEGA_ONE": "ok", "DS2": "no", "K17": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "49599a", "alias": "diophantine_product_count_v1_1742523217_5443", "problem": "Compute the number of positive integers $x$ such that $1 \\leq x \\leq 196$, $x$ divides $1260$, and $\\frac{1260}{x} \\leq 196$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"upper\": Const(196),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COUNT_PRIMES/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "e5bcb6", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "EULER_TOTIENT_SUM", "LIN_FORM", "LIOUVILLE_ONE"], "num_lemmas": 4, "generation_time": 0.116, "created_at": "2026-02-08T10:59:29.170891Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T10:59:29.287119Z"}, "problem_hash": "c4da4f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 90, "completion_tokens": 1779}, "timestamp": "2026-02-14T10:11:30.805Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 693}, "timestamp": "2026-02-12T03:36:26.281Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "EULER_TOTIENT_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "5df36b", "alias": "sequence_count_fib_divisible_v1_784195855_8683", "problem": "Let $n = 210$. Define $u$ to be the largest positive divisor of $46830$ that is at most $n$. Let $d = 15$. Compute the number of positive integers $k \\le u$ such that $d$ divides the $k$-th Fibonacci number. Let $c = 71967$, and let $Q$ be the remainder when $c$ times this count is divided by $63836$. Compute $Q$.", "answer": 17474, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(210),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(46830))))),\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 \"_c\": Const(71967),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63836)),\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"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T16:16:43.272634Z", "verification": {"verified": true, "answer": 17474, "timestamp": "2026-02-08T16:16:43.283255Z"}, "problem_hash": "6aca80", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 418}, "timestamp": "2026-02-12T10:14:38.063Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "K17": "no", "K5": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "86ee94", "alias": "sequence_lucas_compute_v1_865884756_746", "problem": "Let $n$ be the largest positive divisor of 589 that does not exceed 19. Define $L_n$ to be the $n$-th Lucas number, where $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$. Let $m$ be the smallest divisor of 26741 that is at least 2. Compute the remainder when the Bell number $B_{|L_n|}$ is divided by $m$, and then take the remainder of that result when divided by 62731.", "answer": 53244, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19),\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(589))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(26741))))))), modulus=Const(62731)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_DIVISOR"], "recipe_id": "28ed76", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "bell_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T15:35:30.964087Z", "verification": {"verified": true, "answer": 53244, "timestamp": "2026-02-08T15:35:30.966434Z"}, "problem_hash": "81e497", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 375}, "timestamp": "2026-02-12T08:42:13.580Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8214f4", "alias": "nt_euler_phi_compute_v1_153355830_797", "problem": "Let $n_1 = 28561$ and $n_2 = 1$. Let $\\mu(n)$ denote the M\\\"obius function and $\\omega(n)$ denote the number of distinct prime factors of $n$. Let $P$ be the set of all ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 6$, $\\gcd(p, q) = 1$, and $p < q$. Define $t = \\mu(n_1)^{|P|}$. Let $\\phi(n)$ denote Euler's totient function. Compute the remainder when $(44121 + t) \\cdot \\phi(86436)$ is divided by $68848 + \\omega(n_2)$.", "answer": 23768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n2\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n2')),\n \"n1\": Const(28561),\n \"t\": Pow(MoebiusMu(n=Ref(name='n1')), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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 \"n\": Const(86436),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Ref(\"_n\"), Ref(\"t\")), Ref(\"result\")), modulus=Sum(Const(68848), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "recipe_id": "d7cf10", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:10:57.123358Z", "verification": {"verified": true, "answer": 23768, "timestamp": "2026-02-08T04:10:57.129089Z"}, "problem_hash": "cf52ad", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "OMEGA_ZERO": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "MAX_VAL": "no", "V3": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "6c029b", "alias": "nt_gcd_compute_v1_784195855_295", "problem": "Let $n_0 = 36$. Consider all ordered pairs $(x, y)$ of positive integers such that $xy = n_0$. Let $m$ be the minimum value of $x + y$ over all such pairs. Let $g = 8$ and $n_1 = 8$. Define $a_1 = g \\cdot m$ and $b_1 = g \\cdot n_1$. Let $d = \\gcd(a_1, b_1)$. Compute the sum of $\\mu(d')$ over all positive divisors $d'$ of $d$, and let this sum be $v$. Let $n = 1 + v$. Let $s$ be the number of prime factors of $n$, counted with multiplicity. Define $a = 242802 + s$ and $b = 458626$. Compute $\\gcd(a, b)$. Determine the value of this greatest common divisor.", "answer": 26978, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(36),\n \"g\": Const(8),\n \"m\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n1\": Const(8),\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(1), Ref(\"v\")),\n \"s\": BigOmega(n=Ref(name='n')),\n \"a\": Sum(Const(242802), Ref(\"s\")),\n \"b\": Const(458626),\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", "BIG_OMEGA_ZERO"], "recipe_id": "aa98d8", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ZERO", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:05:01.229387Z", "verification": {"verified": true, "answer": 26978, "timestamp": "2026-02-08T03:05:01.233833Z"}, "problem_hash": "b365ef", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "split": "valid"} +{"id": "2870f5", "alias": "comb_bell_compute_v1_1520064083_7508", "problem": "Let $n = 9$. Define $\\text{result} = B_n$, where $B_n$ denotes the $n$th Bell number, the number of partitions of a set of $n$ elements. Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 34$, $1 \\leq j \\leq 164$, and $\\gcd(i, j) = 1$. Let $c$ be the number of elements in $S$. Compute the remainder when $c \\cdot \\text{result}$ is divided by 77611.", "answer": 10003, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77611),\n \"n\": Const(9),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(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(34)), right=IntegerRange(start=Const(1), end=Const(164))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID"], "recipe_id": "53d469", "seed_template_id": "comb_bell_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:05:23.093628Z", "verification": {"verified": true, "answer": 10003, "timestamp": "2026-02-08T09:05:23.094835Z"}, "problem_hash": "65b8bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10003, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 3739}, "timestamp": "2026-02-14T01:01:11.266Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 664}, "timestamp": "2026-02-12T02:36:13.487Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "no", "COUNT_SUM_EQUALS": "no", "K15": "no", "K5": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e5afa4", "alias": "modular_modexp_compute_v1_153355830_2070", "problem": "Let $a=13$, $e=5476$, and $m=57600$, and let $r$ be the remainder when $a^e$ is divided by $m$.\n\nLet $M$ be the number of integers $j$ with $0\\le j\\le 9257$ such that $\\binom{9257}{j}$ is odd, and define\n$$C = M + 2.$$\n\nLet $d_0$ be the smallest integer $d\\ge 2$ such that $d$ divides $11354947321$.\n\nDefine\n$$X = 353702\\cdot (|r| \\bmod 97),$$\n$$Y = 329703\\cdot \\bigl((|r|^2 + 1) \\bmod d_0\\bigr),$$\n$$Z = 215534\\cdot \\bigl((|r| + C) \\bmod 103\\bigr),$$\nand let\n$$Q = X + Y + Z.$$\n\nFind the remainder when $Q$ is divided by $1009091$.", "answer": 68240, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9257),\n \"_n\": Const(103),\n \"a\": Const(13),\n \"e\": Const(5476),\n \"m\": Const(57600),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(9257)), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(2)),\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=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='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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "V8"], "recipe_id": "314e04", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V8"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:53:18.792052Z", "verification": {"verified": true, "answer": 68240, "timestamp": "2026-02-08T06:53:18.795701Z"}, "problem_hash": "d91db0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 80240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 6508}, "timestamp": "2026-02-13T05:37:57.466Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 362, "completion_tokens": 438}, "timestamp": "2026-02-12T00:36:07.216Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "7e9d40", "alias": "diophantine_fbi2_min_v1_717093673_463", "problem": "Let $a$ be the number of nonnegative integers $j \\leq 17604$ such that $\\binom{17604}{j}$ is odd. Let $p$ be the largest prime number at most $6$. Let $u = a + p$. Let $d$ be the smallest integer with $6 \\leq d \\leq u$ such that $d$ divides $27$ and $\\frac{27}{d} \\geq 2$. Compute the remainder when $22781 \\cdot d$ is divided by $61711$.", "answer": 19896, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(17604),\n \"k\": Const(27),\n \"upper\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(17604)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Mod(value=Mul(Const(22781), Ref(\"result\")), modulus=Const(61711)),\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/V8"], "recipe_id": "f0417a", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V8"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T15:28:03.324675Z", "verification": {"verified": true, "answer": 19896, "timestamp": "2026-02-08T15:28:03.331432Z"}, "problem_hash": "8b77dc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 20096, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 368}, "timestamp": "2026-02-12T08:31:09.562Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V8": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d99139", "alias": "nt_count_squarefree_v1_458359167_852", "problem": "Let $m=2$ and let $n=5$. Let $p$ be the largest prime number between $m$ and $45$, inclusive. Let $e$ be the greatest integer $k$ such that $p^k$ divides $147008443^n$.\n\nLet $h$ be the value of $(-1)^{\\Omega(e)}$, where $\\Omega(e)$ denotes the number of prime factors of $e$ counted with multiplicity.\n\nLet $u$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $1$, where $\\mu$ is the function defined by $\\mu(1)=1$, $\\mu(t)=0$ if $t$ is divisible by the square of a prime, and $\\mu(t)=(-1)^r$ if $t$ is the product of $r$ distinct primes.\n\nDefine\n$$U = 43681\\,h\\,u.$$\nLet $N$ be the number of integers $n$ with $1 \\le n \\le U$ such that $\\mu(n)^2 = 1$.\n\nCompute $N$.", "answer": 26559, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(5),\n \"n1\": MaxKDivides(target=Pow(Const(147008443), Ref(\"_n\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(45)), IsPrime(Var(\"n\")))))),\n \"h\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(1),\n \"u\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(Const(43681), Ref(\"h\"), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K14/LIOUVILLE_ONE", "MOBIUS_SUM"], "recipe_id": "6d46d4", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 6.581, "created_at": "2026-02-08T03:34:03.042062Z", "verification": {"verified": true, "answer": 26559, "timestamp": "2026-02-08T03:34:09.622665Z"}, "problem_hash": "94235d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "K14": "ok_later", "LIOUVILLE_ONE": "ok_later", "K16": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V3": "no", "V7": "no"}, "split": "valid"} +{"id": "4f836c", "alias": "geo_count_lattice_rect_v1_2051736721_3831", "problem": "Let $a = 88$ and $b = 78$. Define $L$ to be the number of lattice points in the rectangle $[0, a] \\times [0, b]$, including the boundary. Compute the remainder when $\\sum_{n=1}^{L} \\phi(n)$ is divided by 78490, where $\\phi$ denotes Euler's totient function.", "answer": 37990, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(88),\n \"b\": Const(78),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(91), Const(91)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(78490)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.343, "created_at": "2026-02-08T17:34:57.584334Z", "verification": {"verified": true, "answer": 37990, "timestamp": "2026-02-08T17:34:57.927223Z"}, "problem_hash": "0c9c8e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 552}, "timestamp": "2026-02-12T22:48:27.400Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "877f11", "alias": "nt_min_coprime_above_v1_48377204_1002", "problem": "Let $A = 11664$ and $B = 11933$. Let $M$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 37$. Consider the set of integers $n$ such that $A < n \\leq B$ and $\\gcd(n, M) = 1$. Let $R$ be the smallest such integer $n$. Determine the value of $R$.", "answer": 11665, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(11664),\n \"upper\": Const(11933),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(37)))),\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_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.043, "created_at": "2026-02-08T15:51:47.891700Z", "verification": {"verified": true, "answer": 11665, "timestamp": "2026-02-08T15:51:47.934778Z"}, "problem_hash": "9f9e36", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11670, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 286}, "timestamp": "2026-02-12T09:18:35.593Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K14": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d18c49", "alias": "sequence_count_fib_divisible_v1_1520064083_1629", "problem": "Let $F_n$ denote the $n$th Fibonacci number, defined by $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all positive integers $n$. Let $N$ be the number of integers $n$ with $1\\le n\\le 566$ such that $3$ divides $F_n$.\n\nLet\n$$Q\\equiv 44121\\cdot N\\pmod{60889},$$\nwhere $0\\le Q<60889$.\n\nFind the value of $Q$.", "answer": 10383, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(566),\n \"d\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(60889)),\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/V5/COMB1/MAX_DIVISOR"], "recipe_id": "5ef6b6", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_DIVISOR", "MAX_PRIME_BELOW", "V5"], "num_lemmas": 4, "generation_time": 0.094, "created_at": "2026-02-08T04:08:37.393488Z", "verification": {"verified": true, "answer": 10383, "timestamp": "2026-02-08T04:08:37.487401Z"}, "problem_hash": "2d1c3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 10383, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 1082}, "timestamp": "2026-02-10T15:47:42.847Z"}, {"id": 8, "model": "mathstral", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 575}, "timestamp": "2026-02-13T10:37:37.282Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 466}, "timestamp": "2026-02-11T20:32:57.758Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "COMB1": "ok_later", "MAX_DIVISOR": "ok_later", "V5": "ok_later", "K17": "no", "L3c": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "042d2f", "alias": "nt_count_divisors_in_range_v1_865884756_2108", "problem": "Let $A$ be the set of all positive integers $n_1$ with $1 \\leq n_1 \\leq 15119$ such that the sum of the decimal digits of $n_1$ is odd. Let $n$ be the number of elements in $A$. Let $B$ be the set of all positive integers $n_2$ with $1 \\leq n_2 \\leq 23$ such that $n_2 \\equiv \\left\\lfloor \\frac{n_2}{2} \\right\\rfloor \\pmod{3}$. Let $a$ be the number of elements in $B$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq 7560$.", "answer": 58, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(15119)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Ref(\"_n\")), Const(1))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(23)), Congruent(a=Var(name='n2'), b=Floor(arg=Div(left=Var(name='n2'), right=Const(value=2))), modulus=Const(value=3))))),\n \"b\": Const(7560),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3C", "L3B"], "recipe_id": "2de3dd", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "L3C", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.243, "created_at": "2026-02-08T16:30:11.123270Z", "verification": {"verified": true, "answer": 58, "timestamp": "2026-02-08T16:30:11.366066Z"}, "problem_hash": "d36256", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 602}, "timestamp": "2026-02-12T10:49:44.698Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "L3C": "ok", "K14": "no", "K15": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6cbd11", "alias": "antilemma_cartesian_v1_260342960_136", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $a$ is an integer from 1 to 11, inclusive, and $b$ is an integer from 1 to 12, inclusive. Compute the remainder when $93569 \\cdot x$ is divided by $88380$.", "answer": 66288, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(12)))),\n \"_c\": Const(93569),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(88380)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:16:36.020457Z", "verification": {"verified": true, "answer": 66288, "timestamp": "2026-02-08T11:16:36.021186Z"}, "problem_hash": "1a454e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 66288, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 988}, "timestamp": "2026-02-08T20:29:17.667Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 66288, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 559}, "timestamp": "2026-02-10T02:16:14.656Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:15:59.268Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 71828, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 123, "completion_tokens": 218}, "timestamp": "2026-02-09T07:42:06.052Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 66288, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 1561}, "timestamp": "2026-02-09T17:27:35.996Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 86248, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 300}, "timestamp": "2026-02-11T23:33:39.961Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -6.74, "mid": -4.23, "hi": -1.3}, "split": "valid"} +{"id": "029bc8", "alias": "comb_catalan_compute_v1_655260480_447", "problem": "Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = N$, where $N$ is the number of integers $t$ with $7 \\le t \\le 32$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 4$, $1 \\le b \\le 5$, and $t = 3a + 4b$. Let $n$ be the number of elements in $S$. Let $C$ be the $n$th Catalan number. Compute the remainder when $\\left(\\text{the number of integers } t_1 \\text{ with } 27 \\le t_1 \\le 6186 \\text{ for which there exist integers } a, b \\text{ such that } 1 \\le a \\le 36,\\ 1 \\le b \\le 905,\\ t_1 = 21a + 6b\\right) - C$ is divided by $57305$.", "answer": 42557, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57305),\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=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=32)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=36)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=905)), Geq(left=Var(name='t1'), right=Const(value=27)), Leq(left=Var(name='t1'), right=Const(value=6186)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "LIN_FORM/COMB1"], "recipe_id": "336462", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T15:23:40.492081Z", "verification": {"verified": true, "answer": 42557, "timestamp": "2026-02-08T15:23:40.502374Z"}, "problem_hash": "8457dc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 465}, "timestamp": "2026-02-12T08:21:51.090Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "COMB1": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d4798b", "alias": "comb_bell_compute_v1_865884756_4220", "problem": "Let $s = \\sum_{k=1}^{17} k$. Let $n$ be the largest positive divisor of $s$ that is at most 9. Let $r = 73372 \\cdot B_n$, where $B_n$ is the $n$th Bell number. Find the remainder when $r$ is divided by 85519.", "answer": 26467, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(85519),\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=Const(17), expr=Var(\"k\")))))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(73372), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/MAX_DIVISOR"], "recipe_id": "ffe1e2", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:47:13.955989Z", "verification": {"verified": true, "answer": 26467, "timestamp": "2026-02-08T17:47:13.958598Z"}, "problem_hash": "8f0c63", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 352}, "timestamp": "2026-02-12T23:11:57.789Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "MAX_DIVISOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9f5e66", "alias": "antilemma_cartesian_v1_48377204_837", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 16, inclusive, and $b$ is an integer from 1 to 41, inclusive. Compute the remainder when $90851 \\cdot x$ is divided by 99514.", "answer": 88884, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(41)))),\n \"_c\": Const(90851),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(99514)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:43:04.270131Z", "verification": {"verified": true, "answer": 88884, "timestamp": "2026-02-08T15:43:04.271259Z"}, "problem_hash": "8964e2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 335}, "timestamp": "2026-02-12T08:57:08.295Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a7a2df", "alias": "nt_min_coprime_above_v1_717093673_3339", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 89$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all integers $n$ such that $11111 < n \\leq 11566$ and $\\gcd(n, m) = 1$. Let $r$ be the smallest element of $T$. Compute $55225 - r$.", "answer": 44113, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(11111),\n \"upper\": Const(11566),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(89)))),\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(Const(55225), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.033, "created_at": "2026-02-08T17:30:02.702126Z", "verification": {"verified": true, "answer": 44113, "timestamp": "2026-02-08T17:30:02.734661Z"}, "problem_hash": "4eb107", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 344}, "timestamp": "2026-02-12T22:45:10.248Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "L3c": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7b5518", "alias": "sequence_lucas_compute_v1_1918700295_3029", "problem": "Let $ d_{\\text{max}} $ be the largest positive divisor of $ 522 $ that is at most $ 18 $. Let $ L $ be the $ d_{\\text{max}} $-th Lucas number. Let $ c $ be the number of nonnegative integers $ j $ such that $ 0 \\leq j \\leq 640 $ and the binomial coefficient $ \\binom{640}{j} $ is odd. Compute the remainder when $ c - L $ is divided by $ 82904 $.", "answer": 77130, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82904),\n \"_n\": Const(522),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(18)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(640)), Eq(Mod(value=Binom(n=Const(640), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "MAX_DIVISOR"], "recipe_id": "786eb5", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "V8"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T08:21:49.582289Z", "verification": {"verified": true, "answer": 77130, "timestamp": "2026-02-08T08:21:49.585353Z"}, "problem_hash": "e1dc7b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 77130, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 1413}, "timestamp": "2026-02-13T17:47:28.808Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 82903, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 473}, "timestamp": "2026-02-12T01:49:39.229Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "V8": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "abd9b6", "alias": "nt_count_with_divisor_count_v1_458359167_5278", "problem": "Let $x$ and $y$ be positive integers such that $xy = 625$. Let $s$ be the minimum possible value of $x + y$. Define $N = 17161$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ has exactly 7 positive divisors. Let this number be $d$. Compute $$ d^2 + d + \\sum_{k=1}^{50} \\phi(k) \\left\\lfloor \\frac{s}{k} \\right\\rfloor. $$", "answer": 1287, "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(625)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(17161),\n \"div_count\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Ref(\"result\"), Summation(var=\"k\", start=Const(1), end=Const(50), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/K2"], "recipe_id": "2ee595", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.773, "created_at": "2026-02-08T12:24:16.336503Z", "verification": {"verified": true, "answer": 1287, "timestamp": "2026-02-08T12:24:17.109692Z"}, "problem_hash": "e7aaf6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 510}, "timestamp": "2026-02-12T05:11:12.205Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K5": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "45bc12", "alias": "antilemma_cartesian_v1_655260480_651", "problem": "Compute the number of ordered pairs $(x, y)$ such that $x$ is an integer satisfying $1 \\le x \\le 29$ and $y$ is an integer satisfying $1 \\le y \\le 40$.", "answer": 1160, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(40)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:30:26.057168Z", "verification": {"verified": true, "answer": 1160, "timestamp": "2026-02-08T15:30:26.058078Z"}, "problem_hash": "db04ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1160, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 182}, "timestamp": "2026-02-12T08:40:27.049Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ea5b96", "alias": "nt_sum_totient_over_divisors_v1_1248542787_481", "problem": "Let $n = 15161$. Define $r = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 174$, and let $P$ be the set of all values $xy$ where $(x, y) \\in S$. Define $c$ as the maximum value in $P$. Let $e$ be the number of positive integers $m$ such that $1 \\leq m \\leq 66$ and the sum of the decimal digits of $m$ is even. Compute the remainder when $r^2 + e \\cdot r + c$ is divided by $74261$.", "answer": 6181, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(66),\n \"_n\": Const(2),\n \"n\": Const(15161),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(174)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(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))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(74261)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "B1"], "recipe_id": "b25cd2", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "L3B"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:10:10.937927Z", "verification": {"verified": true, "answer": 6181, "timestamp": "2026-02-08T03:10:10.940371Z"}, "problem_hash": "f0adf4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 1313}, "timestamp": "2026-02-09T04:37:51.475Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 2295}, "timestamp": "2026-02-09T17:20:46.844Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:49:58.720Z"}, {"id": 8, "model": "mathstral", "answer": 5406, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 496}, "timestamp": "2026-02-12T11:42:01.533Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 452}, "timestamp": "2026-02-11T20:28:37.093Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "L3B": "ok", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -6.84, "mid": -2.81, "hi": 1.35}, "split": "valid"} +{"id": "3ec272", "alias": "sequence_fibonacci_compute_v1_677425708_3296", "problem": "Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 7$. Define $m$ to be the maximum value of the sum\n$$\n\\sum_{k=1}^{7} \\phi(k) \\left\\lfloor \\frac{\\max(P)}{k} \\right\\rfloor,\n$$\nwhere $\\phi(k)$ denotes Euler's totient function. Let $n$ be the largest prime number satisfying $2 \\leq n \\leq m$. Compute the remainder when $56011 \\cdot F_n$ is divided by $53030$, where $F_n$ denotes the $n$th Fibonacci number.", "answer": 48217, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(7),\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Ref(\"_d\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(7)), IsPrime(Var(\"n\"))))), Var(\"k\"))))),\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\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(56011),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53030)),\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/MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "cf19fa", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:38:18.117174Z", "verification": {"verified": true, "answer": 48217, "timestamp": "2026-02-08T05:38:18.120607Z"}, "problem_hash": "585b4b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "K2": "ok_later", "C2": "no", "K16": "no", "L3c": "no", "LTE_SUM": "no", "V1": "no"}, "split": "valid"} +{"id": "a2187e", "alias": "nt_sum_divisors_range_v1_1248542787_152", "problem": "Compute the sum of the number of positive divisors of each integer from 1 to 8281. That is, compute $\\sum_{n=1}^{8281} \\tau(n)$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 76009, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(8281),\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": "B3", "lemma_paths": ["COPRIME_PAIRS/OMEGA_ONE", "MOBIUS_SUM"], "recipe_id": "31b0c5", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "MOBIUS_SUM", "OMEGA_ONE"], "num_lemmas": 4, "generation_time": 2.311, "created_at": "2026-02-08T02:58:22.751928Z", "verification": {"verified": true, "answer": 76009, "timestamp": "2026-02-08T02:58:25.062567Z"}, "problem_hash": "7133ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 76015, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 7307}, "timestamp": "2026-02-09T00:52:50.616Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 76009, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 4256}, "timestamp": "2026-02-09T13:38:15.701Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 119, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:05:05.290Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 91868, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 114, "completion_tokens": 322}, "timestamp": "2026-02-11T23:59:21.514Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 76021, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 100, "completion_tokens": 4381}, "timestamp": "2026-02-10T23:18:05.140Z"}, {"id": 8, "model": "mathstral", "answer": 432675, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 116, "completion_tokens": 576}, "timestamp": "2026-02-11T09:41:21.314Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 617}, "timestamp": "2026-02-11T20:02:03.785Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "OMEGA_ONE": "ok_later", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.05, "mid": 2.79, "hi": 5.99}, "split": "valid"} +{"id": "dcc1fe", "alias": "antilemma_cartesian_v1_548369836_261", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 21$ and $1 \\leq j \\leq 38$. Find the remainder when $128 - x$ is divided by $72324$.", "answer": 71654, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(38)))),\n \"Q\": Mod(value=Sub(Const(128), Ref(\"x\")), modulus=Const(72324)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T02:49:44.735424Z", "verification": {"verified": true, "answer": 71654, "timestamp": "2026-02-08T02:49:44.735863Z"}, "problem_hash": "3a0264", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 784}, "timestamp": "2026-02-08T20:17:02.166Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 390}, "timestamp": "2026-02-09T21:37:26.583Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 123, "completion_tokens": 5959}, "timestamp": "2026-02-10T00:25:30.360Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 115, "completion_tokens": 254}, "timestamp": "2026-02-09T04:04:42.188Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 101, "completion_tokens": 329}, "timestamp": "2026-02-09T11:16:40.899Z"}, {"id": 8, "model": "mathstral", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 115, "completion_tokens": 458}, "timestamp": "2026-02-11T04:16:18.282Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 71654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 222}, "timestamp": "2026-02-11T19:43:05.852Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.6, "hi": -6.14}, "split": "valid"} +{"id": "fdd319", "alias": "comb_sum_binomial_mod_v1_1520064083_7664", "problem": "Let $p$ be a positive integer. Define $A$ to be the number of such $p$ for which there exists a positive integer $q$ satisfying $p < q$, $pq = 12$, and $\\gcd(p, q) = 1$. Let $B$ be the number of integers $t$ such that $14 \\leq t \\leq 315$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 92$, $1 \\leq b \\leq 5$, and $t = 3a + 7b + 4$. Compute the remainder when $$\\sum_{k=A}^{279} \\binom{B}{k}$$ is divided by $10069$.", "answer": 9330, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10069),\n \"sum\": Summation(var=\"k\", 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=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'))))))), end=Const(279), 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=92)), 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=14)), Leq(left=Var(name='t'), right=Const(value=315)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=4)))))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T09:14:01.845612Z", "verification": {"verified": true, "answer": 9330, "timestamp": "2026-02-08T09:14:01.888870Z"}, "problem_hash": "9c2fcb", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 7250}, "timestamp": "2026-02-14T01:42:14.796Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 536}, "timestamp": "2026-02-12T02:40:16.037Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "11b3a4", "alias": "antilemma_cartesian_v1_1520064083_8783", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 16, inclusive, and $b$ is an integer from 1 to 26, inclusive. Compute the remainder when $35638x$ is divided by $74931$.", "answer": 64001, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(26)))),\n \"Q\": Mod(value=Mul(Const(35638), Ref(\"x\")), modulus=Const(74931)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T10:23:10.547603Z", "verification": {"verified": true, "answer": 64001, "timestamp": "2026-02-08T10:23:10.548035Z"}, "problem_hash": "b8e8b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64001, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 565}, "timestamp": "2026-02-14T07:14:06.599Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 380}, "timestamp": "2026-02-12T03:16:39.891Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "804297", "alias": "modular_modexp_compute_v1_1439011603_2184", "problem": "Let $a = 41$. Let $e$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 72$ and $1 \\leq j \\leq 72$. Let $m = 89401$. Compute the remainder when $a^e$ is divided by $m$.", "answer": 58111, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(41),\n \"e\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(72)))),\n \"m\": Const(89401),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:35:16.415058Z", "verification": {"verified": true, "answer": 58111, "timestamp": "2026-02-08T16:35:16.415798Z"}, "problem_hash": "81b5f5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 508}, "timestamp": "2026-02-12T11:06:05.657Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b5352a", "alias": "nt_gcd_compute_v1_153355830_1032", "problem": "Let $a = 740727$ and $b = 1399151$. Let $g = \\gcd(a, b)$. Let $r_1$ be the remainder when $g$ is divided by $199$. Let $d_0$ be the smallest divisor of $4028033$ that is at least $2$. Let $c = \\Omega(1)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity, and let $s = \\Omega(1)$. Let $r_2$ be the remainder when $g$ is divided by $499 + c$. Compute the remainder when $r_1 + d_0 \\cdot r_2$ is divided by $56738 + s$.", "answer": 27709, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56738),\n \"n1\": Const(1),\n \"c\": BigOmega(n=Ref(name='n1')),\n \"n\": Const(1),\n \"s\": BigOmega(n=Ref(name='n')),\n \"a\": Const(740727),\n \"b\": Const(1399151),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4028033))))), Mod(value=Ref(\"result\"), modulus=Sum(Const(499), Ref(\"c\"))))), modulus=Sum(Ref(\"_n\"), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ZERO"], "recipe_id": "52f7d7", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "two_moduli", "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:21:50.751144Z", "verification": {"verified": true, "answer": 27709, "timestamp": "2026-02-08T04:21:50.754119Z"}, "problem_hash": "74833f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ZERO": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "f35164", "alias": "comb_catalan_compute_v1_1978505735_946", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Let $C_n$ denote the $n$-th Catalan number. Compute the value of $28224 - C_n$.", "answer": 11428, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(28224),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:42:54.898609Z", "verification": {"verified": true, "answer": 11428, "timestamp": "2026-02-08T15:42:54.901916Z"}, "problem_hash": "2f4ccf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 343}, "timestamp": "2026-02-12T08:59:04.045Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "69e0e8", "alias": "antilemma_coprime_grid_v1_124444284_1684", "problem": "Consider all ordered pairs $(i,j)$ of integers with $1 \\le i \\le 8$ and $1 \\le j \\le 133$. Let $x$ be the number of such pairs satisfying\n$$\\gcd(i,j) = 1.$$\n\nLet $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that\n$$x+y = 42.$$\nLet $M$ be the maximum value of $xy$ over all pairs in $S$.\n\nLet $y$ be the number of positive integers $j$ such that\n$$1 \\le j \\le M \\quad\\text{and}\\quad j^3 \\le 85766121.$$\n\nDefine\n$$Q \\equiv x^2 + 20x + y \\pmod{62218},$$\nwhere $0 \\le Q < 62218$.\n\nFind the value of $Q$.", "answer": 53416, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(20),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(133))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Ref(\"_m\")), Mul(Ref(\"_n\"), Ref(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(42)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Leq(Pow(Var(\"j\"), Const(3)), Const(85766121))), domain='positive_integers'))), modulus=Const(62218)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/C3", "COUNT_COPRIME_GRID"], "recipe_id": "57a29a", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C3", "COUNT_COPRIME_GRID"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:05:17.902064Z", "verification": {"verified": true, "answer": 53416, "timestamp": "2026-02-08T04:05:17.904584Z"}, "problem_hash": "553113", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COUNT_COPRIME_GRID": "ok", "C3": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K15": "no", "K5": "no", "V3": "no"}, "split": "valid"} +{"id": "0edb56", "alias": "antilemma_cartesian_v1_784195855_5103", "problem": "Let $A$ be the Cartesian product of the sets $\\{1, 2, \\dots, 13\\}$ and $\\{1, 2, \\dots, 47\\}$. Let $B$ be the Cartesian product of the sets $\\{1, 2, \\dots, 16\\}$ and $\\{1, 2, \\dots, 32\\}$.\n\nLet $x$ be the number of elements in $A$, and let $y$ be the number of elements in $B$.\n\nCompute the remainder when $y - x$ is divided by $50596$.", "answer": 50497, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50596),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Mod(value=Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(32)))), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T07:40:24.595039Z", "verification": {"verified": true, "answer": 50497, "timestamp": "2026-02-08T07:40:24.596103Z"}, "problem_hash": "e56340", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 50497, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 260}, "timestamp": "2026-02-12T01:13:33.639Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "e7a803", "alias": "sequence_fibonacci_compute_v1_1520064083_2743", "problem": "Let $n$ be the number of nonnegative integers $j$ such that $0 \\le j \\le 53504$ and\n$$\n\\binom{53504}{j} \\equiv \\phi(2) \\pmod{2},\n$$\nplus $8$. Define $F_n$ to be the $n$th Fibonacci number, where $F_0 = 0$, $F_1 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\ge 2$. Compute the remainder when\n$$\n\\sum_{k=1}^{|F_n|} \\phi(k)\n$$\nis divided by $90506$.", "answer": 72536, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(53504)), Eq(Mod(value=Binom(n=Const(53504), k=Var(\"j\")), modulus=Ref(\"_n\")), EulerPhi(n=Const(2)))), domain='nonnegative_integers')), Const(8)),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(1)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(90506)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["ONE_PHI_1", "ONE_PHI_2", "V8"], "recipe_id": "e6458b", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "ONE_PHI_2", "V8"], "num_lemmas": 3, "generation_time": 4.465, "created_at": "2026-02-08T04:58:18.425007Z", "verification": {"verified": true, "answer": 72536, "timestamp": "2026-02-08T04:58:22.890494Z"}, "problem_hash": "13bd03", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "V8": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K16": "no", "K18": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "af5b33", "alias": "geo_count_lattice_triangle_v1_784195855_8726", "problem": "Let $A = (0,0)$, $B = (256, 300)$, and $C = (128, 111)$. The area of triangle $ABC$ can be computed as $\\frac{1}{2} |256 \\cdot 111 - 128 \\cdot 300|$. Let $I$ be the number of interior lattice points and $B$ the number of boundary lattice points of triangle $ABC$, where the number of boundary points is given by\n$$\n\\gcd(256, 300) + \\gcd(|128 - 256|, |111 - 300|) + \\gcd(128, 111).\n$$\nUsing Pick's Theorem, the area is also $I + \\frac{B}{2} - 1$. Let $T$ be the set of all ordered pairs $(p, q)$ of positive integers such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Compute\n$$\n\\frac{ |256 \\cdot 111 - 128 \\cdot 300| + |T| - B }{2}.\n$$\nDetermine the value of this expression.", "answer": 4990, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(300),\n \"_n\": Const(256),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_n'), Const(value=111)), Mul(Const(value=128), Sub(left=Const(value=0), right=Ref(name='_m'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=256)), b=Abs(arg=Const(value=300))), GCD(a=Abs(arg=Sub(left=Const(value=128), right=Const(value=256))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=300)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=128))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=111))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), 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(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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T16:17:36.372236Z", "verification": {"verified": true, "answer": 4990, "timestamp": "2026-02-08T16:17:36.387285Z"}, "problem_hash": "6e39c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 385, "completion_tokens": 425}, "timestamp": "2026-02-12T10:23:25.974Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "86a511", "alias": "modular_modexp_compute_v1_784195855_2862", "problem": "Let $m = 2$ and $n = 6$. Let $a$ be the largest prime number not exceeding the largest prime number between $m$ and $29$, inclusive. Let $e$ be the number of positive integers less than or equal to $23761$ that are relatively prime to $n$. Define $m' = 64516$ and compute\n$$\n\\text{result} = a^e \\mod m'.\n$$\nLet $Q$ be the remainder when $39204 - \\text{result}$ is divided by $82539$. Find the value of $Q$.", "answer": 80810, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(6),\n \"a\": 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\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"e\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(23761)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"m\": Const(64516),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Sub(Const(39204), Ref(\"result\")), modulus=Const(82539)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "C4"], "recipe_id": "6d51e7", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C4", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T06:05:59.959398Z", "verification": {"verified": true, "answer": 80810, "timestamp": "2026-02-08T06:05:59.965307Z"}, "problem_hash": "eef9c6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58998, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 4309}, "timestamp": "2026-02-12T19:42:26.352Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 469}, "timestamp": "2026-02-11T23:36:30.378Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "cf17e2", "alias": "nt_euler_phi_compute_v1_865884756_281", "problem": "Let $N$ be the number of integers $t$ with $14\\le t\\le 202$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 18$, $1\\le b\\le 25$, and\n$$t=4a+5b+5.$$\n\nLet $P$ be the number of integers $u$ with $22\\le u\\le 162$ for which there exist integers $c$ and $d$ satisfying $1\\le c\\le 7$, $1\\le d\\le 8$, and\n$$u=14c+8d.$$\n\nLet $Q=5P$. Define\n$$F=\\sum_{r\\mid Q} \\mu(r),$$\nwhere $\\mu$ is the Möbius function, and let $A=N+F$.\n\nLet $m=17$. Consider the set of all positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=12,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 1027199250$ and $\\gcd(p, q) = 1$. Let $t$ range over integers from $9$ to $258$, and define $B$ to be the number of such $t$ for which there exist positive integers $a \\leq 32$ and $b \\leq 26$ satisfying $t = 4a + 5b$. Compute the remainder when $83947 \\cdot \\left( \\prod_{i=A}^{B} i \\right)$ is divided by $86335$.", "answer": 66407, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11807),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", 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=1027199250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=26)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=258)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n \"_c\": Const(83947),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(86335)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T17:35:06.723371Z", "verification": {"verified": true, "answer": 66407, "timestamp": "2026-02-08T17:35:06.727294Z"}, "problem_hash": "5d500b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 426}, "timestamp": "2026-02-12T22:52:50.125Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K14": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e959c7", "alias": "nt_count_intersection_v1_2051736721_2307", "problem": "Let $N = 100000$. Let $a$ be the largest positive integer $d$ such that $d \\leq 11$ and $d$ divides 143. Let $b = 14$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Compute the number of elements in $S$. Let $c = 31567$. Find the remainder when $c$ times the number of elements in $S$ is divided by 99253.", "answer": 10565, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(100000),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(11)), Divides(divisor=Var(\"d\"), dividend=Const(143))))),\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(31567),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(99253)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 4.494, "created_at": "2026-02-08T16:33:56.305384Z", "verification": {"verified": true, "answer": 10565, "timestamp": "2026-02-08T16:34:00.799485Z"}, "problem_hash": "ce4eda", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 414}, "timestamp": "2026-02-12T10:56:27.109Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "K15": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "48f0b0", "alias": "nt_sum_over_divisible_v1_1248542787_84", "problem": "Let $\\mathcal{N}$ be the set of all positive integers $n$ such that $1 \\le n \\le 9409$ and $n \\equiv \\sum_{k=0}^{9} (-1)^k \\binom{9}{k} \\pmod{138}$. Compute the sum of all elements in $\\mathcal{N}$. Let $F_n$ denote the $n$-th Fibonacci number. Let $c$ be the number of positive integers $n$ such that $1 \\le n \\le 20586$ and $4$ divides $F_n$. Find the remainder when $c$ times the sum of $\\mathcal{N}$ is divided by $59753$.", "answer": 30871, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59753),\n \"upper\": Const(9409),\n \"divisor\": Const(138),\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(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\")))))))),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(20586)), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "BINOMIAL_ALTERNATING"], "recipe_id": "8715d3", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.301, "created_at": "2026-02-08T02:56:26.184659Z", "verification": {"verified": true, "answer": 30871, "timestamp": "2026-02-08T02:56:26.485344Z"}, "problem_hash": "829511", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 30871, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2988}, "timestamp": "2026-02-09T00:09:51.995Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30871, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2117}, "timestamp": "2026-02-09T12:13:45.475Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:21:27.724Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 68, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 692}, "timestamp": "2026-02-10T15:33:55.264Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 30871, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 1665}, "timestamp": "2026-02-10T16:32:07.778Z"}, {"id": 8, "model": "mathstral", "answer": 25009, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 902}, "timestamp": "2026-02-11T06:52:41.629Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 421}, "timestamp": "2026-02-11T19:53:13.010Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COUNT_FIB_DIVISIBLE": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "2c8467", "alias": "sequence_lucas_compute_v1_717093673_2846", "problem": "Let $S$ be the set of all ordered pairs $(a, b)$ of integers such that $1 \\leq a \\leq 12$, $1 \\leq b \\leq 35$, and let $T$ be the set of all integers $t$ such that $5 \\leq t \\leq 106$ and $t = 3a + 2b$ for some $(a, b) \\in S$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = |T|$. Compute the remainder when $14884 - L_n$ is divided by $68066$, where $L_n$ denotes the $n$th Lucas number. (The Lucas numbers are defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$.)", "answer": 67823, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14884),\n \"_n\": Const(68066),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=35)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=106)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T17:13:50.516902Z", "verification": {"verified": true, "answer": 67823, "timestamp": "2026-02-08T17:13:50.529363Z"}, "problem_hash": "0f5766", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 321, "completion_tokens": 456}, "timestamp": "2026-02-12T22:07:19.485Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7480b3", "alias": "nt_sum_divisors_compute_v1_1742523217_3992", "problem": "Let $a = 41$ and $b$ be the largest integer $k$ such that $13^k$ divides $2314!$. Let $v = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $n = 52441 + \\Omega(1)$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity. Compute the sum of all positive divisors of $n$, multiply this sum by $44121$, and find the remainder when the result is divided by $72386 \\cdot v$.", "answer": 17047, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2314),\n \"a\": Const(41),\n \"b\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(13)),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(1),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(52441), Ref(\"f\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Mul(Const(72386), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "1de740", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MOBIUS_COPRIME", "V1"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T06:10:19.935029Z", "verification": {"verified": true, "answer": 17047, "timestamp": "2026-02-08T06:10:19.940824Z"}, "problem_hash": "e96f05", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "V1": "ok", "MOBIUS_COPRIME": "ok_later", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3b": "no", "L3c": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "fc9f49", "alias": "nt_min_coprime_above_v1_151522320_1464", "problem": "Let $\\phi(n)$ denote Euler's totient function. Define $A$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 81$. Let $s$ be the sum $x + y$ corresponding to each pair in $A$, and let $m$ be the minimum value of $s$ over all such pairs. Define $B$ to be the set of all positive integers $j$ such that $1 \\leq j \\leq m$ and $j^4 \\leq 104976$. Let $M$ be the number of elements in $B$. Now, let $T$ be the set of all integers $n$ such that $64516 < n \\leq 64544$ and $\\gcd(n, M) = 1$. Find the minimum value of $n$ in $T$.", "answer": 64517, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(81),\n \"_n\": Const(4),\n \"start\": Const(64516),\n \"upper\": Const(64544),\n \"modulus\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), EulerPhi(n=Const(1))), Leq(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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(104976))), 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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C3", "ONE_PHI_1"], "recipe_id": "8544c0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C3", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:02:33.061767Z", "verification": {"verified": true, "answer": 64517, "timestamp": "2026-02-08T04:02:33.069939Z"}, "problem_hash": "e711ae", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "C3": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "13ecd0", "alias": "diophantine_product_count_v1_784195855_4540", "problem": "Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 19422$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $B$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq \\max(A)$.\n\nDefine $k$ to be the number of elements in $B$. Let $C$ be the set of all positive integers $x$ such that $1 \\leq x \\leq 185$, $x$ divides $k$, and $\\frac{k}{x} \\leq 185$.\n\nCompute the remainder when $44121 \\cdot |C|$ is divided by $53437$.", "answer": 43601, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(44121),\n \"k\": 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\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(19422)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3)))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"upper\": Const(185),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(53437)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MAX_PRIME_BELOW/COUNT_PRIMES"], "recipe_id": "02b5e0", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T07:09:45.883336Z", "verification": {"verified": true, "answer": 43601, "timestamp": "2026-02-08T07:09:45.894633Z"}, "problem_hash": "49f3c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13714, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 2806}, "timestamp": "2026-02-13T08:19:38.872Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 519}, "timestamp": "2026-02-12T00:52:12.299Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "ok_later", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "76c80b", "alias": "nt_count_intersection_v1_865884756_3029", "problem": "Let $a$ be the largest prime number satisfying $2 \\leq a \\leq 6$, and let $b = 12$. Let $N = 100000$. Define $r$ to be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq N$, $a$ divides $n_1$, and $\\gcd(n_1, b) = 1$.\n\nLet $s$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 35$ and $1 \\leq j \\leq 93$ such that $\\gcd(i, j) = 1$.\n\nCompute the remainder when $s - r$ is divided by $50157$.", "answer": 45509, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50157),\n \"N\": Const(100000),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(93))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW"], "recipe_id": "2e1ede", "seed_template_id": "nt_count_intersection_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 5.814, "created_at": "2026-02-08T17:07:30.276017Z", "verification": {"verified": true, "answer": 45509, "timestamp": "2026-02-08T17:07:36.089877Z"}, "problem_hash": "8840a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 33264, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 692}, "timestamp": "2026-02-12T21:53:06.038Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_SUM_EQUALS": "no", "L3b": "no", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d39f1b", "alias": "nt_max_prime_below_v1_1520064083_5112", "problem": "Let $p$ and $q$ be positive integers such that $pq = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of such integers $p$. Consider the set of all prime numbers $n'$ such that $n \\leq n' \\leq 62001$. Let $r$ be the maximum element of this set. Let $d$ be the smallest divisor of $266818483$ that is at least $2$. Compute $11^{|r|} \\bmod 99991$ plus $d$. Find the value of this sum.", "answer": 87514, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(62001),\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(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(266818483)))))),\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", "COPRIME_PAIRS/MIN_PRIME_FACTOR"], "recipe_id": "f3b39f", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.545, "created_at": "2026-02-08T06:37:50.526138Z", "verification": {"verified": true, "answer": 87514, "timestamp": "2026-02-08T06:37:52.071244Z"}, "problem_hash": "af94ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 7864}, "timestamp": "2026-02-13T02:58:21.444Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 451}, "timestamp": "2026-02-12T00:19:47.286Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "K16": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "2fb5cd", "alias": "nt_sum_totient_over_divisors_v1_1915831931_1839", "problem": "Let $n = 58836$. Compute the remainder when $\\min\\left\\{d_1 \\in \\mathbb{Z}^+ : d_1 \\geq 2 \\text{ and } d_1 \\text{ divides } \\sum x \\right\\} - \\sum_{d \\mid n} \\phi(d)$ is divided by $91444$, where the sum $\\sum x$ is taken over all positive integers $x$ such that $x^2 - 3757x + 108112 = 0$. Determine the value of this remainder.", "answer": 32621, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(58836),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Divides(divisor=Var(\"d1\"), dividend=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-3757), Var(\"x\")), Const(108112)), Const(0)))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91444)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/MIN_PRIME_FACTOR"], "recipe_id": "5c61ea", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T16:29:08.155545Z", "verification": {"verified": true, "answer": 32621, "timestamp": "2026-02-08T16:29:08.161197Z"}, "problem_hash": "027218", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 536}, "timestamp": "2026-02-12T10:47:06.743Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8deafd", "alias": "modular_min_linear_v1_124444284_9347", "problem": "Let $a = 21023$, $b = 25707$, and $m = 52454$. Let $\\text{result}$ be the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $21023x \\equiv 25707 \\pmod{52454}$. Define\n\\[\nQ = \\left( 353702 \\cdot \\left( |\\text{result}| \\bmod \\sum_{d\\mid 97} \\phi(d) \\right) + 329703 \\cdot \\left( |\\text{result}|^2 \\bmod 101 \\right) + 215534 \\cdot \\left( |\\text{result}| \\bmod d_1 \\right) \\right) \\bmod 1009091\n\\]\nwhere $d_1$ is the smallest divisor of $1763$ that is at least $2$, and the modulus of the last term is the smallest divisor of $13239406069$ that is at least $2$. Compute $Q \\bmod 93978$.", "answer": 10753, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(21023),\n \"b\": Const(25707),\n \"m\": Const(52454),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=SumOverDivisors(n=Const(value=97), var='d', expr=EulerPhi(n=Var(name='d'))))), 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')), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1763)))))), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(13239406069)))))))), modulus=Const(1009091)), modulus=Const(93978)),\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", "K3"], "recipe_id": "8176c2", "seed_template_id": "modular_min_linear_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.65, "created_at": "2026-02-08T12:25:23.365970Z", "verification": {"verified": true, "answer": 10753, "timestamp": "2026-02-08T12:25:26.016335Z"}, "problem_hash": "780925", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 371, "completion_tokens": 434}, "timestamp": "2026-02-12T05:11:58.683Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "DS2": "no", "K16": "no", "LTE_DIFF_P2": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "938af0", "alias": "nt_count_squarefree_v1_151522320_437", "problem": "Let $p_1 = 67$. Let $q_1$ be the number of integers $n$ with $1 \\le n \\le 166$ such that the sum of the decimal digits of $n$ is even. Define\n$$n_1 = p_1 q_1.$$\n\nLet\n$$m = \\sum_{d \\mid n_1} \\mu(d),$$\nwhere $\\mu$ is the function that takes the value $0$ on integers divisible by the square of a prime, $1$ on $1$, and $(-1)^k$ on the product of $k$ distinct primes.\n\nLet $p$ be the largest prime number between $2$ and $52$, inclusive.\n\nLet $T$ be the set of all integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 201$, $1 \\le b \\le 141$, $11 \\le t \\le 1791$, and\n$$t = 4a + 7b.$$\nLet $C$ be the number of elements in $T$.\n\nConsider all integers $d$ with $d \\ge 2$ such that $d$ divides $C$. Assume the set of all such $d$ is nonempty, and let $s$ be the smallest element of this set. Define\n$$q = s + m,$$\nand let\n$$n = (pq)^2.$$\n\nLet $c$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Define $U = 35344c$.\n\nLet $R$ be the number of integers $n$ with $1 \\le n \\le U$ such that $\\mu(n)^2 = 1$.\n\nLet $C_0 = 17000$ and $N_0 = 93429$. Define\n$$Q \\equiv C_0 R \\pmod{N_0}, \\quad 0 \\le Q < N_0.$$\n\nFind the value of $Q$. ", "answer": 90468, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(93429),\n \"p1\": Const(67),\n \"q1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(166)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"n1\": Mul(Ref(\"p1\"), Ref(\"q1\")),\n \"m\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(52)), IsPrime(Var(\"n\"))))),\n \"q\": Sum(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=201)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=141)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=1791)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))))))), Ref(\"m\")),\n \"n\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"upper\": Mul(Const(35344), Ref(\"c\")),\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 \"_c\": Const(17000),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/MOBIUS_SUM/DIVISOR_PARITY", "MAX_PRIME_BELOW/DIVISOR_PARITY", "L3B/MOBIUS_SUM"], "recipe_id": "11b690", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "L3B", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 6, "generation_time": 5.039, "created_at": "2026-02-08T03:14:50.682822Z", "verification": {"verified": true, "answer": 90468, "timestamp": "2026-02-08T03:14:55.722292Z"}, "problem_hash": "0ce5d0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "1a8f09", "alias": "antilemma_cartesian_v1_784195855_9444", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ where $a$ is an integer from 1 to 12, inclusive, and $b$ is an integer from 1 to 43, inclusive. Compute the number of elements in $S$.", "answer": 516, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(43)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:49:11.321005Z", "verification": {"verified": true, "answer": 516, "timestamp": "2026-02-08T16:49:11.322219Z"}, "problem_hash": "790406", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 516, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 207}, "timestamp": "2026-02-12T21:14:35.470Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "4e1043", "alias": "antilemma_cartesian_v1_655260480_3114", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 26$ and $1 \\leq b \\leq 34$. Let $m = |x| + 2$. The Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Define the Fibonacci entry point modulo $m$ to be the smallest positive integer $k$ such that $F_k \\equiv 0 \\pmod{m}$. Compute the value of this Fibonacci entry point.", "answer": 444, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(34)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:11:45.601317Z", "verification": {"verified": true, "answer": 444, "timestamp": "2026-02-08T17:11:45.602315Z"}, "problem_hash": "a4df7b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 483}, "timestamp": "2026-02-12T22:01:23.235Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ccdb3f", "alias": "antilemma_cartesian_v1_865884756_6872", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 32$ and $1 \\leq j \\leq 36$. Let $n = |S|$.\n\nLet $B_n$ denote the $n$th Bell number, which is the number of partitions of a set of $n$ elements. Compute the remainder when $B_n$ is divided by $11$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(32)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=Const(11))),\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_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T19:25:43.409211Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T19:25:43.425989Z"}, "problem_hash": "82d78d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 519}, "timestamp": "2026-02-13T01:00:26.110Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0c02b0", "alias": "algebra_poly_eval_v1_784195855_2464", "problem": "Let $n = 23$. Let $T$ be the set of all positive integers $t$ such that $18 \\leq t \\leq 509$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 120$, $1 \\leq b \\leq 4$, and $t = 4a + 5b + 9$. Let $c$ be the number of elements in $T$. Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 4$. Let $m_1$ be the maximum value of $xy$ as $(x, y)$ ranges over $P$. Let $Q$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 168100$. Let $m_2$ be the minimum value of $x + y$ as $(x, y)$ ranges over $Q$. Compute\n$$\n\\frac{c \\cdot n^{m_1} - 852 \\cdot n^3 - m_2 \\cdot n^2 - 149n + 24}{42823}.\n$$\nLet $r$ be this value. Compute the remainder when $44121 \\cdot r$ is divided by $51308$. Find the value of this remainder.", "answer": 14557, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(852),\n \"n\": Const(23),\n \"result\": Div(Sum(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=120)), 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=18)), Leq(left=Var(name='t'), right=Const(value=509)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=9)))))))), Pow(Ref(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))))), Mul(Ref(\"_n\"), Pow(Ref(\"n\"), Const(3))), 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(168100)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Pow(Ref(\"n\"), Const(2))), Mul(Const(149), Ref(\"n\")), Const(-24)), Const(42823)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(51308)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B1", "B3"], "recipe_id": "1bb960", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T05:45:29.824621Z", "verification": {"verified": true, "answer": 14557, "timestamp": "2026-02-08T05:45:29.838279Z"}, "problem_hash": "366b65", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1124, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 6147}, "timestamp": "2026-02-12T14:43:02.199Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 409, "completion_tokens": 558}, "timestamp": "2026-02-11T23:08:54.804Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "1746a8", "alias": "comb_binomial_compute_v1_48377204_1424", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = m$, where $m$ is the number of integers $t$ in the interval $[27, 147]$ that can be expressed as $8a + 10b + 9$ for positive integers $a$ and $b$ with $1 \\le a \\le 11$ and $1 \\le b \\le 5$. Compute $\\binom{n}{6}$.", "answer": 3003, "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=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=27)), Leq(left=Var(name='t'), right=Const(value=147)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b')), Const(value=9)))))))),\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 \"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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T16:05:35.982670Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T16:05:35.986373Z"}, "problem_hash": "ea3d2c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 317}, "timestamp": "2026-02-12T09:53:52.819Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e76327", "alias": "nt_count_digit_sum_v1_1918700295_4232", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 10789$ and the sum of the decimal digits of $n$ is 21. Let $A$ be the number of such integers $n$.\\\\\nDefine \n$$\nQ = 353702 \\cdot (A \\bmod 97) + 329703 \\cdot (A^2 + 1 \\bmod 101) + 215534 \\cdot \\left(A + B\\right) \\bmod 1009091,\n$$\nwhere $B$ is the number of integers $t$ with $9 \\leq t \\leq 56$ for which there exist positive integers $a$ and $b$, with $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 9$, such that $t = 5a + 4b$, and the modulus base for the last term is the smallest integer $d \\geq 2$ that divides 121462441.\\\\\nCompute $Q$.", "answer": 12452, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97),\n \"upper\": Const(10789),\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 \"Q\": 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')), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=56)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(121462441)))))))), 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", "LIN_FORM"], "recipe_id": "e2ef0b", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.39, "created_at": "2026-02-08T09:15:21.881642Z", "verification": {"verified": true, "answer": 12452, "timestamp": "2026-02-08T09:15:22.271847Z"}, "problem_hash": "c6f786", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 204461, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 4167}, "timestamp": "2026-02-14T01:52:46.247Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 347, "completion_tokens": 399}, "timestamp": "2026-02-12T02:41:20.181Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "4e22a5", "alias": "nt_min_coprime_above_v1_655260480_7", "problem": "Let $n$ be the smallest integer such that $73985 \\leq n \\leq 74184$ and $\\gcd(n, 190) = 1$. Let $s = \\sum_{k=1}^{137} k$.\n\nCompute the remainder when $n^2 + 7n + s$ is divided by $54689$.", "answer": 15875, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": Const(73984),\n \"upper\": Const(74184),\n \"modulus\": Const(190),\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\": Summation(var=\"k\", start=Const(1), end=Const(137), expr=Var(\"k\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(7), Ref(\"result\")), Ref(\"_c\")), modulus=Const(54689)),\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"], "recipe_id": "609463", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "quadratic_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.035, "created_at": "2026-02-08T15:07:46.234709Z", "verification": {"verified": true, "answer": 15875, "timestamp": "2026-02-08T15:07:46.269980Z"}, "problem_hash": "5b9179", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 305}, "timestamp": "2026-02-12T07:50:27.363Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "DS2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c42a29", "alias": "antilemma_product_of_sums_v1_1742523217_871", "problem": "Let $S_1 = \\sum_{k=1}^{9} k$ and let $S_2$ be the sum of $ij$ over all ordered pairs $(i,j)$ with $1 \\leq i \\leq 8$ and $1 \\leq j \\leq 9$. Let $x = S_1 \\cdot S_2$. Let $\\alpha$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\beta$ be the number of integers $t$ with $5 \\leq t \\leq 16$ for which there exist positive integers $a \\leq 2$ and $b \\leq 5$ such that $t = 3a + 2b$. Compute the remainder when $x^\\alpha + \\beta \\cdot x + 16$ is divided by $99546$.", "answer": 79438, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(99546),\n \"S1\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"S2\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=16)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), Ref(\"x\")), Const(16)), 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", "LIN_FORM", "PRODUCT_OF_SUMS"], "recipe_id": "92fe5f", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:19:08.020317Z", "verification": {"verified": true, "answer": 79438, "timestamp": "2026-02-08T03:19:08.024415Z"}, "problem_hash": "c54ece", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 79438, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 324, "completion_tokens": 3041}, "timestamp": "2026-02-09T23:51:10.901Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 79438, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 328, "completion_tokens": 2014}, "timestamp": "2026-02-09T08:03:00.942Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3c": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "334295", "alias": "nt_count_intersection_v1_1918700295_2903", "problem": "Let $N$ be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\leq x \\leq 50$ and $1 \\leq y \\leq 100$. Let $a = 9$ and $b = 16$. Define $r$ to be the number of positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1119364$. Compute $r^2 + 29r + s$.", "answer": 87462, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(50)), right=IntegerRange(start=Const(1), end=Const(100)))),\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\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(29), 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(1119364)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "COUNT_CARTESIAN"], "recipe_id": "a182a0", "seed_template_id": "nt_count_intersection_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 3.803, "created_at": "2026-02-08T08:18:33.437589Z", "verification": {"verified": true, "answer": 87462, "timestamp": "2026-02-08T08:18:37.240540Z"}, "problem_hash": "25543b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 87462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 1584}, "timestamp": "2026-02-13T17:14:00.332Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 85810, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 766}, "timestamp": "2026-02-12T01:46:26.011Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "L3b": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "20d3ed", "alias": "geo_visible_lattice_v1_717093673_3054", "problem": "Let $n = 180$. A lattice point $(x, y)$ is called visible if $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Let $v$ be the number of visible lattice points. Compute the remainder when $27240 \\cdot v$ is divided by $78229$.", "answer": 19640, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(180),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(27240), Ref(\"result\")), modulus=Const(78229)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.671, "created_at": "2026-02-08T17:21:09.371319Z", "verification": {"verified": true, "answer": 19640, "timestamp": "2026-02-08T17:21:10.042078Z"}, "problem_hash": "45e64d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 61966, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 421}, "timestamp": "2026-02-12T22:22:38.730Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "65d74e", "alias": "sequence_count_fib_divisible_v1_655260480_3474", "problem": "Let $n = 83219$. Define $S$ as the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 230400$. Let $\\alpha$ be the minimum value of $x + y$ over all such pairs $(x, y) \\in S$. Let\n$$\nd = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor,\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $T$ be the set of all positive integers $n$ with $1 \\leq n \\leq \\alpha$ such that $d$ divides the $n$-th Fibonacci number. Let $r$ be the number of elements in $T$. Compute the remainder when $75456 \\cdot r$ is divided by $83219$.", "answer": 44712, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83219),\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(230400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": Const(75456),\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": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.043, "created_at": "2026-02-08T17:23:58.392307Z", "verification": {"verified": true, "answer": 44712, "timestamp": "2026-02-08T17:23:58.435250Z"}, "problem_hash": "2243f0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 579}, "timestamp": "2026-02-12T22:30:35.111Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "K16": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fe6502", "alias": "nt_count_with_divisor_count_v1_865884756_3022", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 4251347100$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of elements in $S$.\n\nLet $T$ be the set of all ordered pairs $(k, j)$ where $k$ is an integer from $1$ to $4$ and $j$ is an integer from $1$ to $8$. Define\n$$\nd = \\frac{4 \\cdot \\sum_{(k,j) \\in T} k}{n}.\n$$\nNow let $U$ be the set of positive integers $n$ such that $1 \\leq n \\leq 28224$ and the number of positive divisors of $n$ is exactly $d$. Determine the value of the number of elements in $U$.", "answer": 360, "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=4251347100)), 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(28224),\n \"div_count\": Div(Mul(Const(4), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(8)))), expr=Var(\"k\")))), Ref(\"_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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["COPRIME_PAIRS/SUM_INDEPENDENT/SUM_ARITHMETIC"], "recipe_id": "c8f12e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_COPRIME", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 4, "generation_time": 9.109, "created_at": "2026-02-08T17:06:05.771362Z", "verification": {"verified": true, "answer": 360, "timestamp": "2026-02-08T17:06:14.880609Z"}, "problem_hash": "af64c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 311, "completion_tokens": 461}, "timestamp": "2026-02-12T21:53:00.726Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok_later", "SUM_INDEPENDENT": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ae7910", "alias": "sequence_lucas_compute_v1_124444284_6187", "problem": "Let $n = 20$ and let $N = 61951$. Compute the remainder when the number of integers $j$ with $0 \\le j \\le 61951$ for which $\\binom{61951}{j}$ is odd is subtracted from the $20$th Lucas number, and then divide the result by $93400$. That is, compute\n$$\n\\left(\\sum_{\\substack{j=0 \\\\ \\binom{61951}{j} \\text{ odd}}}^{61951} 1 - L_{20}\\right) \\mod 93400.\n$$\nFind the value of this expression.", "answer": 86465, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61951),\n \"n\": Const(20),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(61951)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")), modulus=Const(93400)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T08:11:13.389095Z", "verification": {"verified": true, "answer": 86465, "timestamp": "2026-02-08T08:11:13.390731Z"}, "problem_hash": "15d78e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 86465, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 175, "completion_tokens": 2133}, "timestamp": "2026-02-13T15:34:51.111Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 535}, "timestamp": "2026-02-12T01:36:54.336Z"}], "solution_status": 1, "lemma_applicability": {"V8": "ok", "K14": "no", "K17": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3b111b", "alias": "nt_count_divisors_in_range_v1_1915831931_2306", "problem": "Let $n$ be the number of positive integers at most $15119$ whose digit sum is odd. Let $a = 10$ and $b = 1268$. Let $r$ be the number of positive divisors of $n$ that are at least $a$ and at most $b$. Let $c$ be the number of prime numbers at most $11321$. Compute $c - r$.", "answer": 1319, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11321),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(15119)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Const(2)), Const(1))))),\n \"a\": Const(10),\n \"b\": Const(1268),\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=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\"))))),\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": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "L3B"], "recipe_id": "29782f", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "L3B"], "num_lemmas": 2, "generation_time": 0.026, "created_at": "2026-02-08T16:43:48.724580Z", "verification": {"verified": true, "answer": 1319, "timestamp": "2026-02-08T16:43:48.750737Z"}, "problem_hash": "a6c5e3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 402}, "timestamp": "2026-02-12T20:48:25.087Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "L3B": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c0e6fd", "alias": "nt_sum_divisors_mod_v1_1520064083_4818", "problem": "Let $ n = \\sum_{k=1}^{\\sum_{k=1}^{5} k} k $. Let $ \\sigma $ be the sum of all positive divisors of $ n $. Compute the remainder when $ \\sigma $ is divided by $ 10529 $.", "answer": 360, "graph": "graphs = [\n Graph(\n let={\n \"n\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")), expr=Var(\"k\")),\n \"M\": Const(10529),\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_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "2a57af", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.01, "created_at": "2026-02-08T06:26:40.494630Z", "verification": {"verified": true, "answer": 360, "timestamp": "2026-02-08T06:26:40.504703Z"}, "problem_hash": "969e95", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 360, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 253}, "timestamp": "2026-02-12T00:05:07.910Z"}], "solution_status": 2, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K13": "no", "K15": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "4ac756", "alias": "antilemma_cartesian_v1_898971024_2908", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 29$ and $1 \\leq j \\leq 37$. Let $c = 10946$. Compute $c - x$.", "answer": 9873, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(29)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"_c\": Const(10946),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:03:07.920138Z", "verification": {"verified": true, "answer": 9873, "timestamp": "2026-02-08T17:03:07.921421Z"}, "problem_hash": "d4ff6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9873, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 130}, "timestamp": "2026-02-12T21:46:21.282Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "89cb53", "alias": "antilemma_sum_primes_v1_784195855_4894", "problem": "Let $T$ be the set of integers $t$ with $10 \\leq t \\leq 34$ such that $t = 6a + 4b$ for some integers $a, b$ with $1 \\leq a \\leq 3$ and $1 \\leq b \\leq 4$. Let $d$ be the largest power of $11$ that divides $12^{11} - 1^{|T|}$. Let $x$ be the number of prime numbers $n$ such that $d \\leq n \\leq 6$. Compute the multiplicative order of $2$ modulo $2|x| + 3$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(6),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Sub(Pow(Const(12), Ref(\"_m\")), Pow(Const(1), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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'))))))))))), base=Const(11))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='x')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["LIN_FORM/LTE_DIFF/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "8167bc", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "LTE_DIFF", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.017, "created_at": "2026-02-08T07:28:01.566795Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T07:28:01.583710Z"}, "problem_hash": "d57a78", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "SUM_PRIMES": "ok", "LTE_DIFF": "ok_later", "K14": "no", "K16": "no", "K18": "no", "L3c": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "9e1929", "alias": "nt_count_gcd_equals_v1_898971024_3032", "problem": "Let $T$ be the set of all integers $t$ with $12 \\leq t \\leq 5578$ for which there exist positive integers $a \\leq 220$ and $b \\leq 939$ such that $t = 4a + 5b + 3$. Let $k = 192$ and let $d$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 502431930$, $\\gcd(p, q) = 1$, and $p < q$. Compute the sum $\\sum_{n=1}^{|A|} \\tau(n)$, where $A$ is the set of all positive integers $n \\leq |T|$ such that $\\gcd(n, k) = d$, and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 247, "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=220)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=939)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=5578)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=3)))))))),\n \"k\": Const(192),\n \"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=502431930)), 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\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.442, "created_at": "2026-02-08T17:07:52.938054Z", "verification": {"verified": true, "answer": 247, "timestamp": "2026-02-08T17:07:53.379596Z"}, "problem_hash": "39c743", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 552}, "timestamp": "2026-02-12T21:50:36.137Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K14": "no", "K16": "no", "K5": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "41bba3", "alias": "geo_visible_lattice_v1_865884756_6064", "problem": "Let $n = 120$. Define $P$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$.\n\nCompute the remainder when $$\\sum_{k=1}^{P} \\phi(k)$$ is divided by $50842$, where $\\phi$ denotes Euler's totient function.", "answer": 214, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(120),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Div(Const(94), Const(94)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))), modulus=Const(50842)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.695, "created_at": "2026-02-08T18:56:35.205707Z", "verification": {"verified": true, "answer": 214, "timestamp": "2026-02-08T18:56:35.900494Z"}, "problem_hash": "71e71d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 432}, "timestamp": "2026-02-13T00:42:18.290Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "89627a", "alias": "nt_count_divisible_and_v1_717093673_980", "problem": "Let $T$ be the set of all integers $t$ such that $10 \\leq t \\leq 4380$ and $t = 6a + 4b$ for some integers $a, b$ with $1 \\leq a, b \\leq 438$. Let $d_1$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 270$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_2$ be the number of integers $t_1$ such that $5 \\leq t_1 \\leq 12$ and $t_1 = 2a + 3b$ for some integers $a, b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 2$. Determine the number of positive integers $n \\leq |T|$ such that $n$ is divisible by both $d_1$ and $d_2$, and compute $43264$ minus this count.", "answer": 43082, "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=438)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=438)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=4380)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"d1\": 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'))))))),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t1'), right=Const(value=5)), Leq(left=Var(name='t1'), right=Const(value=12)), Eq(left=Var(name='t1'), 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 \"_c\": Const(43264),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 3.391, "created_at": "2026-02-08T15:46:14.442312Z", "verification": {"verified": true, "answer": 43082, "timestamp": "2026-02-08T15:46:17.833119Z"}, "problem_hash": "a93a83", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 339, "completion_tokens": 919}, "timestamp": "2026-02-12T09:12:22.257Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K16": "no", "K18": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4956b0", "alias": "diophantine_fbi2_min_v1_1353956133_18", "problem": "Let $k=15$ and $U=25$. Let $d$ be the smallest integer such that $2\\le d\\le U$, $d$ divides $k$, and $\\dfrac{k}{d}\\ge5$.\n\nDefine\n\\[Q=\\sum_{n=1}^{|d|} \\tau(n),\\]\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nCompute $Q$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(15),\n \"a\": Const(1),\n \"b\": Const(4),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "SUM_DIVISIBLE/COUNT_PRIMES"], "recipe_id": "311c99", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "sum_divisor_count", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "MAX_PRIME_BELOW", "ONE_PHI_2", "SUM_DIVISIBLE"], "num_lemmas": 5, "generation_time": 0.046, "created_at": "2026-02-08T11:16:12.560458Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T11:16:12.606735Z"}, "problem_hash": "75d137", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 523}, "timestamp": "2026-02-14T11:22:34.953Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 297}, "timestamp": "2026-02-12T03:45:30.874Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_DIVISIBLE": "ok", "COUNT_PRIMES": "ok_later", "ONE_PHI_2": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "d7e0f0", "alias": "geo_count_lattice_triangle_v1_1520064083_556", "problem": "Let $A = (0, 0)$, $B = (120, 99)$, and $C = (240, 361)$. The area of triangle $ABC$ is denoted by $\\frac{1}{2} \\cdot \\text{area}_{2x}$, where $\\text{area}_{2x} = |120 \\cdot 361 - 240 \\cdot 99|$. Let $b$ be the number of lattice points on the boundary of triangle $ABC$, which is given by\n\\[\nb = \\gcd(120, 99) + \\gcd(240 - 120, 361 - 99) + \\gcd(240, 361).\n\\]\nHowever, due to an internal inconsistency in the problem specification, the correct expression for $b$ must be reinterpreted. Instead, define:\n\n- Let $S_1$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 40000$. Let $d = \\min\\{x + y \\mid (x, y) \\in S_1\\}$, and let $k = v_5(d!)$, the largest integer $k$ such that $5^k$ divides $d!$.\n- Let $S_2$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 38$. Let $p = \\max\\{xy \\mid (x, y) \\in S_2\\}$.\n\nThen redefine:\n\\[\nb = \\gcd(120, 99) + \\gcd(120, 361 - 99) + \\gcd(240, p),\n\\]\nwhere $p = \\max\\{xy\\}$ as above.\n\nNow compute\n\\[\n\\frac{\\text{area}_{2x} + 2 - b}{2}.\n\\]", "answer": 9778, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(99),\n \"_m\": Const(38),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=120), Const(value=361)), Mul(Const(value=240), Sub(left=Const(value=0), right=Const(value=99))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=99))), GCD(a=Abs(arg=Sub(left=Const(value=240), right=Const(value=120))), b=Abs(arg=Sub(left=Const(value=361), right=MaxKDivides(target=Factorial(arg=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=40000)))), expr=Sum(Var(name='x'), Var(name='y'))))), base=Const(value=5))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=240))), b=Abs(arg=Sub(left=Const(value=0), right=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Ref(name='_m')))), expr=Mul(Var(name='x'), Var(name='y')))))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Ref(\"_n\"), 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": "B3", "lemma_paths": ["B3/V1", "B1"], "recipe_id": "77cd5a", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "V1"], "num_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T03:28:23.672218Z", "verification": {"verified": true, "answer": 9778, "timestamp": "2026-02-08T03:28:23.684636Z"}, "problem_hash": "496ecf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "B3": "ok", "V1": "ok_later", "K13": "no", "K16": "no", "L3c": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "97e158", "alias": "modular_mod_compute_v1_784195855_6864", "problem": "Let $a = 6765$. Let $d_\\text{max}$ be the largest positive divisor of $3440989$ that is at most $1849$. Define $r = |a \\bmod{d_\\text{max}}|$. Let $n = 11$. Compute the Bell number $B_k$, where $k = r \\bmod{n}$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"a\": Const(6765),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1849)), Divides(divisor=Var(\"d\"), dividend=Const(3440989))))),\n \"result\": Mod(value=Ref(\"a\"), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T08:55:40.367506Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T08:55:40.370027Z"}, "problem_hash": "247c7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 5541}, "timestamp": "2026-02-13T23:01:17.122Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 297}, "timestamp": "2026-02-12T02:22:29.353Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "K14": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "9cdbbe", "alias": "modular_sum_quadratic_residues_v1_1978505735_2419", "problem": "Let $p = 233$ and define $r = \\frac{p(p-1)}{4}$. Let $s = \\sum_{k=1}^{6} k$. Compute the value of\n$$\n353702 \\cdot |r| \\bmod 97 + 329703 \\cdot (|r|^2 \\bmod 1) \\bmod 101 + 215534 \\cdot (|r| + s) \\bmod q,\n$$\nwhere $q$ is the largest prime number not exceeding 103. Then, find the remainder when this sum is divided by $1009091$, and finally take the result modulo $97024$.", "answer": 88251, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(103),\n \"p\": Const(233),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(6), expr=Var(\"k\")),\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(\"_m\")), Const(1)), 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\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(97024)),\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", "SUM_ARITHMETIC"], "recipe_id": "9d275c", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T16:53:28.303281Z", "verification": {"verified": true, "answer": 88251, "timestamp": "2026-02-08T16:53:28.311061Z"}, "problem_hash": "8630a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 493}, "timestamp": "2026-02-12T21:16:23.644Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "SUM_ARITHMETIC": "ok", "C2": "no", "DS2": "no", "K14": "no", "K18": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0c0826", "alias": "geo_count_lattice_rect_v1_655260480_4203", "problem": "Let $a = 128$ and $b = 57$. The number of lattice points in the rectangle $[0, a] \\times [0, b]$ is denoted by $r$. Compute $13 \\cdot r$.", "answer": 97266, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(128),\n \"b\": Const(57),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"_c\": Const(13),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.005, "created_at": "2026-02-08T17:48:05.644591Z", "verification": {"verified": true, "answer": 97266, "timestamp": "2026-02-08T17:48:05.649392Z"}, "problem_hash": "a49634", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 98566, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 263}, "timestamp": "2026-02-12T23:14:03.522Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "672594", "alias": "comb_count_permutations_fixed_v1_124444284_1756", "problem": "Let $m=9$.\n\nLet $X$ be the set of all integers $n$ with $1\\le n\\le 2061$ such that $m$ divides $n$ and $\\gcd(n,14)=1$. Let $Y$ be the number of elements in $X$.\n\nLet $g=\\gcd(22,Y)$, and define\n$$H = \\sum_{d\\mid g} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $Z$ be the set of all nonnegative integers $j$ such that\n$$H \\le j \\le 49184$$\nand\n$$\\binom{49184}{j} \\equiv 1 \\pmod{P},$$\nwhere $P$ is 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 = 90$ and $\\gcd(p,q) = 1$. Let $n$ be the analogous count for $pq = 54$. Let $p$ be the smallest divisor of $234118799$ that is at least $n$. Compute $\\frac{p(p - \\phi(2))}{m}$, where $\\phi$ is Euler's totient function. Find the value of this result.", "answer": 93789, "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=90)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\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=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\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(234118799))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), EulerPhi(n=Const(2)))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR", "COPRIME_PAIRS/COPRIME_PAIRS", "ONE_PHI_2"], "recipe_id": "df6f3c", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:29:49.758232Z", "verification": {"verified": true, "answer": 93789, "timestamp": "2026-02-08T05:29:49.762839Z"}, "problem_hash": "b6f6b0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "MIN_PRIME_FACTOR": "ok_later", "K14": "no", "K17": "no", "L3c": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "40a733", "alias": "diophantine_sum_product_min_v1_349078426_1576", "problem": "Let $S = 23$. Let $T$ be the set of all integers $t$ such that $5 \\leq t \\leq 3975$ and $t = 2a + 3b$ for some positive integers $a \\leq 474$ and $b \\leq 1009$. Let $P$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = |T|$, the number of elements in $T$. Find the value of the smallest positive integer $x \\leq 22$ such that $x(S - x) = P$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(22),\n \"S\": Const(23),\n \"P\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=474)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1009)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=3975)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_n\")), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T13:43:53.529730Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T13:43:53.535447Z"}, "problem_hash": "05e8f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 530}, "timestamp": "2026-02-12T07:18:42.169Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a6f489", "alias": "nt_count_divisible_v1_1520064083_8947", "problem": "Let $d$ be the largest positive divisor of $999$ that does not exceed $27$. Determine the number of positive integers $n \\leq 58081$ that are divisible by $d$. Find the value of this count.", "answer": 2151, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(999),\n \"upper\": Const(58081),\n \"divisor\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(27)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 1.826, "created_at": "2026-02-08T10:26:48.875025Z", "verification": {"verified": true, "answer": 2151, "timestamp": "2026-02-08T10:26:50.701350Z"}, "problem_hash": "e2cce9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2151, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 203}, "timestamp": "2026-02-12T03:18:30.718Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "6001e5", "alias": "comb_catalan_compute_v1_1125832087_205", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ of integers such that $1 \\le i \\le 12$, $1 \\le j \\le 12$, and $i + j = 12$.\n\nLet $C_n$ denote the $n$-th Catalan number.\n\nLet $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 12482$.\n\nFind the remainder when $c - C_n$ is divided by $80933$.", "answer": 28388, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80933),\n \"_n\": Const(12482),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(12)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12))))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.049, "created_at": "2026-02-08T02:56:29.780594Z", "verification": {"verified": true, "answer": 28388, "timestamp": "2026-02-08T02:56:29.829855Z"}, "problem_hash": "ebe30d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 28388, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 1155}, "timestamp": "2026-02-10T11:48:20.288Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 28388, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 1006}, "timestamp": "2026-02-10T12:25:16.679Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:15:19.012Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 28357, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 554}, "timestamp": "2026-02-10T15:23:15.405Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 28388, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 951}, "timestamp": "2026-02-10T15:55:44.785Z"}, {"id": 8, "model": "mathstral", "answer": 42, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 599}, "timestamp": "2026-02-11T06:40:20.513Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 426}, "timestamp": "2026-02-11T19:52:20.259Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "96a274", "alias": "antilemma_sum_factor_cartesian_v1_1248542787_78", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ with $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 18$. Compute $x = \\sum_{(i,j) \\in S} ij$. Let $P$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 16777216$. Let $s_{\\min}$ be the minimum value of $x + y$ over all such pairs. Compute $x^2 + x + s_{\\min}$, and find the remainder when this value is divided by $86805$. Compute this remainder.", "answer": 79607, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86805),\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(18)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\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(16777216)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(1), Ref(\"x\")), Ref(\"_c\")), 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", "SUM_FACTOR_CARTESIAN"], "recipe_id": "6116a7", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:56:25.609572Z", "verification": {"verified": true, "answer": 79607, "timestamp": "2026-02-08T02:56:25.611334Z"}, "problem_hash": "a30541", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 79607, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 1192}, "timestamp": "2026-02-09T00:04:04.101Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 79607, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 1295}, "timestamp": "2026-02-09T12:03:38.925Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 209, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:17:49.880Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "valid"} +{"id": "c0a62d", "alias": "comb_count_surjections_v1_1248542787_558", "problem": "Let $n$ be the number of elements in the set $\\{(i, j) \\mid 1 \\leq i \\leq 2,\\ 1 \\leq j \\leq 3\\}$. Let $k = 3$. Let $r = k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind. Compute $r + \\phi(r + 1) + \\tau(r + 1)$, where $\\phi$ is Euler's totient function and $\\tau$ denotes the number of positive divisors.", "answer": 1082, "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(3)))),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T03:13:10.385359Z", "verification": {"verified": true, "answer": 1082, "timestamp": "2026-02-08T03:13:10.388109Z"}, "problem_hash": "ab2939", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1082, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 762}, "timestamp": "2026-02-09T05:31:50.518Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1082, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 922}, "timestamp": "2026-02-09T18:19:03.499Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1082, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 4761}, "timestamp": "2026-02-09T16:52:56.555Z"}, {"id": 8, "model": "mathstral", "answer": 242, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 621}, "timestamp": "2026-02-11T17:27:48.623Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 239, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 438}, "timestamp": "2026-02-11T20:34:44.323Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -9.22, "mid": -6.39, "hi": -3.05}, "split": "valid"} +{"id": "837596", "alias": "comb_sum_binomial_mod_v1_809748730_1822", "problem": "Let $N = 315$. Consider the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 302500$. For each such pair, compute $x + y$. Let $S$ be the minimum value of $x + y$ over all such pairs.\n\nNow consider the set of positive integers $n$ such that $1 \\leq n \\leq S$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $k_0$ be the number of such integers $n$.\n\nCompute the sum\n$$\n\\sum_{k=24}^{k_0} \\binom{315}{k}.\n$$\nLet $R$ be the remainder when this sum is divided by $11353$.\n\nLet $C = 20357$. Find the remainder when $C \\cdot R$ is divided by $80070$.", "answer": 6297, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(315),\n \"sum\": Summation(var=\"k\", start=Const(24), 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(302500)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11353)),\n \"_c\": Const(20357),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(80070)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.045, "created_at": "2026-02-08T12:42:16.423193Z", "verification": {"verified": true, "answer": 6297, "timestamp": "2026-02-08T12:42:16.468195Z"}, "problem_hash": "5b5f02", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 499}, "timestamp": "2026-02-12T05:33:06.550Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "K18": "no", "MOD_MUL": "no", "V1": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2c5cb5", "alias": "nt_min_with_divisor_count_v1_124444284_9624", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\le n \\le 33333$ and $n$ has exactly $12$ positive divisors. Let $m$ be the smallest element of $A$. Let $B$ 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 $p \\cdot q = 858029769409162350$. Compute $|B| - m$.", "answer": 452, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(33333),\n \"div_count\": Const(12),\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\": 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=858029769409162350)), 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\": Sub(Ref(\"_c\"), Ref(\"result\")),\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"], "recipe_id": "c90628", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 1.368, "created_at": "2026-02-08T12:35:33.867078Z", "verification": {"verified": true, "answer": 452, "timestamp": "2026-02-08T12:35:35.234944Z"}, "problem_hash": "46df8a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 586}, "timestamp": "2026-02-12T05:23:28.168Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K13": "no", "K18": "no", "K5": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "166fbe", "alias": "sequence_lucas_compute_v1_349078426_233", "problem": "Let $n = 22$ and define $L_n$ to be the $n$-th Lucas number. Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ satisfying $pq = 284293485225750$, $\\gcd(p, q) = 1$, and $p < q$. Let $c$ be the number of elements in $S$. Find the value of $(c - L_n) \\bmod 98879$.", "answer": 59340, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(22),\n \"result\": Lucas(arg=Ref(name='n')),\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=284293485225750)), 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(98879)),\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"], "recipe_id": "c90628", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:53:01.802870Z", "verification": {"verified": true, "answer": 59340, "timestamp": "2026-02-08T12:53:01.804958Z"}, "problem_hash": "bc2b00", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 554}, "timestamp": "2026-02-12T05:51:45.534Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3b6aea", "alias": "nt_gcd_compute_v1_1456120455_49", "problem": "Let $n_1 = 3$. Define $e = \\mu(n_1)^2$, where $\\mu$ denotes the Möbius function. Let $S$ be the set of all integers $t$ such that $7 \\leq t \\leq 5341$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 1091$, $1 \\leq b \\leq 517$, and $t = 3a + 4b$. Let $n = |S| \\cdot e$. Define $m = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $a = 737352$ and $b = 1273608$. Compute $\\gcd(a, b)$, and denote this value by $\\text{result}$. Let $c = 94135 \\cdot m$. Determine the value of $c \\cdot \\text{result} \\bmod 91284$.", "answer": 50820, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94135),\n \"n1\": Const(3),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1091)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=517)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5341)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"e\")),\n \"m\": LiouvilleLambda(n=Ref(name='n')),\n \"a\": Const(737352),\n \"b\": Const(1273608),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Mul(Ref(\"_n\"), Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91284)),\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_SQUAREFREE/LIOUVILLE_ONE"], "recipe_id": "e283b1", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.151, "created_at": "2026-02-08T02:51:33.436542Z", "verification": {"verified": true, "answer": 50820, "timestamp": "2026-02-08T02:51:33.587570Z"}, "problem_hash": "0f448c", "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": 326, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:57:41.707Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 50820, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 322, "completion_tokens": 3575}, "timestamp": "2026-02-09T20:43:55.107Z"}, {"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-10T01:50:53.366Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 50820, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 245, "completion_tokens": 4323}, "timestamp": "2026-02-10T01:24:33.700Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_ONE": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K14": "no", "K5": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "valid"} +{"id": "04759d", "alias": "algebra_quadratic_discriminant_v1_1526740231_185", "problem": "Let $a = -9$, $b = -7$, and let $c$ be the largest prime number $n$ such that $2 \\leq n \\leq 4$. Let $M$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 4$. Compute $b^2 - M \\cdot a \\cdot c$.", "answer": 157, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(-9),\n \"b\": Const(-7),\n \"c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\"))))),\n \"result\": 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 },\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", "B1"], "recipe_id": "7086d0", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T11:23:19.662152Z", "verification": {"verified": true, "answer": 157, "timestamp": "2026-02-08T11:23:19.664742Z"}, "problem_hash": "b67d6c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 157, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 293}, "timestamp": "2026-02-12T03:56:25.788Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "MOD_ADD": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "4df51f", "alias": "modular_modexp_compute_v1_898971024_2324", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, \\dots, 563\\}$. Let $N$ be the number of elements in $S$. Define $e$ to be the largest prime number $n$ such that $2 \\leq n \\leq N$. Compute the remainder when $13^e$ is divided by $58564$.", "answer": 46065, "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(563)))),\n \"a\": Const(13),\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(58564),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/MAX_PRIME_BELOW"], "recipe_id": "07a68e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:40:16.126847Z", "verification": {"verified": true, "answer": 46065, "timestamp": "2026-02-08T16:40:16.129924Z"}, "problem_hash": "f6cc15", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 392}, "timestamp": "2026-02-12T20:45:38.020Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K5": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3c521c", "alias": "comb_count_partitions_v1_260342960_171", "problem": "Let $T$ be the set of all integers $t$ such that $20 \\leq t \\leq 388$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 52$, $1 \\leq b \\leq 44$, and $t = 3a + 5b + 12$. Let $n$ be the number of elements in $T$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = n$. Compute the number of unordered partitions of $s$ into positive integers.", "answer": 26015, "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=52)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=44)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=388)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=12)))))))),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:17:01.929104Z", "verification": {"verified": true, "answer": 26015, "timestamp": "2026-02-08T11:17:01.930987Z"}, "problem_hash": "77d2ed", "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": 251, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:32:48.232Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26015, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:52:50.006Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 8192}, "timestamp": "2026-02-12T04:15:12.171Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 204226, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 563}, "timestamp": "2026-02-09T08:09:56.278Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 12132164, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 5315}, "timestamp": "2026-02-09T18:18:30.097Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 691}, "timestamp": "2026-02-11T23:33:51.833Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.05, "mid": 2.79, "hi": 5.99}, "split": "valid"} +{"id": "808134", "alias": "geo_count_lattice_rect_v1_124444284_7366", "problem": "Let $a = 289$ and $b = 214$. Let $P$ be the number of lattice points $(x,y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the remainder when $44121 \\cdot P$ is divided by $89347$.", "answer": 39567, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(289),\n \"b\": Const(214),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(89347)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T09:05:01.979743Z", "verification": {"verified": true, "answer": 39567, "timestamp": "2026-02-08T09:05:01.980612Z"}, "problem_hash": "285b5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39567, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 114, "completion_tokens": 979}, "timestamp": "2026-02-14T00:28:44.535Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49050, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 348}, "timestamp": "2026-02-12T02:32:31.277Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0783cb", "alias": "nt_count_coprime_and_v1_784195855_1197", "problem": "Let $k_1$ be the number of positive integers $k$ such that $1 \\leq k \\leq 288$ and $32$ divides $k$. Let $k_2$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6987750$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq 73683$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Compute $\\text{result}$.", "answer": 24561, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(288),\n \"upper\": Const(73683),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), EulerPhi(n=Const(1))), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(32), dividend=Var(\"k\"))), domain='positive_integers')),\n \"k2\": 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=6987750)), 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\"), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "ONE_PHI_1", "C2"], "recipe_id": "7f4687", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 8.222, "created_at": "2026-02-08T04:53:59.152959Z", "verification": {"verified": true, "answer": 24561, "timestamp": "2026-02-08T04:54:07.375180Z"}, "problem_hash": "664d9e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "54248e", "alias": "antilemma_cartesian_v1_1918700295_3724", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 19 and $b$ is an integer from 1 to 22. Compute $$\\sum_{n=0}^{x} \\phi(n),$$ where $\\phi(n)$ denotes Euler's totient function. Note that $\\phi(0) = 1$ by convention for this problem.", "answer": 53142, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(22)))),\n \"Q\": Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T08:50:09.997360Z", "verification": {"verified": true, "answer": 53142, "timestamp": "2026-02-08T08:50:10.007282Z"}, "problem_hash": "4b5cf4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41803, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 131, "completion_tokens": 4890}, "timestamp": "2026-02-13T21:48:24.165Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 447}, "timestamp": "2026-02-12T02:14:03.807Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "f75824", "alias": "geo_visible_lattice_v1_865884756_5958", "problem": "Let $n = 66$. Define $L$ to be the number of ordered pairs of positive integers $(x, y)$ such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute $33333 - L$.", "answer": 30678, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(66),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Sub(Const(33333), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.216, "created_at": "2026-02-08T18:53:38.004080Z", "verification": {"verified": true, "answer": 30678, "timestamp": "2026-02-08T18:53:38.219971Z"}, "problem_hash": "f970a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 33313, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 425}, "timestamp": "2026-02-13T00:37:55.215Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "411dcc", "alias": "diophantine_product_count_v1_1353956133_706", "problem": "Let $u$ be the number of positive integers $n \\leq 448$ such that the $n$th Fibonacci number is divisible by 21. Let $d$ be the number of positive divisors $x$ of 120 such that both $x \\leq u$ and $\\frac{120}{x} \\leq u$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 49$. Compute $d + 2^{d \\bmod s}$ modulo 94913.", "answer": 4108, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"k\": Const(120),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(448)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), 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\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Const(94913))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "B3"], "recipe_id": "fa3da5", "seed_template_id": "diophantine_product_count_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.039, "created_at": "2026-02-08T11:48:07.854233Z", "verification": {"verified": true, "answer": 4108, "timestamp": "2026-02-08T11:48:07.893355Z"}, "problem_hash": "d08041", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4108, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 1575}, "timestamp": "2026-02-14T18:59:40.918Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 536}, "timestamp": "2026-02-12T04:36:21.979Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok", "K17": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ac5d5a", "alias": "modular_count_residue_v1_151522320_1937", "problem": "Let $A$ be the set of all ordered pairs $(a,b)$ of integers such that $1 \\leq a \\leq 6$ and $1 \\leq b \\leq 5$. Define $T$ as the set of all integers $t$ such that $7 \\leq t \\leq 37$ and $t = 2a + 5b$ for some $(a,b) \\in A$. Let $m$ be the largest positive divisor of $27 \\times 31$ that also divides $|T|$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 30976$ and $n \\equiv 21 \\pmod{m}$. Compute the number of elements in $S$.", "answer": 1147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(27)), right=IntegerRange(start=Const(1), end=Const(31)))),\n \"upper\": Const(30976),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=37)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"r\": Const(21),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/MAX_DIVISOR", "LIN_FORM/MAX_DIVISOR"], "recipe_id": "707c23", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 1.025, "created_at": "2026-02-08T04:28:20.583861Z", "verification": {"verified": true, "answer": 1147, "timestamp": "2026-02-08T04:28:21.608586Z"}, "problem_hash": "8760ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 1147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 1935}, "timestamp": "2026-02-10T16:48:59.366Z"}, {"id": 8, "model": "mathstral", "answer": 30976, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 1045}, "timestamp": "2026-02-13T17:36:35.155Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 506}, "timestamp": "2026-02-11T20:51:23.021Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "COUNT_INTEGER_RANGE": "no", "K15": "no", "K16": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "1fdf48", "alias": "antilemma_v1_legendre_151522320_274", "problem": "Let $a = \\binom{4625}{1850}$ and let $b$ be the largest integer such that $2^b$ divides $a$. Let $x$ be the largest integer such that $b^x$ divides $90288!$. Compute the remainder when $44121 \\cdot x$ is divided by $66034$.", "answer": 29213, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": MaxKDivides(target=Factorial(Const(90288)), base=MaxKDivides(target=Binom(n=Const(4625), k=Const(1850)), base=Ref(\"_n\"))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(66034)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["V7/V1", "V1"], "recipe_id": "f03eb5", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V1", "V7"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:07:07.536354Z", "verification": {"verified": true, "answer": 29213, "timestamp": "2026-02-08T03:07:07.536900Z"}, "problem_hash": "78dc52", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 29213, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 3020}, "timestamp": "2026-02-09T01:05:50.141Z"}], "solution_status": 2, "lemma_applicability": {"V1": "ok", "V7": "ok", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K13": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "1d5f3a", "alias": "nt_sum_phi_v1_1742523217_1273", "problem": "Define\n$$\n\\_n = \\frac{4}{16} \\sum_{k=1}^{6} \\sum_{j=1}^{4} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor,\n$$\ndefined via the Euler totient function $\\phi$. Let $\\text{upper}$ be the sum of all positive integers $n \\leq 126$ such that $n$ is divisible by $\\_n$. Define\n$$\n\\text{result} = \\sum_{n=1}^{\\text{upper}} \\phi(n).\n$$\nCompute $\\text{result}$.", "answer": 59226, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Div(Mul(Const(4), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(4)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))))), Const(16)),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(126)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\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": "K2", "lemma_paths": ["K2/SUM_DIVISIBLE", "SUM_INDEPENDENT"], "recipe_id": "6fd901", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "SUM_DIVISIBLE", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.028, "created_at": "2026-02-08T03:35:12.445971Z", "verification": {"verified": true, "answer": 59226, "timestamp": "2026-02-08T03:35:12.474331Z"}, "problem_hash": "036b1a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:58:45.281Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:48:37.360Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58704, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 3352}, "timestamp": "2026-02-11T14:00:44.862Z"}, {"id": 8, "model": "mathstral", "answer": 19251, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 986}, "timestamp": "2026-02-12T18:26:58.368Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 553}, "timestamp": "2026-02-11T20:58:56.440Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "SUM_INDEPENDENT": "ok", "SUM_DIVISIBLE": "ok_later", "K14": "no", "K17": "no", "L3b": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "1c844b", "alias": "antilemma_cartesian_v1_655260480_6244", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 22$ and $1 \\leq j \\leq 47$. Compute the value of $7^x \\bmod 99991$, and then add $2017$ to this result. Report the final sum.", "answer": 27975, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(2017)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:55:54.396697Z", "verification": {"verified": true, "answer": 27975, "timestamp": "2026-02-08T18:55:54.397690Z"}, "problem_hash": "0d9501", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 420}, "timestamp": "2026-02-13T00:41:13.935Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f013b5", "alias": "nt_count_intersection_v1_655260480_4170", "problem": "Let $N = 10000$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $11$ divides $n$, and $\\gcd(n, 15) = 1$. Let $c$ be the number of such integers.\n\nLet $P$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq 3559$. Let $d$ be the number of elements in $P$.\n\nCompute the remainder when $$c \\bmod 199 + 3001 \\cdot (c \\bmod d)$$ is divided by $76416$.", "answer": 3668, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3559),\n \"N\": Const(10000),\n \"a\": Const(11),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(3001),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\")))))))), modulus=Const(76416)),\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"], "recipe_id": "0edcc2", "seed_template_id": "nt_count_intersection_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES"], "num_lemmas": 1, "generation_time": 0.354, "created_at": "2026-02-08T17:46:56.967295Z", "verification": {"verified": true, "answer": 3668, "timestamp": "2026-02-08T17:46:57.321563Z"}, "problem_hash": "99c383", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 62656, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 632}, "timestamp": "2026-02-12T23:08:55.430Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "be9c9b", "alias": "modular_min_linear_v1_655260480_1847", "problem": "Let $a = 66244$ and $m = 72793$. Let $b$ be the largest positive integer $d$ such that $d \\leq 7370$ and $d$ divides $54486410$. Determine the value of the smallest positive integer $x \\leq m$ such that \n$$\nax \\equiv b \\pmod{m}.\n$$", "answer": 8024, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(66244),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(7370)), Divides(divisor=Var(\"d\"), dividend=Const(54486410))))),\n \"m\": Const(72793),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 5.912, "created_at": "2026-02-08T16:26:30.178352Z", "verification": {"verified": true, "answer": 8024, "timestamp": "2026-02-08T16:26:36.089853Z"}, "problem_hash": "58c2b8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 170, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 1067}, "timestamp": "2026-02-12T10:38:33.127Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c9689f", "alias": "nt_num_divisors_compute_v1_971394319_976", "problem": "Let $N$ be the product $2398256881999973$. Let $p_{\\text{max}}$ be the smallest prime divisor of $N$ that is at least $2$. Let $n$ be the number of prime numbers less than or equal to $p_{\\text{max}}$ and at least $2$. Let $d(n)$ denote the number of positive divisors of $n$. Compute\n$$\nd(n) + 2^{d(n) \\bmod 16} \\bmod 83221.\n$$", "answer": 2075, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": Const(83221),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2398256881999973)))))), IsPrime(Var(\"n\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Ref(\"_m\"))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:25:01.571981Z", "verification": {"verified": true, "answer": 2075, "timestamp": "2026-02-08T13:25:01.575963Z"}, "problem_hash": "354e3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 412}, "timestamp": "2026-02-12T06:51:29.436Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "LTE_DIFF": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "161cb3", "alias": "nt_sum_over_divisible_v1_898971024_2499", "problem": "Let $a_k = (-1)^k \\binom{9}{k}$ for $k = 0, 1, \\dots, 9$, and let $s = \\sum_{k=0}^{9} a_k$. Let $U$ be the set of all integers $n$ such that $1 \\leq n \\leq 19321$ and $n \\equiv s \\pmod{145}$. Let $r$ be the sum of all elements in $U$. Let $V$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 160$, and let $c$ be the maximum value of $xy$ over all such pairs. Find the value of $(r^2 + 11r + c) \\bmod{53517}$.", "answer": 44641, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19321),\n \"divisor\": Const(145),\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(9), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(9), k=Var(\"k\")))))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(160)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(11), Ref(\"result\")), Ref(\"_c\")), modulus=Const(53517)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "BINOMIAL_ALTERNATING"], "recipe_id": "4bb7d3", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "BINOMIAL_ALTERNATING"], "num_lemmas": 2, "generation_time": 0.923, "created_at": "2026-02-08T16:47:09.152563Z", "verification": {"verified": true, "answer": 44641, "timestamp": "2026-02-08T16:47:10.075328Z"}, "problem_hash": "f048ea", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 496}, "timestamp": "2026-02-12T21:09:50.481Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "BINOMIAL_ALTERNATING": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c6d0e4", "alias": "antilemma_v1_legendre_865884756_858", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 180625$. For each such pair, compute $x + y$, and let $n$ be the smallest value of $x + y$ over all pairs in $S$. Let $p$ be the largest prime number such that $2 \\leq p \\leq 5$. Let $x$ be the largest integer $k$ such that $p^k$ divides $n!$. Compute the remainder when $44121 \\cdot x$ is divided by $88201$.", "answer": 48426, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(88201),\n \"_m\": Const(44121),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x1\"), Var(\"y\")), Const(180625)))), expr=Sum(Var(\"x1\"), Var(\"y\")))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V1", "B3/V1", "V1"], "recipe_id": "9796c1", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T15:38:23.725696Z", "verification": {"verified": true, "answer": 48426, "timestamp": "2026-02-08T15:38:23.728752Z"}, "problem_hash": "d0cbc8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V3": "no"}, "split": "valid"} +{"id": "a92291", "alias": "nt_min_phi_inverse_v1_124444284_4811", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 50$ and $\\phi(n) = 22$. Let $m$ be the smallest such $n$. Compute $\\sum_{k=1}^{|m|} \\phi(k)$.", "answer": 172, "graph": "graphs = [\n Graph(\n let={\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\": 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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.074, "created_at": "2026-02-08T06:14:08.206275Z", "verification": {"verified": true, "answer": 172, "timestamp": "2026-02-08T06:14:08.280148Z"}, "problem_hash": "059f9e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 172, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 102, "completion_tokens": 2371}, "timestamp": "2026-02-12T21:32:26.888Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 319}, "timestamp": "2026-02-11T23:46:25.104Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "9a8143", "alias": "comb_count_permutations_fixed_v1_717093673_3141", "problem": "Let $m = 9$. Define $n$ to be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = m$, $1 \\leq i \\leq 8$, and $1 \\leq j \\leq 9$. Define $\\nu$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 6$. Let $k$ be the number of ordered pairs $(i_1, j_1)$ of positive integers such that $i_1 + j_1 = \\nu$ and $1 \\leq i_1, j_1 \\leq 3$, multiplied by\n$$\n\\sum_{k_1=0}^{0} (-1)^{k_1} \\binom{0}{k_1}.\n$$\nDefine\n$$\nQ = \\binom{n}{k} \\cdot !(n - k),\n$$\nwhere $!r$ denotes the number of derangements of $r$ elements. Compute the remainder when $74351 \\cdot Q$ is divided by $92550$.", "answer": 86420, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\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(6))))),\n \"n2\": Const(0),\n \"t\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n2\"), k=Var(\"k1\")))),\n \"n1\": Const(0),\n \"u\": Summation(var=\"k2\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k2\")), Binom(n=Ref(\"n1\"), k=Var(\"k2\")))),\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(8)), right=IntegerRange(start=Const(1), end=Const(9))))),\n \"k\": Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3))))), Ref(\"t\")),\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(Mul(Const(74351), Ref(\"u\")), Ref(\"result\")), modulus=Const(92550)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING"], "recipe_id": "9319ab", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T17:23:26.785855Z", "verification": {"verified": true, "answer": 86420, "timestamp": "2026-02-08T17:23:26.812282Z"}, "problem_hash": "a5bd89", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 350, "completion_tokens": 448}, "timestamp": "2026-02-12T22:28:59.024Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a225cb", "alias": "diophantine_fbi2_min_v1_1742523217_912", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_{\\text{min}}$ be the smallest integer $d$ such that $4 \\leq d \\leq 25$, $d$ divides $15$, and $\\frac{15}{d} \\geq 3$. Compute $d_{\\text{min}}^2 + n \\cdot d_{\\text{min}} + s$, where $s$ is the sum of all real solutions $x$ to the equation $x^2 - 2022x + 20120 = 0$.", "answer": 2057, "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=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 \"k\": Const(15),\n \"upper\": Const(25),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(Ref(\"_n\"), Ref(\"result\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2022), Var(\"x\")), Const(20120)), Const(0))))),\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/VIETA_SUM"], "recipe_id": "ce4f4e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:21:18.827057Z", "verification": {"verified": true, "answer": 2057, "timestamp": "2026-02-08T03:21:18.833159Z"}, "problem_hash": "ca0f2f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2057, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 549}, "timestamp": "2026-02-10T00:30:45.969Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2057, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 1407}, "timestamp": "2026-02-09T08:29:26.827Z"}, {"id": 8, "model": "mathstral", "answer": 2062, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 377}, "timestamp": "2026-02-11T18:36:52.421Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 487}, "timestamp": "2026-02-11T20:42:37.500Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "VIETA_SUM": "ok_later", "DS2": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "673fbc", "alias": "antilemma_cartesian_v1_124444284_9278", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer satisfying $1 \\leq a \\leq 40$ and $b$ is an integer satisfying $1 \\leq b \\leq 47$. Compute $21609 - x$.", "answer": 19729, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(40)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"_c\": Const(21609),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:21:07.227170Z", "verification": {"verified": true, "answer": 19729, "timestamp": "2026-02-08T12:21:07.228099Z"}, "problem_hash": "390f2d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 19729, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 214}, "timestamp": "2026-02-12T05:08:15.786Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "a9e934", "alias": "antilemma_k2_v1_1520064083_2201", "problem": "Let $c = 62$ and $m = 97319$. Define $\\phi(n)$ as Euler's totient function. Let $s = \\sum_{d \\mid c} \\phi(d)$, and let $n = \\sum_{d \\mid s} \\phi(d)$. Compute $$x = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor.$$ Let $y = \\sum_{k=1}^{5} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$. Find the value of $$x + \\left(2^{x \\bmod y} \\bmod m\\right).$$", "answer": 1961, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(62),\n \"_m\": Const(97319),\n \"_n\": SumOverDivisors(n=SumOverDivisors(n=Const(value=62), var='d', expr=EulerPhi(n=Var(name='d'))), 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(\"_c\"), Var(\"k\"))))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))))), modulus=Ref(\"_m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K3/K3/K2", "K2", "K2"], "recipe_id": "d2ac40", "seed_template_id": "antilemma_k2_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "K2", "K3"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:33:17.483536Z", "verification": {"verified": true, "answer": 1961, "timestamp": "2026-02-08T04:33:17.489228Z"}, "problem_hash": "e77d99", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 1961, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1175}, "timestamp": "2026-02-10T17:08:24.011Z"}, {"id": 8, "model": "mathstral", "answer": 186, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 535}, "timestamp": "2026-02-13T19:06:36.301Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 538}, "timestamp": "2026-02-11T20:57:34.159Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "K3": "ok", "DS2": "no", "K14": "no", "K5": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "cf9d2e", "alias": "comb_sum_binomial_row_v1_898971024_1957", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 22$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 2$, and $t = 2a + 5b$. Let $n$ be the number of elements in $T$.\n\nLet $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 $r = |P|^n$.\n\nCompute the remainder when $44121r$ is divided by $50240$.", "answer": 6336, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(50240),\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=2)), Geq(left=Var(name='t'), right=Const(value=7)), 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'))))))))),\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 \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T16:26:34.970344Z", "verification": {"verified": true, "answer": 6336, "timestamp": "2026-02-08T16:26:34.972675Z"}, "problem_hash": "fece46", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 909}, "timestamp": "2026-02-12T10:44:22.332Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "K5": "no", "LTE_DIFF": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dbdc79", "alias": "comb_count_permutations_fixed_v1_1439011603_568", "problem": "Let $k$ be the largest positive integer that is at most 2 and divides 6. Compute the value of $\\binom{8}{k} \\cdot !(8 - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 7420, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Const(8),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T15:35:28.203061Z", "verification": {"verified": true, "answer": 7420, "timestamp": "2026-02-08T15:35:28.212127Z"}, "problem_hash": "a93959", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 349}, "timestamp": "2026-02-12T08:49:15.392Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f2d37f", "alias": "nt_sum_divisors_mod_v1_124444284_7311", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 15$ and $1 \\le b \\le 16$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Compute the remainder when $\\sigma(n)$ is divided by $10037$.", "answer": 744, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"M\": Const(10037),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:00:10.618839Z", "verification": {"verified": true, "answer": 744, "timestamp": "2026-02-08T09:00:10.621063Z"}, "problem_hash": "4b41b0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 744, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 624}, "timestamp": "2026-02-13T23:47:32.951Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 241, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 266}, "timestamp": "2026-02-12T02:27:36.681Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1ce570", "alias": "modular_min_linear_v1_784195855_780", "problem": "Let $a = 18241$, $b = 14748$, and $m = 29094$. Let $x_0$ be the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and $a \\cdot x \\equiv b \\pmod{m}$. Let $k$ be the largest integer such that $2^k$ divides 20483336071938366072588114424021545571964283212934157184900319188505389526562246857130480074535146114738500093981017353657065672139506995350278542108033851550055198813457965025008834708390579124872118086182501550881800136797201031932361162600766072302057760909230331311967571823734582542257439737907940233581991091205056902754821669082417919593020422515264647058848609147219627662609132407590020027147960450140263917651531864437642888624231352255847972412115277173924313253471305969167645999628877831056845894123026940199361660932659904739459040815715944778776374753917098179146121830418623109253098223147446878581040397986262801284293581317603328, and let $c = k^2$. Compute the remainder when $c \\cdot x_0$ is divided by 98783.", "answer": 81522, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98783),\n \"a\": Const(18241),\n \"b\": Const(14748),\n \"m\": Const(29094),\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\": MaxKDivides(target=Mul(Const(20483336071938366072588114424021545571964283212934157184900319188505389526562246857130480074535146114738500093981017353657065672139506995350278542108033851550055198813457965025008834708390579124872118086182501550881800136797201031932361162600766072302057760909230331311967571823734582542257439737907940233581991091205056902754821669082417919593020422515264647058848609147219627662609132407590020027147960450140263917651531864437642888624231352255847972412115277173924313253471305969167645999628877831056845894123026940199361660932659904739459040815715944778776374753917098179146121830418623109253098223147446878581040397986262801284293581317603328), Const(680564733841876926926749214863536422912)), base=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 \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/K13"], "recipe_id": "b2acde", "seed_template_id": "modular_min_linear_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13"], "num_lemmas": 2, "generation_time": 1.179, "created_at": "2026-02-08T04:36:16.641580Z", "verification": {"verified": true, "answer": 81522, "timestamp": "2026-02-08T04:36:17.820798Z"}, "problem_hash": "034ef9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K13": "ok_later", "K15": "no", "K16": "no", "K17": "no", "K18": "no", "V3": "no"}, "split": "valid"} +{"id": "67e635", "alias": "nt_sum_divisors_range_v1_1439011603_1220", "problem": "Let $d_{\\max}$ be the largest positive divisor of $1840072$ that is at most $1352$. Let $\\text{upper}$ be the number of positive integers $n$ such that $n \\leq d_{\\max}$ and $n \\equiv 0 \\pmod{169}$. Define $\\text{result}$ to be the sum of the number of positive divisors of each integer from $1$ to $\\text{upper}$, inclusive. Compute the remainder when $44121 \\cdot \\text{result}$ is divided by $81698$.", "answer": 47006, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(81698),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1352)), Divides(divisor=Var(\"d\"), dividend=Const(1840072)))))), Eq(Mod(value=Var(\"n\"), modulus=Const(169)), Const(0))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/SUM_DIVISIBLE"], "recipe_id": "b35968", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.263, "created_at": "2026-02-08T15:58:46.290493Z", "verification": {"verified": true, "answer": 47006, "timestamp": "2026-02-08T15:58:46.553333Z"}, "problem_hash": "41078b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 250}, "timestamp": "2026-02-12T09:36:54.992Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_DIVISIBLE": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "411501", "alias": "antilemma_count_primes_v1_151522320_1651", "problem": "Let $m=6$. Let $n$ be the number of integers $k$ with $1\\le k\\le 5$ and $\\gcd(k,6)=1$.\n\nLet $A$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $pq=108$, $\\gcd(p,q)=1$, and $p 3721$ such that $n \\leq s$ and $\\gcd(n, q) = 1$.", "answer": 3722, "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=65)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=20)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=400)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"start\": Const(3721),\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(4198401)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"modulus\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.071, "created_at": "2026-02-08T08:52:34.759304Z", "verification": {"verified": true, "answer": 3722, "timestamp": "2026-02-08T08:52:34.830694Z"}, "problem_hash": "8af315", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3722, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 6117}, "timestamp": "2026-02-13T22:14:53.316Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 598}, "timestamp": "2026-02-12T02:17:11.225Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "L3b": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "65700d", "alias": "diophantine_fbi2_count_v1_1742523217_4672", "problem": "Let $e$ be the number of distinct prime factors of $1$, and let $n = 2^3$. Define $u = \\lambda(n) + 1 + e$, where $\\lambda(n)$ is the Liouville function. Let $k = 480 + u$. Let $\\text{result}$ be the number of integers $d$ such that $3 \\leq d \\leq 66$, $d$ divides $k$, and the quotient $k/d$ satisfies\n\n$$\n3 \\leq \\frac{k}{d} \\leq \\min\\left\\{ x + y : x, y \\in \\mathbb{Z}^+,\\ xy = 1089 \\right\\}.\n$$\n\nCompute the remainder when $44121 \\cdot \\text{result}$ is divided by $87739$.", "answer": 3018, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(2),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"e\")),\n \"k\": Sum(Const(480), Ref(\"u\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(66)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(1089)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(87739)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "OMEGA_ZERO", "B3"], "recipe_id": "c658c6", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B3", "LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T09:01:43.559754Z", "verification": {"verified": true, "answer": 3018, "timestamp": "2026-02-08T09:01:43.567345Z"}, "problem_hash": "6fcf73", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LIOUVILLE_MINUS_ONE": "ok", "OMEGA_ZERO": "ok", "K16": "no", "K5": "no", "L3c": "no", "MOD_ADD": "no", "V1": "no"}, "split": "valid"} +{"id": "3e432c", "alias": "nt_count_phi_equals_v1_1520064083_3343", "problem": "Let $A$ be the set of all positive integers $k$ with $1 \\leq k \\leq 22428$ such that $21$ divides $k$. Let $N = |A|$. Let $B$ be the set of all positive integers $n$ with $1 \\leq n \\leq N$ such that $$ n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}. $$ Let $k = |B|$. Let $C$ be the set of all positive integers $n$ with $1 \\leq n \\leq 3003$ such that $\\phi(n) = k$. Let $r = |C|$. Compute $13457 \\cdot r$. Determine the value of this product.", "answer": 40371, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(3003),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(22428)), Divides(divisor=Const(21), dividend=Var(\"k\"))), domain='positive_integers'))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\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\": Mul(Const(13457), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/L3C"], "recipe_id": "79d5db", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "L3C"], "num_lemmas": 2, "generation_time": 0.699, "created_at": "2026-02-08T05:35:56.515210Z", "verification": {"verified": true, "answer": 40371, "timestamp": "2026-02-08T05:35:57.214364Z"}, "problem_hash": "b56d45", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40371, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 3958}, "timestamp": "2026-02-12T10:54:12.646Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 961}, "timestamp": "2026-02-14T20:00:59.118Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 592}, "timestamp": "2026-02-11T22:49:19.055Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "L3C": "ok_later", "COUNT_SUM_EQUALS": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "eed5ff", "alias": "nt_min_coprime_above_v1_717093673_3756", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\le a \\le 6$ and $b$ is an integer with $1 \\le b \\le 53$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all integers $n$ such that $82369 < n \\le 82697$ and $\\gcd(n, m) = 1$. Determine the value of the smallest element in $T$.", "answer": 82373, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(82369),\n \"upper\": Const(82697),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(53)))),\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_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.057, "created_at": "2026-02-08T17:49:41.104768Z", "verification": {"verified": true, "answer": 82373, "timestamp": "2026-02-08T17:49:41.161897Z"}, "problem_hash": "606810", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 341}, "timestamp": "2026-02-12T23:15:27.180Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d17533", "alias": "nt_count_coprime_and_v1_1470522791_727", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 19057$, $\\gcd(n, 7) = 1$, and $\\gcd(n, 11) = 1$. Let $A$ be the number of such integers $n$. Let $k$ be the largest integer for which $3^k \\leq 1700715433741$. Compute the remainder when $A^2 + k \\cdot A$ is divided by $57354$.", "answer": 23533, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19057),\n \"k1\": Const(7),\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\": Const(37),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Const(1700715433741)))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(57354)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL"], "recipe_id": "0a018a", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL"], "num_lemmas": 1, "generation_time": 2.263, "created_at": "2026-02-08T13:12:39.106013Z", "verification": {"verified": true, "answer": 23533, "timestamp": "2026-02-08T13:12:41.368985Z"}, "problem_hash": "85587a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 471}, "timestamp": "2026-02-12T06:18:16.568Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "K16": "same_pattern_wrong", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cb5dd3", "alias": "geo_count_lattice_rect_v1_1978505735_8147", "problem": "Let $R$ be the rectangle with vertices at $(0,0)$, $(55,0)$, $(0,17)$, and $(55,17)$. Compute the number of lattice points (points with integer coordinates) lying inside or on the boundary of $R$. Let $Q$ be the remainder when $59803$ times this number is divided by $72399$. Find $Q$.", "answer": 45456, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(55),\n \"b\": Const(17),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"_c\": Const(59803),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72399)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T20:41:44.487474Z", "verification": {"verified": true, "answer": 45456, "timestamp": "2026-02-08T20:41:44.488454Z"}, "problem_hash": "7542ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 51064, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 200}, "timestamp": "2026-02-13T01:27:06.739Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4f2730", "alias": "modular_mod_compute_v1_458359167_2407", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 640000$. Let $n$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $a$ be the largest positive divisor $d$ of $2561600$ such that $1 \\leq d \\leq n$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 98$. Let $m$ be the maximum value of $x \\cdot y$ as $(x, y)$ ranges over $T$. Find the value of $a \\bmod m$.", "answer": 1600, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98),\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(640000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(2561600))))),\n \"m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\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": "B3", "lemma_paths": ["B3/MAX_DIVISOR", "B1"], "recipe_id": "c7fece", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:23:33.488170Z", "verification": {"verified": true, "answer": 1600, "timestamp": "2026-02-08T05:23:33.493612Z"}, "problem_hash": "2310bf", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1600, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 1702}, "timestamp": "2026-02-12T08:02:48.072Z"}, {"id": 8, "model": "mathstral", "answer": 1600, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 482}, "timestamp": "2026-02-14T16:47:20.806Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 727}, "timestamp": "2026-02-11T22:34:41.129Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok", "MAX_DIVISOR": "ok_later", "K14": "no", "K15": "no", "K16": "no", "K18": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "528dd7", "alias": "nt_count_divisors_in_range_v1_1918700295_4380", "problem": "Let $m = 10$. Define $\\phi$ to be the number of positive integers $n$ with $1 \\leq n \\leq 767$ such that $\\gcd(n, m) = 1$. Let $s$ be the minimum value of $x + y$ where $x$ and $y$ are positive integers satisfying $xy = 2835856$. Let $n = 332640$, $a = 87$, and $b = s$. Define $c$ to be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the value of $\\phi \\cdot c$.", "answer": 31621, "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(767)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"n\": Const(332640),\n \"a\": Const(87),\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(2835856)))), 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\": Mul(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/B3"], "recipe_id": "b27070", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C4"], "num_lemmas": 2, "generation_time": 0.032, "created_at": "2026-02-08T09:19:44.656047Z", "verification": {"verified": true, "answer": 31621, "timestamp": "2026-02-08T09:19:44.687996Z"}, "problem_hash": "8bd40c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 32235, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 3513}, "timestamp": "2026-02-14T03:17:08.388Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 694}, "timestamp": "2026-02-12T02:50:08.163Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "B3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "LTE_DIFF": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "17fbea", "alias": "comb_sum_binomial_mod_v1_1431428450_1097", "problem": "Let $N = 77259$. Let $d_{\\text{max}}$ be the largest positive divisor of $N$ that is at most $273$. Compute \n$$\n\\sum_{k=71}^{225} \\binom{d_{\\text{max}}}{k},\n$$\nand let $r$ be the remainder when this sum is divided by $11117$. Find the value of $13689 - r$.", "answer": 12239, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77259),\n \"sum\": Summation(var=\"k\", start=Const(71), end=Const(225), expr=Binom(n=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(273)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11117)),\n \"Q\": Sub(Const(13689), 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"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.024, "created_at": "2026-02-08T13:54:06.995870Z", "verification": {"verified": true, "answer": 12239, "timestamp": "2026-02-08T13:54:07.019997Z"}, "problem_hash": "496cf3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 389}, "timestamp": "2026-02-12T07:31:35.888Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K14": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f71558", "alias": "algebra_poly_eval_v1_458359167_2711", "problem": "Let $k = 11$. Compute the value of\n$$\n5k^4 - 8k^p - k^2 + 3k - 9,\n$$\nwhere $p$ is the largest prime number satisfying $2 \\leq p \\leq 3$. Let $c$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 16777216$. Find the remainder when $c$ minus the previous value is divided by $53496$.", "answer": 52724, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(11),\n \"result\": Sum(Mul(Const(5), Pow(Ref(\"k\"), Const(4))), Mul(Const(-8), Pow(Ref(\"k\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\"))))))), Mul(Const(-1), Pow(Ref(\"k\"), Const(2))), Mul(Ref(\"_n\"), Ref(\"k\")), Const(-9)),\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(16777216)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53496)),\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"], "recipe_id": "674de8", "seed_template_id": "algebra_poly_eval_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:44:56.458398Z", "verification": {"verified": true, "answer": 52724, "timestamp": "2026-02-08T06:44:56.461787Z"}, "problem_hash": "e0d9d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52724, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 1019}, "timestamp": "2026-02-13T04:00:06.947Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 14796, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 565}, "timestamp": "2026-02-12T00:26:23.759Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_PRIMES": "no", "DS2": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "29b745", "alias": "modular_sum_quadratic_residues_v1_1439011603_2449", "problem": "Let $n = 86$. Let $p$ be the smallest prime divisor of $3532343$. Define $r = \\frac{p(p-1)}{4}$. Consider all ordered pairs $(x,y)$ of positive integers such that $x + y = n$. Compute the maximum value of $xy$ over all such pairs, subtract $r$ from it, and find the remainder when this difference is divided by $95617$.", "answer": 91953, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3532343))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=Sub(MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(95617)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MIN_PRIME_FACTOR"], "recipe_id": "58e2b8", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T16:47:16.239570Z", "verification": {"verified": true, "answer": 91953, "timestamp": "2026-02-08T16:47:16.243977Z"}, "problem_hash": "30f2c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 377}, "timestamp": "2026-02-12T21:00:43.107Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e5057f", "alias": "geo_count_lattice_triangle_v1_48377204_2794", "problem": "Let $A$ be twice the area of a triangle with vertices at $(0, 0)$, $(4, 120)$, and $(15, 111)$. The value of $A$ is given by\n\n$$\nA = \\left| \\sum_{k=1}^{15} \\phi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor + 111 - 4 \\cdot 120 \\right|,\n$$\n\nwhere $\\phi(k)$ denotes Euler's totient function. Let $B$ be the sum of the greatest common divisors of the absolute differences of the coordinates of the vertices, specifically:\n\n$$\nB = \\gcd(|120|, |\\sum_{k=1}^{15} k|) + \\gcd(|4 - 120|, |111 - 120|) + \\gcd(|0 - 4|, |0 - 111|).\n$$\n\nDefine $N$ to be\n\n$$\nN = \\frac{A + 2 - B}{2}.\n$$\n\nCompute the value of $N$.", "answer": 6360, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(120),\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=111)), Mul(Const(value=4), Sub(left=Const(value=0), right=Const(value=120))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Summation(expr=Var(name='k1'), var='k1', start=Const(value=1), end=Const(value=15)))), GCD(a=Abs(arg=Sub(left=Ref(name='_m'), right=Ref(name='_n'))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=120)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=4))), 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\": Ref(\"result\"),\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", "K2"], "recipe_id": "2a0f86", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T16:57:53.394944Z", "verification": {"verified": true, "answer": 6360, "timestamp": "2026-02-08T16:57:53.405200Z"}, "problem_hash": "4f9178", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 347, "completion_tokens": 438}, "timestamp": "2026-02-12T21:41:19.729Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K14": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c8e6aa", "alias": "nt_count_divisible_and_v1_798873815_295", "problem": "Let $N$ be the number of positive integers $n$ such that $n \\leq 174060$ and $n$ is divisible by both $9$ and $12$. Let $S$ be the set of all real solutions $x$ to the equation $x^2 - 293x - 14448 = 0$, and let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 674$. Compute the remainder when $$ N \\bmod \\left( \\sum S \\right) + 7001 \\cdot \\left( N \\bmod |T| \\right) $$ is divided by $57500$.", "answer": 14264, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(174060),\n \"d1\": Const(9),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-293), Var(\"x\")), Const(-14448)), Const(0))))), Mul(Const(7001), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(674)))))))), modulus=Const(57500)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "COMB1"], "recipe_id": "646807", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "two_moduli", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 5.509, "created_at": "2026-02-08T02:32:35.893013Z", "verification": {"verified": true, "answer": 14264, "timestamp": "2026-02-08T02:32:41.401770Z"}, "problem_hash": "44439c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14264, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 930}, "timestamp": "2026-02-08T19:19:54.002Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 14264, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 1176}, "timestamp": "2026-02-09T15:27:26.741Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:48:30.078Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 47730, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 479}, "timestamp": "2026-02-08T22:47:37.636Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14264, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 1288}, "timestamp": "2026-02-09T02:42:54.255Z"}, {"id": 8, "model": "mathstral", "answer": 21013, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 604}, "timestamp": "2026-02-11T01:39:53.294Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 561}, "timestamp": "2026-02-11T19:35:40.081Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "VIETA_SUM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "3bfa62", "alias": "modular_min_modexp_v1_1520064083_3518", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1225$. Define $n$ to be the minimum value of $x + y$ over all pairs in $S$. Let $b$ be the sum of $\\phi(k) \\cdot \\left\\lfloor \\frac{3}{k} \\right\\rfloor$ over all positive integers $k$ from $1$ to $210$ that divide $n$. Find the smallest positive integer $x$ such that $1 \\leq x \\leq 54$ and $5^x \\equiv b \\pmod{163}$. Compute the remainder when $12830$ times this value of $x$ is divided by $62189$.", "answer": 19610, "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(1225)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": Const(5),\n \"b\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(210)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"m\": Const(163),\n \"upper\": Const(54),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(12830), Ref(\"result\")), modulus=Const(62189)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["B3/C2/K2"], "recipe_id": "8f050d", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "K2"], "num_lemmas": 3, "generation_time": 0.076, "created_at": "2026-02-08T05:43:34.360952Z", "verification": {"verified": true, "answer": 19610, "timestamp": "2026-02-08T05:43:34.436822Z"}, "problem_hash": "91a2a4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16752, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 6937}, "timestamp": "2026-02-12T13:44:37.922Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 651}, "timestamp": "2026-02-11T23:03:49.000Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C2": "ok_later", "K2": "ok_later", "K14": "no", "K18": "no", "K5": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "05d633", "alias": "diophantine_product_count_v1_717093673_2419", "problem": "Let $p$ be the smallest prime factor of 29658907 that is at least 2. Define $k$ to be the number of prime numbers $q$ such that $2 \\leq q \\leq p$. Let $T$ be the set of all positive integers $x$ such that $1 \\leq x \\leq 72$, $x$ divides $k$, and $\\frac{k}{x} \\leq 72$. Compute $1024$ minus the number of elements in $T$.", "answer": 1010, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": 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(29658907)))))), IsPrime(Var(\"n\"))))),\n \"upper\": Const(72),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(1024),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T16:50:04.935790Z", "verification": {"verified": true, "answer": 1010, "timestamp": "2026-02-08T16:50:04.948605Z"}, "problem_hash": "488b5e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1020, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 351}, "timestamp": "2026-02-12T21:06:51.222Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0d3dd7", "alias": "antilemma_v7_kummer_677425708_878", "problem": "Let $T$ be the set of all positive integers $t$ such that $11 \\leq t \\leq 133$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 14$, $1 \\leq b \\leq 11$, and $t = 4a + 7b$. Let $N$ be the number of elements in $T$. \n\nLet $M$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 42$ and $n$ is divisible by $42$. Let $m$ be the sum of all elements in $M$. \n\nLet $k$ be the largest integer such that $7^k$ divides $\\binom{N}{m}$. \n\nCompute $k$.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(42)), Eq(Mod(value=Var(\"n\"), modulus=Const(42)), Const(0))))),\n \"_n\": Const(7),\n \"x\": MaxKDivides(target=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=14)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=133)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))), 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": "B3", "lemma_paths": ["SUM_DIVISIBLE/LIN_FORM/V7", "V7"], "recipe_id": "f44abc", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "SUM_DIVISIBLE", "V7"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T03:50:03.488052Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T03:50:03.501712Z"}, "problem_hash": "ea126b", "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": 288, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:45:34.847Z"}], "solution_status": 0, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "V7": "ok", "LIN_FORM": "ok_later", "COUNT_INTEGER_RANGE": "no", "DS2": "no", "K15": "no", "K18": "no", "V1": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "a44a22", "alias": "nt_count_digit_sum_v1_655260480_4410", "problem": "Let $u$ be the number of ordered pairs $(a, b)$ of integers with $1 \\leq a \\leq 99$ and $1 \\leq b \\leq 101$. Compute the remainder when $98351$ times the number of positive integers $n \\leq u$ with digit sum 24 is divided by 53187.", "answer": 21236, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(101)))),\n \"target_sum\": Const(24),\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(98351),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53187)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.36, "created_at": "2026-02-08T17:55:53.058872Z", "verification": {"verified": true, "answer": 21236, "timestamp": "2026-02-08T17:55:53.418781Z"}, "problem_hash": "a02720", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 630}, "timestamp": "2026-02-12T23:24:47.331Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3ab77a", "alias": "sequence_fibonacci_compute_v1_458359167_704", "problem": "Let $n$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 5$, $1 \\le b \\le 5$, $14 \\le t \\le 70$, and\n$$t = 6a + 8b.$$\nLet $F_n$ denote the $n$th Fibonacci number defined by $F_1 = 1$, $F_2 = 1$, and $F_{k+2} = F_{k+1} + F_k$ for all integers $k \\ge 1$. Let $R = F_n$.\n\nLet $A$ 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 < q.$$\nConsider the sum\n$$S = \\sum_{k=A}^{|R|} \\varphi(k),$$\nwhere $\\varphi$ is Euler's totient function. Let $Q$ be the remainder when $S$ is divided by $75321$.\n\nFind the value of $Q$. ", "answer": 21730, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(75321),\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=5)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=70)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2", "LIN_FORM"], "recipe_id": "d1f240", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "sum_totient", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 5.233, "created_at": "2026-02-08T03:30:37.139064Z", "verification": {"verified": true, "answer": 21730, "timestamp": "2026-02-08T03:30:42.372175Z"}, "problem_hash": "0460bb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "ONE_PHI_2": "ok_later", "C2": "no", "K15": "no", "LTE_DIFF": "no", "V3": "no", "V7": "no"}, "split": "valid"} +{"id": "75ac8d", "alias": "comb_count_partitions_v1_784195855_578", "problem": "Let $C$ be the number of positive integers $p$ for which there exists an integer $q$ such that\n\\begin{itemize}\n\\item $pq=154594440$,\n\\item $\\gcd(p,q)=1$, and\n\\item $p p$ such that $pq = 36$ and $\\gcd(p, q) = 1$. Let $b$ be the number of integers $t$ with $11 \\leq t \\leq 8947$ that can be expressed as $t = 4a + 7b$ for some integers $a$, $b$ satisfying $1 \\leq a \\leq 233$ and $1 \\leq b \\leq 1145$. Let $n = 498960$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 166, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(498960),\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=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 \"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=233)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1145)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=8947)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.099, "created_at": "2026-02-08T12:25:01.253515Z", "verification": {"verified": true, "answer": 166, "timestamp": "2026-02-08T12:25:01.352624Z"}, "problem_hash": "f4deca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 544}, "timestamp": "2026-02-12T05:13:51.775Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K18": "no", "L3b": "no", "LTE_SUM": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "208cb3", "alias": "nt_sum_divisors_mod_v1_238844314_243", "problem": "Let $m = 2$. Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 10$, $1 \\leq b \\leq 3$, $8 \\leq t \\leq 45$, and $t = 3a + 5b$. Let $n$ be the number of elements in $S$. Define $T$ to be the set of all positive integers at most $n$ that are divisible by $m$. Let $\\sigma$ be the sum of all elements in $T$. Compute the remainder when $\\sigma$ is divided by $11393$. Let $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $\\sigma + 2$. Find the value of $Q$.", "answer": 561, "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=10)), 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=8)), Leq(left=Var(name='t'), right=Const(value=45)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_m\")), Const(0))))),\n \"M\": Const(11393),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE"], "recipe_id": "a67711", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T13:12:17.442853Z", "verification": {"verified": true, "answer": 561, "timestamp": "2026-02-08T13:12:17.447796Z"}, "problem_hash": "76e371", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 594}, "timestamp": "2026-02-12T06:22:45.947Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "160404", "alias": "antilemma_k2_v1_717093673_513", "problem": "Let $c = 2$. Let $r$ be the number of real solutions $x$ to the equation $x^2 - 25x - 264 = 0$. Define $n = \\sum_{k=1}^{r} k$. Let $x = \\sum_{k=1}^{n} \\phi(k) \\left\\lfloor \\frac{325}{k} \\right\\rfloor$. Compute the remainder when $\\sum_{n=1}^{|x|} \\tau(n)$ is divided by 65631.", "answer": 59376, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(65631),\n \"_n\": Summation(var=\"k\", start=Const(1), end=SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_c\")), Mul(Const(-25), Var(\"x1\")), Const(-264)), Const(0)))), expr=Var(\"k\")),\n \"x\": Summation(var=\"k1\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(325), Var(\"k1\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))), modulus=Ref(\"_m\")),\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/SUM_ARITHMETIC/K2", "K2"], "recipe_id": "c38c99", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T15:29:55.959734Z", "verification": {"verified": true, "answer": 59376, "timestamp": "2026-02-08T15:29:55.965527Z"}, "problem_hash": "3f55d4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 441}, "timestamp": "2026-02-12T08:31:37.453Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K17": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "363245", "alias": "nt_gcd_compute_v1_677425708_4269", "problem": "Let $p$ be the number of integers $t$ with $7 \\leq t \\leq 29$ for which there exist positive integers $a \\leq 7$ and $b \\leq 3$ such that $t = 2a + 5b$. Let $q$ be the smallest integer $d \\geq 2$ that divides 3823963. Define $n_1 = p \\cdot q$. Let $u = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 49$ for which there exist positive integers $a \\leq 3$ and $b \\leq 20$ such that $t = 3a + 2b$. Define $v = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $a = 233055$ and $b = 543795 + v$. Let $g = \\gcd(a, b)$. Compute the remainder when $(47883 + u) \\cdot g$ is divided by 83818.", "answer": 31833, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(83818),\n \"_m\": Const(47883),\n \"_n\": Const(2),\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=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'))))))))),\n \"q\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3823963))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"u\": SumOverDivisors(n=Ref(name='n1'), 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=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=20)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=49)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"a\": Const(233055),\n \"b\": Sum(Const(543795), Ref(\"v\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Sum(Ref(\"_m\"), Ref(\"u\")), Ref(\"result\")), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR/MOBIUS_SUM", "LIN_FORM/MOBIUS_SUM"], "recipe_id": "524076", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T06:31:27.772074Z", "verification": {"verified": true, "answer": 31833, "timestamp": "2026-02-08T06:31:27.776022Z"}, "problem_hash": "02b7b0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "DS2": "no", "K5": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "2badb9", "alias": "comb_count_derangements_v1_1439011603_1124", "problem": "Let $n_0$ be the number of integers $t$ such that $7 \\leq t \\leq 28$ and there exist positive integers $a$ and $b$, each at most 4, satisfying $t = 4a + 3b$.\n\nLet $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = n_0$.\n\nCompute the number of derangements of $n$ elements, denoted by $!n$.", "answer": 14833, "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=4)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T15:55:43.082150Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T15:55:43.084947Z"}, "problem_hash": "8b6504", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 829}, "timestamp": "2026-02-12T09:26:59.324Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "661ae4", "alias": "nt_sum_phi_v1_151522320_1236", "problem": "Let $p_1 = 7$ and let $n = p_1^3$. Define $c = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Let $p = 89 + c$, and let $t = \\Omega(p)$, where $\\Omega(p)$ denotes the number of prime factors of $p$ counted with multiplicity. Let $d_{\\text{min}}$ be the smallest divisor of $35474606201$ that is at least $2$, and define $\\text{upper} = d_{\\text{min}} \\cdot t$. Compute the sum of $\\phi(k)$ for all positive integers $k$ from $1$ to $\\text{upper}$, inclusive.\n\nFind the value of this sum.", "answer": 56640, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(7),\n \"n\": Pow(Ref(\"p1\"), Const(3)),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"p\": Sum(Const(89), Ref(\"c\")),\n \"t\": BigOmega(n=Ref(name='p')),\n \"upper\": Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35474606201))))), Ref(\"t\")),\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": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE"], "recipe_id": "d24581", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_COPRIME_GRID", "LIOUVILLE_MINUS_ONE", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.06, "created_at": "2026-02-08T03:51:26.639319Z", "verification": {"verified": true, "answer": 56640, "timestamp": "2026-02-08T03:51:26.699468Z"}, "problem_hash": "c878f3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "K13": "no", "LTE_DIFF": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "b3d63d", "alias": "nt_sum_totient_over_divisors_v1_1820931509_750", "problem": "Let $n = 88421$. Define $r = \\sum_{d \\mid n} \\phi(d)$, where the sum is over all positive divisors $d$ of $n$, and $\\phi$ denotes Euler's totient function. Let $m = 82055$. Let $D$ be the set of all divisors $d$ of $1146704363531$ such that $d \\geq 2$. Let $d_{\\min}$ be the smallest element of $D$. Compute the remainder when $$\\left( r \\bmod d_{\\min} \\right) + 5008 \\cdot \\left( r \\bmod 397 \\right)$$ is divided by $m$.", "answer": 40995, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(82055),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5008)), IsPrime(Var(\"n\"))))),\n \"n\": Const(88421),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1146704363531)))))), Mul(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=Const(397)))), 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/MIN_PRIME_FACTOR"], "recipe_id": "27fdac", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T11:51:36.372595Z", "verification": {"verified": true, "answer": 40995, "timestamp": "2026-02-08T11:51:36.376553Z"}, "problem_hash": "1546ce", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42648, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 7023}, "timestamp": "2026-02-14T19:38:06.536Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 366}, "timestamp": "2026-02-12T04:40:05.030Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "0cc5b4", "alias": "nt_sum_divisors_compute_v1_151522320_788", "problem": "Let $n_0=25281$ and $n_1=43529$. Let $\\lambda(n)$ denote the function defined by $\\lambda(n)=(-1)^{\\Omega(n)}$, where $\\Omega(n)$ is the number of prime factors of $n$ counted with multiplicity.\n\nLet\n$$c=\\lambda(n_1)+\\varphi(1),$$\nwhere $\\varphi$ is Euler's totient function. Let $p$ be the sum of $c$ and the largest prime number between $2$ and $18$, inclusive. Let $w$ be the number of prime factors of $p$, counted with multiplicity, and let\n$$n = n_0\\cdot w.$$\n\nLet $S$ be the sum of all positive divisors of $n$.\n\nCompute $S$.", "answer": 37219, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25281),\n \"n1\": Const(43529),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n1')), EulerPhi(n=Const(1))),\n \"p\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(18)), IsPrime(Var(\"n\"))))), Ref(\"c\")),\n \"w\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE/BIG_OMEGA_ONE", "ONE_PHI_1"], "recipe_id": "cc1b2f", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T03:31:19.785465Z", "verification": {"verified": true, "answer": 37219, "timestamp": "2026-02-08T03:31:19.792317Z"}, "problem_hash": "2733dc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "BIG_OMEGA_ONE": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "cf3e49", "alias": "nt_count_gcd_equals_v1_124444284_8912", "problem": "Let $n$ be a positive integer. Define $k$ to be the number of ordered pairs $(a, b)$ where $a$ is an integer satisfying $1 \\leq a \\leq 3$ and $b$ is an integer satisfying $1 \\leq b \\leq 43$. Let $d = 3$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq 50000$ and $\\gcd(n, k) = d$. Compute the number of elements in this set, and let this value be $r$. Find the remainder when $44121 \\cdot r$ is divided by $54799$.", "answer": 50065, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(50000),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(43)))),\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 \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(54799)),\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"], "recipe_id": "409d7d", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 7.058, "created_at": "2026-02-08T11:58:36.782656Z", "verification": {"verified": true, "answer": 50065, "timestamp": "2026-02-08T11:58:43.840933Z"}, "problem_hash": "2b086c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8884, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 3417}, "timestamp": "2026-02-14T22:05:38.641Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 39220, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 472}, "timestamp": "2026-02-12T04:55:00.396Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "367b08", "alias": "comb_count_permutations_fixed_v1_2051736721_2079", "problem": "Let $N = 85245$, $n = 10$, and $k = 7$. Define $T = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Let $S$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 85245$ and $\\binom{N}{j}$ is odd. Compute $|S| - T$.", "answer": 1808, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85245),\n \"n\": Const(10),\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 \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(85245)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:26:15.857469Z", "verification": {"verified": true, "answer": 1808, "timestamp": "2026-02-08T16:26:15.860482Z"}, "problem_hash": "339c29", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 42263, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 432}, "timestamp": "2026-02-12T10:43:58.330Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "L3b": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e93d99", "alias": "nt_count_divisible_v1_655260480_1522", "problem": "Let $A$ be the number of integers $n$ such that $1 \\leq n \\leq 30367$ and $n$ is divisible by 25. Let $B$ be the number of integers $j$ such that $0 \\leq j \\leq 255$ and $\\binom{255}{j}$ is odd. Compute the remainder when $B - A$ is divided by 52596.", "answer": 51638, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(30367),\n \"divisor\": Const(25),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(255)), Eq(Mod(value=Binom(n=Const(255), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")), modulus=Const(52596)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 1.021, "created_at": "2026-02-08T16:12:29.765605Z", "verification": {"verified": true, "answer": 51638, "timestamp": "2026-02-08T16:12:30.786198Z"}, "problem_hash": "5099e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 51510, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 425}, "timestamp": "2026-02-12T10:07:03.940Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K15": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8c5b86", "alias": "comb_catalan_compute_v1_1439011603_2848", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 5$. Compute the $n$-th Catalan number. Let $Q = 77284 - C_n$. Find the value of $Q$.", "answer": 60488, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77284),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:01:55.152590Z", "verification": {"verified": true, "answer": 60488, "timestamp": "2026-02-08T17:01:55.154718Z"}, "problem_hash": "add302", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 275}, "timestamp": "2026-02-12T21:40:36.316Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4bbcef", "alias": "modular_product_range_v1_1874849503_808", "problem": "Let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 1197$ and $t = 15a + 9b$ for some integers $a, b$ with $1 \\leq a \\leq 63$ and $1 \\leq b \\leq 28$. Let $s$ be the number of elements in $T$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 144$. Let $m$ be the minimum value of $x + y$ over all pairs in $P$. Let $Q$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Let $M$ be the maximum value of $xy$ over all pairs in $Q$. Compute the remainder when $\\prod_{i = M}^{s} i$ is divided by $11069$.", "answer": 242, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(144),\n \"_m\": Const(11069),\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=63)), 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=24)), Leq(left=Var(name='t'), right=Const(value=1197)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B1", "B3/B1"], "recipe_id": "523421", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T13:18:55.772576Z", "verification": {"verified": true, "answer": 242, "timestamp": "2026-02-08T13:18:55.778988Z"}, "problem_hash": "ecb98a", "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": 314, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:13:19.363Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 314, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:42:47.996Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 525}, "timestamp": "2026-02-12T06:37:14.255Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "B1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "37ac66", "alias": "comb_count_partitions_v1_458359167_2375", "problem": "Let $m=18$. Let $n'$ be the number of ordered pairs $(i,j)$ in the Cartesian product $\\{1,2\\}\\times\\{1,2,3\\}$ such that $i+j=3$.\n\nLet $n_2=1$, and let\n$$f=\\sum_{k=0}^{n_2}(-1)^k\\binom{n_2}{k}.$$\nLet $a=\\binom{m}{0}$ and $b=n'+f$, and define $n_1=a+b$. Then let\n$$s=\\sum_{k=0}^{n_1}(-1)^k\\binom{n_1}{k}.$$\n\nLet $N$ be the sum of $s$ and the number of ordered pairs in the Cartesian product $\\{1,2,3,4,5\\}\\times\\{1,2,\\dots,9\\}$. Finally, let $P(N)$ denote the number of integer partitions of $N$.\n\nCompute $P(N)$.", "answer": 89134, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(18),\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(2)), right=IntegerRange(start=Const(1), end=Const(3))))),\n \"n2\": Const(1),\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 \"a\": Binom(n=Ref(\"_m\"), k=Const(0)),\n \"b\": Sum(Ref(\"_n\"), Ref(\"f\")),\n \"n1\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"s\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(9)))), Ref(\"s\")),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_CARTESIAN/BINOMIAL_ALTERNATING", "ONE_BINOM_0"], "recipe_id": "548c41", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ONE_BINOM_0"], "num_lemmas": 4, "generation_time": 0.013, "created_at": "2026-02-08T05:20:02.260224Z", "verification": {"verified": true, "answer": 89134, "timestamp": "2026-02-08T05:20:02.273713Z"}, "problem_hash": "5ee024", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 89134, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 853}, "timestamp": "2026-02-12T07:59:22.882Z"}, {"id": 8, "model": "mathstral", "answer": 7, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 643}, "timestamp": "2026-02-14T16:45:13.723Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 547}, "timestamp": "2026-02-11T22:34:25.457Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "ONE_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_CARTESIAN": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "e8d647", "alias": "diophantine_fbi2_min_v1_784195855_5000", "problem": "Let $n = 32$ and $k = 22$. Let $d_{\\text{max}}$ be the largest positive divisor of 1312 that is at most $n$. Let $S$ be the set of all integers $d$ such that $2 \\leq d \\leq d_{\\text{max}}$, $d$ divides $k$, and $\\frac{k}{d} \\geq \\max\\{n \\mid 2 \\leq n \\leq 4, n \\text{ is prime}\\}$. Let $r$ be the smallest element of $S$. Compute the value of $$ r + \\phi(|r| + \\phi(1)) + \\tau(|r| + 1), $$ where $\\phi(m)$ denotes Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.\\n\\nDetermine the value of this expression.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32),\n \"k\": Const(22),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1312))))),\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\")), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MAX_PRIME_BELOW", "MAX_DIVISOR", "ONE_PHI_1"], "recipe_id": "1c860b", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_DIVISOR", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 4, "generation_time": 0.105, "created_at": "2026-02-08T07:32:47.533972Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T07:32:47.639194Z"}, "problem_hash": "c6e54b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "K18": "no", "LTE_SUM": "no", "V7": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "9bd48e", "alias": "algebra_poly_eval_v1_153355830_1119", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 81$. Define $a = \\min(x+y)$ over all $(x,y) \\in S$. Let $d = 4$ and $m = 24$. Compute the sum of all positive divisors $d'$ of $d$ such that $d'$ is prime and $2 \\leq d' \\leq \\sum_{d'\\mid d} \\phi(d')$. Denote this sum as $s$. Let $n = 8$. Compute the value of\n$$\n\\frac{a \\cdot n^4 - 26n^2 - 24n - 40}{m \\cdot n^s}.\n$$\nNow, let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 100$, and define $b = \\min(x+y)$ over all $(x,y) \\in T$. Divide the result of the above expression by $b$. Multiply this quotient by $49853$, and find the remainder when the product is divided by $70917$.", "answer": 51066, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(4),\n \"_m\": Const(24),\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(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": Const(8),\n \"result\": Div(Sum(Mul(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(81)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Pow(Ref(\"n\"), Const(4))), Mul(Ref(\"_m\"), Pow(Ref(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), SumOverDivisors(n=Ref(name='_d'), var='d', expr=EulerPhi(n=Var(name='d')))), IsPrime(Var(\"n\"))))))), Mul(Const(-26), Pow(Ref(\"n\"), Const(2))), Mul(Const(-24), Ref(\"n\")), Const(-40)), Ref(\"_n\")),\n \"_c\": Const(49853),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(70917)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MAX_PRIME_BELOW", "B3/MAX_PRIME_BELOW"], "recipe_id": "b7856d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K3", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T04:24:58.710105Z", "verification": {"verified": true, "answer": 51066, "timestamp": "2026-02-08T04:24:58.721411Z"}, "problem_hash": "54fe71", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15903, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 2908}, "timestamp": "2026-02-12T20:25:25.684Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 363, "completion_tokens": 571}, "timestamp": "2026-02-11T23:40:14.665Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K3": "ok", "MAX_PRIME_BELOW": "ok_later", "K16": "no", "K5": "no", "L3b": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "4ca8b5", "alias": "nt_lcm_compute_v1_677425708_3629", "problem": "Let $n=3$ and $a=624$. Let\n\\[\nN=22096755251686259531891351000706731394727425417988840215936880139120673667417077454801972325898163815964594132798422060489516889203236667592574873864182469684969544864324510186010333788796962008386754893120208134952830169562874541030065837757073669380314138440864726985140971762134803013731201674196314191334171903815125202027581644791614195344830978519600861756512310612195616270472254416805538352008597466119316316734234697012372567206272538066718061909860960260025889487439625343172553597489904687162232176593530587137281186116810062249096879605568590866366103645431388933487923919232295214595255826327269099724737547651313061081730872118394507033177024398002786266553645047920947779276283690881485949233798474786687206323506252828262989114151453919959847812867069669127496817253275315376137815844923728529134325514715482344200668188871101225259445607888979646634260079694370498028059332021584149429817339474705553592957182443624104156488757461554369748125181009093121537187786102297215374301718413173572359092455929873406558072673301185140072548121324896865071894901820987245831534628568325132251477205944742475383543409309400907812200932755740280781282967825249559931776102206057777628080863207060525010345228731365727244327060305778346342125194938461769828661431149936669201245415752297296698361828259700547366870754431453853683471099763727821630076353615617885283194705392382536707562931308283312402423525512580678080235188253977975020886756093467120257329078696416045551092180324198332155808027188108361787504808808964642504607972295757369500461565962776015453237456645672082062012263769760554434133550423500085396770272183364993972256942283768282814932864916837670442841855966975034431523541396232797157897118730532790581784862659070405014126342644743718526017185600091610658084908056554895039108115057601497854376159942414714686581409006445244364313121564639435366522985736361.\n\\]\nLet\n\\[\nM=22563490300366186081.\n\\]\nLet $b$ be the largest integer $k$ such that $41^k$ divides $NM$.\n\nLet $R=\\operatorname{lcm}(a,b)$.\n\nConsider all integers $t$ for which there exist integers $u$ and $v$ satisfying\n\\[\n1\\le u\\le 1823,\\quad 1\\le v\\le 118,\\quad 7\\le t\\le 4236,\\quad\\text{and}\\quad t=2u+5v.\n\\]\nLet $T$ be the number of such integers $t$.\n\nLet $C$ be the number of positive integers $j$ such that\n\\[\n1\\le j\\le T\n\\quad\\text{and}\\quad\nj^n\\le 75472455176.\n\\]\n\nDefine $Q$ to be the remainder when $CR$ is divided by $85699$, taken in the set $\\{0,1,2,\\dots,85698\\}$.\n\nFind the value of $Q$.", "answer": 23684, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"a\": Const(624),\n \"b\": MaxKDivides(target=Mul(Const(22096755251686259531891351000706731394727425417988840215936880139120673667417077454801972325898163815964594132798422060489516889203236667592574873864182469684969544864324510186010333788796962008386754893120208134952830169562874541030065837757073669380314138440864726985140971762134803013731201674196314191334171903815125202027581644791614195344830978519600861756512310612195616270472254416805538352008597466119316316734234697012372567206272538066718061909860960260025889487439625343172553597489904687162232176593530587137281186116810062249096879605568590866366103645431388933487923919232295214595255826327269099724737547651313061081730872118394507033177024398002786266553645047920947779276283690881485949233798474786687206323506252828262989114151453919959847812867069669127496817253275315376137815844923728529134325514715482344200668188871101225259445607888979646634260079694370498028059332021584149429817339474705553592957182443624104156488757461554369748125181009093121537187786102297215374301718413173572359092455929873406558072673301185140072548121324896865071894901820987245831534628568325132251477205944742475383543409309400907812200932755740280781282967825249559931776102206057777628080863207060525010345228731365727244327060305778346342125194938461769828661431149936669201245415752297296698361828259700547366870754431453853683471099763727821630076353615617885283194705392382536707562931308283312402423525512580678080235188253977975020886756093467120257329078696416045551092180324198332155808027188108361787504808808964642504607972295757369500461565962776015453237456645672082062012263769760554434133550423500085396770272183364993972256942283768282814932864916837670442841855966975034431523541396232797157897118730532790581784862659070405014126342644743718526017185600091610658084908056554895039108115057601497854376159942414714686581409006445244364313121564639435366522985736361), Const(22563490300366186081)), base=Const(41)),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\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=1823)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=118)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=4236)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(75472455176))), domain='positive_integers')),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85699)),\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/C3", "K13"], "recipe_id": "055616", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "K13", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:51:52.376437Z", "verification": {"verified": true, "answer": 23684, "timestamp": "2026-02-08T05:51:52.381225Z"}, "problem_hash": "75aaf0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "LIN_FORM": "ok", "C3": "ok_later", "C2": "no", "K17": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "8d42f4", "alias": "modular_modexp_compute_v1_655260480_2545", "problem": "Let $a$ be the largest prime number $n$ such that $2 \\leq n \\leq 42$. Let $e$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 78$. Compute $29584 - a^e \\bmod 29584$, where the result is the unique integer in $[0, 29583]$.", "answer": 42443, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(49284),\n \"_n\": Const(2),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(42)), IsPrime(Var(\"n\"))))),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(78)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(29584),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Sub(Ref(\"_m\"), 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", "B1"], "recipe_id": "7086d0", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:49:40.070162Z", "verification": {"verified": true, "answer": 42443, "timestamp": "2026-02-08T16:49:40.072774Z"}, "problem_hash": "91c5b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 477}, "timestamp": "2026-02-12T21:12:12.968Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c49789", "alias": "nt_count_phi_equals_v1_1874849503_961", "problem": "Let $k$ be the number of prime numbers between 2 and 14449, inclusive. Let $r$ be the number of positive integers $n \\leq 1831$ such that $\\phi(n) = k$. Let $m$ be the smallest positive integer $n$ such that $5^9$ divides $n!$. Compute the remainder when \n$$\n353702 \\cdot (r \\bmod 97) + 329703 \\cdot (r^2 \\bmod 101) + 215534 \\cdot (r + m) \\bmod 103\n$$ \nis divided by 86714.", "answer": 11195, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(5),\n \"upper\": Const(1831),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(14449)), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Mod(value=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')), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_n\")), Ref(\"_m\")), domain='Z_{>0}'))), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(86714)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5", "COUNT_PRIMES"], "recipe_id": "297e61", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "V5"], "num_lemmas": 2, "generation_time": 0.137, "created_at": "2026-02-08T13:27:22.048299Z", "verification": {"verified": true, "answer": 11195, "timestamp": "2026-02-08T13:27:22.185223Z"}, "problem_hash": "87c735", "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-09T23:11:31.097Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "ecc81d", "alias": "diophantine_fbi2_min_v1_1248542787_418", "problem": "Let $a_1$ be the smallest divisor of $77$ that is at least $2$. Let $b_1 = 9$. Define $n = (a_1 \\cdot b_1)^2$. Let $t$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $k = 120 \\cdot t$. Let $S$ be the set of all integers $d$ such that $3 \\leq d \\leq 130$, $d$ divides $k$, and $\\frac{k}{d} \\geq 4$. Compute the minimum value of $d$ in $S$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"a1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77))))),\n \"b1\": Const(9),\n \"n\": Pow(Mul(Ref(\"a1\"), Ref(\"b1\")), Const(2)),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"k\": Mul(Const(120), Ref(\"t\")),\n \"upper\": Const(130),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY"], "recipe_id": "1ab205", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T03:07:13.444810Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T03:07:13.452649Z"}, "problem_hash": "0a95bd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 1035}, "timestamp": "2026-02-09T03:56:23.653Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 701}, "timestamp": "2026-02-09T16:19:17.902Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:49:14.713Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "DS2": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "c43460", "alias": "antilemma_cartesian_v1_898971024_1781", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from $1$ to $10$, inclusive, and $b$ is an integer from $1$ to $12$, inclusive. Find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|x| + 2$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(12)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.021, "created_at": "2026-02-08T16:21:23.157894Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T16:21:23.179111Z"}, "problem_hash": "f2cf44", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 303}, "timestamp": "2026-02-12T10:26:37.343Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "985550", "alias": "nt_gcd_compute_v1_677425708_3147", "problem": "Let $n = 16625$. Define $v$ to be the number of distinct prime factors of $27$. Let $S$ be the set of all integers $t$ such that $17 \\leq t \\leq 147$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 11$, $1 \\leq b \\leq 31$, and $t = 4a + 3b + 10$. Let $n'$ be the number of elements in $S$, and let $u$ be the number of distinct prime factors of $n'$. Define $a = n \\cdot v \\cdot u$ and $b = 30875$. Compute $\\gcd(a, b)$.", "answer": 2375, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16625),\n \"n1\": Const(27),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=11)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=31)), Geq(left=Var(name='t'), right=Const(value=17)), Leq(left=Var(name='t'), right=Const(value=147)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=10)))))))),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"a\": Mul(Ref(\"_n\"), Ref(\"v\"), Ref(\"u\")),\n \"b\": Const(30875),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/OMEGA_ONE"], "recipe_id": "3d4ecf", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "OMEGA_ONE"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:30:25.745117Z", "verification": {"verified": true, "answer": 2375, "timestamp": "2026-02-08T05:30:25.750294Z"}, "problem_hash": "ca03d4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ONE": "ok_later", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "a2fb0a", "alias": "diophantine_fbi2_count_v1_1439011603_3183", "problem": "Let $k = 120$ and $N = 2116$. Determine the number of positive integers $d$ such that $4 \\leq d \\leq 93$, $d$ divides $k$, and the quotient $\\frac{k}{d}$ satisfies\n$$\n\\left\\lfloor \\frac{k}{d} \\right\\rfloor \\geq \\sum_{k_1=1}^{2} \\phi(k_1) \\left\\lfloor \\frac{2}{k_1} \\right\\rfloor\n$$\nand\n$$\n\\left\\lfloor \\frac{k}{d} \\right\\rfloor \\leq \\min\\left\\{ x + y \\mid x, y \\text{ are positive integers such that } xy = N \\right\\}.\n$$\nCompute the value of this count.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2116),\n \"k\": Const(120),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(93)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Summation(var=\"k1\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(2), Var(\"k1\")))))), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T17:19:13.905402Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T17:19:13.921443Z"}, "problem_hash": "2a9e5e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 20, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 560}, "timestamp": "2026-02-12T22:17:47.884Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K17": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0639a2", "alias": "nt_sum_over_divisible_v1_153355830_1961", "problem": "Let $n_1 = \\phi(2)$, where $\\phi$ denotes Euler's totient function. Define $$c = \\sum_{d \\mid n_1} \\mu(d),$$ where $\\mu$ denotes the M\\\"obius function. Let $n = n_1 \\cdot c$ and let $h$ be the number of distinct prime factors of $n$. Let $m = 114 + h$. Compute the sum of all positive integers $n$ such that $1 \\leq n \\leq 30625$ and $n \\equiv 0 \\pmod{m}$. Let $s$ be this sum. Find the smallest positive integer $k$ such that $$2^k \\equiv 1 \\pmod{2s + 3}.$$", "answer": 3060, "graph": "graphs = [\n Graph(\n let={\n \"n1\": EulerPhi(n=Const(2)),\n \"c\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(EulerPhi(n=Const(2)), Ref(\"c\")),\n \"h\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(30625),\n \"divisor\": Sum(Const(114), Ref(\"h\")),\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\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "OMEGA_ZERO", "lemma_paths": ["OMEGA_ZERO", "MOBIUS_SUM", "ONE_PHI_2"], "recipe_id": "c6cf2c", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SUM", "OMEGA_ZERO", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 1.079, "created_at": "2026-02-08T06:49:15.511791Z", "verification": {"verified": true, "answer": 3060, "timestamp": "2026-02-08T06:49:16.590313Z"}, "problem_hash": "ca8c00", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SUM": "ok", "OMEGA_ZERO": "ok", "ONE_PHI_2": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K17": "no", "LTE_DIFF": "no", "V7": "no"}, "split": "valid"} +{"id": "7946df", "alias": "antilemma_v1_legendre_1520064083_4697", "problem": "Let $c = 71401$ and $m = 98701$. Let $d_1$ be the smallest prime divisor of $294151$ that is at least $2$. Define $x$ to be the largest integer $k$ such that $d_1^k$ divides $c!$. Let $d_2$ be the smallest prime divisor of $537251$ that is at least $2$. Let $r = |x| \\mod d_2$. Let $B_r$ denote the $r$th Bell number, which counts the number of partitions of a set of $r$ elements. Compute the remainder when $B_r$ is divided by $m$.", "answer": 17274, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(71401),\n \"_m\": Const(98701),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(294151))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_c\")), base=Ref(\"_n\")),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(537251))))))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MIN_PRIME_FACTOR", "MIN_PRIME_FACTOR/V1", "V1"], "recipe_id": "1d275d", "seed_template_id": "antilemma_v1_legendre", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.014, "created_at": "2026-02-08T06:23:19.519384Z", "verification": {"verified": true, "answer": 17274, "timestamp": "2026-02-08T06:23:19.533116Z"}, "problem_hash": "ab5312", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "1fe84d", "alias": "geo_visible_lattice_v1_2051736721_5206", "problem": "Let $n = 60$. Define $L$ to be the number of lattice points $(x, y)$ such that $1 \\leq x \\leq n$, $1 \\leq y \\leq n$, and $\\gcd(x, y) = 1$. Compute the remainder when $22867 \\cdot L$ is divided by $79882$.", "answer": 50341, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(60),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(22867), Ref(\"result\")), modulus=Const(79882)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.082, "created_at": "2026-02-08T18:25:25.239125Z", "verification": {"verified": true, "answer": 50341, "timestamp": "2026-02-08T18:25:25.320901Z"}, "problem_hash": "233def", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 46184, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 509}, "timestamp": "2026-02-13T00:05:54.556Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "908628", "alias": "nt_sum_phi_v1_1520064083_6096", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1166400$. Let $T$ be the set of all values of $x + y$ for such pairs. Define $n_0$ to be the minimum value in $T$.\n\nLet $U$ be the number of positive integers $n$ such that $1 \\le n \\le n_0$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$.\n\nDefine $R = \\sum_{k=1}^{U} \\phi(k)$, where $\\phi$ denotes Euler's totient function.\n\nLet $N$ be the number of integers $t$ such that $7 \\le t \\le 345$ and there exist positive integers $a \\le 81$, $b \\le 7$ satisfying $t = 4a + 3b$.\n\nCompute the remainder when $N - R$ is divided by $71351$.", "answer": 56692, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(71351),\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(1166400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=7)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=345)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3/L3C"], "recipe_id": "fccd01", "seed_template_id": "nt_sum_phi_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.085, "created_at": "2026-02-08T07:51:14.754144Z", "verification": {"verified": true, "answer": 56692, "timestamp": "2026-02-08T07:51:14.838724Z"}, "problem_hash": "c994cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58225, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 5093}, "timestamp": "2026-02-13T13:03:28.843Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 593}, "timestamp": "2026-02-12T01:21:52.852Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "L3C": "ok_later", "K18": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "053049", "alias": "antilemma_cartesian_v1_153355830_5", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 33, inclusive, and $b$ is an integer from 1 to 43, inclusive. Define $m = |x| + 2$. Let $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $m$. Compute $Q$.", "answer": 56, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(33)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:50:55.637975Z", "verification": {"verified": true, "answer": 56, "timestamp": "2026-02-08T02:50:55.638603Z"}, "problem_hash": "c5e727", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 56, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 3284}, "timestamp": "2026-02-08T19:54:09.269Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 56, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 2405}, "timestamp": "2026-02-08T21:08:01.334Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:43:21.213Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 56, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 3088}, "timestamp": "2026-02-10T14:27:25.896Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 4118}, "timestamp": "2026-02-10T13:54:19.937Z"}, {"id": 8, "model": "mathstral", "answer": 60, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 150, "completion_tokens": 733}, "timestamp": "2026-02-11T05:16:34.633Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 358}, "timestamp": "2026-02-11T19:46:02.653Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "056689", "alias": "nt_count_with_divisor_count_v1_1918700295_3109", "problem": "Compute the number of positive integers $n \\leq 70000$ that have exactly 16 positive divisors.", "answer": 7281, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(70000),\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 },\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", "SUM_INDEPENDENT"], "recipe_id": "d514bf", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 4.451, "created_at": "2026-02-08T08:23:16.163664Z", "verification": {"verified": true, "answer": 7281, "timestamp": "2026-02-08T08:23:20.614206Z"}, "problem_hash": "de8c68", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2618, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 69, "completion_tokens": 7285}, "timestamp": "2026-02-13T18:30:47.698Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 129, "completion_tokens": 546}, "timestamp": "2026-02-12T01:53:42.771Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_INDEPENDENT": "ok", "K2": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K16": "no", "L3c": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "671757", "alias": "nt_min_coprime_above_v1_124444284_8185", "problem": "Let $\\text{start} = 25600$ and $\\text{upper} = 25641$. Let $d_{\\text{max}}$ be the largest positive integer $d \\leq 31$ that divides $1271$. Compute the smallest integer $n$ such that $\\text{start} < n \\leq \\text{upper}$ and $\\gcd(n, d_{\\text{max}}) = 1$.", "answer": 25601, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(25600),\n \"upper\": Const(25641),\n \"modulus\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(31)), Divides(divisor=Var(\"d\"), dividend=Const(1271))))),\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": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.065, "created_at": "2026-02-08T09:35:38.648536Z", "verification": {"verified": true, "answer": 25601, "timestamp": "2026-02-08T09:35:38.713657Z"}, "problem_hash": "e5cfab", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 25601, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 306}, "timestamp": "2026-02-12T03:02:46.130Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "069ff2", "alias": "comb_sum_binomial_row_v1_677425708_2190", "problem": "Let $c = 6$. Let $m$ be the number of positive integers $n$ with $1 \\leq n \\leq 5$ such that $\\gcd(n, c) = 1$. Let $T$ be the set of integers $t$ such that $14 \\leq t \\leq 122$ and there exist positive integers $a \\leq 7$, $b \\leq 11$ satisfying $t = 8a + 6b$. Let $n$ be the minimum value of $x + y$ where $x$ and $y$ are positive integers such that $xy$ equals the number of elements in $T$. Define $Q = m^n$. Compute $Q$.", "answer": 16384, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(6),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_c\")), Const(1))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=122)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\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\": Pow(Ref(\"_m\"), Ref(\"n\")),\n \"Q\": 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/B3", "C4/LIN_FORM"], "recipe_id": "b7cf7e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:50:41.436024Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T04:50:41.441727Z"}, "problem_hash": "e5d03f", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2785}, "timestamp": "2026-02-11T22:09:13.810Z"}, {"id": 8, "model": "mathstral", "answer": 32768, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 335}, "timestamp": "2026-02-14T01:27:10.068Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 257, "completion_tokens": 350}, "timestamp": "2026-02-11T21:55:25.208Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "B3": "ok_later", "MOD_ADD": "no", "MOD_MUL": "no", "V1": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "edfe45", "alias": "modular_mod_compute_v1_1742523217_1989", "problem": "Let $T$ be the set of all integers $t$ such that $10 \\leq t \\leq 2044$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 151$, $1 \\leq b \\leq 329$, and $t = 7a + 3b$. Let $n$ be the number of elements in $T$. Let $D$ be the set of all positive divisors $d$ of $4104667$ such that $\\varphi(2) \\leq d \\leq n$, where $\\varphi$ denotes Euler's totient function. Let $a$ be the maximum element of $D$. Find the remainder when $a$ is divided by $74529$.", "answer": 2023, "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=151)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=329)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=2044)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), EulerPhi(n=Const(2))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(4104667))))),\n \"m\": Const(74529),\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/MAX_DIVISOR", "ONE_PHI_2"], "recipe_id": "faa957", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:23:07.398096Z", "verification": {"verified": true, "answer": 2023, "timestamp": "2026-02-08T04:23:07.401642Z"}, "problem_hash": "b7bc44", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "MAX_DIVISOR": "ok_later", "K13": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V3": "no"}, "split": "valid"} +{"id": "a23ca5", "alias": "nt_count_divisible_v1_2051736721_2773", "problem": "Let $n$ be the number of integers $t$ with $26 \\le t \\le 256$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 46$, $1 \\le b \\le 21$, and $t = 2a + 7b + 17$. Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $xy = n$. Let $d$ be the minimum value of $x + y$ over all such pairs. Let $r$ be the number of positive integers $n$ with $1 \\le n \\le 69006$ such that $d$ divides $n$. Determine the value of the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $r + 2$.", "answer": 690, "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=46)), 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=26)), Leq(left=Var(name='t'), right=Const(value=256)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=17)))))))),\n \"upper\": Const(69006),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 3.297, "created_at": "2026-02-08T16:54:29.307162Z", "verification": {"verified": true, "answer": 690, "timestamp": "2026-02-08T16:54:32.604571Z"}, "problem_hash": "c6b850", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 512}, "timestamp": "2026-02-12T21:21:53.983Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "968bdb", "alias": "diophantine_fbi2_count_v1_1520064083_2328", "problem": "Let $k = 420$. Determine the number of integers $d$ such that $6 \\le d \\le 85$, $d$ divides $k$, and $2 \\le \\frac{k}{d} \\le 81$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"a\": Const(5),\n \"b\": Const(1),\n \"upper\": Const(80),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(85)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(81))))),\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", "L3B"], "recipe_id": "efd745", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "L3B", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.189, "created_at": "2026-02-08T04:39:03.870707Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T04:39:04.059544Z"}, "problem_hash": "d86b3c", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 1303}, "timestamp": "2026-02-11T16:11:59.768Z"}, {"id": 8, "model": "mathstral", "answer": 13, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 112, "completion_tokens": 595}, "timestamp": "2026-02-13T21:16:30.173Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 370}, "timestamp": "2026-02-11T21:03:34.792Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "9d0a6f", "alias": "antilemma_product_of_sums_v1_1742523217_792", "problem": "Let $m = 522$. Let $d$ be a positive integer such that $1 \\leq d \\leq 18$ and $d$ divides $m$. Define $n$ to be the largest such $d$.\n\nLet $S$ be the set of all ordered pairs $(k, j)$ of positive integers such that $1 \\leq k \\leq 13$ and $1 \\leq j \\leq 2$. Define $T$ to be the set of all values of $k$ that appear in the elements of $S$. Compute the sum of all elements of $T$, and multiply this sum by $\\sum_{k=1}^{n} k$.\n\nLet $x$ be the absolute value of the result. Find the remainder when $x$ is divided by $66719$.", "answer": 31122, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(522),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(18)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\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(13)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Var(\"k\")))),\n \"Q\": Mod(value=Abs(arg=Ref(name='x')), modulus=Const(66719)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "PRODUCT_OF_SUMS", "lemma_paths": ["MAX_DIVISOR/PRODUCT_OF_SUMS/SUM_ARITHMETIC"], "recipe_id": "d5c254", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.023, "created_at": "2026-02-08T03:14:48.936649Z", "verification": {"verified": true, "answer": 31122, "timestamp": "2026-02-08T03:14:48.959540Z"}, "problem_hash": "547e14", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15561, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 1137}, "timestamp": "2026-02-09T22:49:58.809Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15561, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 663}, "timestamp": "2026-02-09T07:02:48.144Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "2db542", "alias": "modular_product_range_v1_153355830_501", "problem": "Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=108,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 76264588600200$ and $\\gcd(p, q) = 1$. Compute $C - \\tau(n)$.", "answer": 120, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(55555),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sub(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=76264588600200)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")),\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"], "recipe_id": "c90628", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:08:04.958445Z", "verification": {"verified": true, "answer": 120, "timestamp": "2026-02-08T13:08:04.960061Z"}, "problem_hash": "e5230e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 484}, "timestamp": "2026-02-12T06:14:26.766Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b7033a", "alias": "antilemma_cartesian_v1_124444284_3360", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 24$ and $1 \\leq b \\leq 30$. Compute the value of $11^{|x|} \\bmod 99991$, and then add 45369 to the result. Find the final value.", "answer": 90071, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(45369)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:21:49.910599Z", "verification": {"verified": true, "answer": 90071, "timestamp": "2026-02-08T05:21:49.911453Z"}, "problem_hash": "8bab3e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 90071, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 5121}, "timestamp": "2026-02-12T07:34:13.450Z"}, {"id": 8, "model": "mathstral", "answer": 45433, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 135, "completion_tokens": 942}, "timestamp": "2026-02-14T16:19:57.242Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 330}, "timestamp": "2026-02-11T22:32:06.458Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "2b91a9", "alias": "nt_count_digit_sum_v1_655260480_5898", "problem": "Let $S$ be the set of integers $t$ such that $26 \\le t \\le 63$ and there exist integers $a$ and $b$ with $1 \\le a \\le 6$, $1 \\le b \\le 7$, and $t = 5a + 2b + 19$. For each integer $n$ from $1$ to $34$, inclusive, define $d(n)$ to be the number of positive divisors of $n$ that are congruent to $0$ modulo $|S|$. Let $s$ be the sum of all $n$ in this range for which $d(n) = 0$. Find the number of positive integers $n_1$ such that $1 \\le n_1 \\le 330625$ and the sum of the decimal digits of $n_1$ equals $s$.", "answer": 5550, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(34),\n \"upper\": Const(330625),\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=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=7)), Geq(left=Var(name='t'), right=Const(value=26)), Leq(left=Var(name='t'), right=Const(value=63)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=19))))))))), Const(0))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n1\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE"], "recipe_id": "a67711", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 11.616, "created_at": "2026-02-08T18:42:04.881630Z", "verification": {"verified": true, "answer": 5550, "timestamp": "2026-02-08T18:42:16.497636Z"}, "problem_hash": "834ac5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 502}, "timestamp": "2026-02-13T00:26:56.636Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e1c2bc", "alias": "comb_sum_binomial_mod_v1_1520064083_1255", "problem": "Let $m = 45$ and $n = 5$. For each integer $k$ from 83 to 190 and each integer $j$ from 1 to 9, compute $\\phi(1)$, which is 1, and define a value associated with each such pair $(k, j)$. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le 90$ and $n$ is divisible by 18. Let $s_k = \\binom{|T|}{k}$ for each $k$ from 83 to 190. Compute the sum of $s_k$ over all such $k$, multiply the result by $n$, and divide by $m$ to obtain a value $\\text{sum}$. Let $r$ be the remainder when $\\text{sum}$ is divided by 10369. Compute the remainder when $27469 \\cdot r$ is divided by 66762. Determine the value of this remainder.", "answer": 5898, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(45),\n \"_n\": Const(5),\n \"sum\": Div(Mul(Ref(\"_n\"), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=EulerPhi(n=Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(83), end=Const(190)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(90)), Eq(Mod(value=Var(\"n\"), modulus=Const(18)), Const(0))))), k=Var(\"k\"))))), Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10369)),\n \"Q\": Mod(value=Mul(Const(27469), Ref(\"result\")), modulus=Const(66762)),\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/SUM_INDEPENDENT", "ONE_PHI_1"], "recipe_id": "9e5d44", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "SUM_DIVISIBLE", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.033, "created_at": "2026-02-08T03:53:26.934947Z", "verification": {"verified": true, "answer": 5898, "timestamp": "2026-02-08T03:53:26.967598Z"}, "problem_hash": "790c88", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_DIVISIBLE": "ok", "SUM_INDEPENDENT": "ok_later", "K16": "no", "L3c": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}, "split": "valid"} +{"id": "392416", "alias": "nt_count_squarefree_v1_151522320_34", "problem": "Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides 77. Let $n_1 = 89^2 \\cdot 79 \\cdot d_{\\min}$. Define $t = \\mu(n_1)^2$, where $\\mu$ is the Möbius function. Let $n = \\sum_{d \\mid \\gcd(13,17)} \\mu(d)$. Define $s = \\sum_{d \\mid n} \\mu(d)$. Let $u = 52326 \\cdot s$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\mu(n)^2 = 1$. Compute the remainder when $(44121 + t)$ times this count is divided by 77309.", "answer": 10102, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77),\n \"p\": Const(89),\n \"q\": Const(79),\n \"r\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"s\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Mul(Const(52326), Ref(\"s\")),\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=Mul(Sum(Const(44121), Ref(\"t\")), Ref(\"result\")), modulus=Const(77309)),\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", "MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "160f70", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 23.658, "created_at": "2026-02-08T02:55:40.300389Z", "verification": {"verified": true, "answer": 10102, "timestamp": "2026-02-08T02:56:03.958814Z"}, "problem_hash": "5f0206", "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": 287, "completion_tokens": 8192}, "timestamp": "2026-02-08T21:51:35.023Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "L3b": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "valid"} +{"id": "d579b6", "alias": "nt_sum_divisors_compute_v1_151522320_55", "problem": "Let $p$ be the smallest prime divisor of $1230731$. Let $m = \\Omega(p)$, where $\\Omega(n)$ denotes the number of prime factors of $n$ counted with multiplicity. Let $s = \\Omega(1)$. Let $n = 36481m + s$. Compute the sum of all positive divisors of $n$.", "answer": 36673, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1230731))))),\n \"m\": BigOmega(n=Ref(name='p')),\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Mul(Const(36481), Ref(\"m\")), Ref(\"s\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "aed134", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "BIG_OMEGA_ZERO", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:56:18.353684Z", "verification": {"verified": true, "answer": 36673, "timestamp": "2026-02-08T02:56:18.356944Z"}, "problem_hash": "d26e7a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 36673, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 191, "completion_tokens": 2427}, "timestamp": "2026-02-08T22:16:08.066Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MIN_PRIME_FACTOR": "ok", "BIG_OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K14": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "c8034e", "alias": "diophantine_fbi2_min_v1_1742523217_5527", "problem": "Let $s$ be the sum of all real solutions $x$ to the equation $x^2 - 2x - 3248 = 0$.\n\nLet $d$ be the smallest positive integer such that $d \\ge s$, $d \\le 18$, $d$ divides $8$, and $\\frac{8}{d} \\ge 4$.\n\nCompute $37493 \\cdot d$.", "answer": 74986, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(8),\n \"upper\": Const(18),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-2), Var(\"x\")), Const(-3248)), Const(0))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(4))))),\n \"_c\": Const(37493),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "K2"], "recipe_id": "f4a436", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T11:02:48.206593Z", "verification": {"verified": true, "answer": 74986, "timestamp": "2026-02-08T11:02:48.211567Z"}, "problem_hash": "2fc766", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 74986, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 443}, "timestamp": "2026-02-12T03:37:15.146Z"}], "solution_status": 2, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "DS2": "no", "K15": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "c746d2", "alias": "nt_count_digit_sum_v1_548369836_25", "problem": "Let $u$ be the number of prime numbers $n$ such that $2\\le n\\le 104723$.\n\nLet $v$ be the number of positive integers $n$ with $1\\le n\\le u$ and whose sum of decimal digits is $16$.\n\nConsider all positive integers $p$ for which there exists a positive integer $q$ such that $pq=108$, $\\gcd(p,q)=1$, and $p s$, $n_1 \\leq c$, and $\\gcd(n_1, 133) = 1$.\n\nDetermine the value of $r$.", "answer": 2917, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(108),\n \"_n\": Const(6),\n \"start\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(36708)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"modulus\": Const(133),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Gt(Var(\"n1\"), Ref(\"start\")), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "B1"], "recipe_id": "4ed0a3", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.035, "created_at": "2026-02-08T17:02:37.718001Z", "verification": {"verified": true, "answer": 2917, "timestamp": "2026-02-08T17:02:37.753134Z"}, "problem_hash": "7092f7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 628}, "timestamp": "2026-02-12T21:39:53.144Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_FIB_DIVISIBLE": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "K5": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6c0205", "alias": "nt_num_divisors_compute_v1_865884756_4503", "problem": "Let $m = 17776$. Compute the number of positive integers $k$ such that $1 \\leq k \\leq m$ and $16$ divides $k$. Let $n$ be this count. Now, compute the number of positive integers $j$ such that $1 \\leq j \\leq n$ and $j^d \\leq 1371330631$, where $d$ is the smallest divisor of $4725$ that is at least $2$. Let $N$ be this count. Determine the number of positive divisors of $N$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17776),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(16), dividend=Var(\"k\"))), domain='positive_integers')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4725)))))), Const(1371330631))), domain='positive_integers')),\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": ["MIN_PRIME_FACTOR/C3", "C2/C3"], "recipe_id": "99ef18", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "C3", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.022, "created_at": "2026-02-08T17:58:07.114169Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T17:58:07.135888Z"}, "problem_hash": "2c67fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 449}, "timestamp": "2026-02-12T23:26:21.927Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "MIN_PRIME_FACTOR": "ok", "C3": "ok_later", "COUNT_SUM_EQUALS": "no", "K13": "no", "LTE_SUM": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fe1719", "alias": "modular_modexp_compute_v1_397696148_1646", "problem": "Let $R$ be the remainder when $29^{5776}$ is divided by $71824$.\n\nLet $T$ be the number of integers $n$ with $1\\le n\\le 1902$ such that $8$ divides the $n$th Fibonacci number $F_n$.\n\nLet\n\\[Q\\equiv R\\pmod{307}\\qquad\\text{and}\\qquad Q\\equiv 2003\\cdot (R\\bmod T)\\pmod{89898},\\]\nwhere $R\\bmod 307$ and $R\\bmod T$ denote the remainders when $R$ is divided by $307$ and $T$, respectively, and $Q$ is taken to be the unique integer with $0\\le Q<89898$ satisfying the congruence\n\\[Q\\equiv (R\\bmod 307)+2003\\cdot (R\\bmod T)\\pmod{89898}.\n\\]\n\nFind the value of $Q$.", "answer": 52605, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(29),\n \"e\": Const(5776),\n \"m\": Const(71824),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(307)), Mul(Const(2003), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1902)), Divides(divisor=Const(8), dividend=Fibonacci(arg=Var(name='n'))))))))), modulus=Const(89898)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE"], "recipe_id": "3b5f28", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "two_moduli", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:42:14.986039Z", "verification": {"verified": true, "answer": 52605, "timestamp": "2026-02-08T12:42:14.988218Z"}, "problem_hash": "7c08c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 499}, "timestamp": "2026-02-12T05:31:13.046Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "DS2": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4dd162", "alias": "modular_product_range_v1_1978505735_592", "problem": "Let $d$ be the smallest divisor of $1773593$ that is at least $2$. Let $n$ be the number of integers $t$ such that $15 \\leq t \\leq 72$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 3$, and $t = 9a + 6b$. Let $P$ be the product of all integers $i$ from $d$ to the maximum value of $xy$ over all pairs of positive integers $(x, y)$ satisfying $x + y = n$. Compute the remainder when $P$ is divided by $10253$.", "answer": 6664, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10253),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1773593))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=72)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_m\"), end=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_c\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LIN_FORM", "LIN_FORM/B1"], "recipe_id": "40e8c6", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T15:28:14.071635Z", "verification": {"verified": true, "answer": 6664, "timestamp": "2026-02-08T15:28:14.080210Z"}, "problem_hash": "5c143e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 519}, "timestamp": "2026-02-12T08:30:30.029Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1e0127", "alias": "antilemma_cartesian_v1_1978505735_989", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 9$. Define $Q$ to be the Bell number $B_r$, where $r$ is the remainder when $|x|$ is divided by $11$.\n\nCompute $Q$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(9)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=Const(11))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:43:36.861056Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T15:43:36.861791Z"}, "problem_hash": "f416e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 219}, "timestamp": "2026-02-12T09:07:27.078Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1d82dd", "alias": "modular_product_range_v1_865884756_387", "problem": "Let $m = 101$ and $n = 103$. Let $P$ be the product of all integers from 120 to 520, inclusive, and let $r = P \\bmod 10853$. Let $A$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 12$. Define $c$ to be the maximum value of $xy$ over all such pairs. Let $M_1$ be the largest prime number $p$ such that $2 \\leq p \\leq 99$. Compute the value of\n$$\n\\left( 353702 \\cdot (|r| \\bmod M_1) + 329703 \\cdot (r^2 + 1) \\bmod m + 215534 \\cdot (|r| + c) \\bmod n \\right) \\bmod 1009091\n$$\ngiven that the final result is taken modulo $54920$, and output the resulting integer.", "answer": 53013, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(103),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(120), end=Const(520)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10853)),\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(12)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(99)), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Ref(\"_n\")))), modulus=Const(1009091)), modulus=Const(54920)),\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", "B1"], "recipe_id": "8312aa", "seed_template_id": "modular_product_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:20:18.590886Z", "verification": {"verified": true, "answer": 53013, "timestamp": "2026-02-08T15:20:18.596544Z"}, "problem_hash": "0a966c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 407}, "timestamp": "2026-02-12T08:13:40.215Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "K17": "no", "L3b": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "438c95", "alias": "nt_gcd_compute_v1_677425708_488", "problem": "Let $a = 158964$ and $b = 357669$. Define $d = \\gcd(a, b)$. Let $A$ be the number of positive integers $t$ such that $27 \\leq t \\leq 132$ and $t = 12a' + 15b'$ for some positive integers $a'$ with $1 \\leq a' \\leq 6$ and $b'$ with $1 \\leq b' \\leq 4$. Let $B$ be the number of positive integers $k$ such that $k \\leq 153125$ and $49$ divides $k$. Compute the remainder when\n$$\nd^2 + A \\cdot d + B\n$$\nis divided by $85896$.\\end{problem}", "answer": 75278, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49),\n \"a\": Const(158964),\n \"b\": Const(357669),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=132)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))), Ref(\"result\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(153125)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers'))), modulus=Const(85896)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "C2"], "recipe_id": "12391a", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:34:23.077509Z", "verification": {"verified": true, "answer": 75278, "timestamp": "2026-02-08T03:34:23.080982Z"}, "problem_hash": "fd5f92", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 75278, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:39:23.269Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 75278, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 2771}, "timestamp": "2026-02-10T04:35:54.600Z"}, {"id": 8, "model": "mathstral", "answer": 3201, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 681}, "timestamp": "2026-02-12T19:06:39.284Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 399}, "timestamp": "2026-02-11T19:29:49.364Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "LIN_FORM": "ok", "K14": "no", "K17": "no", "K5": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "0cb08e", "alias": "comb_sum_binomial_mod_v1_2051736721_4258", "problem": "Let $n = 125$. Compute the sum $\\sum_{k=37}^{125} \\binom{131}{k}$, and let $r$ be the remainder when this sum is divided by $10433$. Let $T$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 889350$, $\\gcd(p,q) = 1$, and $p < q$. Let $c$ be the number of elements in $T$. Compute the remainder when $c - r$ is divided by $93368$. Find the value of $Q = (c - r) \\bmod 93368$.", "answer": 83489, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(125),\n \"sum\": Summation(var=\"k\", start=Const(37), end=Ref(\"_n\"), expr=Binom(n=Const(131), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10433)),\n \"Q\": Mod(value=Sub(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=889350)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), modulus=Const(93368)),\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"], "recipe_id": "c90628", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.019, "created_at": "2026-02-08T17:51:29.039301Z", "verification": {"verified": true, "answer": 83489, "timestamp": "2026-02-08T17:51:29.058779Z"}, "problem_hash": "8d1c09", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 624}, "timestamp": "2026-02-12T23:13:51.996Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3b": "no", "MOD_ADD": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b94e53", "alias": "comb_factorial_compute_v1_717093673_3330", "problem": "Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p < q$, $\\gcd(p, q) = 1$, and $pq = 110250$. Let $n$ be the number of elements in $S$. Define $r = n!$. Let $T$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 320$, $1 \\leq b \\leq 218$, and $t = 5a + 2b + 19$, where $26 \\leq t \\leq 2055$. Let $s$ be the number of elements in $T$. Find the remainder when $s - r$ is divided by $56540$.", "answer": 18246, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56540),\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=110250)), 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\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=320)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=218)), Geq(left=Var(name='t'), right=Const(value=26)), Leq(left=Var(name='t'), right=Const(value=2055)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=19)))))))), 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", "COPRIME_PAIRS"], "recipe_id": "e30a8c", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:29:43.061768Z", "verification": {"verified": true, "answer": 18246, "timestamp": "2026-02-08T17:29:43.064871Z"}, "problem_hash": "456635", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 529}, "timestamp": "2026-02-12T22:44:59.506Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K13": "no", "K17": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "39f4ff", "alias": "comb_count_derangements_v1_677425708_500", "problem": "Let $M$ be the greatest positive integer $d$ with $d\\le 6400$ such that $d$ divides $41273600$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=M$. For each such pair, form the sum $x+y$. Let $S$ be the smallest value among all these sums.\n\nLet $C$ be the value of\n$$\\sum_{k=1}^{5} \\varphi(k)\\left\\lfloor \\frac{5}{k} \\right\\rfloor,$$\nwhere $\\varphi$ denotes Euler's totient function. Let $n$ be the number of integers $m$ such that $1\\le m\\le S$ and $C$ divides the Fibonacci number $F_m$.\n\nLet $D$ be the number of derangements of $n$ objects (that is, $D=!n$). Define\n$$Q \\equiv \\sum_{m=1}^{|D|} \\tau(m) \\pmod{68471},$$\nwhere $\\tau(m)$ denotes the number of positive divisors of $m$, and $0\\le Q<68471$.\n\nFind the value of $Q$.", "answer": 7819, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(6400)), Divides(divisor=Var(\"d\"), dividend=Const(41273600))))),\n \"_n\": Const(68471),\n \"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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_c\"), Var(\"k\"))))), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/B3/COUNT_FIB_DIVISIBLE", "K2/COUNT_FIB_DIVISIBLE"], "recipe_id": "d69ca4", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "K2", "MAX_DIVISOR"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:34:28.665386Z", "verification": {"verified": true, "answer": 7819, "timestamp": "2026-02-08T03:34:28.670893Z"}, "problem_hash": "9383ed", "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": 369, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:40:20.900Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7807, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 365, "completion_tokens": 7090}, "timestamp": "2026-02-10T04:50:47.684Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7831, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 5772}, "timestamp": "2026-02-11T14:23:09.449Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 344, "completion_tokens": 591}, "timestamp": "2026-02-12T19:07:30.913Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 373, "completion_tokens": 472}, "timestamp": "2026-02-11T20:59:53.345Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "MAX_DIVISOR": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "C2": "no", "K17": "no", "K5": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "0d1626", "alias": "sequence_count_fib_divisible_v1_1978505735_6482", "problem": "Let $U = 361$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq U$ and $2$ divides the $n$-th Fibonacci number.", "answer": 120, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(361),\n \"d\": Const(2),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["V8/K14"], "recipe_id": "893532", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "V8"], "num_lemmas": 3, "generation_time": 0.127, "created_at": "2026-02-08T19:36:30.744398Z", "verification": {"verified": true, "answer": 120, "timestamp": "2026-02-08T19:36:30.871178Z"}, "problem_hash": "2eccd8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 180, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 659}, "timestamp": "2026-02-13T01:07:20.132Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "K14": "ok_later", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "154e1b", "alias": "antilemma_cartesian_v1_1248542787_717", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer between 1 and 27, inclusive, and $b$ is an integer between 1 and 33, inclusive. Compute $x$.", "answer": 891, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(27)), right=IntegerRange(start=Const(1), end=Const(33)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:20:38.423769Z", "verification": {"verified": true, "answer": 891, "timestamp": "2026-02-08T03:20:38.424277Z"}, "problem_hash": "25be5c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 253}, "timestamp": "2026-02-09T07:23:12.573Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 230}, "timestamp": "2026-02-09T20:15:48.451Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 2269}, "timestamp": "2026-02-09T19:32:09.951Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 479}, "timestamp": "2026-02-12T01:41:56.160Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 97, "completion_tokens": 304}, "timestamp": "2026-02-12T00:00:00.306Z"}, {"id": 8, "model": "mathstral", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 282}, "timestamp": "2026-02-11T19:00:24.506Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 891, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 180}, "timestamp": "2026-02-11T19:25:11.282Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "valid"} +{"id": "d56795", "alias": "comb_sum_binomial_row_v1_458359167_3042", "problem": "Let $n_2 = 1$ and $u = 1$. Define $v = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$ and $w = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$, where $n_1 = u + 1$. Let $n = 11 + v + w$. Let $\\alpha$ be the number of positive integers $t$ such that $27 \\leq t \\leq 16395$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 469$, $1 \\leq b \\leq 1357$, and $t = 6a + 10b + 11$. Compute the remainder when $\\alpha \\cdot 4^n$ is divided by $69651$.", "answer": 30256, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\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 \"n2\": Const(1),\n \"v\": Summation(var=\"k\", start=Const(0), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"u\": Const(1),\n \"n1\": Sum(Ref(\"u\"), Const(1)),\n \"w\": Summation(var=\"k\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n1\"), k=Var(\"k\")))),\n \"n\": Sum(Const(11), Ref(\"v\"), Ref(\"w\")),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\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=469)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1357)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=16395)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=10), Var(name='b')), Const(value=11)))))))), Ref(\"result\")), modulus=Const(69651)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "BINOMIAL_ALTERNATING", "COMB1/LIN_FORM"], "recipe_id": "036888", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:54:16.422437Z", "verification": {"verified": true, "answer": 30256, "timestamp": "2026-02-08T06:54:16.426282Z"}, "problem_hash": "584cc6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 47829, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 4872}, "timestamp": "2026-02-13T05:59:36.722Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 537}, "timestamp": "2026-02-12T00:38:17.951Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "eaf79c", "alias": "modular_product_range_v1_1978505735_4954", "problem": "Let $m = 300$ and $n = 67895$. Let $S$ be the set of all positive integers $x$ and $y$ such that $xy = 17424$. Define $T$ to be the set of all values $x + y$ where $(x, y) \\in S$. Let $a$ be the minimum element of $T$. Let $k$ be the number of positive integers $\\ell$ such that $1 \\leq \\ell \\leq a$ and $\\ell \\equiv \\left\\lfloor \\frac{\\ell}{2} \\right\\rfloor \\pmod{11}$. Define $P = \\prod_{i=1}^{m} i^k$. Let $r$ be the remainder when $P$ is divided by $11863$. Compute the remainder when $65423 \\cdot r$ is divided by $67895$.", "answer": 30871, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(300),\n \"_n\": Const(67895),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=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(17424)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), end=Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11863)),\n \"Q\": Mod(value=Mul(Const(65423), 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/L3C"], "recipe_id": "345f3b", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T18:38:33.947674Z", "verification": {"verified": true, "answer": 30871, "timestamp": "2026-02-08T18:38:33.951209Z"}, "problem_hash": "94d9e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 305, "completion_tokens": 424}, "timestamp": "2026-02-13T00:24:48.389Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "DS2": "no", "K5": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1850ab", "alias": "comb_binomial_compute_v1_1915831931_2295", "problem": "Let $ A $ be the set of all integers $ t $ such that $ 15 \\leq t \\leq 57 $ and there exist integers $ a $ and $ b $ satisfying $ 1 \\leq a \\leq 5 $, $ 1 \\leq b \\leq 3 $, and $ t = 6a + 9b $. Let $ n $ be the number of elements in $ A $.\n\nLet $ B $ be the set of all positive integers $ n_1 $ such that $ 1 \\leq n_1 \\leq 50820 $ and $ 6 $ divides $ F_{n_1} $, where $ F_{n_1} $ is the $ n_1 $-th Fibonacci number. Let $ d $ be the smallest integer $ d \\geq 2 $ that divides the number of elements in $ B $. \n\nCompute the remainder when $ 30121 \\cdot \\binom{n}{d} $ is divided by $ 80342 $.", "answer": 40883, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(80342),\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=15)), Leq(left=Var(name='t'), right=Const(value=57)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(50820)), Divides(divisor=Const(6), dividend=Fibonacci(arg=Var(name='n1')))))))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(30121),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MIN_PRIME_FACTOR", "LIN_FORM"], "recipe_id": "68afb7", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T16:43:27.728351Z", "verification": {"verified": true, "answer": 40883, "timestamp": "2026-02-08T16:43:27.734370Z"}, "problem_hash": "da0cdf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 523}, "timestamp": "2026-02-12T20:48:17.849Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K17": "no", "K18": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0559b6", "alias": "antilemma_count_primes_v1_168721529_216", "problem": "Let $P$ be the set of prime numbers $n$ such that $2 \\leq n \\leq 1019$. Let $D$ be the set of all positive divisors of $1050589$ that are at most the largest element of $P$. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq \\max(D)$. Compute the remainder when $73149 \\cdot x$ is divided by $91246$.", "answer": 7777, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(91246),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1019)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Const(1050589)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(73149), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_DIVISOR/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "a23536", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T12:54:22.344606Z", "verification": {"verified": true, "answer": 7777, "timestamp": "2026-02-08T12:54:22.348268Z"}, "problem_hash": "4b5371", "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": 219, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:35:55.229Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 7777, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 5237}, "timestamp": "2026-02-09T14:30:31.349Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7777, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 5233}, "timestamp": "2026-02-10T01:26:19.572Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "MAX_DIVISOR": "ok_later", "DS2": "no", "K17": "no", "L3b": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.98, "hi": 1.65}, "split": "valid"} +{"id": "57d86e", "alias": "comb_count_surjections_v1_1526740231_21", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3\\}$. Let $k$ be equal to $n$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Find the value of this expression.", "answer": 720, "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(3)))),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T11:18:33.231463Z", "verification": {"verified": true, "answer": 720, "timestamp": "2026-02-08T11:18:33.234052Z"}, "problem_hash": "e73698", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 720, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 371}, "timestamp": "2026-02-12T03:49:28.012Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "f26f98", "alias": "antilemma_sum_factor_cartesian_v1_784195855_167", "problem": "Let $A$ be the set of all ordered pairs $(i, j)$ such that $1 \\le i \\le 16$ and $1 \\le j \\le 9$. Define $x$ to be the sum of $ij$ over all such pairs. Let $B$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 1020100$. Define $c$ to be the minimum value of $x + y$ over all such pairs. Compute the remainder when $c - x$ is divided by $86693$.", "answer": 82593, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86693),\n \"x\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=EulerPhi(n=Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\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(1020100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(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": "B3", "lemma_paths": ["B3", "SUM_FACTOR_CARTESIAN", "ONE_PHI_1"], "recipe_id": "e27dec", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_1", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:00:32.412755Z", "verification": {"verified": true, "answer": 82593, "timestamp": "2026-02-08T03:00:32.415577Z"}, "problem_hash": "16e2ac", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "SUM_FACTOR_CARTESIAN": "ok", "K13": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V1": "no"}, "split": "valid"} +{"id": "1c9c8b", "alias": "diophantine_fbi2_count_v1_784195855_5223", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 107$ and there exist positive integers $a \\leq 5$, $b \\leq 29$ satisfying $t = 4a + 3b$. Let $n = |T|$. Let $s = \\sum_{k=1}^{3} \\varphi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\varphi$ denotes Euler's totient function. Compute the number of positive divisors $d$ of $480$ such that $d \\geq s$, $d \\leq n$, and $3 \\leq \\frac{480}{d} \\leq 92$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\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=29)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=107)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"k\": Const(480),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\")))))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(92))))),\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/MAX_PRIME_BELOW", "K2"], "recipe_id": "6e9a51", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T07:46:47.548350Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T07:46:47.558182Z"}, "problem_hash": "8de82c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 198, "completion_tokens": 3611}, "timestamp": "2026-02-13T12:30:10.125Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 545}, "timestamp": "2026-02-12T01:18:29.458Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "L3b": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "2198f0", "alias": "nt_sum_phi_v1_238844314_1116", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 7086244$. Let $s_{\\min}$ be the minimum value of $x + y$ over all such pairs. Define $u$ to be the number of positive integers $n \\leq s_{\\min}$ such that\n$$\nn \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}.\n$$\nLet $R$ be the sum of $\\phi(n)$ over all positive integers $n \\leq u$. Compute the remainder when $52721 \\cdot R$ is divided by $61418$.", "answer": 4502, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52721),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(7086244)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(61418)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.068, "created_at": "2026-02-08T13:57:47.490440Z", "verification": {"verified": true, "answer": 4502, "timestamp": "2026-02-08T13:57:47.558201Z"}, "problem_hash": "c5cb7f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 484}, "timestamp": "2026-02-12T07:39:08.482Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c83990", "alias": "nt_count_divisible_and_v1_677425708_1808", "problem": "Let $f = \\lambda(8) + 1$, where $\\lambda(n)$ is the Liouville function. Let $p = 3$ and define $n = p^{2 + f}$. Let $m = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Consider the set of all positive integers $k$ such that $k \\leq 105012$, $k$ is divisible by 9, and $k$ is divisible by the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers satisfying $xy = 36$. Let $c$ be the number of such integers $k$. Compute the remainder when $72785c$ is divided by $84882m$.", "answer": 23963, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84882),\n \"n1\": Const(8),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"p\": Const(3),\n \"n\": Pow(Ref(\"p\"), Sum(Const(2), Ref(\"f\"))),\n \"m\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(105012),\n \"d1\": Const(9),\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(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(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(72785), Ref(\"result\")), modulus=Mul(Ref(\"_n\"), Ref(\"m\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "LIOUVILLE_ONE", "B3"], "recipe_id": "6d6b17", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "LIOUVILLE_MINUS_ONE", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 4.744, "created_at": "2026-02-08T04:28:42.432060Z", "verification": {"verified": true, "answer": 23963, "timestamp": "2026-02-08T04:28:47.176282Z"}, "problem_hash": "a95c4c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 23963, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 1317}, "timestamp": "2026-02-10T01:14:24.383Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "LIOUVILLE_MINUS_ONE": "ok", "LIOUVILLE_ONE": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "742f4e", "alias": "sequence_count_fib_divisible_v1_971394319_332", "problem": "Let $d = 18$. Let $u$ be the largest positive divisor of $24492$ that is at most $156$. Compute the remainder when $64744$ times the number of positive integers $n \\leq u$ such that $d$ divides $F_n$ is divided by $58991$, where $F_n$ denotes the $n$th Fibonacci number.", "answer": 15798, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(156)), Divides(divisor=Var(\"d\"), dividend=Const(24492))))),\n \"d\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Mod(value=Mul(Const(64744), Ref(\"result\")), modulus=Const(58991)),\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"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T13:00:10.030791Z", "verification": {"verified": true, "answer": 15798, "timestamp": "2026-02-08T13:00:10.047893Z"}, "problem_hash": "b5470a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 290}, "timestamp": "2026-02-12T06:05:06.139Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K5": "no", "LTE_DIFF": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "803634", "alias": "modular_count_residue_v1_1742523217_4166", "problem": "Let $n$ be the largest prime number between $2$ and $5$, inclusive. Define $m$ to be the sum of the first $n$ positive integers. Let $r$ be the number of integers $t$ with $5 \\le t \\le 14$ for which there exist positive integers $a \\le 4$ and $b \\le 2$ such that $t = 2a + 3b$. Compute the number of integers $k$ with $1 \\le k \\le 71289$ such that $k \\equiv r \\pmod{m}$.", "answer": 4753, "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(5)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(71289),\n \"m\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=14)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\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/SUM_ARITHMETIC", "LIN_FORM", "ONE_PHI_1"], "recipe_id": "c1abe5", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "ONE_PHI_1", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 4.578, "created_at": "2026-02-08T07:02:14.042485Z", "verification": {"verified": true, "answer": 4753, "timestamp": "2026-02-08T07:02:18.620884Z"}, "problem_hash": "ae75e9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "62a9b5", "alias": "modular_mod_compute_v1_1520064083_8367", "problem": "Let $a$ be the largest positive divisor of $12152171$ that is at most $3481$. Let $m = 40401$. Find the remainder when $a$ is divided by $m$.", "answer": 3481, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3481),\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=Const(12152171))))),\n \"m\": Const(40401),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T10:09:35.381372Z", "verification": {"verified": true, "answer": 3481, "timestamp": "2026-02-08T10:09:35.385196Z"}, "problem_hash": "447333", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3481, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 245}, "timestamp": "2026-02-12T03:12:04.648Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K17": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "91e045", "alias": "antilemma_cartesian_v1_898971024_336", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 12$ and $1 \\leq j \\leq 19$. Compute the remainder when $50419 \\cdot x$ is divided by $78248$.", "answer": 71324, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"Q\": Mod(value=Mul(Const(50419), Ref(\"x\")), modulus=Const(78248)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:20:58.501116Z", "verification": {"verified": true, "answer": 71324, "timestamp": "2026-02-08T15:20:58.502377Z"}, "problem_hash": "df99cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 297}, "timestamp": "2026-02-12T08:25:01.417Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "05dc33", "alias": "nt_sum_divisors_compute_v1_1520064083_2282", "problem": "Let $p$ be the smallest integer $d \\geq 2$ that divides $1763$. Let $c$ be the number of prime factors of $p$ counted with multiplicity. Let $s = \\sum_{d \\mid 1} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $n = 28224 \\cdot c \\cdot s$. Find the value of $\\sigma(n)$, the sum of all positive divisors of $n$.", "answer": 94107, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(28224),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1763))))),\n \"c\": BigOmega(n=Ref(name='p')),\n \"n1\": Const(1),\n \"s\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"c\"), Ref(\"s\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/BIG_OMEGA_ONE", "MOBIUS_SUM"], "recipe_id": "54a9a0", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "MIN_PRIME_FACTOR", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:38:10.838760Z", "verification": {"verified": true, "answer": 94107, "timestamp": "2026-02-08T04:38:10.843748Z"}, "problem_hash": "ddb0c2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_SUM": "ok", "BIG_OMEGA_ONE": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "MOD_SUB": "no", "V3": "no"}, "split": "valid"} +{"id": "9a2f02", "alias": "geo_count_lattice_rect_v1_124444284_3325", "problem": "Let $a = 144$ and $b = 381$. Define a lattice point as a point $(x, y)$ in the coordinate plane where both $x$ and $y$ are integers. Compute the number of lattice points contained in the rectangle defined by $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$, including all boundary points.", "answer": 55390, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(144),\n \"b\": Const(381),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T05:21:36.739901Z", "verification": {"verified": true, "answer": 55390, "timestamp": "2026-02-08T05:21:36.740552Z"}, "problem_hash": "0a3dd9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 55390, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 439}, "timestamp": "2026-02-12T06:46:42.123Z"}, {"id": 8, "model": "mathstral", "answer": 267, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 332}, "timestamp": "2026-02-14T12:36:07.239Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 55690, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 240}, "timestamp": "2026-02-11T22:28:21.805Z"}], "solution_status": 1, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "50a238", "alias": "antilemma_v1_legendre_677425708_2385", "problem": "Let $c = 17303$. Let $m$ be the smallest divisor of $c$ that is at least 2. Let $n$ be the number of positive integers $t$ between 7 and 9615, inclusive, for which there exist positive integers $a \\leq 1731$ and $b \\leq 897$ such that $t = 4a + 3b$. Determine the largest integer $k$ such that $m^k$ divides $n!$. Compute $k$.", "answer": 959, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(17303),\n \"_m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_c\"))))),\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=1731)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=897)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=9615)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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/LIN_FORM/V1", "V1"], "recipe_id": "3cb1ac", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:01:36.938658Z", "verification": {"verified": true, "answer": 959, "timestamp": "2026-02-08T05:01:36.941775Z"}, "problem_hash": "baba80", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "LIN_FORM": "ok_later", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8": "no"}, "split": "valid"} +{"id": "4ccbe9", "alias": "nt_sum_totient_over_divisors_v1_124444284_9518", "problem": "Let $n = 37208$. Define $\\varphi(d)$ as Euler's totient function. Compute\n$$\n\\sum_{d \\mid n} \\varphi(d).\n$$\nLet $S$ be the set of all integers $d \\geq 2$ such that $d$ divides $989497$. Let $T$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 104$. Let $U$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 102$.\n\nDefine\n\\[\nA = 353702 \\cdot \\left( \\left| \\sum_{d \\mid n} \\varphi(d) \\right| \\bmod \\min(S) \\right),\n\\]\n\\[\nB = 329703 \\cdot \\left( \\left( \\left| \\sum_{d \\mid n} \\varphi(d) \\right|^2 \\bmod 1 \\right) \\bmod \\max(U) \\right),\n\\]\n\\[\nC = 215534 \\cdot \\left( \\left( \\left| \\sum_{d \\mid n} \\varphi(d) \\right| \\bmod 34 \\right) \\bmod \\max(T) \\right).\n\\]\n\nCompute the remainder when $(A + B + C)$ is divided by $1009091$, and then compute the remainder when that result is divided by $64381$.", "answer": 42708, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(102),\n \"_n\": Const(2),\n \"n\": Const(37208),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(34),\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')), Ref(\"_n\")), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_d\")), Leq(Var(\"n\"), Ref(\"_m\")), 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\"), Const(2)), Leq(Var(\"n\"), Const(104)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(64381)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T12:33:16.889168Z", "verification": {"verified": true, "answer": 42708, "timestamp": "2026-02-08T12:33:16.895194Z"}, "problem_hash": "8fee22", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 445, "completion_tokens": 558}, "timestamp": "2026-02-12T05:21:11.743Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K5": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3f839a", "alias": "nt_gcd_compute_v1_153355830_1652", "problem": "Let $n_1 = 11$, $u = \\mu(n_1)^2$ where $\\mu$ is the M\\\"obius function, $p = 5$, and $q = 17$. Define $n = (p \\cdot q)^{2u}$. Let $s$ be the remainder when the number of positive divisors of $n$ is divided by the number of unordered pairs of coprime positive integers $(p, q)$ with $p < q$ and $p \\cdot q = 36$. Given $a = 560729$ and $b = 905793 \\cdot s$, compute $\\gcd(a, b)$.", "answer": 43133, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(11),\n \"u\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"p\": Const(5),\n \"q\": Const(17),\n \"n\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Mul(Ref(\"_n\"), Ref(\"u\"))),\n \"s\": 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=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(560729),\n \"b\": Mul(Const(905793), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/DIVISOR_PARITY", "MOBIUS_SQUAREFREE"], "recipe_id": "6ffad2", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "DIVISOR_PARITY", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:32:34.111845Z", "verification": {"verified": true, "answer": 43133, "timestamp": "2026-02-08T06:32:34.114724Z"}, "problem_hash": "aa8d64", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SQUAREFREE": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "LTE_SUM": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8": "no"}, "split": "valid"} +{"id": "4ba729", "alias": "nt_lcm_compute_v1_1978505735_5401", "problem": "Let $a = 1661$ and $b = 2718$. Compute the least common multiple of $a$ and $b$.", "answer": 29898, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(1661),\n \"b\": Const(2718),\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": "SUM_DIVISIBLE", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T18:58:13.474874Z", "verification": {"verified": true, "answer": 29898, "timestamp": "2026-02-08T18:58:13.483254Z"}, "problem_hash": "5a4d96", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4520758, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 261}, "timestamp": "2026-02-13T00:44:13.233Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ac2b88", "alias": "nt_count_intersection_v1_1116507919_434", "problem": "Let $N$ be the largest positive divisor of $25015000$ that is at most $5000$. Compute the number of positive integers $n \\leq N$ such that $11$ divides $n$ and $\\gcd(n, 15) = 1$.", "answer": 243, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5000),\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(25015000))))),\n \"a\": Const(11),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.151, "created_at": "2026-02-08T02:34:11.499632Z", "verification": {"verified": true, "answer": 243, "timestamp": "2026-02-08T02:34:11.650697Z"}, "problem_hash": "8da50b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 243, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 2562}, "timestamp": "2026-02-08T19:32:55.925Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 243, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 1901}, "timestamp": "2026-02-09T17:37:11.770Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 243, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 7937}, "timestamp": "2026-02-09T21:33:24.392Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 213, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 114, "completion_tokens": 545}, "timestamp": "2026-02-10T13:33:38.320Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 243, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 1626}, "timestamp": "2026-02-09T21:17:19.496Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 435}, "timestamp": "2026-02-11T02:10:57.679Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 556}, "timestamp": "2026-02-11T19:37:04.220Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "L3b": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "ff8fca", "alias": "nt_min_crt_v1_2051736721_903", "problem": "Let $m$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 16$. Let $t$ be a positive integer such that $8 \\leq t \\leq 1951$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 155$, $1 \\leq b \\leq 392$, and $t = 5a + 3b$. Let $c$ be the number of such integers $t$. Now, let $u$ be the minimum value of $x_1 + y_1$ over all ordered pairs of positive integers $(x_1, y_1)$ such that $x_1 y_1 = c$. Define $k = 11$, $a = 5$, and $b = 8$. Let $n$ be the smallest positive integer such that $n \\leq u$, $n \\equiv 5 \\pmod{m}$, and $n \\equiv 8 \\pmod{11}$. Compute the remainder when $15202 \\cdot n$ is divided by $54129$.", "answer": 47203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(54129),\n \"_n\": Const(15202),\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(16)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(11),\n \"a\": Const(5),\n \"b\": Const(8),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=155)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=392)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=1951)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), expr=Sum(Var(\"x1\"), Var(\"y1\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T15:45:12.002851Z", "verification": {"verified": true, "answer": 47203, "timestamp": "2026-02-08T15:45:12.021810Z"}, "problem_hash": "628157", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 359, "completion_tokens": 579}, "timestamp": "2026-02-12T09:04:53.394Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "170a25", "alias": "nt_count_digit_sum_v1_124444284_8606", "problem": "Let $n = 9999$. Let $d_{\\text{max}}$ be the largest positive divisor of $100079991$ that does not exceed $n$. Compute the number of positive integers $n'$ such that $1 \\leq n' \\leq d_{\\text{max}}$ and the sum of the decimal digits of $n'$ is equal to 14.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9999),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(100079991))))),\n \"target_sum\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 4.774, "created_at": "2026-02-08T09:48:45.468446Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T09:48:50.242633Z"}, "problem_hash": "1aac2d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 540, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 125, "completion_tokens": 5093}, "timestamp": "2026-02-14T19:39:51.063Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 279}, "timestamp": "2026-02-12T04:40:29.709Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "48dcf2", "alias": "nt_count_phi_equals_v1_1742523217_2034", "problem": "Let $m = 45$ and let $a = \\sum_{d \\mid \\gcd(7,11)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Define $n = \\sum_{k=a}^{9} k$. Let $\\text{upper} = \\sum_{k=1}^{m} \\phi(k) \\left\\lfloor \\frac{n}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Determine the value of $k$ such that $k = 30$, and compute the number of positive integers $n$ with $1 \\le n \\le \\text{upper}$ for which $\\phi(n) = k$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(45),\n \"_n\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(9), expr=Var(\"k\")),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"k\": Const(30),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["SUM_ARITHMETIC/K2", "MOBIUS_COPRIME"], "recipe_id": "a0a3d5", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 2.057, "created_at": "2026-02-08T04:25:42.667305Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:25:44.724491Z"}, "problem_hash": "991566", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "K2": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "split": "valid"} +{"id": "d18f7d", "alias": "nt_sum_phi_v1_2051736721_5578", "problem": "Let $m = 21$. Let $n$ be the number of positive integers at most $2015$ whose digit sum is even. Let $u$ be the number of positive integers at most $n$ that are relatively prime to $m$. Define $S$ as the set of all positive integers at most $u$. Compute the sum of $\\phi(k)$ for all $k$ in $S$, where $\\phi$ is Euler's totient function. Let $Q$ be the remainder when this sum is divided by $87539$. Find the value of $Q$.", "answer": 28912, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2015)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"_m\")), Const(1))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n2\")))),\n \"Q\": Mod(value=Summation(var=\"n3\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n3\"))), modulus=Const(87539)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C4"], "recipe_id": "a4175c", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "L3B"], "num_lemmas": 2, "generation_time": 5.051, "created_at": "2026-02-08T18:40:24.003377Z", "verification": {"verified": true, "answer": 28912, "timestamp": "2026-02-08T18:40:29.054358Z"}, "problem_hash": "1a1830", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 553}, "timestamp": "2026-02-13T00:22:32.528Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "C4": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3c": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8424e2", "alias": "nt_count_coprime_v1_124444284_2360", "problem": "Let $d$ range over the positive divisors of $5184$, and define $T = \\sum_{d \\mid 5184} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $x$ and $y$ be positive integers such that $xy = T$. Consider the set of all such ordered pairs $(x, y)$, and let $S$ be the set of values $x + y$. Let $n$ be the minimum value in $S$. Now, consider all positive integers $x, y$ such that $xy = n$, and let $S'$ be the set of values $x + y$. Let $k$ be the minimum value in $S'$. Determine the number of positive integers $n \\leq 32768$ such that $\\gcd(n, k) = 1$.", "answer": 10923, "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\")), SumOverDivisors(n=Const(value=5184), var='d', expr=EulerPhi(n=Var(name='d')))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(32768),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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": "B3", "lemma_paths": ["B3/B3", "K3/B3"], "recipe_id": "c7ff75", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K3"], "num_lemmas": 2, "generation_time": 2.514, "created_at": "2026-02-08T04:36:17.656194Z", "verification": {"verified": true, "answer": 10923, "timestamp": "2026-02-08T04:36:20.169955Z"}, "problem_hash": "f395ef", "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": 289, "completion_tokens": 8192}, "timestamp": "2026-02-11T09:38:21.984Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 8192}, "timestamp": "2026-02-10T17:16:42.480Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10923, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1261}, "timestamp": "2026-02-12T01:37:21.949Z"}, {"id": 8, "model": "mathstral", "answer": 16936, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 839}, "timestamp": "2026-02-13T19:59:49.971Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 587}, "timestamp": "2026-02-11T21:36:12.901Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K3": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "d3c691", "alias": "nt_gcd_compute_v1_153355830_228", "problem": "Let $n_1$ be the number of positive integers $n$ such that $1 \\le n \\le 2485$, $7$ divides $n$, and $\\gcd(n, 12) = 1$. Let $v = \\sum_{d \\mid n_1} \\phi(d) - n_1$. Define $f = \\sum_{d \\mid 1} \\mu(d)$. Let $a = 51504$ and $b = (96570 + v) \\cdot f$. Compute $\\gcd(a, b)$.", "answer": 6438, "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(2485)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(51504),\n \"b\": Mul(Sum(Const(96570), Ref(\"v\")), Ref(\"f\")),\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": "C5", "lemma_paths": ["C5/EULER_TOTIENT_SUM", "MOBIUS_SUM"], "recipe_id": "37a7a5", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["C5", "EULER_TOTIENT_SUM", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:58:24.377686Z", "verification": {"verified": true, "answer": 6438, "timestamp": "2026-02-08T02:58:24.380984Z"}, "problem_hash": "67fc99", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "MOBIUS_SUM": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "MOD_SUB": "no", "V1": "no"}, "split": "valid"} +{"id": "af26a6", "alias": "comb_count_derangements_v1_784195855_569", "problem": "Let $m = 15469$. Let $n_0$ be the number of positive integers $n \\leq m$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Let $n$ be the largest integer such that $47^n$ divides $n_0 \\cdot 10779215329$. Compute the number of derangements of $n$ elements.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15469),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"n\": MaxKDivides(target=Mul(Ref(\"_n\"), Const(10779215329)), base=Const(47)),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/K13"], "recipe_id": "338801", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "L3C"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:28:14.471143Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T04:28:14.472311Z"}, "problem_hash": "025bca", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "K13": "ok_later", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "fba70f", "alias": "diophantine_product_count_v1_1248542787_770", "problem": "Let $k$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = \\sum_{d \\mid 360} \\phi(d)$, where the sum is over all positive divisors $d$ of $360$ and $\\phi$ denotes Euler's totient function. Compute the number of positive integers $x$ such that $1 \\leq x \\leq 42$, $x$ divides $k$, and $\\frac{k}{x} \\leq 42$. Then compute the remainder when $58397$ times this count is divided by $61940$.", "answer": 26510, "graph": "graphs = [\n Graph(\n let={\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\")), SumOverDivisors(n=Const(value=360), var='d', expr=EulerPhi(n=Var(name='d'))))))),\n \"upper\": Const(42),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(58397),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61940)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/COMB1"], "recipe_id": "e901b7", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K3"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T03:24:51.205533Z", "verification": {"verified": true, "answer": 26510, "timestamp": "2026-02-08T03:24:51.221609Z"}, "problem_hash": "b9dd84", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 26510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 1748}, "timestamp": "2026-02-09T08:06:43.564Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 26510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 1401}, "timestamp": "2026-02-09T20:51:22.914Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 207, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:32:15.948Z"}, {"id": 8, "model": "mathstral", "answer": 58397, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 579}, "timestamp": "2026-02-12T15:13:25.701Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 540}, "timestamp": "2026-02-11T20:51:46.037Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "COMB1": "ok_later", "C2": "no", "K14": "no", "L3b": "no", "MOD_SUB": "no", "V8": "no"}, "irt_difficulty": {"lo": -6.84, "mid": -2.81, "hi": 1.35}, "split": "valid"} +{"id": "f2ca68", "alias": "nt_sum_phi_v1_1915831931_2435", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 610$, where 610 is the number of ordered pairs $(a,b)$ with $1 \\leq a \\leq 10$ and $1 \\leq b \\leq 61$. Compute the sum of $\\phi(n)$ over all elements $n$ in $S$, where $\\phi$ denotes Euler's totient function. Find the remainder when $76729$ minus this sum is divided by $96491$.", "answer": 60062, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(61)))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(76729),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(96491)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.034, "created_at": "2026-02-08T16:48:27.413898Z", "verification": {"verified": true, "answer": 60062, "timestamp": "2026-02-08T16:48:27.447472Z"}, "problem_hash": "0928fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 556}, "timestamp": "2026-02-12T21:05:42.821Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "K15": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ae9eb9", "alias": "nt_count_coprime_and_v1_1742523217_4476", "problem": "Let $k_1$ be the largest integer $k$ such that $3^k$ divides $2^{729} + 1$, and let $k_2 = 11$. Determine the number of positive integers $n \\leq 15661$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$.", "answer": 12204, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(15661),\n \"k1\": MaxKDivides(target=Sum(Pow(Const(2), Const(729)), Const(1)), base=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\")), EulerPhi(n=Const(2))), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM", "ONE_PHI_2"], "recipe_id": "bc1ed1", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_SUM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 1.735, "created_at": "2026-02-08T07:18:53.203087Z", "verification": {"verified": true, "answer": 12204, "timestamp": "2026-02-08T07:18:54.938200Z"}, "problem_hash": "d3c203", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "ONE_PHI_2": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "V1": "no", "V3": "no", "V8": "no"}, "split": "valid"} +{"id": "81f4cb", "alias": "nt_count_digit_sum_v1_458359167_1562", "problem": "Let $s$ be the sum of all integers $k$ from $\\phi(2)$ to the smallest divisor of $35$ that is at least $2$, inclusive.\n\nDetermine the number of positive integers $n$ such that $1 \\le n \\le 95481$ and the sum of the decimal digits of $n$ is equal to $s$.\n\nCompute this number.", "answer": 3245, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(95481),\n \"target_sum\": Summation(var=\"k\", start=EulerPhi(n=Const(2)), end=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35))))), expr=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 },\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", "ONE_PHI_2"], "recipe_id": "083c04", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "ONE_PHI_2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 3.582, "created_at": "2026-02-08T04:45:17.079388Z", "verification": {"verified": true, "answer": 3245, "timestamp": "2026-02-08T04:45:20.661652Z"}, "problem_hash": "a172dd", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "V7": "no"}, "split": "valid"} +{"id": "2f9b78", "alias": "antilemma_v1_legendre_784195855_4881", "problem": "Let $x$ be the largest integer $k$ such that $3^k$ divides $19812!$. Let $c$ be the smallest positive integer $n$ such that $2^{86}$ divides $n!$. Compute the remainder when $x^2 + 3x + c$ is divided by $77600$.", "answer": 12808, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(19812),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Const(3)),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(2)), Const(86)), domain='Z_{>0}')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"x\")), Ref(\"_c\")), modulus=Const(77600)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5", "V1"], "recipe_id": "d3d840", "seed_template_id": "antilemma_v1_legendre", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V1", "V5"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T07:27:13.210263Z", "verification": {"verified": true, "answer": 12808, "timestamp": "2026-02-08T07:27:13.211398Z"}, "problem_hash": "614715", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V1": "ok", "V5": "ok", "K5": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "b8130b", "alias": "nt_num_divisors_compute_v1_153355830_1713", "problem": "Let $n = 66564$. Compute the number of positive divisors of $n$.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(66564),\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/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "457fb8", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["EULER_TOTIENT_SUM", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T06:35:14.410364Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T06:35:14.420022Z"}, "problem_hash": "a81cb6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 65, "completion_tokens": 454}, "timestamp": "2026-02-13T01:47:27.109Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 163}, "timestamp": "2026-02-12T00:13:57.641Z"}], "solution_status": 1, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "DS2": "no", "K14": "no", "L3c": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0f3285", "alias": "antilemma_sum_factor_cartesian_v1_784195855_1861", "problem": "Let $m=22$. Let $N$ be the number of positive integers $k$ with $1\\le k\\le 1936$ such that $16$ divides $k$.\n\nLet $X$ be the set of all ordered pairs $(i,j)$ with $1\\le i\\le 6$ and $1\\le j\\le 28$. Let\n$$x=\\sum_{(i,j)\\in X} ij.$$\n\nConsider all ordered pairs $(x_1,y_1)$ of positive integers such that $x_1+y_1=m$, and let $P$ be the set of all products $x_1y_1$ as $(x_1,y_1)$ ranges over these pairs. Let $M$ be the maximum element of $P$.\n\nLet\n$$S=\\sum_{d\\mid \\gcd(13,17)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $C$ be the set of all integers $n$ such that $S\\le n\\le M$ and $n\\equiv 0\\pmod N$. Let\n$$c=\\sum_{n\\in C} n.$$\n\nLet $Q$ be the remainder when $c-x$ is divided by $51751$, so that $0\\le Q<51751$ and $Q\\equiv c-x\\pmod{51751}$. Find the value of $Q$.", "answer": 43346, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(22),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1936)), Divides(divisor=Const(16), dividend=Var(\"k\"))), domain='positive_integers')),\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(6)), right=IntegerRange(start=Const(1), end=Const(28)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(51751)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/SUM_DIVISIBLE", "C2/SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN", "MOBIUS_COPRIME"], "recipe_id": "3e19fa", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C2", "MOBIUS_COPRIME", "SUM_DIVISIBLE", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 5, "generation_time": 0.008, "created_at": "2026-02-08T05:22:29.508441Z", "verification": {"verified": true, "answer": 43346, "timestamp": "2026-02-08T05:22:29.516918Z"}, "problem_hash": "bb001f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok", "SUM_FACTOR_CARTESIAN": "ok", "SUM_DIVISIBLE": "ok_later", "K15": "no", "K17": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "abfff1", "alias": "geo_count_lattice_triangle_v1_898971024_1525", "problem": "Let $A$ be the set of positive integers $p$ such that there exists a positive integer $q$ with $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $T$ be the triangle with vertices at $(0, 0)$, $(128, 128)$, and $(22, 128)$. The area of $T$ is half of $|128 \\cdot 128 + 22 \\cdot (-128)|$. The number of lattice points on the boundary of $T$ is\n$$\n\\gcd(128, 128) + \\gcd(|22 - 128|, |128 - 128|) + \\gcd(|0 - 22|, |0 - 128|).\n$$\nUsing Pick's Theorem, the area of $T$ is equal to the number of interior lattice points plus half the number of boundary lattice points minus 1. However, compute the quantity\n$$\n\\frac{1}{2} \\left( |128 \\cdot 128 + 22 \\cdot (-128)| + |A| - (\\gcd(128, 128) + \\gcd(106, 0) + \\gcd(22, 128)) \\right).\n$$\nFind the value of this expression.", "answer": 6667, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(128),\n \"_n\": Const(128),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), Ref(name='_m')), Mul(Const(value=22), Sub(left=Const(value=0), right=Const(value=128))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Ref(name='_n')), b=Abs(arg=Const(value=128))), GCD(a=Abs(arg=Sub(left=Const(value=22), right=Const(value=128))), b=Abs(arg=Sub(left=Const(value=128), right=Const(value=128)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=22))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=128))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), 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(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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.019, "created_at": "2026-02-08T16:11:12.566647Z", "verification": {"verified": true, "answer": 6667, "timestamp": "2026-02-08T16:11:12.586122Z"}, "problem_hash": "dcc3d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 415, "completion_tokens": 645}, "timestamp": "2026-02-12T10:04:34.956Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_PRIMES": "no", "L3c": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7053bb", "alias": "comb_count_partitions_v1_124444284_5813", "problem": "Let $T$ be the set of all integers $t$ such that $5 \\leq t \\leq 490$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 110$, $1 \\leq b \\leq 90$, and $t = 2a + 3b$. Let $n$ be the number of elements in $T$. Now consider all pairs of positive integers $(x, y)$ such that $xy = n$. Compute the minimum possible value of $x + y$, and let this minimum be $m$. Determine the value of the number of integer partitions of $m$.", "answer": 75175, "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=110)), 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=490)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:53:10.189725Z", "verification": {"verified": true, "answer": 75175, "timestamp": "2026-02-08T06:53:10.192846Z"}, "problem_hash": "7a9b5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 75175, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 181, "completion_tokens": 3315}, "timestamp": "2026-02-13T06:03:24.378Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 538}, "timestamp": "2026-02-12T00:38:53.589Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "fa6058", "alias": "nt_max_prime_below_v1_865884756_5788", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $L$ be the number of elements in $S$. Let $T$ be the set of all integers $t$ such that $15 \\leq t \\leq 4799$ and there exist positive integers $a \\leq 528$ and $b \\leq 308$ satisfying $t = 5a + 7b + 3$. Let $C$ be the number of elements in $T$. Let $P$ be the largest prime number $n$ such that $L \\leq n \\leq 25600$. Compute the remainder when $C - P$ is divided by 57425.", "answer": 36597, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57425),\n \"upper\": Const(25600),\n \"result\": 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=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\")), 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=528)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=308)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=4799)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=3)))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COPRIME_PAIRS"], "recipe_id": "e30a8c", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.549, "created_at": "2026-02-08T18:47:27.483591Z", "verification": {"verified": true, "answer": 36597, "timestamp": "2026-02-08T18:47:28.032794Z"}, "problem_hash": "6f4404", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 469}, "timestamp": "2026-02-13T00:30:57.559Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K13": "no", "K16": "no", "K5": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0b315d", "alias": "antilemma_k2_v1_1440796553_242", "problem": "Let $x = \\sum_{k=1}^{74} \\phi(k) \\left\\lfloor \\frac{74}{k} \\right\\rfloor$. Let $y = \\sum_{k=1}^{24} \\phi(k) \\left\\lfloor \\frac{24}{k} \\right\\rfloor$. Compute the remainder when $x^2 + 16x + y$ is divided by 59607.", "answer": 56022, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": Const(74),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(74), Var(\"k\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"x\")), Summation(var=\"k\", start=Const(1), end=Const(24), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(24), Var(\"k\")))))), modulus=Const(59607)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "K2"], "recipe_id": "c87b01", "seed_template_id": "antilemma_k2_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:40:18.983987Z", "verification": {"verified": true, "answer": 56022, "timestamp": "2026-02-08T11:40:18.986008Z"}, "problem_hash": "f336df", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 56022, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 2574}, "timestamp": "2026-02-14T17:37:01.526Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 613}, "timestamp": "2026-02-12T04:27:21.147Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "K13": "no", "K14": "no", "MOD_ADD": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "50b2fa", "alias": "nt_count_with_divisor_count_v1_1918700295_3507", "problem": "Let $m = 27457$ and $u = 61504$. Let $A$ be the number of positive integers $n \\le u$ that have exactly four positive divisors. Let $B$ be the number of prime numbers $n$ such that $2 \\le n \\le m$. Let $d_{\\text{min}}$ be the smallest divisor greater than $1$ of $125247503$. Compute the value of\n\\[\n(A \\bmod 199) + B \\cdot (A \\bmod d_{\\text{min}})\n\\]\nand find the remainder when this value is divided by $50247$.", "answer": 18394, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(27457),\n \"_n\": Const(2),\n \"upper\": Const(61504),\n \"div_count\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(125247503)))))))), modulus=Const(50247)),\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"], "recipe_id": "9f8aaa", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.955, "created_at": "2026-02-08T08:40:10.928309Z", "verification": {"verified": true, "answer": 18394, "timestamp": "2026-02-08T08:40:14.882999Z"}, "problem_hash": "8987ae", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 334, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 4827}, "timestamp": "2026-02-13T20:28:29.333Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 511}, "timestamp": "2026-02-12T02:04:44.531Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "K13": "no", "LTE_DIFF": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "3d30ba", "alias": "geo_count_lattice_triangle_v1_1520064083_951", "problem": "Let $A$ be twice the area of the triangle with vertices at $(111, 24)$, $(289, 120)$, and $(0, 0)$. Let $B$ be the sum\n$$\n\\gcd(111, 24) + \\gcd(178, 96) + \\gcd\\left(\\left|0 - \\sum_{d \\mid 289} \\phi(d)\\right|, 120\\right),\n$$\nwhere $\\phi$ is Euler's totient function.\n\nLet $N = \\frac{A + 2 - B}{2}$. Compute\n$$\n\\sum_{n=1}^{|N|} \\tau(n),\n$$\nwhere $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 26228, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(111),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_n'), Const(value=120)), Mul(Const(value=289), Sub(left=Const(value=0), right=Const(value=24))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=111)), b=Abs(arg=Const(value=24))), GCD(a=Abs(arg=Sub(left=Const(value=289), right=Const(value=111))), b=Abs(arg=Sub(left=Const(value=120), right=Const(value=24)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=SumOverDivisors(n=Const(value=289), var='d', expr=EulerPhi(n=Var(name='d'))))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": 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": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_1", "lemma_paths": ["ONE_PHI_1", "K3"], "recipe_id": "e25046", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:41:33.087067Z", "verification": {"verified": true, "answer": 26228, "timestamp": "2026-02-08T03:41:33.093542Z"}, "problem_hash": "d1a62a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K3": "ok", "ONE_PHI_1": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "LTE_DIFF": "no"}, "split": "valid"} +{"id": "a47722", "alias": "nt_sum_totient_over_divisors_v1_124444284_573", "problem": "Let $N=33733$, and let\n$$R=\\sum_{d\\mid N} \\varphi(d).$$\nWrite $|R|$ in base $10$ as $\\sum_{i=0}^{k} a_i 10^i$ with digits $a_i\\in\\{0,1,\\dots,9\\}$ and $k=\\text{(number of digits of $|R|$)}-1$. Define\n$$S=\\sum_{i=0}^{k} a_i\\bigl(i+\\varphi(2)\\bigr)^2.$$\n\nFor each integer $t$, say that $t$ is good if there exist integers $a$ and $b$ such that\n\\begin{itemize}\n \\item $1\\le a\\le 140$ and $1\\le b\\le 1332$,\n \\item $10\\le t\\le 8552$, and\n \\item $t=4a+6b$.\n\\end{itemize}\nLet $M$ be the number of integers $t$ that are good. Consider the set of all integers $n$ with $1\\le n\\le M$ such that\n$$n\\equiv \\left\\lfloor\\frac{n}{2}\\right\\rfloor \\pmod{7}.$$\nLet $C$ be the number of such integers $n$.\n\nFinally, let\n$$Q = S + C.$$\n\nCompute $Q$.", "answer": 811, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(33733),\n \"result\": 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\"), EulerPhi(n=Const(2))), Ref(\"_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=140)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1332)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=8552)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3C", "ONE_PHI_2"], "recipe_id": "504865", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T03:22:24.687650Z", "verification": {"verified": true, "answer": 811, "timestamp": "2026-02-08T03:22:24.696395Z"}, "problem_hash": "3285de", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 810, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 425, "completion_tokens": 3169}, "timestamp": "2026-02-09T19:16:21.046Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 811, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 429, "completion_tokens": 5776}, "timestamp": "2026-02-09T03:30:53.882Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "L3C": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K5": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "dc6cb9", "alias": "nt_count_divisible_and_v1_168721529_899", "problem": "Let $A$ be the set of positive integers $n \\leq 50190$ such that $n$ is divisible by 10 and $n \\equiv \\sum_{d \\mid 46} \\mu(d) \\pmod{15}$. Let $r$ be the number of elements in $A$. Let $B$ be the set of integers $t$ with $33 \\leq t \\leq 204$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 4$, $1 \\leq b \\leq 10$, and $t = 21a + 12b$. Let $s$ be the number of elements in $B$. Define $Q = (s - r) \\bmod 94666$. Compute the value of $Q$.", "answer": 93033, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(50190),\n \"d1\": Const(10),\n \"d2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), SumOverDivisors(n=Const(value=46), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=10)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=204)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))), Ref(\"result\")), modulus=Const(94666)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MOBIUS_SUM"], "recipe_id": "edeb39", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 3.19, "created_at": "2026-02-08T13:20:36.546240Z", "verification": {"verified": true, "answer": 93033, "timestamp": "2026-02-08T13:20:39.735876Z"}, "problem_hash": "3f5269", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 93033, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 293, "completion_tokens": 2062}, "timestamp": "2026-02-09T10:29:51.045Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 93120, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 956}, "timestamp": "2026-02-09T23:00:19.569Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_SUM": "ok", "C2": "no", "K13": "no", "K17": "no", "K18": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "valid"} +{"id": "ec3ecc", "alias": "nt_num_divisors_compute_v1_124444284_453", "problem": "Let $n = 16653$ and let $\\text{result} = \\tau(n)$, the number of positive divisors of $n$. Let $c$ be the largest integer $k$ such that $2^k$ divides $\\binom{2075}{830}$. Define $$\nQ = \\left( 353702 \\cdot (\\text{result} \\bmod 97) + 329703 \\cdot (\\text{result}^2 + 1 \\bmod 101) + 215534 \\cdot (\\text{result} + c \\bmod 103) \\right) \\bmod 1009091,\n$$ and then take $Q \\bmod 59725$. Compute $Q$.", "answer": 30824, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97),\n \"n\": Const(16653),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": MaxKDivides(target=Binom(n=Const(2075), k=Const(830)), base=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=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(59725)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V7", "lemma_paths": ["V7"], "recipe_id": "515222", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V7"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:17:58.623443Z", "verification": {"verified": true, "answer": 30824, "timestamp": "2026-02-08T03:17:58.625158Z"}, "problem_hash": "f968a1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13692, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 2628}, "timestamp": "2026-02-09T17:49:09.434Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30824, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 1330}, "timestamp": "2026-02-09T02:19:27.055Z"}], "solution_status": 1, "lemma_applicability": {"V7": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "DS2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "5c4917", "alias": "antilemma_v1_legendre_1918700295_2559", "problem": "Let $ \\mathcal{T} $ be the set of all integers $ t $ such that $ 30 \\leq t \\leq 1527 $ and there exist positive integers $ a $ and $ b $ with $ 1 \\leq a \\leq 29 $, $ 1 \\leq b \\leq 102 $, and $ t = 21a + 9b $. Let $ n $ be the number of elements in $ \\mathcal{T} $. Let $ x $ be the largest integer such that $ 2^x $ divides $ n! $. Compute $$ \\sum_{k=\\phi(2)}^{|x|} \\tau(k), $$ where $ \\tau(k) $ denotes the number of positive divisors of $ k $.", "answer": 3065, "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=29)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=102)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=1527)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n \"Q\": Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/V1", "ONE_PHI_2", "V1"], "recipe_id": "8af930", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:59:07.882130Z", "verification": {"verified": true, "answer": 3065, "timestamp": "2026-02-08T07:59:07.883840Z"}, "problem_hash": "c93907", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "K14": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "1bdeaf", "alias": "nt_num_divisors_compute_v1_458359167_806", "problem": "Compute the number of positive divisors of $52441$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(52441),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COMB1/COUNT_PRIMES"], "recipe_id": "d5af60", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T03:33:17.023111Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T03:33:17.039479Z"}, "problem_hash": "2cdb40", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 1807}, "timestamp": "2026-02-10T14:48:45.620Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 550}, "timestamp": "2026-02-10T13:43:54.679Z"}, {"id": 8, "model": "mathstral", "answer": 64, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 70, "completion_tokens": 407}, "timestamp": "2026-02-12T18:08:58.584Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 117, "completion_tokens": 104}, "timestamp": "2026-02-11T19:28:45.663Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COMB1": "ok_later", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "MOD_MUL": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "ba96f8", "alias": "comb_count_partitions_v1_677425708_4079", "problem": "Let $n = 43$. The number of integer partitions of $n$ is denoted by $p(n)$. Let $c = 48914$ and define $Q$ to be the remainder when $c \\cdot p(n)$ is divided by $79857$. Find the value of $Q$.\n", "answer": 49518, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(43),\n \"result\": Partition(arg=Ref(name='n')),\n \"_c\": Const(48914),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(79857)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/COUNT_SUM_EQUALS"], "recipe_id": "1b3e9b", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T06:25:18.241821Z", "verification": {"verified": true, "answer": 49518, "timestamp": "2026-02-08T06:25:18.257701Z"}, "problem_hash": "c1b346", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 49518, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 109, "completion_tokens": 2271}, "timestamp": "2026-02-12T23:50:15.764Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 313}, "timestamp": "2026-02-12T00:02:02.266Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "COUNT_SUM_EQUALS": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "91a104", "alias": "sequence_fibonacci_compute_v1_2051736721_6039", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = N$, where $N$ is the number of integers $t$ with $8 \\leq t \\leq 136$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 17$, $1 \\leq b \\leq 17$, and $t = 3a + 5b$. Let $n$ be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Compute the remainder when $44121 \\cdot F_n$ is divided by $64370$, where $F_n$ denotes the $n$th Fibonacci number.\n\nFind the value of this remainder.", "answer": 39601, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64370),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=17)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=136)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T18:54:51.328528Z", "verification": {"verified": true, "answer": 39601, "timestamp": "2026-02-08T18:54:51.334825Z"}, "problem_hash": "3d9fce", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 342}, "timestamp": "2026-02-13T00:39:23.138Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3efe9a", "alias": "comb_catalan_compute_v1_124444284_8524", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Define $n$ to be the number of elements in $S$. Let $\\text{result} = C_n$, the $n$th Catalan number. Define\n$$\nQ = (96769 \\cdot \\text{result}) \\bmod 87972.\n$$\nCompute $Q$.", "answer": 49424, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": Const(96769),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(87972)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T09:45:22.190773Z", "verification": {"verified": true, "answer": 49424, "timestamp": "2026-02-08T09:45:22.195112Z"}, "problem_hash": "523f69", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38548, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 143, "completion_tokens": 1862}, "timestamp": "2026-02-14T05:53:09.372Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 444}, "timestamp": "2026-02-12T03:07:38.533Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "2b94cc", "alias": "antilemma_cartesian_v1_655260480_4944", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 14$ and $1 \\leq j \\leq 49$. Let $x$ be the number of elements in $S$. Compute the remainder when $38720 \\cdot x$ is divided by $87159$.", "answer": 65584, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"Q\": Mod(value=Mul(Const(38720), Ref(\"x\")), modulus=Const(87159)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:13:36.643216Z", "verification": {"verified": true, "answer": 65584, "timestamp": "2026-02-08T18:13:36.644160Z"}, "problem_hash": "6cd6b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 273}, "timestamp": "2026-02-12T23:54:14.462Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "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}, "split": "valid"} +{"id": "9256e1", "alias": "nt_num_divisors_compute_v1_458359167_1009", "problem": "Let $c = 296$ and $m = 2$. Let $d_{\\min}$ be the smallest integer $d \\ge m$ that divides 23437829. Define $n$ to be the largest integer $k$ such that $d_{\\min}^k$ divides $176994576151109753197786640401^{\\max\\{k : 3^k \\text{ divides } \\binom{740}{c}\\}}$. Let $\\text{result}$ be the number of positive divisors of $n$. Find the remainder when $44121 \\cdot \\text{result}$ is divided by 88483.", "answer": 43157, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(296),\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(23437829))))),\n \"n\": MaxKDivides(target=Pow(Const(176994576151109753197786640401), MaxKDivides(target=Binom(n=Const(740), k=Ref(\"_c\")), base=Const(3))), base=Ref(\"_n\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(88483)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K14", "V7/K14"], "recipe_id": "385f53", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR", "V7"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:13:27.592705Z", "verification": {"verified": true, "answer": 43157, "timestamp": "2026-02-08T04:13:27.595318Z"}, "problem_hash": "a0a8a0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V7": "ok", "K14": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_SUM_EQUALS": "no", "K5": "no", "V3": "no"}, "split": "valid"} +{"id": "73d1ab", "alias": "comb_count_surjections_v1_1353956133_522", "problem": "Let $n = 4$. Let $k$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 4$, $1 \\leq j \\leq 4$, and $i + j = 6$. Compute the value of $23^2 - \\left( k! \\cdot S(n, k) \\right)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty subsets.", "answer": 493, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(4),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T11:29:36.179582Z", "verification": {"verified": true, "answer": 493, "timestamp": "2026-02-08T11:29:36.192636Z"}, "problem_hash": "fee701", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 493, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 748}, "timestamp": "2026-02-14T14:52:25.713Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 481, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 349}, "timestamp": "2026-02-12T04:09:07.274Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "05a0d4", "alias": "antilemma_cartesian_v1_1439011603_995", "problem": "Compute the number of ordered pairs $(x, y)$ of integers such that $1 \\leq x \\leq 41$ and $1 \\leq y \\leq 44$.", "answer": 1804, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(41)), right=IntegerRange(start=Const(1), end=Const(44)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:51:26.880557Z", "verification": {"verified": true, "answer": 1804, "timestamp": "2026-02-08T15:51:26.881193Z"}, "problem_hash": "d3a12c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1804, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 143}, "timestamp": "2026-02-12T09:21:10.951Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "d6c04e", "alias": "nt_gcd_compute_v1_124444284_533", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 30$. Let $q = 73$ and define $n = p_1 \\cdot q$. Let $h$ be the remainder when the number of positive divisors of $n$ is divided by $2$. Let $p = 3$ and define\n\\[\ns = \\left( (p-1)! + \\sum_{d \\mid \\gcd(4,9)} \\mu(d) + h \\right) \\bmod p.\n\\]\nLet $a = 39789 + s$ and $b = 92841$. Compute the greatest common divisor of $a$ and $b$, then find the remainder when $17245$ times this GCD is divided by $83731$.", "answer": 51074, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83731),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(30)), IsPrime(Var(\"n\"))))),\n \"q\": Const(73),\n \"n\": Mul(Ref(\"p1\"), Ref(\"q\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"p\": Const(3),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Sum(SumOverDivisors(n=GCD(a=Const(value=4), b=Const(value=9)), var='d', expr=MoebiusMu(n=Var(name='d'))), Ref(\"h\"))), modulus=Ref(\"p\")),\n \"a\": Sum(Const(39789), Ref(\"s\")),\n \"b\": Const(92841),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(17245),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/DIVISOR_PARITY", "MOBIUS_COPRIME", "WILSON"], "recipe_id": "4cae5d", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:20:53.531381Z", "verification": {"verified": true, "answer": 51074, "timestamp": "2026-02-08T03:20:53.534415Z"}, "problem_hash": "d7ca70", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 50174, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 2383}, "timestamp": "2026-02-09T18:55:05.755Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 51074, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 1633}, "timestamp": "2026-02-09T03:04:09.955Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "DS2": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "dab724", "alias": "nt_min_crt_v1_717093673_4086", "problem": "Let $S$ be the set of all positive integers $t$ such that $33 \\leq t \\leq 5892$ and\n$$\nt = 12a + 21b\n$$\nfor some positive integers $a \\leq 190$ and $b \\leq 172$. Let $N = |S|$. Now consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = N$. Let $s_{\\min}$ be the minimum value of $x + y$ over all such pairs. Find the smallest positive integer $n$ such that $n \\leq s_{\\min}$, $n \\equiv 6 \\pmod{8}$, and $n \\equiv 0 \\pmod{11}$. Compute $30000$ minus this value of $n$.", "answer": 29978, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(8),\n \"k\": Const(11),\n \"a\": Const(6),\n \"b\": Const(0),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=190)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=172)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=5892)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b')))))))))))), expr=Sum(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 \"Q\": Sub(Const(30000), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T18:02:03.882532Z", "verification": {"verified": true, "answer": 29978, "timestamp": "2026-02-08T18:02:03.895874Z"}, "problem_hash": "5dea37", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 612}, "timestamp": "2026-02-12T23:36:51.914Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9a670f", "alias": "antilemma_k2_v1_865884756_843", "problem": "Let $m$ be the value of\n$$m = \\sum_{d\\mid 200} \\varphi(d),$$\nwhere $\\varphi$ is Euler's totient function. Let $n=2$ and $c=2$.\n\nLet $T$ be the set of all integers $x$ such that\n$$x^2 - 200x + y = 0$$\nfor some integer $y$ satisfying\n$$y^2 - 8844y - 740941 = 0.$$\nLet $S$ be the sum of all elements of $T$.\n\nDefine\n$$x_0 = \\sum_{k=1}^{m} \\varphi(k)\\left\\lfloor \\frac{S}{k} \\right\\rfloor.$$\nLet\n$$N = |x_0| + 1,$$\nand let $Q$ be given by\n$$Q = x_0 + \\varphi(N) + \\tau(N),$$\nwhere $\\tau(N)$ is the number of positive divisors of $N$.\n\nFind the value of $Q$.", "answer": 40202, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": SumOverDivisors(n=Const(value=200), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_n\": Const(2),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_n\")), Mul(Const(-200), Var(\"x1\")), SumOverSet(set=SolutionsSet(var=Var(\"x2\"), condition=Eq(Sum(Pow(Var(\"x2\"), Ref(\"_c\")), Mul(Const(-8844), Var(\"x2\")), Const(-740941)), Const(0))))), Const(0)))), Var(\"k\"))))),\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": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/VIETA_SUM/K2", "K3/VIETA_SUM/K2", "IDENTITY_POW_ZERO", "K2"], "recipe_id": "7eeed6", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "K2", "K3", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T15:37:39.907833Z", "verification": {"verified": true, "answer": 40202, "timestamp": "2026-02-08T15:37:39.919736Z"}, "problem_hash": "934899", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 344, "completion_tokens": 537}, "timestamp": "2026-02-12T08:45:53.156Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "K2": "ok", "K3": "ok", "VIETA_SUM": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e7af77", "alias": "nt_sum_divisors_mod_v1_1470522791_932", "problem": "Let $f(x) = x^2 - 30x - 931$. Let $S$ be the set of all nonnegative integers $x$ such that $f(x) = 0$. Let $N = \\sum_{x \\in S} 1$. Let $T$ be the set of all integers $j$ with $0 \\le j \\le 30$ such that $\\binom{N}{j} \\equiv 1 \\pmod{2}$. Let $n$ be the number of elements in $T$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Compute the remainder when $23467 \\cdot (\\sigma(n) \\bmod 11681)$ is divided by $77724$.", "answer": 49272, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(77724),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(30)), Eq(Mod(value=Binom(n=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-30), Var(\"x\")), Const(-931)), Const(0)))), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"M\": Const(11681),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Const(23467), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/V8"], "recipe_id": "987939", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V8", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T13:19:10.372597Z", "verification": {"verified": true, "answer": 49272, "timestamp": "2026-02-08T13:19:10.381857Z"}, "problem_hash": "f82e1f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 486}, "timestamp": "2026-02-12T06:35:34.715Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "V8": "ok_later", "C2": "no", "K13": "no", "K5": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e374e5", "alias": "diophantine_fbi2_count_v1_2051736721_5919", "problem": "Let $k = 1260$. Let $S$ be the set of all integers $d$ such that $d \\geq 2$, $d \\leq D$, $d$ divides $k$, $k/d \\geq 5$, and $k/d \\leq 64$, where $D$ is the maximum integer $d_1$ satisfying $1 \\leq d_1 \\leq 61$ and $d_1$ divides 4331. Compute the number of elements in $S$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(1260),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(61)), Divides(divisor=Var(\"d1\"), dividend=Const(4331)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(64))))),\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"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T18:51:55.371026Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T18:51:55.384035Z"}, "problem_hash": "bf647d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 19, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 431}, "timestamp": "2026-02-13T00:35:58.170Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K18": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7af2d9", "alias": "diophantine_product_count_v1_2051736721_743", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 15$ and $1 \\leq j \\leq 16$. Let $\\text{upper} = 38$.\n\nLet $T$ be the set of all positive integers $x$ such that $1 \\leq x \\leq 38$, $x$ divides $k$, and $\\frac{k}{x} \\leq 38$. Let $r$ be the number of elements in $T$.\n\nLet $Q = 26244 + \\sum_{i=0}^{d-1} d_i (i+1)^2$, where $d_i$ is the $i$-th decimal digit of $|r|$ (starting from the units digit as $i=0$), and $d$ is the number of digits in $|r|$.\n\nCompute $Q$.", "answer": 26252, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"upper\": Const(38),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(26244),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.018, "created_at": "2026-02-08T15:39:12.142840Z", "verification": {"verified": true, "answer": 26252, "timestamp": "2026-02-08T15:39:12.160476Z"}, "problem_hash": "7fd0cb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 26250, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 462}, "timestamp": "2026-02-12T08:55:29.648Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4984a6", "alias": "antilemma_product_of_sums_v1_784195855_1169", "problem": "Let $S_1$ be the sum of all integers $j$ such that $$\\binom{7}{j} \\text{ is odd}$$ and $$\\phi(13) - 12 \\leq j \\leq \\left| \\left\\{ n \\in \\{1, 2, \\dots, 17\\} : \\phi(n) \\leq 16 \\text{ and the digit sum of } n \\text{ is odd} \\right\\} \\right|.$$ Let $S_2$ be the sum of the first components $k$ over all ordered pairs $(k, \\ell)$ with $1 \\leq k \\leq 6$ and $1 \\leq \\ell \\leq 9$. Let $x = S_1 \\cdot S_2$. Compute the remainder when $64 - x$ is divided by $84851$.", "answer": 79623, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(16)), IsPrime(Var(\"n\"))))),\n \"S1\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Sub(EulerPhi(n=Const(13)), Const(12))), Leq(Var(\"j\"), 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)))))), Eq(Mod(value=Binom(n=Const(7), k=Var(\"j\")), modulus=Const(2)), 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(6)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Var(\"k\"))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Sub(Ref(\"_m\"), Ref(\"x\")), modulus=Const(84851)),\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/L3B", "PRODUCT_OF_SUMS", "ZERO_PHI_PRIME"], "recipe_id": "70b18a", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS", "ZERO_PHI_PRIME"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T04:53:13.095522Z", "verification": {"verified": true, "answer": 79623, "timestamp": "2026-02-08T04:53:13.100317Z"}, "problem_hash": "52d9b2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "ZERO_PHI_PRIME": "ok", "L3B": "ok_later", "C2": "no", "DS2": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V3": "no"}, "split": "valid"} +{"id": "ed0598", "alias": "sequence_fibonacci_compute_v1_168721529_378", "problem": "Let $n$ be the value of the sum\n$$\n\\sum_{k=1}^{3} \\varphi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor,\n$$\nwhere the upper limit of summation is itself given by\n$$\n\\sum_{k=d_1}^{3} k,\n$$\nand $d_1 = \\sum_{d \\mid \\gcd(8,15)} \\mu(d)$, with $\\mu$ denoting the M\\\"obius function and $\\varphi$ Euler's totient function.\n\nCompute the $n$th Fibonacci number.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=8), b=Const(value=15)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(3), expr=Var(\"k\")), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/K2", "MOBIUS_COPRIME"], "recipe_id": "a0a3d5", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:00:53.724564Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T13:00:53.726258Z"}, "problem_hash": "a13b84", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 10946, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 2085}, "timestamp": "2026-02-09T04:18:30.286Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 10946, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 3351}, "timestamp": "2026-02-09T16:11:35.380Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 10946, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 943}, "timestamp": "2026-02-10T03:53:24.951Z"}], "solution_status": 2, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "K2": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF_P2": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.04, "hi": -2.09}, "split": "valid"} +{"id": "3b728b", "alias": "antilemma_k3_v1_458359167_2069", "problem": "Let $N = 51952$. Define\n\\[x = \\sum_{d \\mid N} \\varphi(d),\\]\nwhere $\\varphi$ is Euler's totient function. Let $|x|$ denote the absolute value of $x$, and let $D$ be the number of decimal digits of $|x|$.\n\nLet $S$ be the set of all integers $u$ such that\n\\[u^2 - 2u - 4355 = 0,\\]\nand let\n\\[E = \\sum_{u \\in S} u.\\]\n\nFor a nonnegative integer $k$, let $\\operatorname{digit}_k(|x|)$ denote the $k$-th decimal digit of $|x|$, where $k=0$ is the units digit, $k=1$ is the tens digit, and so on.\n\nLet\n\\[A = \\sum_{d \\mid 92} \\varphi(d).\\]\nDefine\n\\[L = A - 92.\\]\n\nConsider the sum\n\\[T = \\sum_{i=L}^{D-1} \\operatorname{digit}_i(|x|) \\cdot (i+1)^{E}.\\]\n\nFinally, let\n\\[Q = T + 51529.\\]\n\nFind the value of $Q$.", "answer": 51773, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(5),\n \"_n\": Const(51952),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(SumOverDivisors(n=Const(value=92), var='d', expr=EulerPhi(n=Var(name='d'))), Const(92)), 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)), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-2), Var(\"x\")), Const(-4355)), Const(0))))))), Const(51529)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/IDENTITY_SUB_SELF", "VIETA_SUM", "IDENTITY_POW_ZERO", "K3"], "recipe_id": "406d7c", "seed_template_id": "antilemma_k3_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "IDENTITY_SUB_SELF", "K3", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T05:06:44.840978Z", "verification": {"verified": true, "answer": 51773, "timestamp": "2026-02-08T05:06:44.850059Z"}, "problem_hash": "912138", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 51773, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 385, "completion_tokens": 876}, "timestamp": "2026-02-11T22:54:32.096Z"}, {"id": 8, "model": "mathstral", "answer": 51567, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 352, "completion_tokens": 1237}, "timestamp": "2026-02-14T07:16:33.641Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 383, "completion_tokens": 431}, "timestamp": "2026-02-11T22:15:08.455Z"}], "solution_status": 1, "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "K3": "ok", "VIETA_SUM": "ok", "IDENTITY_SUB_SELF": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3b": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.83, "hi": 1.59}, "split": "valid"} +{"id": "ae64ec", "alias": "nt_num_divisors_compute_v1_1470522791_1032", "problem": "Let $d$ be a positive divisor of $9884375$ such that $1 \\leq d \\leq 3125$. Let $n$ be the largest such divisor. Determine the number of positive divisors of $n$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3125),\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(9884375))))),\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": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T13:22:55.241840Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T13:22:55.253640Z"}, "problem_hash": "6f394f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 360}, "timestamp": "2026-02-12T06:41:12.074Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6543c8", "alias": "geo_count_lattice_rect_v1_1431428450_799", "problem": "Let $a = 210$ and $b = 216$. Let $S$ be the set of all lattice points $(x, y)$ such that $0 \\le x \\le a$ and $0 \\le y \\le b$. Compute the remainder when $$\\sum_{n=1}^{|S|} \\phi(n)$$ is divided by 96108, where $\\phi$ denotes Euler's totient function.", "answer": 65980, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(210),\n \"b\": Const(216),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(46), Const(46)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(96108)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 2.787, "created_at": "2026-02-08T13:42:16.354905Z", "verification": {"verified": true, "answer": 65980, "timestamp": "2026-02-08T13:42:19.141662Z"}, "problem_hash": "891d80", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 633}, "timestamp": "2026-02-12T07:17:42.547Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8175eb", "alias": "nt_sum_divisors_mod_v1_1915831931_2646", "problem": "Let $n=840$ and $M=11027$. Let $\\sigma$ be the sum of all positive divisors of $n$, and let $r$ be the remainder when $\\sigma$ is divided by $M$.\n\nLet $c=102$, and let $p$ be the greatest prime number with $2\\le p\\le c$.\n\nConsider the set of all integers $t$ for which there exist integers $a$ and $b$ such that $1\\le a\\le 1214$, $1\\le b\\le 1651$, $14\\le t\\le 19618$, and\n$$t=8a+6b.$$\nLet $N$ be the number of elements in this set of integers $t$.\n\nLet $D$ be the set of all integers $d$ such that $d\\ge 2$ and $d$ divides $N$. Assume $D$ is nonempty, and let $m$ be the smallest element of $D$.\n\nDefine\n\\[\nQ\\equiv 353702\\cdot (|r|\\bmod m)+329703\\cdot\\big((|r|^2+1)\\bmod p\\big)+215534\\cdot\\big((|r|+36)\\bmod 103)\\pmod{1009091},\n\\]\nwhere each $\\bmod$ denotes the remainder in the usual sense. Finally, let $Q$ be the remainder when this quantity is divided by $90221$.\n\nFind the value of $Q$.", "answer": 42342, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(102),\n \"_m\": Const(90221),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_c\")), IsPrime(Var(\"n1\"))))),\n \"n\": Const(840),\n \"M\": Const(11027),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\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=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1214)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1651)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=19618)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(36)), modulus=Const(103)))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MIN_PRIME_FACTOR", "LIN_FORM/MIN_PRIME_FACTOR"], "recipe_id": "b63f07", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.022, "created_at": "2026-02-08T17:00:57.088209Z", "verification": {"verified": true, "answer": 42342, "timestamp": "2026-02-08T17:00:57.110337Z"}, "problem_hash": "aacb55", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 456, "completion_tokens": 484}, "timestamp": "2026-02-12T21:37:42.281Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "98841c", "alias": "comb_factorial_compute_v1_1918700295_256", "problem": "Let $a = 2$ and $b = 4$. Define $n_2 = a + b$. Let\n$$\nt = \\sum_{k = \\left( \\sum_{k=0}^{7} (-1)^k \\binom{7}{k} \\right)}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$\nLet $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ satisfying $1 \\le a \\le 5$, $1 \\le b \\le 2$, $10 \\le t \\le 32$, and $t = 4a + 6b$. Define $u = |S| + t$, and let $n_1 = u + 1$. Now define\n$$\ns = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $n = 8$ and let $c$ be the number of ordered pairs $(i, j)$ such that $1 \\le i \\le 4$ and $1 \\le j \\le 6$. Compute the remainder when $c - n!$ is divided by $73317 + s$.", "answer": 33021, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2),\n \"b\": Const(4),\n \"n2\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"t\": Summation(var=\"k\", start=Summation(var=\"k\", start=Const(0), end=Const(7), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(7), k=Var(\"k\")))), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"n2\"), k=Var(\"k\")))),\n \"u\": 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=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=10)), Leq(left=Var(name='t'), right=Const(value=32)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Ref(\"t\")),\n \"n1\": Sum(Ref(\"u\"), Const(1)),\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\": Const(8),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(73317), Ref(\"s\"))),\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", "LIN_FORM/BINOMIAL_ALTERNATING"], "recipe_id": "33e143", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:06:47.175955Z", "verification": {"verified": true, "answer": 33021, "timestamp": "2026-02-08T03:06:47.180998Z"}, "problem_hash": "8cdb22", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 33021, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 382, "completion_tokens": 1363}, "timestamp": "2026-02-10T13:11:00.086Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 33021, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 382, "completion_tokens": 1279}, "timestamp": "2026-02-10T12:53:14.054Z"}, {"id": 8, "model": "mathstral", "answer": 40296, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 336, "completion_tokens": 855}, "timestamp": "2026-02-11T15:16:51.387Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 377, "completion_tokens": 488}, "timestamp": "2026-02-11T20:22:48.213Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "eca6f8", "alias": "diophantine_fbi2_min_v1_1978505735_4492", "problem": "Let $k$ be the number of integers $n$ from $1$ to $48$, inclusive, for which the sum of the digits of $n$ is even. Let $\\text{upper}$ be the number of integers $t$ from $8$ to $49$, inclusive, that can be expressed as $t = 5a + 3b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 8$. Let $d$ be a divisor of $k$ such that $7 \\leq d \\leq \\text{upper}$ and $\\frac{k}{d} \\geq 2$. Determine the value of $74587$ times the smallest such $d$, modulo $73064$.", "answer": 12184, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(48)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=8)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=49)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Mul(Const(74587), Ref(\"result\")), modulus=Const(73064)),\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", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T18:16:04.491080Z", "verification": {"verified": true, "answer": 12184, "timestamp": "2026-02-08T18:16:04.505255Z"}, "problem_hash": "983e48", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 567}, "timestamp": "2026-02-12T23:56:16.216Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "no", "K14": "no", "L3c": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "adc1dc", "alias": "nt_sum_totient_over_divisors_v1_784195855_3140", "problem": "Let $p$ be the largest prime number less than or equal to 71. Define $n_2 = p^2$ and let $h = \\lambda(n_2)$, where $\\lambda$ denotes the Liouville function. Let $n_1 = 2$ and define $s = \\omega(n_1)$, where $\\omega(n)$ is the number of distinct prime factors of $n$. Let $n = 91191 \\cdot h \\cdot s$. Compute the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$.\\n\\nFind the value of this sum.", "answer": 91191, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(71),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"n2\": Pow(Ref(\"p\"), Const(2)),\n \"h\": LiouvilleLambda(n=Ref(name='n2')),\n \"n1\": Const(2),\n \"s\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Const(91191), Ref(\"h\"), Ref(\"s\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_ONE", "OMEGA_ONE"], "recipe_id": "25b65b", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:15:28.237850Z", "verification": {"verified": true, "answer": 91191, "timestamp": "2026-02-08T06:15:28.239584Z"}, "problem_hash": "81c210", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "OMEGA_ONE": "ok", "LIOUVILLE_ONE": "ok_later", "C2": "no", "K15": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "b58577", "alias": "comb_count_derangements_v1_458359167_815", "problem": "Let $c = 33$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq c$ and the sum of the digits of $n$ is even. Let $s$ be the number of elements in $T$. Let $d_1$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = s$. Let $n_{\\text{max}}$ be the largest prime number $n$ such that $2 \\leq n \\leq d_1$. Let $r$ be the number of derangements of $n_{\\text{max}}$ elements. Let $Q$ be the remainder when $32333 \\cdot r$ is divided by $57695$. Find the value of $Q$.", "answer": 277, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(33),\n \"_m\": Const(2),\n \"_n\": Const(57695),\n \"n\": 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\")), 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)))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(32333), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/B3/MAX_PRIME_BELOW"], "recipe_id": "474743", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3B", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:33:36.022409Z", "verification": {"verified": true, "answer": 277, "timestamp": "2026-02-08T03:33:36.025917Z"}, "problem_hash": "7d82c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 277, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 1321}, "timestamp": "2026-02-10T14:49:05.525Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 277, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 2324}, "timestamp": "2026-02-10T13:44:04.657Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 879}, "timestamp": "2026-02-12T18:09:31.494Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 455}, "timestamp": "2026-02-11T19:28:47.184Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "B3": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K14": "no", "K16": "no", "L3c": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "58d6dc", "alias": "nt_num_divisors_compute_v1_1470522791_806", "problem": "Let $n = 2000$. Let $d(n)$ denote the number of positive divisors of $n$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 9000$, and $\\gcd(p, q) = 1$. Compute the remainder when $c - d(n)$ is divided by 50650.", "answer": 50634, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(2000),\n \"result\": NumDivisors(n=Ref(\"n\")),\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=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 \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50650)),\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"], "recipe_id": "c90628", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:15:52.697629Z", "verification": {"verified": true, "answer": 50634, "timestamp": "2026-02-08T13:15:52.699066Z"}, "problem_hash": "b316f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 445}, "timestamp": "2026-02-12T06:27:24.291Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a9f0df", "alias": "nt_count_gcd_equals_v1_784195855_2211", "problem": "Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 19600$ and $\\gcd(n, 221) = 221$. Let $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq 40500$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute the value of $7^{|A|} \\bmod{99991} + B$.", "answer": 68741, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(19600),\n \"k\": Const(221),\n \"d\": Const(221),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Sum(ModExp(base=Const(7), 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(40500)), 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": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "0f980c", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.06, "created_at": "2026-02-08T05:36:42.884618Z", "verification": {"verified": true, "answer": 68741, "timestamp": "2026-02-08T05:36:44.945038Z"}, "problem_hash": "e1b0b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 60047, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 4946}, "timestamp": "2026-02-12T10:50:28.603Z"}, {"id": 8, "model": "mathstral", "answer": 16201, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 646}, "timestamp": "2026-02-14T19:55:47.072Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 775}, "timestamp": "2026-02-11T22:48:47.162Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_PRIMES": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b98803", "alias": "nt_max_prime_below_v1_153355830_253", "problem": "Let $N$ be the largest prime number less than or equal to $5006$. Let $U = 36315$ and let $M$ be the largest prime number less than or equal to $U$. Let $C$ be the number of positive integers $j$ such that $1 \\leq j \\leq N$ and $j^5 \\leq 3134386256752025243$. Compute the value of $(M \\bmod 293) + C \\cdot (M \\bmod 337)$, and find the remainder when this result is divided by $58884$.", "answer": 34472, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(58884),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5006)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(36315),\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\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(5)), Const(3134386256752025243))), domain='positive_integers')),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(293)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(337)))), modulus=Ref(\"_m\")),\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/C3"], "recipe_id": "3e20ea", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 1.601, "created_at": "2026-02-08T02:59:20.877634Z", "verification": {"verified": true, "answer": 34472, "timestamp": "2026-02-08T02:59:22.478869Z"}, "problem_hash": "81e6c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34472, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 6312}, "timestamp": "2026-02-10T12:25:52.334Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34472, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 3735}, "timestamp": "2026-02-10T12:30:42.839Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34472, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 4270}, "timestamp": "2026-02-11T01:24:54.772Z"}, {"id": 8, "model": "mathstral", "answer": 3305, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 499}, "timestamp": "2026-02-11T11:20:42.675Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10187, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 462}, "timestamp": "2026-02-11T20:05:16.158Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "C3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.89, "hi": 1.12}, "split": "valid"} +{"id": "978958", "alias": "comb_binomial_compute_v1_2051736721_1910", "problem": "Let $T$ be the set of all integers $t$ with $7 \\leq t \\leq 24$ that can be expressed as $t = 5a + 2b$ for positive integers $a, b$ with $1 \\leq a \\leq 2$ and $1 \\leq b \\leq 7$. Let $n$ be the number of elements in $T$. Let $k$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $pq = 41160$, $\\gcd(p, q) = 1$, and $p < q$. Compute $12769 - \\binom{n}{k}$.", "answer": 9766, "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=7)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=24)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\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=41160)), 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 \"_c\": Const(12769),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T16:19:10.593027Z", "verification": {"verified": true, "answer": 9766, "timestamp": "2026-02-08T16:19:10.597272Z"}, "problem_hash": "bd0890", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 902}, "timestamp": "2026-02-12T10:34:17.033Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0d89ee", "alias": "nt_sum_divisors_mod_v1_1439011603_765", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 35$ and $1 \\leq b \\leq 36$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Compute the remainder when $\\sigma(n)$ is divided by $10513$.", "answer": 4368, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"M\": Const(10513),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.007, "created_at": "2026-02-08T15:42:32.892181Z", "verification": {"verified": true, "answer": 4368, "timestamp": "2026-02-08T15:42:32.898866Z"}, "problem_hash": "9dd5be", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 547}, "timestamp": "2026-02-12T09:05:26.382Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "K13": "no", "K17": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f2bbc1", "alias": "nt_count_divisors_in_range_v1_865884756_3122", "problem": "Let $n = 15120$ and $a = 35$. Let $b$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 2809$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{5}$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Compute the remainder when $$353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot (|r|^2 + 1 \\bmod 101) + 215534 \\cdot \\left(|r| + 33 \\bmod d_{\\min}\\right)$$ is divided by $63758$, where $d_{\\min}$ is the smallest divisor greater than $1$ of $130940501$.", "answer": 46717, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(33),\n \"n\": Const(15120),\n \"a\": Const(35),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(2809)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=5))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=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(\"_n\")), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(130940501)))))))), modulus=Const(1009091)), modulus=Const(63758)),\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", "L3C"], "recipe_id": "7b901e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.27, "created_at": "2026-02-08T17:11:00.539416Z", "verification": {"verified": true, "answer": 46717, "timestamp": "2026-02-08T17:11:00.809907Z"}, "problem_hash": "1d5962", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 325, "completion_tokens": 475}, "timestamp": "2026-02-12T22:00:04.592Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "MIN_PRIME_FACTOR": "ok", "K13": "no", "K5": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "615b34", "alias": "geo_count_lattice_triangle_v1_124444284_362", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(128,91)$, and $(289,225)$, multiplied by $2$. Let $B$ be the number of lattice points on the boundary of this triangle. Compute $\\frac{A + 2 - B}{2}$.", "answer": 1250, "graph": "graphs = [\n Graph(\n let={\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), Const(value=225)), Mul(Const(value=289), Sub(left=Const(value=0), right=Const(value=91))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=128)), b=Abs(arg=Const(value=91))), GCD(a=Abs(arg=Sub(left=Const(value=289), right=Const(value=128))), b=Abs(arg=Sub(left=Const(value=225), right=Const(value=91)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=289))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=225))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T03:13:46.848645Z", "verification": {"verified": true, "answer": 1250, "timestamp": "2026-02-08T03:13:46.850721Z"}, "problem_hash": "238721", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 1235}, "timestamp": "2026-02-09T16:32:45.615Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 1138}, "timestamp": "2026-02-09T01:19:01.418Z"}, {"id": 8, "model": "mathstral", "answer": 13231, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 127, "completion_tokens": 777}, "timestamp": "2026-02-11T17:21:28.665Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 427}, "timestamp": "2026-02-11T20:34:01.347Z"}], "solution_status": 1, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "b81829", "alias": "modular_inverse_v1_1742523217_3869", "problem": "Let $a$ be the largest prime number not exceeding $163$. Let $m = 269$. Let $r$ be the smallest positive integer $x$ such that $1 \\leq x \\leq 268$ and $a x \\equiv 1 \\pmod{m}$. Let $t_0$ be the number of integers $t$ such that $8 \\leq t \\leq 412$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 17$, $1 \\leq b \\leq 109$, and $t = 5a + 3b$. Compute the remainder when\n$$\n(r \\bmod 251) + 5003 \\cdot (r \\bmod t_0)\n$$\nis divided by $79828$.", "answer": 63352, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(163),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"m\": Const(269),\n \"upper\": Const(268),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(251)), Mul(Const(5003), 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=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=109)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=412)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), modulus=Const(79828)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MAX_PRIME_BELOW"], "recipe_id": "e570df", "seed_template_id": "modular_inverse_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.065, "created_at": "2026-02-08T06:07:13.534447Z", "verification": {"verified": true, "answer": 63352, "timestamp": "2026-02-08T06:07:13.599134Z"}, "problem_hash": "b51544", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 63352, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 5290}, "timestamp": "2026-02-12T20:00:19.501Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 914}, "timestamp": "2026-02-11T23:37:50.813Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "dfdc64", "alias": "comb_count_surjections_v1_1918700295_1955", "problem": "Let $c = 8$. Define $m$ to be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 6$, $1 \\leq j \\leq 6$, and $i + j = c$. Define $n$ to be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 5$, $1 \\leq j \\leq 5$, and $i + j = m$. Let $a$ be the number of ordered pairs $(i,j)$ such that $i \\in \\{1,2\\}$ and $j \\in \\{1,2,3,4\\}$. Let $b$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 4$, $1 \\leq j \\leq 4$, and $i + j = n$. Compute $b! \\cdot S(a, b)$, where $S(a, b)$ denotes the Stirling number of the second kind.", "answer": 5796, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\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(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/COUNT_SUM_EQUALS", "COUNT_CARTESIAN"], "recipe_id": "2b449a", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.03, "created_at": "2026-02-08T06:12:00.275812Z", "verification": {"verified": true, "answer": 5796, "timestamp": "2026-02-08T06:12:00.305772Z"}, "problem_hash": "4be10c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 1543}, "timestamp": "2026-02-13T11:26:36.226Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 318, "completion_tokens": 593}, "timestamp": "2026-02-12T01:11:22.290Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6b29ed", "alias": "antilemma_k3_v1_2051736721_1404", "problem": "Let $x = \\sum_{d \\mid 99879} \\phi(d)$, where the sum is over all positive divisors $d$ of $99879$. Let $c$ be the sum of all real numbers $x_1$ such that $x_1^2 - 44x_1 - 12512 = 0$. Compute the remainder when $c - x$ is divided by $78685$.", "answer": 57535, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": SumOverDivisors(n=Const(value=99879), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_n\")), Mul(Const(-44), Var(\"x1\")), Const(-12512)), Sub(Const(97), Const(97))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(78685)),\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_SUB_SELF", "K3"], "recipe_id": "5061b4", "seed_template_id": "antilemma_k3_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["IDENTITY_SUB_SELF", "K13", "K3", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T16:02:03.109522Z", "verification": {"verified": true, "answer": 57535, "timestamp": "2026-02-08T16:02:03.114493Z"}, "problem_hash": "715d1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 598}, "timestamp": "2026-02-12T09:44:15.728Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_SUB_SELF": "ok", "K3": "ok", "VIETA_SUM": "ok", "DS2": "no", "K17": "no", "K18": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "09a31f", "alias": "comb_count_surjections_v1_1248542787_266", "problem": "Let $n = 7$ and $k = 7$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the number of ways to partition an $n$-element set into $k$ nonempty subsets.", "answer": 5040, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"k\": Const(7),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T03:02:05.045842Z", "verification": {"verified": true, "answer": 5040, "timestamp": "2026-02-08T03:02:05.053798Z"}, "problem_hash": "dc74db", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 222}, "timestamp": "2026-02-09T02:08:36.576Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 229}, "timestamp": "2026-02-09T14:29:30.799Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 3900}, "timestamp": "2026-02-09T12:08:04.109Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 112, "completion_tokens": 293}, "timestamp": "2026-02-12T00:32:01.315Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 447}, "timestamp": "2026-02-11T03:12:42.570Z"}, {"id": 8, "model": "mathstral", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 111, "completion_tokens": 333}, "timestamp": "2026-02-11T12:10:18.601Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 226}, "timestamp": "2026-02-11T19:23:26.442Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.9, "hi": -7.8}, "split": "valid"} +{"id": "3f89e3", "alias": "nt_euler_phi_compute_v1_1520064083_155", "problem": "Let $P$ 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 p < q.\\]\n\nLet $N_2$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1 \\le a \\le 146, \\quad 1 \\le b \\le 110, \\quad 28 \\le t \\le 1370, \\quad t = 7a + 3b + 18.\\]\n\nLet\n\\[T = \\sum_{d \\mid N_2} \\varphi(d) - N_2,\\]\nwhere $\\varphi$ is Euler's totient function.\n\nLet $n_1 = 1819801$ and define\n\\[E = \\mu(n_1)^{\\,P + T},\\]\nwhere $\\mu$ is the Möbius function.\n\nLet $n = 63001$ and let $R = \\varphi(n)$.\n\nLet $Q$ be the remainder when $44121R$ is divided by $72497 + E$.\n\nFind the value of $Q$.\"", "answer": 4817, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=146)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=110)), Geq(left=Var(name='t'), right=Const(value=28)), Leq(left=Var(name='t'), right=Const(value=1370)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=18)))))))),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Const(1819801),\n \"e\": Pow(MoebiusMu(n=Ref(name='n1')), Sum(Ref(\"_n\"), Ref(\"t\"))),\n \"n\": Const(63001),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Sum(Const(72497), Ref(\"e\"))),\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/LIN_FORM/EULER_TOTIENT_SUM/MOBIUS_SQUAREFREE"], "recipe_id": "3346ac", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "EULER_TOTIENT_SUM", "LIN_FORM", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.011, "created_at": "2026-02-08T03:06:45.228162Z", "verification": {"verified": true, "answer": 4817, "timestamp": "2026-02-08T03:06:45.239620Z"}, "problem_hash": "c8242f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "EULER_TOTIENT_SUM": "ok_later", "LIN_FORM": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "K14": "no", "K17": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V1": "no"}, "split": "valid"} +{"id": "733fd3", "alias": "diophantine_fbi2_count_v1_1874849503_445", "problem": "Let $k$ be the number of positive integers $n \\le 720$ such that the Fibonacci number $F_n$ is divisible by $9$. Let $m$ be the number of positive integers $n \\le 211$ that are coprime to $30$. Determine the number of divisors $d$ of $k$ such that $3 \\le d \\le m$, $d$ divides $k$, and $3 \\le \\frac{k}{d} \\le 57$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(720)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n')))))),\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(211)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(57))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["COUNT_FIB_DIVISIBLE", "C4"], "recipe_id": "b10525", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_FIB_DIVISIBLE", "K3"], "num_lemmas": 3, "generation_time": 0.121, "created_at": "2026-02-08T13:03:56.811427Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T13:03:56.932342Z"}, "problem_hash": "642474", "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": 215, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:00:59.578Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 215, "completion_tokens": 1855}, "timestamp": "2026-02-11T07:33:14.793Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 691}, "timestamp": "2026-02-12T06:12:17.366Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "COUNT_FIB_DIVISIBLE": "ok", "K14": "no", "K18": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "d506d9", "alias": "antilemma_cartesian_v1_1978505735_2456", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from $1$ to $10$ and $b$ is an integer from $1$ to $15$. Define\n$$\nQ = \\left( 353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left(|x|^2 \\bmod 1\\right) \\bmod 101 + 215534 \\cdot \\left(|x| \\bmod 44\\right) \\bmod 103 \\right) \\bmod 1009091.\n$$\nCompute the remainder when $Q$ is divided by $88362$.", "answer": 38346, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(15)))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(44)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(88362)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:54:37.898644Z", "verification": {"verified": true, "answer": 38346, "timestamp": "2026-02-08T16:54:37.899814Z"}, "problem_hash": "7ab8bf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 55, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 461}, "timestamp": "2026-02-12T21:29:04.045Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3e8135", "alias": "modular_min_linear_v1_124444284_214", "problem": "Let $a$ be the number of integers $t$ such that $20 \\leq t \\leq 12528$ and there exist positive integers $a' \\leq 1654$ and $b \\leq 186$ satisfying $t = 6a' + 14b$. Let $m = 85088$ and $b = 59337$. Let $x$ be the smallest integer $x_0$ such that $\\phi(2) \\leq x_0 \\leq m$ and $a \\cdot x_0 \\equiv b \\pmod{m}$. Compute the remainder when $44121$ times $x$ is divided by $76834$.", "answer": 61477, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1654)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=186)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=12528)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"b\": Const(59337),\n \"m\": Const(85088),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=Const(2))), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(76834)),\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", "ONE_PHI_2"], "recipe_id": "9858be", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 4.273, "created_at": "2026-02-08T03:04:45.105963Z", "verification": {"verified": true, "answer": 61477, "timestamp": "2026-02-08T03:04:49.378656Z"}, "problem_hash": "d79a81", "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": 264, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:49:07.610Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17593, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 6068}, "timestamp": "2026-02-08T23:53:38.951Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "K17": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "9974a3", "alias": "modular_min_modexp_v1_1918700295_454", "problem": "Let $c=96$ and let $m_0$ be the number of integers $n$ with $1\\le n\\le 14195$ and $\\gcd(n,14)=1$.\n\nLet $b$ be the number of integers $t$ for which there exist integers $a$ and $b'$ satisfying $1\\le a\\le 3$, $1\\le b'\\le 99$, $10\\le t\\le 606$, and\n$$t=4a+6b'.$$\n\nLet $m$ be the least integer $d\\ge 2$ such that $d$ divides $69913557650137$.\n\nDefine\n$$U=\\sum_{d\\mid c} \\varphi(d),$$\nwhere the sum is over all positive divisors $d$ of $c$ and $\\varphi$ denotes Euler's totient function.\n\nLet $a_0=11$. Among the integers $x$ with $1\\le x\\le U$ and\n$$11^x\\equiv m_0\\pmod m,$$\nlet $R$ be the least such $x$.\n\nLet\n$$Q\\equiv 2^{|R|}+2\\pmod{81141},\\qquad 0\\le Q<81141.$$\nFind the value of $Q$.", "answer": 39979, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(96),\n \"_m\": Const(2),\n \"_n\": Const(39204),\n \"a\": Const(11),\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=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=99)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=606)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(69913557650137))))),\n \"upper\": SumOverDivisors(n=Ref(name='_c'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_n\")), modulus=Const(81141)),\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", "LIN_FORM", "K3"], "recipe_id": "1cefb0", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T03:15:24.994101Z", "verification": {"verified": true, "answer": 39979, "timestamp": "2026-02-08T03:15:25.013661Z"}, "problem_hash": "530779", "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-10T13:44:06.535Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 393, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:10:22.509Z"}, {"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-12T02:28:30.911Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 338, "completion_tokens": 1006}, "timestamp": "2026-02-12T01:36:14.138Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 8192}, "timestamp": "2026-02-11T10:09:09.568Z"}, {"id": 8, "model": "mathstral", "answer": 18, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 376, "completion_tokens": 550}, "timestamp": "2026-02-12T03:48:38.563Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 410, "completion_tokens": 541}, "timestamp": "2026-02-11T20:37:44.923Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "bc2a51", "alias": "nt_sum_divisors_compute_v1_1742523217_1256", "problem": "Let $n_2 = 22$ and define\n\\[\nc = \\left( \\sum_{d \\mid n_2} \\phi(d) \\right) - n_2.\n\\]\nLet $n_0 = 14049$, and let $n_1$ be the number of positive integers $n$ with $1 \\leq n \\leq n_0$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $u = \\lambda(n_1)$, where $\\lambda(k)$ denotes the Liouville function. Define $n = (38809 + c) \\cdot u$. Compute the sum of all positive divisors of $n$.", "answer": 39007, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14049),\n \"n2\": Const(22),\n \"c\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"u\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Sum(Const(38809), Ref(\"c\")), 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": "L3C", "lemma_paths": ["L3C/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "ad147f", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "L3C", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:35:06.601409Z", "verification": {"verified": true, "answer": 39007, "timestamp": "2026-02-08T03:35:06.607046Z"}, "problem_hash": "6e4f5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 39007, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 274, "completion_tokens": 2500}, "timestamp": "2026-02-10T05:45:03.185Z"}], "solution_status": 2, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "L3C": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "540110", "alias": "antilemma_sum_primes_v1_458359167_1312", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 71$. Let $Q$ be the sum of the digits of $|x|$, where the digit in the $10^i$ place is multiplied by $(i+1)^2$, plus the number of positive integers $n$ not exceeding 21659 that are relatively prime to 30. Find the value of $Q$.", "answer": 5851, "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(71)), 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)), Ref(\"_n\")))), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(21659)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "SUM_PRIMES"], "recipe_id": "c974a8", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:32:35.155927Z", "verification": {"verified": true, "answer": 5851, "timestamp": "2026-02-08T04:32:35.157810Z"}, "problem_hash": "858399", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "SUM_PRIMES": "ok", "K13": "no", "K18": "no", "K5": "no", "L3b": "no", "V3": "no"}, "split": "valid"} +{"id": "40aed5", "alias": "nt_sum_gcd_range_mod_v1_1918700295_4325", "problem": "Let $N$ be the number of ordered pairs $(a,b)$ of integers with $1 \\leq a \\leq 97$ and $1 \\leq b \\leq 97$. Define $k = 60$ and $M = 11777$. Let\n$$\n\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $r$ be the remainder when $\\text{sum}$ is divided by $M$. Define $Q$ to be the sum of the number of positive divisors of all integers from $1$ to $|r|$. Compute $Q$.", "answer": 86564, "graph": "graphs = [\n Graph(\n let={\n \"N\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(97)), right=IntegerRange(start=Const(1), end=Const(97)))),\n \"k\": Const(60),\n \"M\": Const(11777),\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\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.417, "created_at": "2026-02-08T09:17:41.837302Z", "verification": {"verified": true, "answer": 86564, "timestamp": "2026-02-08T09:17:42.254468Z"}, "problem_hash": "217fe6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 86326, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 5346}, "timestamp": "2026-02-14T02:29:03.588Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 677}, "timestamp": "2026-02-12T02:44:33.910Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K16": "no", "L3c": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "ccc910", "alias": "modular_sum_quadratic_residues_v1_784195855_4605", "problem": "Let $m = 347325995837$. Define $a$ to be the smallest positive divisor of $m$ that is at least $2$. Let $p$ be the largest positive divisor of $43931$ that is less than or equal to $a$. Compute $\\frac{p(p-1)}{4}$. Find the value of this expression.", "answer": 9653, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(43931),\n \"p\": 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\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(347325995837)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_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_DIVISOR"], "recipe_id": "03060e", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T07:12:12.505913Z", "verification": {"verified": true, "answer": 9653, "timestamp": "2026-02-08T07:12:12.507801Z"}, "problem_hash": "0abca5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9653, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 119, "completion_tokens": 2305}, "timestamp": "2026-02-13T08:48:28.898Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 289}, "timestamp": "2026-02-12T00:55:13.369Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MAX_DIVISOR": "ok_later", "K16": "no", "K17": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "c3b14f", "alias": "nt_count_with_divisor_count_v1_1520064083_801", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 19044$ such that $n$ has exactly $14$ positive divisors.\n\nLet $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers satisfying $x+y=12$, and let $D$ be the minimum positive integer $d$ such that $d\\ge 2$ and $d$ divides $M$.\n\nLet $E$ be the largest integer $k$ such that $7^k$ divides $301!$.\n\nDefine\n$$Q = N^{D} + 21N + E.$$\n\nCompute $Q$.", "answer": 6419, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(2),\n \"upper\": Const(19044),\n \"div_count\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(Pow(Ref(\"result\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), 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\")), Ref(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\"))))))))), Mul(Const(21), Ref(\"result\")), MaxKDivides(target=Factorial(Const(301)), base=Const(7))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MIN_PRIME_FACTOR", "V1"], "recipe_id": "c8b0d5", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.777, "created_at": "2026-02-08T03:36:04.977454Z", "verification": {"verified": true, "answer": 6419, "timestamp": "2026-02-08T03:36:05.754754Z"}, "problem_hash": "8f717f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "V1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K5": "same_pattern_wrong", "K14": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V7": "no"}, "split": "valid"} +{"id": "47e3fa", "alias": "algebra_quadratic_discriminant_v1_1978505735_2545", "problem": "Let $a = 2$, $b = 4$, and $c = 9$. Define $\\Delta = b^2 - 4ac$. Compute $\\Delta^2 + 34\\Delta + \\sum_{k=1}^{57} k$. Determine the value of this sum.", "answer": 2885, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(2),\n \"b\": Const(4),\n \"c\": Const(9),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(34), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Const(57), expr=Var(\"k\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC"], "recipe_id": "609463", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "quadratic_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:57:45.224573Z", "verification": {"verified": true, "answer": 2885, "timestamp": "2026-02-08T16:57:45.227024Z"}, "problem_hash": "67da52", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2885, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 275}, "timestamp": "2026-02-12T21:29:45.051Z"}], "solution_status": 2, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "947a1b", "alias": "algebra_quadratic_discriminant_v1_717093673_4224", "problem": "Let $a = -10$, $b = 1$, and $c = -5$. Compute the discriminant $D = b^2 - 4ac$. Define $\\alpha = 1$ if $D > 0$ and $0$ otherwise. Define $\\beta = 1$ if $D = 0$ and $0$ otherwise. Let $r = 2\\alpha + \\beta$. Compute $10 - r$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-10),\n \"b\": Const(1),\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\"), Const(0)))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"_c\": Const(10),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["COPRIME_PAIRS/COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "d27ef1", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.04, "created_at": "2026-02-08T18:06:17.297704Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T18:06:17.337371Z"}, "problem_hash": "ff4cc7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 183}, "timestamp": "2026-02-12T23:43:59.622Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "2d7122", "alias": "nt_count_squarefree_v1_784195855_358", "problem": "Let $\\mu(n)$ denote the M\\\"obius function. Compute the number of integers $n$ with $1 \\leq n \\leq 69696$ such that $\\mu(n)^2 = \\sum_{d \\mid \\gcd(15, k)} \\mu(d)$, where $k$ is the number of positive integers at most $53$ that are relatively prime to $10$.", "answer": 42368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53),\n \"upper\": Const(69696),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='n'))), SumOverDivisors(n=GCD(a=Const(value=15), b=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=10)), right=Const(value=1)))))), 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": "C4", "lemma_paths": ["C4/MOBIUS_COPRIME", "ONE_PHI_1"], "recipe_id": "aa55d0", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 13.899, "created_at": "2026-02-08T03:06:55.284570Z", "verification": {"verified": true, "answer": 42368, "timestamp": "2026-02-08T03:07:09.183121Z"}, "problem_hash": "5393bf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "ONE_PHI_1": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "split": "valid"} +{"id": "625681", "alias": "modular_inverse_v1_1470522791_1341", "problem": "Let $a = 558$ and $m = 619$. Let $S$ be the set of all ordered pairs $(i,j)$ where $i$ is an integer from $1$ to $6$ and $j$ is an integer from $1$ to $103$. The number of elements in $S$ is $618$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq 618$ and\n$$\n558x \\equiv 1 \\pmod{619}.\n$$", "answer": 345, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(558),\n \"m\": Const(619),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(103)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.033, "created_at": "2026-02-08T13:35:37.215333Z", "verification": {"verified": true, "answer": 345, "timestamp": "2026-02-08T13:35:37.248293Z"}, "problem_hash": "fafbc8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 345, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 624}, "timestamp": "2026-02-12T07:07:05.663Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "16b6e3", "alias": "nt_max_prime_below_v1_1520064083_7170", "problem": "Let $n = 73852$ and let $\\text{upper} = 52441$. Define $r$ to be the largest prime number less than or equal to $\\text{upper}$. Let $s$ be the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 120801941279262443511966274620$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $s - r$ is divided by $n$.", "answer": 23467, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73852),\n \"upper\": Const(52441),\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=Sub(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=120801941279262443511966274620)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS"], "recipe_id": "c90628", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 1.584, "created_at": "2026-02-08T08:49:35.549665Z", "verification": {"verified": true, "answer": 23467, "timestamp": "2026-02-08T08:49:37.133279Z"}, "problem_hash": "46752b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 54187, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 7423}, "timestamp": "2026-02-13T22:01:16.994Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 393}, "timestamp": "2026-02-12T02:15:24.877Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "C2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "2ca851", "alias": "nt_count_with_divisor_count_v1_655260480_3294", "problem": "Let $n$ be a positive integer. Define $S$ to be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 16000000$. Let $M$ be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Let $T$ be the sum\n$$\n\\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor,\n$$\nwhere $\\phi$ denotes Euler's totient function. Compute the number of positive integers $n$ such that $1 \\leq n \\leq M$ and the number of positive divisors of $n$ is equal to $T$.", "answer": 125, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\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(16000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"div_count\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), 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": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.325, "created_at": "2026-02-08T17:18:48.591734Z", "verification": {"verified": true, "answer": 125, "timestamp": "2026-02-08T17:18:48.917198Z"}, "problem_hash": "3fc8c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 721}, "timestamp": "2026-02-12T22:19:06.301Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "COUNT_PRIMES": "no", "K15": "no", "L3b": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "26156e", "alias": "sequence_fibonacci_compute_v1_971394319_1073", "problem": "Let $m = 2$. Let $p$ be the number of prime numbers $n$ such that $m \\leq n \\leq 13$. Let $n = \\sum_{k=1}^{p} k$. Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = F_2 = 1$ and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Compute $F_n$.", "answer": 10946, "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(13)), IsPrime(Var(\"n\"))))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/SUM_ARITHMETIC"], "recipe_id": "e7107b", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T13:29:15.738258Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T13:29:15.740109Z"}, "problem_hash": "c65edf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 340}, "timestamp": "2026-02-12T06:56:07.123Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_ARITHMETIC": "ok_later", "DS2": "no", "K17": "no", "MOD_MUL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "358ac9", "alias": "nt_count_intersection_v1_1125832087_919", "problem": "Let $n_0=200$. Consider all ordered pairs $(x,y)$ of positive integers such that\n\\[x+y = n_0.\\]\nFor each such pair, form the product $xy$, and let $N$ be the maximum of all these products.\n\nLet $a=7$ and $b=18$. Let $r$ be the number of integers $n$ with $1\\le n\\le N$ such that $7$ divides $n$ and $\\gcd(n,18)=1$.\n\nLet\n\\[T = \\sum_{d\\mid \\gcd\\bigl(17,\\,m_0\\bigr)} \\mu(d),\\]\nwhere $m_0$ is the smallest integer $d\\ge 2$ such that $d$ divides $437$, and $\\mu$ is the Möbius function. Let\n\\[Q = r + \\varphi(|r|+1) + \\tau\\bigl(|r| + T\\bigr),\\]\nwhere $\\varphi$ is Euler's totient function and $\\tau$ is the number of positive divisors function.\n\nFind the value of $Q$.", "answer": 794, "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(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=Const(value=17), b=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Const(value=437)))))), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "B1"], "recipe_id": "499cf0", "seed_template_id": "nt_count_intersection_v1", "ending_id": "arith_invariants", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.344, "created_at": "2026-02-08T03:21:42.908977Z", "verification": {"verified": true, "answer": 794, "timestamp": "2026-02-08T03:21:43.252646Z"}, "problem_hash": "e6a322", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V1": "no"}, "split": "valid"} +{"id": "38c54c", "alias": "modular_mod_compute_v1_784195855_2341", "problem": "Let $c = 10$ and $m = 17$. Let $d$ be the smallest divisor of $459572063$ that is at least $2$. Let $a$ be the number of positive integers $n$ with $1 \\leq n \\leq 240$ such that $c$ divides the $n$-th Fibonacci number. Let $k$ be the largest integer such that $m^k$ divides $6777964732779730995471356071936289402038303854098687372273^d$. Find the remainder when $a$ is divided by $k$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10),\n \"_m\": Const(17),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(459572063))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(240)), Divides(divisor=Ref(\"_c\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"m\": MaxKDivides(target=Pow(Const(6777964732779730995471356071936289402038303854098687372273), Ref(\"_n\")), base=Ref(\"_m\")),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/K14", "COUNT_FIB_DIVISIBLE"], "recipe_id": "5871d7", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "K14", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:41:50.579030Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T05:41:50.581642Z"}, "problem_hash": "1de5aa", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "ok_later", "C2": "no", "K15": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "split": "valid"} +{"id": "b13de0", "alias": "sequence_count_fib_divisible_v1_865884756_6055", "problem": "Let $u$ be the sum of all real solutions $x$ to the equation $x^2 - 734x - 40872 = 0$. Let $d = 11$. Define $T$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $d$ divides the $n$-th Fibonacci number. Let $r$ be the number of elements in $T$. Let $s$ be the sum of the squares of the positions (starting from position 1) of the nonzero digits in the decimal representation of $r$, where the rightmost digit is in position 0. Let $t$ be the sum of all real solutions $x_1$ to the equation $x_1^2 - 700x_1 + 14916 = 0$. Compute $s + t$.", "answer": 731, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(14916),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-734), Var(\"x\")), Const(-40872)), 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 \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Const(2)), Mul(Const(-700), Var(\"x1\")), Ref(\"_n\")), Const(0))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM"], "recipe_id": "038169", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["VIETA_SUM"], "num_lemmas": 1, "generation_time": 0.034, "created_at": "2026-02-08T18:56:22.570412Z", "verification": {"verified": true, "answer": 731, "timestamp": "2026-02-08T18:56:22.603949Z"}, "problem_hash": "78cb47", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 577}, "timestamp": "2026-02-13T00:42:14.849Z"}], "solution_status": 0, "lemma_applicability": {"VIETA_SUM": "ok", "K17": "no", "K5": "no", "L3c": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3d8664", "alias": "nt_sum_phi_v1_865884756_2812", "problem": "Let $m = 2$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 769$ and the sum of the digits of $n$ leaves a remainder of 1 when divided by $m$. Let $d$ be the smallest divisor of $|A|$ that is at least 2. Let $B$ be the set of all positive integers $j$ such that $1 \\leq j \\leq 465$ and $j^d \\leq 21740261540625$. Let $S = \\sum_{n=1}^{|B|} \\phi(n)$, where $\\phi$ is Euler's totient function. Find the remainder when $82269 \\cdot S$ is divided by 51031.", "answer": 26109, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_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(769)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(1))))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(465)), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(21740261540625))), domain='positive_integers')),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n1\")))),\n \"_c\": Const(82269),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51031)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/MIN_PRIME_FACTOR/C3"], "recipe_id": "b700bc", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.056, "created_at": "2026-02-08T16:57:12.167000Z", "verification": {"verified": true, "answer": 26109, "timestamp": "2026-02-08T16:57:12.223470Z"}, "problem_hash": "146689", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 592}, "timestamp": "2026-02-12T21:31:24.870Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "C3": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "K16": "no", "MOD_SUB": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6f0fa1", "alias": "diophantine_fbi2_min_v1_677425708_2163", "problem": "Let $c = 2$ and define $n_0$ to be the sum of all real solutions $x$ to the equation $x^2 - 2x - 624 = 0$. Let $k = \\sum_{d \\mid 48} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $d_0$ be the smallest integer $d$ such that $n_0 \\leq d \\leq 58$, $d$ divides $k$, and $k/d \\geq 7$. Compute the number of integers $t$ in the range $18 \\leq t \\leq 15160$ for which there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 215$, $1 \\leq b \\leq 1344$, and $t = 8a + 10b$. Then subtract $d_0$ from this count and report the result.", "answer": 7558, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(7),\n \"_n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-2), Var(\"x\")), Const(-624)), Const(0)))),\n \"k\": SumOverDivisors(n=Const(value=48), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": Const(58),\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\")), Ref(\"_m\"))))),\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=215)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1344)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=15160)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), 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", "VIETA_SUM/LIN_FORM", "K3"], "recipe_id": "243071", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "LIN_FORM", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T04:49:10.781174Z", "verification": {"verified": true, "answer": 7558, "timestamp": "2026-02-08T04:49:10.793525Z"}, "problem_hash": "f363df", "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": 317, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:10:02.809Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7558, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 317, "completion_tokens": 7075}, "timestamp": "2026-02-11T22:10:34.667Z"}, {"id": 8, "model": "mathstral", "answer": 1165, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 526}, "timestamp": "2026-02-14T01:25:55.777Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 452}, "timestamp": "2026-02-11T21:55:15.133Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "VIETA_SUM": "ok", "K13": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "ce45d4", "alias": "diophantine_product_count_v1_1978505735_6044", "problem": "Let $k$ be the largest positive divisor of 136440 that does not exceed 360. Let $r$ be the number of positive integers $x \\leq 301$ such that $x$ divides $k$ and $\\frac{k}{x} \\leq 301$. Compute the remainder when $16412 \\cdot r$ is divided by 51719.", "answer": 50750, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(360),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(136440))))),\n \"upper\": Const(301),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(16412),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51719)),\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"], "recipe_id": "51757e", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T19:23:45.298378Z", "verification": {"verified": true, "answer": 50750, "timestamp": "2026-02-08T19:23:45.309586Z"}, "problem_hash": "3ca027", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 227}, "timestamp": "2026-02-13T00:57:55.050Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3b": "no", "L3c": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4da832", "alias": "comb_count_partitions_v1_1520064083_6926", "problem": "Consider all integers $t$ for which there exist integers $a$ and $b$ satisfying\n$$1 \\le a \\le 188, \\quad 1 \\le b \\le 38, \\quad 15 \\le t \\le 1470, \\quad t = 6a + 9b.$$\nLet $N$ be the number of such integers $t$.\n\nAmong all ordered pairs $(x,y)$ of positive integers with $xy = N$, let $n$ be the minimum possible value of $x+y$. Let $P$ be the number of integer partitions of $n$. Let $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|P|+2$. Compute $Q$.", "answer": 50124, "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=188)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=38)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=1470)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))),\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\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\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/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T08:25:30.183138Z", "verification": {"verified": true, "answer": 50124, "timestamp": "2026-02-08T08:25:30.187261Z"}, "problem_hash": "5a09cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 100627948, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 5690}, "timestamp": "2026-02-13T18:16:43.813Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 625}, "timestamp": "2026-02-12T01:52:08.034Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "L3b": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "a1bdd1", "alias": "nt_count_coprime_and_v1_2051736721_4985", "problem": "Let $n = 69755$ and let $u = 57417$. Let $k_1 = 9$. Let $k_2$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 415800$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq u$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Let $c$ be the number of integers $t$ such that $7 \\leq t \\leq 2034$ and there exist positive integers $a \\leq 337$ and $b \\leq 272$ satisfying $t = 2a + 5b$. Compute the remainder when $c - |S|$ is divided by $n$. Compute the value of this remainder.", "answer": 52640, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(69755),\n \"upper\": Const(57417),\n \"k1\": Const(9),\n \"k2\": 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=415800)), 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\"), 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(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=337)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=272)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2034)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COPRIME_PAIRS"], "recipe_id": "e30a8c", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 5.577, "created_at": "2026-02-08T18:17:37.670516Z", "verification": {"verified": true, "answer": 52640, "timestamp": "2026-02-08T18:17:43.247726Z"}, "problem_hash": "f5b065", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 466}, "timestamp": "2026-02-12T23:59:17.861Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3103e9", "alias": "diophantine_sum_product_min_v1_2051736721_2753", "problem": "Let $S = 93$ and $P = 2150$. Determine the value of $x$, where $x$ is a positive integer satisfying $1 \\leq x \\leq 92$ and $x(S - x) = P$.", "answer": 43, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(93),\n \"P\": Const(2150),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(92)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["B1/MOBIUS_COPRIME", "DIVISOR_PARITY", "B3"], "recipe_id": "07f988", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B1", "B3", "C2", "DIVISOR_PARITY", "MOBIUS_COPRIME"], "num_lemmas": 5, "generation_time": 0.066, "created_at": "2026-02-08T16:53:18.404725Z", "verification": {"verified": true, "answer": 43, "timestamp": "2026-02-08T16:53:18.471219Z"}, "problem_hash": "bb3d69", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 323}, "timestamp": "2026-02-12T21:21:43.043Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok", "DIVISOR_PARITY": "ok", "MOBIUS_COPRIME": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6dd1e0", "alias": "antilemma_product_of_sums_v1_151522320_508", "problem": "Let $A$ be the number of positive integers $n \\leq 77$ that are relatively prime to $20$. Let $B$ be the number of integers $j$ with $0 \\leq j \\leq 31$ such that $\\binom{A}{j}$ is odd. Compute $\\left(\\sum_{k=1}^{13} k\\right) \\cdot B$.", "answer": 45136, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77),\n \"_n\": Const(31),\n \"x\": Mul(Summation(var=\"k\", start=Const(1), end=Const(13), expr=Var(\"k\")), SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=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(20)), Const(1))))), k=Var(\"j\")), modulus=Const(2)), Const(1)))))),\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", "C4"], "recipe_id": "1171cb", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:21:57.763404Z", "verification": {"verified": true, "answer": 45136, "timestamp": "2026-02-08T03:21:57.765311Z"}, "problem_hash": "302eda", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "PRODUCT_OF_SUMS": "ok", "K14": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "cb3299", "alias": "nt_sum_divisors_compute_v1_1742523217_1412", "problem": "Let $a_1 = 15$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 100$. Define $b_1$ to be the minimum value of $x + y$ over all such pairs.\n\nLet $n_1 = 15 \\cdot b_1 + 1$. Define $e$ to be the remainder when the number of positive divisors of $n_1$ is divided by $2$.\n\nLet $a = 2881$, $b = 47$, and $d_0 = \\gcd(a, b)$. Define $t$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $d_0$, where $\\mu$ denotes the M\\\"obius function.\n\nLet $n = 32761 + e$. Define $\\sigma(n)$ to be the sum of all positive divisors of $n$.\n\nCompute the remainder when $44121 \\cdot t \\cdot \\sigma(n)$ is divided by $98933$.", "answer": 53400, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"a1\": Const(15),\n \"b1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n1\": Sum(Mul(Ref(\"a1\"), Ref(\"b1\")), Const(1)),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"a\": Const(2881),\n \"b\": Const(47),\n \"t\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(32761), Ref(\"e\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Ref(\"_n\"), Ref(\"t\")), Ref(\"result\")), modulus=Const(98933)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/DIVISOR_PARITY", "MOBIUS_COPRIME"], "recipe_id": "344b76", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:59:10.105523Z", "verification": {"verified": true, "answer": 53400, "timestamp": "2026-02-08T03:59:10.109143Z"}, "problem_hash": "549a5d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "DIVISOR_PARITY": "ok_later", "K14": "no", "K16": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}, "split": "valid"} +{"id": "15edb4", "alias": "nt_count_coprime_v1_1918700295_1619", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 420$, $\\gcd(p, q) = 1$, and $p < q$. Let $N = |P|$. Let $R$ be the number of positive integers $n$ such that $1 \\leq n \\leq 32768$ and $\\gcd(n, 43) = 1$. Let $p_1 < p_2 < \\cdots < p_k$ be the list of all prime numbers $p$ such that $2 \\leq p \\leq 97$. Define\n$$\nQ = \\left( 353702 \\cdot |R| \\bmod p_k + 329703 \\cdot (|R|^2 \\bmod 101) + 215534 \\cdot (|R| \\bmod N) \\right) \\bmod 51080.\n$$\nFind the value of $Q$.", "answer": 47158, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(97),\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=420)), 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(32768),\n \"k\": Const(43),\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=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\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"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(\"_n\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(51080)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "2e8d48", "seed_template_id": "nt_count_coprime_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 2.553, "created_at": "2026-02-08T05:54:58.102944Z", "verification": {"verified": true, "answer": 47158, "timestamp": "2026-02-08T05:55:00.656388Z"}, "problem_hash": "19f6c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19710, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 2635}, "timestamp": "2026-02-12T17:14:27.198Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 335, "completion_tokens": 536}, "timestamp": "2026-02-11T23:22:53.667Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "no", "K14": "no", "LTE_DIFF_P2": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "f2cfd7", "alias": "antilemma_count_primes_v1_153355830_672", "problem": "Let $m=2$. For each ordered pair $(i,j)$ of integers with $1\\le i\\le 49$ and $1\\le j\\le 117$, consider the greatest common divisor $\\gcd(i,j)$. Let $n$ be the number of such ordered pairs for which $\\gcd(i,j)=1$.\n\nLet $x$ be the number of prime integers $n$ with $2\\le n\\le N$, where $N$ is the largest prime integer satisfying $m\\le N\\le n$.\n\nLet\n\\[Q = x + \\varphi\\bigl(|x|+1\\bigr) + \\tau\\bigl(|x|+\\varphi(1)\\bigr),\\]\nwhere $\\varphi$ denotes Euler's totient function and $\\tau$ denotes the number of positive divisors.\n\nCompute $Q$.", "answer": 998, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(49)), right=IntegerRange(start=Const(1), end=Const(117))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), 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')), EulerPhi(n=Const(1))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["COUNT_COPRIME_GRID/MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES", "ONE_PHI_1"], "recipe_id": "20b44e", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_PRIMES", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 5, "generation_time": 0.013, "created_at": "2026-02-08T04:06:43.352143Z", "verification": {"verified": true, "answer": 998, "timestamp": "2026-02-08T04:06:43.364745Z"}, "problem_hash": "662642", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "ok", "ONE_PHI_1": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "K13": "no", "K15": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "98a2f1", "alias": "nt_count_with_divisor_count_v1_548369836_159", "problem": "Let $p_1 = 2$ and $p = 5$. Define $t$ to be the remainder when $(p_1 - 1)! + 1$ is divided by $p_1$, and define $s$ to be the remainder when $(p - 1)! + 1$ is divided by $p$. Let $d = 8 + t + s$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 18225$ and the number of positive divisors of $n$ is exactly $d$. Let $Q$ be the multiplicative order of $2$ modulo $2|\\text{result}| + 3$. Find the value of $Q$.", "answer": 380, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(2),\n \"t\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Const(5),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"upper\": Const(18225),\n \"div_count\": Sum(Const(8), Ref(\"t\"), Ref(\"s\")),\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\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["WILSON"], "recipe_id": "963bac", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "WILSON"], "num_lemmas": 2, "generation_time": 2.38, "created_at": "2026-02-08T02:47:33.801262Z", "verification": {"verified": true, "answer": 380, "timestamp": "2026-02-08T02:47:36.181256Z"}, "problem_hash": "f9ce5c", "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": 268, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:55:16.404Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 264, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:29:10.067Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:37:05.951Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 66, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 1548}, "timestamp": "2026-02-09T02:58:43.754Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5002, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 4116}, "timestamp": "2026-02-09T09:39:05.138Z"}], "solution_status": 0, "lemma_applicability": {"WILSON": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "eac477", "alias": "comb_binomial_compute_v1_1918700295_1342", "problem": "Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 53$ and $n$ is divisible by 53. Let $m = 2$ and let $N$ be the number of prime numbers $n$ satisfying $m \\leq n \\leq \\sum_{a \\in A} a$. Let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 441000$, $\\gcd(p, q) = 1$, and $p < q$. Define $r = \\binom{N}{k}$. Find the remainder when $25247 \\cdot r$ is divided by 67287.", "answer": 67254, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(25247),\n \"n\": CountOverSet(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\"), Const(53)), Eq(Mod(value=Var(\"n\"), modulus=Const(53)), Const(0)))))), 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=441000)), 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(Ref(\"_n\"), Ref(\"result\")), modulus=Const(67287)),\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/COUNT_PRIMES", "COPRIME_PAIRS"], "recipe_id": "47e3c8", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T05:47:27.214756Z", "verification": {"verified": true, "answer": 67254, "timestamp": "2026-02-08T05:47:27.221146Z"}, "problem_hash": "5a0df6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67254, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 8047}, "timestamp": "2026-02-12T14:19:12.746Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 585}, "timestamp": "2026-02-11T23:06:15.678Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_DIVISIBLE": "ok", "COUNT_PRIMES": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3b": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "c988f7", "alias": "nt_lcm_compute_v1_677425708_1561", "problem": "Let $A$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1\\le a\\le 317,\\quad 1\\le b\\le 87,\\quad 11\\le t\\le 1877,\\quad t=4a+7b.\\]\n\nLet\n\\[B=\\sum_{k=1}^{59} \\varphi(k)\\left\\lfloor\\frac{59}{k}\\right\\rfloor,\\]\nwhere $\\varphi$ is Euler's totient function and $\\lfloor\\cdot\\rfloor$ is the greatest integer function.\n\nLet $R$ be the least common multiple of $A$ and $B$.\n\nLet $C$ be the number of positive integers $p$ for which there exists an integer $q$ such that\n\\[pq=2132802056489025271771921500,\\quad \\gcd(p,q)=1,\\quad p \\text{start}$, $n' \\leq \\text{upper}$, and $\\gcd(n', 325) = 1$. Compute the remainder when $|\\text{result}|$ is divided by $n$.", "answer": 7398, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77643),\n \"start\": Const(7396),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(859)))),\n \"modulus\": Const(325),\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=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.054, "created_at": "2026-02-08T17:06:02.162302Z", "verification": {"verified": true, "answer": 7398, "timestamp": "2026-02-08T17:06:02.216409Z"}, "problem_hash": "84198e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 393}, "timestamp": "2026-02-12T21:47:02.975Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e74ca7", "alias": "antilemma_k3_v1_1439011603_1784", "problem": "Let $n = 35812$. Define $x = \\sum_{d \\mid n} \\phi(d)$, where the sum is taken over all positive divisors $d$ of $n$, and $\\phi(d)$ is Euler's totient function. Let $S$ be the set of all integers $x_1$ such that $x_1^2 - 11x_1 - 242 \\equiv 15 \\pmod{15}$. Let $m$ be the number of elements in $S$. Compute the Bell number $B_r$, where $r$ is the remainder when $|x|$ is divided by $m$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(35812),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_m\")), Mul(Const(-11), Var(\"x1\")), Const(-242)), Mod(value=Const(15), modulus=Const(15))))))),\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_MOD_SELF", "K3"], "recipe_id": "a0b683", "seed_template_id": "antilemma_k3_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_MOD_SELF", "K13", "K3", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.01, "created_at": "2026-02-08T16:16:51.465312Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T16:16:51.475217Z"}, "problem_hash": "7720d4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 571}, "timestamp": "2026-02-12T10:19:59.010Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_MOD_SELF": "ok", "K3": "ok", "VIETA_SUM": "ok", "COUNT_PRIMES": "no", "K13": "no", "L3c": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d598c5", "alias": "comb_count_derangements_v1_784195855_3446", "problem": "Let $m = 210$. Let $n_0$ be the number of positive integers $n \\leq m$ such that the $n$-th Fibonacci number is divisible by 20. Let $n$ be the largest integer $k$ such that $n_0^k \\leq 1770680$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(210),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(20), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Ref(\"_n\"), Var(\"k\")), Const(1770680)))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MAX_VAL"], "recipe_id": "db6c46", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MAX_VAL"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:26:09.817050Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T06:26:09.818465Z"}, "problem_hash": "ff2cd4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 1921}, "timestamp": "2026-02-13T00:02:34.612Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 358}, "timestamp": "2026-02-12T00:03:15.817Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MAX_VAL": "ok_later", "COUNT_CARTESIAN": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0d102f", "alias": "modular_sum_quadratic_residues_v1_1742523217_3434", "problem": "Let $p$ be the number of positive integers $n$ with $1 \\leq n \\leq 2454$ such that the $n$th Fibonacci number is divisible by $4$. Let $r = \\frac{p(p-1)}{4}$. Let $c$ be the smallest integer at least $2$ that divides $2491$. Compute the value of\n$$\n3^{|r|} \\bmod 99991 + c.\n$$", "answer": 40319, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2454),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n')))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(2491))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "COUNT_FIB_DIVISIBLE"], "recipe_id": "12cace", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:52:01.296984Z", "verification": {"verified": true, "answer": 40319, "timestamp": "2026-02-08T05:52:01.301479Z"}, "problem_hash": "57eee5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 4299}, "timestamp": "2026-02-12T16:27:51.282Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 760}, "timestamp": "2026-02-11T23:18:22.382Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "79528e", "alias": "nt_count_digit_sum_v1_784195855_2546", "problem": "Let $p = 47$ and let $q$ be the largest prime number satisfying $2 \\leq q \\leq 76$. Define $n_1 = p \\cdot q$. Let $f = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function, defined as $(-1)^{\\Omega(n)}$ with $\\Omega(n)$ the total number of prime factors of $n$ counted with multiplicity. Let $c = \\left( \\sum_{d \\mid 2173} \\phi(d) \\right) - 2173$, where $\\phi$ is Euler's totient function. Let $u$ be the number of positive integers $n \\leq 24997$ such that $\\gcd(n, 20) = 1$. Let $r$ be the number of positive integers $n \\leq u$ such that the sum of the decimal digits of $n$ is $13$. Compute the remainder when $44121 \\cdot f \\cdot r$ is divided by $81058 + c$.", "answer": 21942, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"p\": Const(47),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(76)), IsPrime(Var(\"n\"))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"f\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(2173),\n \"c\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(24997)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1))))),\n \"target_sum\": Const(13),\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(Mul(Ref(\"_n\"), Ref(\"f\")), Ref(\"result\")), modulus=Sum(Const(81058), 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/LIOUVILLE_ONE", "EULER_TOTIENT_SUM", "C4"], "recipe_id": "114092", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C4", "EULER_TOTIENT_SUM", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.725, "created_at": "2026-02-08T05:50:53.939185Z", "verification": {"verified": true, "answer": 21942, "timestamp": "2026-02-08T05:50:54.664356Z"}, "problem_hash": "27e95e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "EULER_TOTIENT_SUM": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "DS2": "no", "K16": "no", "MOD_ADD": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "bbdda9", "alias": "diophantine_product_count_v1_1526740231_99", "problem": "Let $n = 840$ and let $k$ be the largest positive divisor of $719880$ that does not exceed $n$. Let $u = 473$. Compute the number of positive integers $x \\leq u$ such that $x$ divides $k$ and $\\frac{k}{x} \\leq u$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(840),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(719880))))),\n \"upper\": Const(473),\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": "K13", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K13", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.045, "created_at": "2026-02-08T11:20:55.246402Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T11:20:55.291810Z"}, "problem_hash": "14b8ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 30, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 115, "completion_tokens": 2971}, "timestamp": "2026-02-14T11:56:33.871Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 350}, "timestamp": "2026-02-12T03:50:14.856Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "d4c5ef", "alias": "nt_min_coprime_above_v1_784195855_7525", "problem": "Let $m$ be the number of integers $t$ with $10 \\leq t \\leq 338$ that can be written as $3a + 7b$ for positive integers $a \\leq 101$ and $b \\leq 5$. Let $r$ be the smallest integer greater than 10404 and at most 10731 that is relatively prime to $m$. Compute the remainder when the Bell number $B_r$, where $r$ is taken modulo the largest prime at most 11, is divided by 97820.", "answer": 18155, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"start\": Const(10404),\n \"upper\": Const(10731),\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=101)), 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=338)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"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=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\"), Const(11)), IsPrime(Var(\"n\"))))))), modulus=Const(97820)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "4b337f", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.15, "created_at": "2026-02-08T09:22:49.019990Z", "verification": {"verified": true, "answer": 18155, "timestamp": "2026-02-08T09:22:49.170291Z"}, "problem_hash": "5a7ae3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18155, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 161, "completion_tokens": 3586}, "timestamp": "2026-02-14T03:28:57.709Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 408}, "timestamp": "2026-02-12T02:51:24.162Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "K5": "no", "MOD_ADD": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e3a760", "alias": "nt_min_phi_inverse_v1_1125832087_2319", "problem": "Let $N$ be the number of integers $t$ such that $20\\le t\\le 6702$ and there exist integers $a$ and $b$ with $1\\le a\\le 1019$ and $1\\le b\\le 42$ satisfying\n$$t=6a+14b.$$\nLet $u$ be the smallest integer with $1\\le u\\le 70$ and $\\varphi(u)=20$, where $\\varphi$ denotes Euler's totient function.\n\nLet $M$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=9261000,\\quad \\gcd(p,q)=1,\\quad p p$ such that $pq = 108$ and $\\gcd(p, q) = 1$. Let $k$ be the number of such integers $p$. Determine the largest integer $e$ such that $k^e$ divides $\\binom{n}{40}$. Compute the value of $e$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(40),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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 \"x\": MaxKDivides(target=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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(1562500)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), 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": "LIN_FORM", "lemma_paths": ["COPRIME_PAIRS/V7", "B3/B3/V7", "V7"], "recipe_id": "f76fe3", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "LIN_FORM", "V7"], "num_lemmas": 4, "generation_time": 0.259, "created_at": "2026-02-08T02:23:13.969523Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T02:23:14.228529Z"}, "problem_hash": "0b2a9d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 1929}, "timestamp": "2026-02-08T18:28:24.862Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 1796}, "timestamp": "2026-02-08T19:14:45.357Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:03:56.387Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2062}, "timestamp": "2026-02-09T14:03:05.652Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "V7": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "valid"} +{"id": "de8c8f", "alias": "geo_visible_lattice_v1_124444284_3847", "problem": "Let $n = 144$. Define $P$ to be the number of visible lattice points $(x, y)$ such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the remainder when $$\\sum_{k=1}^{P} \\phi(k)$$ is divided by $68929$, where $\\phi$ denotes Euler's totient function.", "answer": 53796, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(144),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(80), Const(80)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(68929)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 1.048, "created_at": "2026-02-08T05:38:33.199197Z", "verification": {"verified": true, "answer": 53796, "timestamp": "2026-02-08T05:38:34.246762Z"}, "problem_hash": "d8053a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 130, "completion_tokens": 4731}, "timestamp": "2026-02-12T11:53:19.351Z"}, {"id": 8, "model": "mathstral", "answer": 144, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 422}, "timestamp": "2026-02-14T20:37:14.561Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 510}, "timestamp": "2026-02-11T22:53:54.196Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "e533e5", "alias": "modular_modexp_compute_v1_124444284_3323", "problem": "Let $a$ be the largest prime number $n$ with $2 \\leq n \\leq T$, where $T$ is the number of integers $t$ with $7 \\leq t \\leq 28$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 2$, $1 \\leq b \\leq 9$, and $t = 5a + 2b$. Let $e$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 197136$. Let $r$ be the remainder when $a^e$ is divided by $47524$. Find the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 9204, "graph": "graphs = [\n Graph(\n let={\n \"a\": 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=2)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"e\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(197136)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(47524),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.03, "created_at": "2026-02-08T05:21:36.669223Z", "verification": {"verified": true, "answer": 9204, "timestamp": "2026-02-08T05:21:36.698958Z"}, "problem_hash": "51f5d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 3464}, "timestamp": "2026-02-12T06:48:48.664Z"}, {"id": 8, "model": "mathstral", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 867}, "timestamp": "2026-02-14T12:36:01.642Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 284, "completion_tokens": 521}, "timestamp": "2026-02-11T22:28:23.772Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "5296a0", "alias": "diophantine_fbi2_count_v1_1978505735_3219", "problem": "Let $k = 420$. Consider the set of all integers $d$ such that $3 \\leq d \\leq 101$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 100$. Compute the number of elements in this set.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"a\": Const(2),\n \"b\": Const(1),\n \"upper\": Const(99),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(101)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(100))))),\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/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.346, "created_at": "2026-02-08T17:29:04.797112Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T17:29:05.142641Z"}, "problem_hash": "0e39b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 480}, "timestamp": "2026-02-12T22:43:44.804Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K13": "no", "K14": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "91254a", "alias": "comb_count_permutations_fixed_v1_784195855_3183", "problem": "Let $n = 6$. Let $S$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 16$ and $k \\equiv 0 \\pmod{16}$. Define $k = \\sum_{d \\mid \\sum S} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Compute the value of $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Let $Q$ be the remainder when this value is multiplied by $21323$ and then divided by $61812$. Find $Q$.", "answer": 25703, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61812),\n \"n\": Const(6),\n \"k\": SumOverDivisors(n=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=16)), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=16)), right=Const(value=0))))), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(21323), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_SUM"], "recipe_id": "88064c", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:17:33.361050Z", "verification": {"verified": true, "answer": 25703, "timestamp": "2026-02-08T06:17:33.362774Z"}, "problem_hash": "16a3c4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "MOBIUS_SUM": "ok_later", "K13": "no", "K14": "no", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "761fe2", "alias": "antilemma_sum_primes_v1_153355830_1071", "problem": "Let $x$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 279$. Let $c$ be the smallest divisor $d$ of $899$ such that $d \\geq 2$. Compute the value of $$\\sum_{i=0}^{t-1} \\left( \\text{digit}_i(x) \\cdot (i+1)^2 \\right) + c,$$ where $t$ is the number of digits in $x$, and $\\text{digit}_i(x)$ denotes the $i$-th digit of $x$ (starting from the units place as $i=0$).", "answer": 189, "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(279)), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(899))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MIN_PRIME_FACTOR", "SUM_PRIMES"], "recipe_id": "15da94", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T04:22:19.046871Z", "verification": {"verified": true, "answer": 189, "timestamp": "2026-02-08T04:22:19.085113Z"}, "problem_hash": "24a69c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_PRIMES": "ok", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}, "split": "valid"} +{"id": "7f803f", "alias": "nt_min_with_divisor_count_v1_1520064083_9816", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 4356$. Let $T$ be the set of all values $x + y$ where $(x,y) \\in S$. Let $m$ be the minimum element of $T$. Let $A$ be the set of all integers $n$ such that $1 \\le n \\le m$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $d$ be the number of elements in $A$. Let $B$ be the set of all positive integers $n$ such that $1 \\le n \\le 16129$ and the number of positive divisors of $n$ is equal to $d$. Let $r$ be the smallest element of $B$. Compute the remainder when $|r|$ is divided by $52284$.", "answer": 60, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(16129),\n \"div_count\": 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(4356)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(52284)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 5.877, "created_at": "2026-02-08T11:00:37.808447Z", "verification": {"verified": true, "answer": 60, "timestamp": "2026-02-08T11:00:43.685670Z"}, "problem_hash": "6a170d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 60, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1882}, "timestamp": "2026-02-14T10:05:50.002Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 501}, "timestamp": "2026-02-12T03:35:12.811Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "K13": "no", "K17": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "37d4f8", "alias": "modular_count_residue_v1_1918700295_368", "problem": "Let $m$ be the smallest prime divisor of $19343$. Let $r$ be the number of positive integers $n \\leq 53$ such that $\\gcd(n, 10) = 1$. Determine the number of positive integers $n \\leq 42025$ such that $n \\equiv r \\pmod{m}$. Compute this count.", "answer": 1827, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19343),\n \"upper\": Const(42025),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(53)), Eq(GCD(a=Var(\"n\"), b=Const(10)), EulerPhi(n=Const(2)))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["MIN_PRIME_FACTOR", "ONE_PHI_2", "C4"], "recipe_id": "3c4296", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "LTE_DIFF", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 5.965, "created_at": "2026-02-08T03:11:38.443397Z", "verification": {"verified": true, "answer": 1827, "timestamp": "2026-02-08T03:11:44.408072Z"}, "problem_hash": "2bba58", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "K13": "no", "K14": "no", "L3c": "no", "MOD_ADD": "no", "V7": "no"}, "split": "valid"} +{"id": "f92e87", "alias": "modular_product_range_v1_784195855_1283", "problem": "Let $m = 99615$. Let $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 3$ and $1 \\leq j \\leq 22$ such that $\\gcd(i, j) = \\phi(1)$, where $\\phi$ is Euler's totient function. Let $P$ be the product of all integers from $n$ to 137 inclusive. Let $r$ be the remainder when $P$ is divided by 10993. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 55$ and $1 \\leq j \\leq 147$ such that $\\gcd(i, j) = 1$. Compute the remainder when $c \\cdot r$ is divided by $m$.", "answer": 66573, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(99615),\n \"_n\": 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(3)), right=IntegerRange(start=Const(1), end=Const(22))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=Const(137)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10993)),\n \"Q\": Mod(value=Mul(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(55)), right=IntegerRange(start=Const(1), end=Const(147))))), 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_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID", "ONE_PHI_1"], "recipe_id": "2c427d", "seed_template_id": "modular_product_range_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:57:29.151152Z", "verification": {"verified": true, "answer": 66573, "timestamp": "2026-02-08T04:57:29.153779Z"}, "problem_hash": "4502b6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "COUNT_CARTESIAN": "no", "K13": "no", "K18": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no"}, "split": "valid"} +{"id": "b1bedd", "alias": "nt_count_gcd_equals_v1_1978505735_6474", "problem": "Let $n = 1859$ and let $U = 14161$. Define $k$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 42025$. Let $d$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq m$, where $m$ is the smallest divisor of $n$ that is at least 2. Determine the value of the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq U$ and $\\gcd(n_1, k) = d$.", "answer": 1381, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1859),\n \"upper\": Const(14161),\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(42025)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Ref(\"_n\")))))), IsPrime(Var(\"n\"))))),\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(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "B3"], "recipe_id": "a5d2df", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 1.042, "created_at": "2026-02-08T19:36:24.449336Z", "verification": {"verified": true, "answer": 1381, "timestamp": "2026-02-08T19:36:25.491190Z"}, "problem_hash": "be8356", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7080, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 453}, "timestamp": "2026-02-13T01:07:18.346Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "K17": "no", "K18": "no", "L3b": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "85bda0", "alias": "nt_sum_totient_over_divisors_v1_1520064083_4620", "problem": "Let $p = 13$, and let $e$ be the remainder when $(p-1)! + \\phi(2)$ is divided by $p$. Let $n_1 = 43$, and define $m = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Let $n = (62637 + e) \\cdot m$. Define $\\text{result}$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ is Euler's totient function. Compute $\\text{result}$.", "answer": 62637, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(13),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), EulerPhi(n=Const(2))), modulus=Ref(\"p\")),\n \"n1\": Const(43),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Mul(Sum(Const(62637), Ref(\"e\")), Ref(\"m\")),\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": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "WILSON", "ONE_PHI_2"], "recipe_id": "98b424", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "ONE_PHI_2", "WILSON"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:21:33.503928Z", "verification": {"verified": true, "answer": 62637, "timestamp": "2026-02-08T06:21:33.507457Z"}, "problem_hash": "8ff945", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SQUAREFREE": "ok", "ONE_PHI_2": "ok", "WILSON": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K18": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "0b9706", "alias": "sequence_lucas_compute_v1_124444284_445", "problem": "Let $n$ be the number of prime numbers $p$ such that $2 \\leq p \\leq d_{\\max}$, where $d_{\\max}$ is the largest positive divisor of $5609$ that is at most $71$. Compute the $n$-th Lucas number.", "answer": 15127, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(71)), Divides(divisor=Var(\"d\"), dividend=Const(5609)))))), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/COUNT_PRIMES"], "recipe_id": "a28bab", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:17:46.504586Z", "verification": {"verified": true, "answer": 15127, "timestamp": "2026-02-08T03:17:46.506721Z"}, "problem_hash": "a6f4d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15127, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 1719}, "timestamp": "2026-02-09T17:43:59.017Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15127, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 1532}, "timestamp": "2026-02-09T02:14:58.870Z"}, {"id": 8, "model": "mathstral", "answer": 4181, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 117, "completion_tokens": 369}, "timestamp": "2026-02-11T18:14:39.591Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6765, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 358}, "timestamp": "2026-02-11T20:39:24.894Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "8c31cf", "alias": "diophantine_sum_product_min_v1_1978505735_2678", "problem": "Let $S = 23$ and $P = 76$. Determine the value of the smallest positive integer $x$ such that $1 \\leq x \\leq 22$ and $x(S - x) = P$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(23),\n \"P\": Const(76),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(22)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.274, "created_at": "2026-02-08T17:06:25.431283Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T17:06:25.705722Z"}, "problem_hash": "6a1a6a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 418}, "timestamp": "2026-02-12T21:54:36.397Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "268fd3", "alias": "nt_count_coprime_v1_655260480_1481", "problem": "Let $S$ be the set of all pairs $(a, b)$ of positive integers with $a \\leq 28$, $b \\leq 7$, and $21a + 15b$ in the interval $[36, 693]$. Let $P$ be the number of distinct values of $21a + 15b$ as $(a, b)$ ranges over $S$. Let $k$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = P$. Compute the number of positive integers $n \\leq 57600$ such that $\\gcd(n, k) = 1$.", "answer": 24686, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(57600),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=28)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=693)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=15), Var(name='b')))))))))))), 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(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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 8.396, "created_at": "2026-02-08T16:09:31.363326Z", "verification": {"verified": true, "answer": 24686, "timestamp": "2026-02-08T16:09:39.759534Z"}, "problem_hash": "791cef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 616}, "timestamp": "2026-02-12T09:57:22.222Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "de9fda", "alias": "nt_count_divisible_v1_458359167_781", "problem": "Let $A$ be the set of positive integers $n$ such that $n \\leq 30625$ and $n$ is divisible by 26. Let $r = |A|$. For each positive integer $k \\leq 124$, let $$s_k = \\left\\lfloor \\frac{t}{k} \\right\\rfloor,$$ where $t$ is the number of integers expressible as $3a + 2b + 4$ for some integers $a, b$ with $1 \\leq a \\leq 10$ and $1 \\leq b \\leq 50$, and $9 \\leq 3a + 2b + 4 \\leq 134$. Define $$c = \\sum_{k=1}^{124} \\phi(k) \\cdot s_k.$$ Compute $c - r$.", "answer": 6573, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(124),\n \"upper\": Const(30625),\n \"divisor\": 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(\"divisor\")), Const(0))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=50)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=134)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=4)))))))), Var(\"k\"))))),\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/K2"], "recipe_id": "dd12c6", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.843, "created_at": "2026-02-08T03:32:48.100009Z", "verification": {"verified": true, "answer": 6573, "timestamp": "2026-02-08T03:32:50.943149Z"}, "problem_hash": "e2461f", "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": 296, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:47:51.527Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 296, "completion_tokens": 5034}, "timestamp": "2026-02-10T13:43:27.888Z"}, {"id": 8, "model": "mathstral", "answer": 62046, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 1032}, "timestamp": "2026-02-12T18:07:22.707Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 627}, "timestamp": "2026-02-11T20:57:38.849Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "K2": "ok_later", "C2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "7d06e6", "alias": "nt_min_coprime_above_v1_784195855_2334", "problem": "Let $n = 2$. Define $n_1 = (4 \\cdot 8)^n$. Let $m$ be the remainder when the number of positive divisors of $n_1$ is divided by 2. Let $u = \\left( \\sum_{d \\mid 219} \\phi(d) \\right) - 219$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 262144$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $M = 194 \\cdot m + u$. Determine the value of the smallest integer $n$ such that $s < n \\leq 1228$ and $\\gcd(n, M) = 1$.", "answer": 1025, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(4),\n \"b\": Const(8),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Ref(\"_n\")),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(219),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"start\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(262144)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(1228),\n \"modulus\": Sum(Mul(Const(194), Ref(\"m\")), Ref(\"u\")),\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": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "DIVISOR_PARITY", "B3"], "recipe_id": "96a964", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "DIVISOR_PARITY", "EULER_TOTIENT_SUM"], "num_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T05:41:40.950382Z", "verification": {"verified": true, "answer": 1025, "timestamp": "2026-02-08T05:41:40.970387Z"}, "problem_hash": "21d175", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "DIVISOR_PARITY": "ok", "EULER_TOTIENT_SUM": "ok", "COUNT_COPRIME_GRID": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8": "no"}, "split": "valid"} +{"id": "f889df", "alias": "nt_sum_totient_over_divisors_v1_1742523217_1907", "problem": "Let $p$ be the smallest prime divisor of $229210813$. Define $u$ to be the remainder when $(p-1)! + 1$ is divided by $p$. Let $a = 51$ and $b = 85$. Define $t$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a,b)$, where $\\mu$ denotes the Möbius function. Let $n = 24909 + u + t$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function.", "answer": 24909, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24909),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(229210813))))),\n \"u\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Const(51),\n \"b\": Const(85),\n \"t\": 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(\"u\"), Ref(\"t\")),\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/WILSON", "MOBIUS_COPRIME"], "recipe_id": "40b124", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "WILSON"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T04:20:31.940663Z", "verification": {"verified": true, "answer": 24909, "timestamp": "2026-02-08T04:20:31.949123Z"}, "problem_hash": "5e2884", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "WILSON": "ok_later", "K16": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "509b31", "alias": "nt_lcm_compute_v1_717093673_1200", "problem": "Let $N = 2350$. Define $a$ to be the largest positive integer $d \\leq N$ that divides $5524850$. Let $b = 1122$ and define $\\text{result} = \\text{lcm}(a, b)$. Let $Q = \\left( \\sum_{n=1}^{\\left|\\text{result}\\right|} \\tau(n) \\right) \\bmod 95486$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Compute $Q$.", "answer": 66376, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2350),\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=Const(5524850))))),\n \"b\": Const(1122),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(95486)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:56:07.098387Z", "verification": {"verified": true, "answer": 66376, "timestamp": "2026-02-08T15:56:07.101759Z"}, "problem_hash": "10a0d1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 533}, "timestamp": "2026-02-12T09:29:15.103Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4d016a", "alias": "antilemma_v8_lucas_1125832087_793", "problem": "Let $m = 2549$ and let $n$ be the largest prime number satisfying $2 \\leq n \\leq 2550$. Let $x$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq n$ and $\\binom{m}{j}$ is odd. Let $c = 10289$, and define $Q$ to be the remainder when $c \\cdot x$ is divided by $73082$. Find the value of $Q$.", "answer": 3032, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2549),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2550)), IsPrime(Var(\"n\"))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_c\": Const(10289),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(73082)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/V8", "V8"], "recipe_id": "f58adb", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:19:15.730888Z", "verification": {"verified": true, "answer": 3032, "timestamp": "2026-02-08T03:19:15.732844Z"}, "problem_hash": "4e87c4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V8": "ok", "K17": "no", "K18": "no", "L3c": "no", "MOD_ADD": "no", "V7": "no"}, "split": "valid"} +{"id": "0ec704", "alias": "nt_count_intersection_v1_655260480_658", "problem": "Let $N$ be the largest positive integer $d$ such that $d \\leq 10000$ and $d$ divides $100090000$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq N$, $5$ divides $n$, and $\\gcd(n, 12) = 1$. Find the value of $\\text{result}$.", "answer": 667, "graph": "graphs = [\n Graph(\n let={\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(10000)), Divides(divisor=Var(\"d\"), dividend=Const(100090000))))),\n \"a\": Const(5),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.404, "created_at": "2026-02-08T15:30:44.639436Z", "verification": {"verified": true, "answer": 667, "timestamp": "2026-02-08T15:30:45.043402Z"}, "problem_hash": "e95682", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 477}, "timestamp": "2026-02-12T08:40:34.485Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "K15": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "675d34", "alias": "modular_product_range_v1_1978505735_5146", "problem": "Let $d_{\\text{max}}$ be the largest positive integer $d$ such that $d \\leq 99$ and $d$ divides 10593. Define $P$ to be the product $$\n\nP = \\prod_{i=d_{\\text{max}}}^{199} i.\n\n$$ Let $n = 10111$. Compute the remainder when $P$ is divided by $n$.", "answer": 3980, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10111),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(99)), Divides(divisor=Var(\"d\"), dividend=Const(10593))))), end=Const(199)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:48:10.051282Z", "verification": {"verified": true, "answer": 3980, "timestamp": "2026-02-08T18:48:10.054142Z"}, "problem_hash": "a1f8e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 681}, "timestamp": "2026-02-13T00:34:25.441Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "452243", "alias": "nt_min_with_divisor_count_v1_153355830_2863", "problem": "Let $\\text{upper} = 5184$ and $\\text{div\\_count} = 4$. Consider the set of all positive integers $n \\leq \\text{upper}$ such that $n$ has exactly $\\text{div\\_count}$ positive divisors. Let $r$ be the minimum element of this set. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left((|r|^2 + 1) \\bmod 101\\right) + 215534 \\cdot \\left((|r| + 1 + 2 + 3 + 4) \\bmod 103\\right)\n$$\nis divided by $1009091$, and then compute the remainder when that result is divided by $63463$.", "answer": 44053, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(5184),\n \"div_count\": Const(4),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\"))), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(63463)),\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"], "recipe_id": "8bfd9a", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.397, "created_at": "2026-02-08T07:26:46.660774Z", "verification": {"verified": true, "answer": 44053, "timestamp": "2026-02-08T07:26:47.057555Z"}, "problem_hash": "07dcf6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44053, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 1052}, "timestamp": "2026-02-13T10:25:37.849Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 439}, "timestamp": "2026-02-12T01:04:08.265Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "5cfd5c", "alias": "antilemma_cartesian_v1_1978505735_4776", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 30$ and $1 \\leq j \\leq 45$. Let $Q$ be the remainder when $95509 \\cdot x$ is divided by $71048$. Compute $Q$.", "answer": 56078, "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(45)))),\n \"Q\": Mod(value=Mul(Const(95509), Ref(\"x\")), modulus=Const(71048)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:30:28.190348Z", "verification": {"verified": true, "answer": 56078, "timestamp": "2026-02-08T18:30:28.191450Z"}, "problem_hash": "41e8a7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 310}, "timestamp": "2026-02-13T00:14:19.657Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "728bbf", "alias": "modular_mod_compute_v1_717093673_447", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 6001$ and the sum of the digits of $n$ is divisible by $2$. Let $r$ be the remainder when $a$ is divided by $84100$. Let $p$ be the largest prime number less than or equal to $11$. Compute the Bell number $B_k$, where $k$ is the remainder when $|r|$ is divided by $p$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6001)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_n\")), Const(0))))),\n \"m\": Const(84100),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "L3B"], "recipe_id": "31ae58", "seed_template_id": "modular_mod_compute_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:27:50.612071Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T15:27:50.616691Z"}, "problem_hash": "c7cc59", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 478}, "timestamp": "2026-02-12T08:31:04.821Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "K14": "no", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3a72ba", "alias": "nt_count_squarefree_v1_1520064083_126", "problem": "Let $\\mu(n)$ denote the Möbius function. Let $\\text{upper} = 30625$, and let $R$ be the number of integers $n$ with $1 \\le n \\le \\text{upper}$ such that\n\\[\\mu(n) \\cdot \\mu(n) = 1.\n\\]\n\nLet $k$ be the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 9$.\n\nLet $e$ be the largest integer such that $3^e$ divides $k!$, where $k!$ is the factorial of $k$.\n\nLet\n\\[B = \\sum_{n = \\varphi(e)}^{|R|} \\tau(n),\\]\nwhere $\\varphi$ is Euler's totient function and $\\tau(n)$ is the number of positive divisors of $n$.\n\nLet $Q$ be the remainder when $B$ is divided by $58589$.\n\nFind the value of $Q$.\"", "answer": 10215, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\n \"upper\": Const(30625),\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=Summation(var=\"n\", start=EulerPhi(n=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\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Const(3))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(58589)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/V1/ONE_PHI_2"], "recipe_id": "e7eb38", "seed_template_id": "nt_count_squarefree_v1", "ending_id": "sum_divisor_count", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "ONE_PHI_2", "V1"], "num_lemmas": 3, "generation_time": 3.991, "created_at": "2026-02-08T03:05:29.419432Z", "verification": {"verified": true, "answer": 10215, "timestamp": "2026-02-08T03:05:33.410600Z"}, "problem_hash": "676a5f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_2": "ok_later", "V1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "L3c": "no", "V5": "no"}, "split": "valid"} +{"id": "db6b84", "alias": "diophantine_fbi2_min_v1_124444284_1607", "problem": "Let $p_1, p_2, \\dots, p_k$ be the prime numbers satisfying $2 \\leq p_i \\leq 6$. Define $D$ as the set of all positive integers $d$ such that $d$ is at least the largest of these primes, $d \\leq 26$, $d$ divides $16$, and $\\frac{16}{d} \\geq 2$. Let $m$ be the smallest element of $D$. Find the remainder when $|m|$ is divided by $94404$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"k\": Const(16),\n \"upper\": Const(26),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\")))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(94404)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_1", "C5"], "recipe_id": "f575e4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.064, "created_at": "2026-02-08T04:02:26.275450Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T04:02:26.339767Z"}, "problem_hash": "13d500", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K17": "no", "K18": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "cd460a", "alias": "nt_num_divisors_compute_v1_1470522791_429", "problem": "Let $n = 51984$. Compute the number of positive divisors of $n$.", "answer": 45, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(51984),\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_COPRIME_GRID", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T13:00:58.092867Z", "verification": {"verified": true, "answer": 45, "timestamp": "2026-02-08T13:00:58.110800Z"}, "problem_hash": "4fa778", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 36, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 324}, "timestamp": "2026-02-12T06:01:47.931Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_SUM_EQUALS": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e49adb", "alias": "comb_count_surjections_v1_717093673_615", "problem": "Let $n = 7$. Let $k$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3\\}$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Compute the Bell number $B_{r \\bmod 11}$, where $B_m$ is the number of partitions of a set of size $m$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": 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"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:33:25.595267Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T15:33:25.597990Z"}, "problem_hash": "bde07d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 328}, "timestamp": "2026-02-12T08:40:06.967Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3eeedf", "alias": "nt_count_coprime_and_v1_1520064083_9092", "problem": "Let $ k_1 $ be the largest integer $ d $ such that $ 1 \\leq d \\leq 3 $ and $ d $ divides 33. Let $ k_2 = 5 $. Compute the number of positive integers $ n $ such that $ 1 \\leq n \\leq 42828 $, $ \\gcd(n, k_1) = 1 $, and $ \\gcd(n, k_2) = 1 $.", "answer": 22842, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(42828),\n \"k1\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(3)), Divides(divisor=Var(\"d\"), dividend=Const(33))))),\n \"k2\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 4.667, "created_at": "2026-02-08T10:32:28.598903Z", "verification": {"verified": true, "answer": 22842, "timestamp": "2026-02-08T10:32:33.265753Z"}, "problem_hash": "5edf36", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22842, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 722}, "timestamp": "2026-02-14T07:41:47.052Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 561}, "timestamp": "2026-02-12T03:20:08.917Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "DS2": "no", "K15": "no", "K16": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "2a2ab1", "alias": "algebra_poly_eval_v1_1520064083_7162", "problem": "Let $x = 6$. Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of elements in $P$. Let $E$ be the set of all positive integers $n$ with $1 \\leq n \\leq 1062$ such that the sum of the decimal digits of $n$ is even. Let $m$ be the number of elements in $E$. Define\n$$\nR = \\frac{90x^5 + 181x^4 - 239x^3 - 18x^k - 296x + 30}{m}.\n$$Compute the remainder when $44121 \\cdot R$ is divided by $72067$.", "answer": 4613, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30),\n \"x\": Const(6),\n \"result\": Div(Sum(Mul(Const(90), Pow(Ref(\"x\"), Const(5))), Mul(Const(181), Pow(Ref(\"x\"), Const(4))), Mul(Const(-239), Pow(Ref(\"x\"), Const(3))), Mul(Const(-18), Pow(Ref(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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(Const(-296), Ref(\"x\")), Ref(\"_n\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1062)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(72067)),\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", "L3B"], "recipe_id": "f7212b", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T08:47:53.912341Z", "verification": {"verified": true, "answer": 4613, "timestamp": "2026-02-08T08:47:53.919138Z"}, "problem_hash": "99ff09", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25154, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 4391}, "timestamp": "2026-02-13T21:39:13.646Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 542}, "timestamp": "2026-02-12T02:12:58.559Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok", "C2": "no", "K13": "no", "K18": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "501bb1", "alias": "antilemma_count_primes_v1_865884756_451", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 409$. Let $c$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 9567$ and $\\gcd(n_1, 10) = 1$. Compute the remainder when $c \\cdot x$ is divided by $98307$.", "answer": 11239, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98307),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(409)), IsPrime(Var(\"n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(9567)), Eq(GCD(a=Var(\"n1\"), b=Const(10)), Const(1))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "COUNT_PRIMES"], "recipe_id": "2a5afe", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "affine_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C4", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T15:25:26.415315Z", "verification": {"verified": true, "answer": 11239, "timestamp": "2026-02-08T15:25:26.417610Z"}, "problem_hash": "bacf7a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "COUNT_PRIMES": "ok", "K13": "no", "K17": "no", "MAX_VAL": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "15154b", "alias": "nt_count_intersection_v1_865884756_418", "problem": "Let $a_1$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 729$. Let $b_1 = 216$, and define $h = \\sum_{d \\mid \\gcd(a_1, b_1)} \\mu(d)$. Let $N$ be the number of positive integers $n_1$ with $1 \\le n_1 \\le 150000$ such that the $n_1$-th Fibonacci number is divisible by $10$. Define $a = 7 + \\omega(1) + h$ and $b = 10$. Determine the number of positive integers $n_2$ such that $1 \\le n_2 \\le N$, $a$ divides $n_2$, and $\\gcd(n_2, b) = 1$.", "answer": 571, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"a1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(729)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b1\": Const(216),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(150000)), Divides(divisor=Const(10), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"a\": Sum(Const(7), Ref(\"u\"), Ref(\"h\")),\n \"b\": Const(10),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME", "COUNT_FIB_DIVISIBLE", "OMEGA_ZERO"], "recipe_id": "a326f5", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "MOBIUS_COPRIME", "OMEGA_ZERO"], "num_lemmas": 4, "generation_time": 0.551, "created_at": "2026-02-08T15:21:32.426426Z", "verification": {"verified": true, "answer": 571, "timestamp": "2026-02-08T15:21:32.977606Z"}, "problem_hash": "f1977b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok", "OMEGA_ZERO": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "L3b": "no", "L3c": "no"}, "split": "valid"} +{"id": "299e7b", "alias": "diophantine_fbi2_min_v1_1440796553_34", "problem": "Let $n = 6$. Let $p_1 = 7$ and $n_1 = p_1^2$. Define $h = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $p = 67$ and let $q = h \\cdot \\max\\{n \\mid 2 \\leq n \\leq 99 \\text{ and } n \\text{ is prime}\\}$. Define $n = (p \\cdot q)^2$. Let $m$ be the remainder when the number of positive divisors of $n$ is divided by 2. Define $k = 55 \\cdot m$. Compute the minimum value of $d$ such that $6 \\leq d \\leq 65$, $d$ divides $k$, and $\\frac{k}{d} \\geq 5$. Let $Q = 40 - d$. Determine the value of $Q$.", "answer": 29, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"p1\": Const(7),\n \"n1\": Pow(Ref(\"p1\"), Const(2)),\n \"h\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Const(67),\n \"q\": Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(99)), IsPrime(Var(\"n\"))))), Ref(\"h\")),\n \"n\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"k\": Mul(Const(55), Ref(\"m\")),\n \"upper\": Const(65),\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(5))))),\n \"Q\": Sub(Const(40), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_ONE/DIVISOR_PARITY"], "recipe_id": "1db3c5", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T11:12:52.361256Z", "verification": {"verified": true, "answer": 29, "timestamp": "2026-02-08T11:12:52.371949Z"}, "problem_hash": "43155e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_ONE": "ok_later", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "5527e8", "alias": "nt_lcm_compute_v1_1520064083_1355", "problem": "Let $a = 2332$. Define $B$ as the set of all positive integers $n$ such that $1 \\leq n \\leq 4061$ and $\\gcd(n, 30) = 1$. Let $b$ be the number of elements in $B$. Let $L = \\operatorname{lcm}(a, b)$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 141376$. Let $s_{\\min}$ be the minimum value of $x + y$ over all pairs $(x, y) \\in S$. Compute the remainder when $s_{\\min} \\cdot L$ is divided by $96509$.", "answer": 17501, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2332),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(4061)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\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(141376)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(96509)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "C4"], "recipe_id": "06ef29", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:55:58.024349Z", "verification": {"verified": true, "answer": 17501, "timestamp": "2026-02-08T03:55:58.028620Z"}, "problem_hash": "94bf30", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17448, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 2319}, "timestamp": "2026-02-10T16:12:55.195Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 17501, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 2491}, "timestamp": "2026-02-10T14:46:13.371Z"}, {"id": 8, "model": "mathstral", "answer": 56272, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 975}, "timestamp": "2026-02-13T02:38:02.500Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 413}, "timestamp": "2026-02-11T21:14:58.211Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "C4": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "4fc1ff", "alias": "antilemma_v7_kummer_1742523217_4966", "problem": "Let $c = 785$. Let $d$ be a positive integer such that $d \\leq c$ and $d$ divides 635065. Define $m$ to be the largest such $d$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 24649$. For each pair $(x, y)$ in $S$, compute $x + y$, and let $s$ be the smallest of these sums. Define $x$ to be the largest integer $k$ such that $3^k$ divides $\\binom{m}{s}$. Compute $x$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(785),\n \"_m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_c\")), Divides(divisor=Var(\"d\"), dividend=Const(635065))))),\n \"_n\": Const(3),\n \"x\": MaxKDivides(target=Binom(n=Ref(\"_m\"), 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(24649)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["MAX_DIVISOR/B3/V7", "V7"], "recipe_id": "c74790", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C4", "MAX_DIVISOR", "V7"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T10:41:31.196386Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T10:41:31.210770Z"}, "problem_hash": "7469ed", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "V7": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "e8f7c2", "alias": "comb_binomial_compute_v1_124444284_4295", "problem": "Let $T$ be the set of integers $t$ such that $29 \\leq t \\leq 67$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 7$, and\n$$\nt = 14a + 4b + 11.\n$$\nLet $n$ be the number of elements in $T$. Let $P$ be the set of all positive integers $p$ such that $p < q$, $pq = 308700$, and $\\gcd(p, q) = 1$. Let $k$ be the number of elements in $P$. Compute $\\binom{n}{k}$.", "answer": 3003, "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=7)), Geq(left=Var(name='t'), right=Const(value=29)), Leq(left=Var(name='t'), right=Const(value=67)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=11)))))))),\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=308700)), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T05:54:04.996486Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T05:54:05.000489Z"}, "problem_hash": "d533b2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3003, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 193, "completion_tokens": 1685}, "timestamp": "2026-02-12T16:38:48.270Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 262, "completion_tokens": 553}, "timestamp": "2026-02-11T23:19:52.676Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "db4a75", "alias": "nt_count_divisible_v1_1874849503_253", "problem": "Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 60516$ and $n$ is divisible by 12. Let $a$ be the number of elements in $A$. Let $B$ be the set of all integers $t$ such that $14 \\leq t \\leq 68$ and $t = 10a + 4b$ for some integers $a \\in \\{1,2\\}$ and $b \\in \\{1,2,\\dots,12\\}$. Let $b$ be the number of elements in $B$. Define $c = \\sum_{k=1}^{b} k$. Compute the remainder when $c - a$ is divided by 54644.", "answer": 49901, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60516),\n \"divisor\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=14)), Leq(left=Var(name='t'), right=Const(value=68)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), expr=Var(\"k\")),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(54644)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_ARITHMETIC"], "recipe_id": "1c5c0a", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 3.88, "created_at": "2026-02-08T12:53:35.910871Z", "verification": {"verified": true, "answer": 49901, "timestamp": "2026-02-08T12:53:39.790623Z"}, "problem_hash": "3a8f68", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 49901, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 280, "completion_tokens": 2106}, "timestamp": "2026-02-09T15:03:14.463Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 49901, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 1776}, "timestamp": "2026-02-10T05:27:15.276Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 236, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:23:10.274Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 567}, "timestamp": "2026-02-12T05:53:05.223Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -7.22, "mid": -2.87, "hi": 1.35}, "split": "valid"} +{"id": "468089", "alias": "sequence_count_fib_divisible_v1_898971024_2428", "problem": "Let $d = 17$, and let $D$ be the set of all positive integers $d_1 \\leq 905$ that divide $820835$. Let $u$ be the largest element of $D$. Determine the number of positive integers $n \\leq u$ for which the $n$th Fibonacci number is divisible by $d$.", "answer": 100, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(905)), Divides(divisor=Var(\"d1\"), dividend=Const(820835))))),\n \"d\": Const(17),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.129, "created_at": "2026-02-08T16:44:12.964187Z", "verification": {"verified": true, "answer": 100, "timestamp": "2026-02-08T16:44:13.093603Z"}, "problem_hash": "72abe6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 438}, "timestamp": "2026-02-12T20:54:29.423Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "K18": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a2a47a", "alias": "comb_bell_compute_v1_1520064083_7240", "problem": "Let $n = 8$. Define $B_n$ to be the $n$th Bell number, which counts the number of partitions of a set of $n$ elements. Let $S$ be the set of all positive integers $n \\leq 11$ such that $n$ is divisible by the smallest divisor $d \\geq 2$ of $224939$. Let $k$ be the number of elements in $S$. Compute the Bell number $B_{|B_8| \\bmod k}$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"n\": Const(8),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=Var(\"n\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(224939)))))), Const(0))))))),\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/SUM_DIVISIBLE"], "recipe_id": "652ad5", "seed_template_id": "comb_bell_compute_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T08:51:04.158991Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T08:51:04.160820Z"}, "problem_hash": "dd393d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 1066}, "timestamp": "2026-02-13T22:03:23.480Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 260}, "timestamp": "2026-02-12T02:15:59.678Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_DIVISIBLE": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "6db136", "alias": "comb_binomial_compute_v1_717093673_1006", "problem": "Let $n = 12$ and $k = 7$. Let $r = \\binom{n}{k}$. Let $c$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 61172$ and $\\binom{61172}{j}$ is odd. Compute $c - r$.", "answer": 1256, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(12),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(61172)), Eq(Mod(value=Binom(n=Const(61172), 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": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T15:47:25.637812Z", "verification": {"verified": true, "answer": 1256, "timestamp": "2026-02-08T15:47:25.640419Z"}, "problem_hash": "f5ab1a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29794, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 391}, "timestamp": "2026-02-12T09:12:38.617Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "L3b": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "977a0c", "alias": "comb_binomial_compute_v1_784195855_3851", "problem": "Let $m = 2$. Define $T$ as the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 64$. Let $s$ be the minimum value of $x + y$ as $(x, y)$ ranges over $T$. Let $n$ be the largest prime number $n$ such that $m \\leq n \\leq s$. Let $k = 6$, and define $r = \\binom{n}{k}$. Define $U$ as the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 9084196$. Let $t$ be the minimum value of $x + y$ as $(x, y)$ ranges over $U$. Find the remainder when $t \\cdot r$ is divided by $97191$. Determine the value of this remainder.", "answer": 41802, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(97191),\n \"n\": 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(64)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\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(9084196)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW", "B3"], "recipe_id": "fd33c1", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:40:20.044448Z", "verification": {"verified": true, "answer": 41802, "timestamp": "2026-02-08T06:40:20.047639Z"}, "problem_hash": "f95af2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41802, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 1311}, "timestamp": "2026-02-13T03:05:25.947Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 375}, "timestamp": "2026-02-12T00:20:58.069Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b14b48", "alias": "modular_min_linear_v1_124444284_3164", "problem": "Let $m$ be the largest positive integer $d$ such that $1 \\le d \\le 5712$ and $d$ divides $32792592$. Let $a = 5293$ and $b = 1611$. Let $S$ be the set of all positive integers $x$ such that $1 \\le x \\le m$ and $ax \\equiv b \\pmod{m}$. Compute the smallest element of $S$. Let $Q$ be the remainder when $56759$ times this smallest element is divided by $77217$. Find the value of $Q$.", "answer": 36669, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(5293),\n \"b\": Const(1611),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(5712)), Divides(divisor=Var(\"d\"), dividend=Const(32792592))))),\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(56759),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(77217)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.234, "created_at": "2026-02-08T05:17:01.044381Z", "verification": {"verified": true, "answer": 36669, "timestamp": "2026-02-08T05:17:01.278839Z"}, "problem_hash": "0b7114", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39819, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 3338}, "timestamp": "2026-02-12T05:50:38.949Z"}, {"id": 8, "model": "mathstral", "answer": 72602, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 829}, "timestamp": "2026-02-14T10:35:22.152Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9113, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 429}, "timestamp": "2026-02-11T22:23:08.557Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "e12b71", "alias": "nt_min_coprime_above_v1_809748730_1348", "problem": "Let $n = 93933$. Define $S$ as the set of all integers $t$ such that $11 \\leq t \\leq 329$ and there exist integers $a$ and $b$ satisfying $1 \\leq a \\leq 14$, $1 \\leq b \\leq 39$, and $t = 4a + 7b$. Let $m = |S|$, the number of elements in $S$. Let $T$ be the set of all integers $n$ such that $19600 < n \\leq 19911$ and $\\gcd(n, m) = 1$. Let $r$ be the smallest element of $T$. Let $p$ be the largest prime number less than or equal to 12. Compute the remainder when the Bell number $B_{r \\bmod p}$ is divided by $n$. Determine the value of this remainder.", "answer": 22042, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93933),\n \"start\": Const(19600),\n \"upper\": Const(19911),\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=14)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=39)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=329)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "4b337f", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.036, "created_at": "2026-02-08T12:22:39.980121Z", "verification": {"verified": true, "answer": 22042, "timestamp": "2026-02-08T12:22:40.016186Z"}, "problem_hash": "804397", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 490}, "timestamp": "2026-02-12T05:09:03.974Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a0cf56", "alias": "nt_count_divisible_v1_48377204_1838", "problem": "Let $N = 76788$. Let $A$ be the number of positive integers $n$ such that $1 \\leq n \\leq 66666$ and $n$ is divisible by $21$. Let $B$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 11118907800$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $B - A$ is divided by $N$.", "answer": 73678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76788),\n \"upper\": Const(66666),\n \"divisor\": Const(21),\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(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=11118907800)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), 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"], "recipe_id": "c90628", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 3.441, "created_at": "2026-02-08T16:26:56.701760Z", "verification": {"verified": true, "answer": 73678, "timestamp": "2026-02-08T16:27:00.142950Z"}, "problem_hash": "2678b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 544}, "timestamp": "2026-02-12T10:45:58.630Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K15": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "aee603", "alias": "nt_count_digit_sum_v1_898971024_1915", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 30$. Let $m$ be the maximum value of $xy$ over all such pairs. Let $T$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = m$. Let $n$ be the minimum value of $x_1 + y_1$ over all such pairs. Define $\\phi(d)$ as Euler's totient function. Let $s = \\sum_{d \\mid n} \\phi(d)$. Determine the number of positive integers $n'$ such that $1 \\leq n' \\leq 407044$ and the sum of the decimal digits of $n'$ is equal to $s$. Let $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $s + 2$. Compute $Q$.", "answer": 2790, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(30),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"y1\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y1')), Eq(Mul(Var(\"x1\"), Var(\"y1\")), Ref(\"_m\")))), expr=Sum(Var(\"x1\"), Var(\"y1\")))),\n \"upper\": Const(407044),\n \"target_sum\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/K3"], "recipe_id": "2e31a9", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "K3"], "num_lemmas": 3, "generation_time": 19.255, "created_at": "2026-02-08T16:25:02.290414Z", "verification": {"verified": true, "answer": 2790, "timestamp": "2026-02-08T16:25:21.545466Z"}, "problem_hash": "cc9c02", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 730}, "timestamp": "2026-02-12T10:35:44.495Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "K3": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a8e024", "alias": "diophantine_fbi2_min_v1_677425708_308", "problem": "Let $T$ be the set of integers $t$ such that $7 \\le t \\le 22$ and there exist positive integers $a \\le 6$, $b \\le 2$ satisfying $t = 2a + 5b$. Let $k$ be the number of elements in $T$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 121$, and define $s_{\\min}$ to be the minimum value of $x+y$ over all such pairs. Let $d_{\\min}$ be the smallest divisor $d$ of $k$ such that $d \\ge 3$ and $k/d \\ge 3$. Let $m$ be the smallest divisor of $17303$ that is at least $2$. Compute the Bell number $B_r$, where $r$ is the remainder when $|d_{\\min}|$ is divided by $m$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(121)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(17303))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["MIN_PRIME_FACTOR", "LIN_FORM", "B3"], "recipe_id": "fdf3c4", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 4, "generation_time": 0.035, "created_at": "2026-02-08T03:12:58.912994Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T03:12:58.948254Z"}, "problem_hash": "e40fc9", "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": 314, "completion_tokens": 1605}, "timestamp": "2026-02-08T20:27:39.572Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 310, "completion_tokens": 1754}, "timestamp": "2026-02-10T01:53:00.825Z"}, {"id": 8, "model": "mathstral", "answer": 52, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 808}, "timestamp": "2026-02-11T17:05:36.081Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 613}, "timestamp": "2026-02-11T20:30:33.648Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "L3b": "no", "LTE_DIFF": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "920c5c", "alias": "antilemma_count_primes_v1_1125832087_1106", "problem": "Let $\\mathcal{T}_1$ be the set of all integers $t$ such that $18 \\leq t \\leq 2958$ and there exist positive integers $a \\leq 296$ and $b \\leq 59$ for which $t = 8a + 10b$. Let $n$ be the number of elements in $\\mathcal{T}_1$. Let $x$ be the number of prime numbers $p$ such that $2 \\leq p \\leq n$. Let $\\mathcal{T}_2$ be the set of all integers $t$ such that $7 \\leq t \\leq 8341$ and there exist positive integers $a \\leq 813$ and $b \\leq 2950$ for which $t = 3a + 2b + 2$. Let $c$ be the number of elements in $\\mathcal{T}_2$. Find the remainder when $c \\cdot x$ is divided by $81573$.", "answer": 57077, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(2),\n \"_m\": Const(81573),\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=296)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=59)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=2958)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_d\")), Leq(Var(\"n\"), Ref(\"_n\")), 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=813)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2950)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=8341)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=2)))))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_PRIMES", "LIN_FORM", "COUNT_PRIMES"], "recipe_id": "871225", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:31:14.950491Z", "verification": {"verified": true, "answer": 57077, "timestamp": "2026-02-08T03:31:14.953024Z"}, "problem_hash": "7cd883", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "DS2": "no", "K14": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V5": "no"}, "split": "valid"} +{"id": "90fe02", "alias": "geo_count_lattice_rect_v1_971394319_1766", "problem": "Let $a = 324$ and $b = 142$. Define $R$ to be the number of lattice points $(x, y)$ such that $0 \\le x \\le a$ and $0 \\le y \\le b$. Let $Q$ be the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|R| + 2$. Find the value of $Q$.", "answer": 23239, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(324),\n \"b\": Const(142),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T13:54:16.871954Z", "verification": {"verified": true, "answer": 23239, "timestamp": "2026-02-08T13:54:16.874039Z"}, "problem_hash": "91c807", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 329}, "timestamp": "2026-02-12T07:30:26.487Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "44c39c", "alias": "antilemma_k3_v1_1742523217_5214", "problem": "Let $c = 4324$. Define $n = \\sum_{d \\mid c} \\varphi(d)$ and $x = \\sum_{d \\mid n} \\varphi(d)$. Let $S$ be the set of all real numbers $t$ such that $t^2 - 2222t - 20079 = 0$. Compute $\\left(x^2 + 4x + \\sum S\\right) \\bmod{69945}$.", "answer": 41179, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4324),\n \"_m\": Const(4),\n \"_n\": SumOverDivisors(n=Ref(name='_c'), var='d', expr=EulerPhi(n=Var(name='d'))),\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\"), Const(2)), Mul(Const(-2222), Var(\"x\")), Const(-20079)), Const(0))))), modulus=Const(69945)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM", "K3/K3", "K3"], "recipe_id": "cde176", "seed_template_id": "antilemma_k3_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T10:51:52.679878Z", "verification": {"verified": true, "answer": 41179, "timestamp": "2026-02-08T10:51:52.683576Z"}, "problem_hash": "66fcc1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 41179, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 3054}, "timestamp": "2026-02-14T09:03:54.417Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 526}, "timestamp": "2026-02-12T03:29:26.084Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "25c852", "alias": "sequence_count_fib_divisible_v1_655260480_3245", "problem": "Let $ d = 20 $. Determine the number of positive integers $ n $ such that $ 1 \\leq n \\leq 563 $ and $ d $ divides the $ n $-th Fibonacci number. Compute this number.", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(563),\n \"d\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["L3B/K14"], "recipe_id": "ff1b67", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.103, "created_at": "2026-02-08T17:17:06.134495Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T17:17:06.237669Z"}, "problem_hash": "79f717", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 70, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 501}, "timestamp": "2026-02-12T22:13:41.587Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "K14": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "MAX_VAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "20ccf4", "alias": "nt_count_coprime_v1_2051736721_1563", "problem": "Let $n = 42$. Let $k$ be the largest positive divisor of 1974 that does not exceed $n$. Compute the number of positive integers $n'$ not exceeding 44521 such that $\\gcd(n', k) = 1$.", "answer": 12721, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(42),\n \"upper\": Const(44521),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1974))))),\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_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 9.707, "created_at": "2026-02-08T16:06:20.356076Z", "verification": {"verified": true, "answer": 12721, "timestamp": "2026-02-08T16:06:30.063154Z"}, "problem_hash": "e2204b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 412}, "timestamp": "2026-02-12T09:51:24.443Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K5": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2220ab", "alias": "antilemma_cartesian_v1_458359167_5438", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 41, inclusive, and $b$ is an integer from 1 to 45, inclusive. Compute the remainder when $44121x$ is divided by $57734$.", "answer": 56039, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(41)), right=IntegerRange(start=Const(1), end=Const(45)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(57734)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:29:57.530461Z", "verification": {"verified": true, "answer": 56039, "timestamp": "2026-02-08T12:29:57.530976Z"}, "problem_hash": "bf2df3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 337}, "timestamp": "2026-02-12T05:19:10.536Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7e10bd", "alias": "nt_sum_divisors_mod_v1_2051736721_4574", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 35, inclusive, and $b$ is an integer from 1 to 36, inclusive. Let $\\sigma$ be the sum of all positive divisors of $n$. Compute the remainder when $\\sigma$ is divided by 11617.", "answer": 4368, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(36)))),\n \"M\": Const(11617),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:02:55.137096Z", "verification": {"verified": true, "answer": 4368, "timestamp": "2026-02-08T18:02:55.138336Z"}, "problem_hash": "dd9ccf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4368, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 406}, "timestamp": "2026-02-12T23:35:44.026Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "4ea7c6", "alias": "nt_count_gcd_equals_v1_677425708_781", "problem": "Let $k$ be the sum of all real solutions $x$ to the equation $x^2 - 45x - 3154 = 0$. Let $d$ be the smallest positive integer $n$ such that $3^4$ divides $n!$.\n\nDetermine the number of positive integers $n \\leq 29890$ for which $\\gcd(n, k) = d$.", "answer": 2657, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(29890),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-45), Var(\"x\")), Const(-3154)), Const(0)))),\n \"d\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(4)), domain='Z_{>0}')),\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": ["VIETA_SUM", "V5"], "recipe_id": "b37f18", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "V5", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 5.471, "created_at": "2026-02-08T03:43:40.501219Z", "verification": {"verified": true, "answer": 2657, "timestamp": "2026-02-08T03:43:45.972096Z"}, "problem_hash": "3f17d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2657, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 1452}, "timestamp": "2026-02-09T11:50:32.892Z"}], "solution_status": 2, "lemma_applicability": {"V5": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K17": "no", "L3b": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "767532", "alias": "geo_visible_lattice_v1_1918700295_4576", "problem": "Let $n = 120$. Define $L$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the remainder when\n$$\n\\sum_{k=1}^{L} \\phi(k)\n$$\nis divided by $92675$, where $\\phi(k)$ denotes Euler's totient function.\\n\\nFind the value of $Q$.\\n", "answer": 33434, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(120),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(53), Const(53)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(92675)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.694, "created_at": "2026-02-08T09:28:23.937321Z", "verification": {"verified": true, "answer": 33434, "timestamp": "2026-02-08T09:28:24.630824Z"}, "problem_hash": "dca5ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 145, "completion_tokens": 6255}, "timestamp": "2026-02-14T04:31:55.397Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 701}, "timestamp": "2026-02-12T02:58:36.230Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "8f94b3", "alias": "nt_count_intersection_v1_784195855_1017", "problem": "Let $a$ be the smallest prime factor of $539$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 23$, and let $m$ be the number of elements in $P$. Let $B$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$, and let $b$ be the minimum value of $x + y$ over all such pairs. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 20000$, $a$ divides $n$, and $\\gcd(n, b) = 1$. Compute the number of elements in $S$.", "answer": 953, "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(23)), IsPrime(Var(\"n\"))))),\n \"N\": Const(20000),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(539))))),\n \"b\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/B3", "MIN_PRIME_FACTOR"], "recipe_id": "fa96c6", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 11.184, "created_at": "2026-02-08T04:47:30.953407Z", "verification": {"verified": true, "answer": 953, "timestamp": "2026-02-08T04:47:42.137331Z"}, "problem_hash": "cc8178", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 953, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 1436}, "timestamp": "2026-02-11T22:00:23.377Z"}, {"id": 8, "model": "mathstral", "answer": 1403, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 593}, "timestamp": "2026-02-14T00:18:52.484Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2857, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 561}, "timestamp": "2026-02-11T21:50:22.542Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "B3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "66c1e4", "alias": "diophantine_fbi2_count_v1_1248542787_548", "problem": "Let $k = 60$. Consider the set of all positive integers $d$ such that $6 \\leq d \\leq 55$, $d$ divides $k$, and $6 \\leq \\frac{k}{d} \\leq m$, where $m$ is the largest integer such that $5^m$ divides $j!$, and $j$ is the number of positive integers at most 225 whose fifth power is at most 576650390625. Determine the value of the number of such integers $d$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Const(55)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(6)), Leq(Div(Ref(\"k\"), Var(\"d\")), MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(225)), Leq(Pow(Var(\"j\"), Const(5)), Const(576650390625))), domain='positive_integers'))), base=Ref(\"_n\")))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/V1"], "recipe_id": "fa78e5", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "V1"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T03:12:27.089820Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T03:12:27.096741Z"}, "problem_hash": "35bd3c", "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": 227, "completion_tokens": 2260}, "timestamp": "2026-02-09T05:27:27.878Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 223, "completion_tokens": 1546}, "timestamp": "2026-02-09T18:10:16.387Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:45:37.470Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "V1": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K15": "no", "K5": "no", "V7": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.89, "hi": 1.35}, "split": "valid"} +{"id": "d6d59a", "alias": "algebra_quadratic_discriminant_v1_48377204_1174", "problem": "Let $c$ be the number of integers $t$ in the range $26 \\leq t \\leq 59$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 5$, and $t = 9a + 6b + 11$. Let $n$ be the number of positive integers $p < q$ such that $pq = 216$ and $\\gcd(p, q) = 1$. Define $r = 2^n - 4 \\cdot 3 \\cdot c$. Compute $31684 - r$.", "answer": 31800, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(3),\n \"b\": Const(2),\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=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=26)), Leq(left=Var(name='t'), right=Const(value=59)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b')), Const(value=11)))))))),\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=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')))))))), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sub(Const(31684), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:55:42.303219Z", "verification": {"verified": true, "answer": 31800, "timestamp": "2026-02-08T15:55:42.308865Z"}, "problem_hash": "93e224", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 336}, "timestamp": "2026-02-12T09:25:37.607Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "L3b": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9baa14", "alias": "nt_count_gcd_equals_v1_458359167_328", "problem": "Let $n$ be a positive integer. Define $k$ to be the largest integer such that $19^k$ divides $130321^m$, where $m$ is the number of positive integers at most $1359$ that are divisible by $9$ and relatively prime to $10$. Let $d = 2$. Compute the number of positive integers at most $16384$ that are relatively prime to $k$ and have greatest common divisor $d$ with $k$. Denote this count by $c$. Find the value of $$\\sum_{n=1}^{|c|} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 34065, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(19),\n \"upper\": Const(16384),\n \"k\": MaxKDivides(target=Pow(Const(130321), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1359)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1)))))), base=Ref(\"_n\")),\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\": 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": "C5", "lemma_paths": ["C5/K14"], "recipe_id": "566d1a", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "K14"], "num_lemmas": 2, "generation_time": 1.257, "created_at": "2026-02-08T03:11:53.234816Z", "verification": {"verified": true, "answer": 34065, "timestamp": "2026-02-08T03:11:54.491611Z"}, "problem_hash": "831715", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "K14": "ok_later", "K13": "no", "K16": "no", "K18": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "83c5f5", "alias": "antilemma_cartesian_v1_1915831931_3736", "problem": "Compute the number of ordered pairs $(a, b)$ such that $a$ is an integer from $1$ to $11$, inclusive, and $b$ is an integer from $1$ to $29$, inclusive. Let $X$ be this number. Find $33856 - X$.", "answer": 33537, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(29)))),\n \"_c\": Const(33856),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:51:29.563787Z", "verification": {"verified": true, "answer": 33537, "timestamp": "2026-02-08T17:51:29.564828Z"}, "problem_hash": "30a760", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 33537, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 175}, "timestamp": "2026-02-12T23:18:26.440Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "d541d5", "alias": "nt_min_with_divisor_count_v1_1742523217_5558", "problem": "Let $n = 5$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 2125764$. Define $\\text{upper}$ to be the minimum value of $x + y$ as $(x,y)$ ranges over $S$. Let $\\text{div\\_count} = 8$. Let $\\text{result}$ be the smallest positive integer $n$ such that $n \\leq \\text{upper}$ and $n$ has exactly $8$ positive divisors. Compute the value of $$\\text{result} + 2^{\\text{result} \\bmod \\left(\\sum_{k=1}^{5} \\varphi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor\\right)} \\bmod 93423.$$", "answer": 536, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\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(2125764)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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 \"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=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))))), modulus=Const(93423))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "ONE_PHI_1", "B3"], "recipe_id": "f9c0b6", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "mod_exp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K2", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.116, "created_at": "2026-02-08T11:04:33.281294Z", "verification": {"verified": true, "answer": 536, "timestamp": "2026-02-08T11:04:33.397664Z"}, "problem_hash": "b9c9a8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "K2": "ok", "ONE_PHI_1": "ok", "K15": "no", "K16": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "split": "valid"} +{"id": "b13d2e", "alias": "comb_count_surjections_v1_124444284_1391", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i \\le 8$ and $1 \\le j \\le 8$ such that $i + j = 8$. Compute the value of $(26^2 - 7! \\cdot S(7, k)) \\bmod 62762$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 58398, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(62762),\n \"n\": Const(7),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(8)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(8))))),\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(26)), right=IntegerRange(start=Const(1), end=Const(26)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T03:51:47.764546Z", "verification": {"verified": true, "answer": 58398, "timestamp": "2026-02-08T03:51:47.780570Z"}, "problem_hash": "9d1e0a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 58398, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 2277}, "timestamp": "2026-02-10T15:56:37.575Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 58398, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 518}, "timestamp": "2026-02-10T14:34:14.299Z"}, {"id": 8, "model": "mathstral", "answer": 16650, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 154, "completion_tokens": 655}, "timestamp": "2026-02-13T01:25:55.919Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 58498, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 374}, "timestamp": "2026-02-11T20:13:14.293Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "ca0118", "alias": "comb_sum_binomial_row_v1_1439011603_2481", "problem": "Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 19$ such that there exist positive integers $a \\in [1,3]$ and $b \\in [1,5]$ satisfying $t = 3a + 2b$. Let $r$ 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 $s = r^n$. Compute the remainder when $33913 \\cdot s$ is divided by $57307$.\\n\\nFind the value of this remainder.", "answer": 48267, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57307),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=19)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\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 \"_c\": Const(33913),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:49:47.786674Z", "verification": {"verified": true, "answer": 48267, "timestamp": "2026-02-08T16:49:47.790088Z"}, "problem_hash": "2e2adf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 578}, "timestamp": "2026-02-12T21:13:15.257Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9b908a", "alias": "antilemma_v8_lucas_677425708_3676", "problem": "Let $n=2$. Consider the set of all nonnegative integers $j$ with $0\\le j\\le 65511$ such that\n$$\\binom{65511}{j}\\equiv 1\\pmod{2}.$$\nLet $x$ be the number of elements in this set.\n\nLet $G$ be the greatest integer $k$ such that $5^k$ divides\n$$6^{1220703125} - 1^{1220703125}.$$\nLet\n$$S = \\sum_{d\\mid G} \\mu(d),$$\nwhere the sum is taken over all positive divisors $d$ of $G$, and $\\mu$ is the Möbius function.\n\nLet\n$$T = |x| + S,$$\nwhere $|x|$ denotes the absolute value of $x$, and let $U = \\varphi(T)$, where $\\varphi$ is Euler's totient function.\n\nLet $V = |x| + 1$, and let $W$ be the number of positive divisors of $V$.\n\nFinally, let\n$$Q = x + U + W.$$\n\nCompute $Q$.", "answer": 28936, "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(65511)), Eq(Mod(value=Binom(n=Const(65511), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers')),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), SumOverDivisors(n=GCD(a=Const(value=9), b=MaxKDivides(target=Sub(left=Pow(base=Const(value=6), exp=Const(value=1220703125)), right=Pow(base=Const(value=1), exp=Const(value=1220703125))), base=Const(value=5))), var='d', expr=MoebiusMu(n=Var(name='d'))))), 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": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/MOBIUS_COPRIME", "V8"], "recipe_id": "13ac19", "seed_template_id": "antilemma_v8_lucas", "ending_id": "arith_invariants", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "MOBIUS_COPRIME", "V8"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:53:35.768306Z", "verification": {"verified": true, "answer": 28936, "timestamp": "2026-02-08T05:53:35.770710Z"}, "problem_hash": "50d1f3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF": "ok", "V8": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "split": "valid"} +{"id": "cfc8bd", "alias": "antilemma_count_primes_v1_1520064083_164", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 919$. Let $Q$ be the number of positive integers $k$ from $1$ to $65536$ inclusive that are divisible by $16$, minus $x$. Find the value of $Q$.", "answer": 3939, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(919)), IsPrime(Var(\"n\"))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(65536)), Divides(divisor=Const(16), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2", "COUNT_PRIMES"], "recipe_id": "74d5dd", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:06:56.505339Z", "verification": {"verified": true, "answer": 3939, "timestamp": "2026-02-08T03:06:56.507649Z"}, "problem_hash": "7cb773", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "K13": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "88f099", "alias": "nt_count_divisible_v1_898971024_827", "problem": "Let $\\text{upper} = 60025$ and $\\text{divisor} = 27$. Define $\\text{result}$ to be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $n \\equiv 0 \\pmod{27}$. Let $Q$ be the remainder when $\\left( \\text{the number of nonnegative integers } j \\leq 80727 \\text{ such that } \\binom{80727}{j} \\text{ is odd} \\right) - \\text{result}$ is divided by $60594$. Find the value of $Q$.", "answer": 60419, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80727),\n \"upper\": Const(60025),\n \"divisor\": Const(27),\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(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(80727)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")), modulus=Const(60594)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 3.664, "created_at": "2026-02-08T15:40:34.267088Z", "verification": {"verified": true, "answer": 60419, "timestamp": "2026-02-08T15:40:37.931563Z"}, "problem_hash": "9fcaef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 38141, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 432}, "timestamp": "2026-02-12T09:01:09.263Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "COUNT_SUM_EQUALS": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "024f93", "alias": "diophantine_product_count_v1_124444284_8637", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1982464$. Let $T$ be the set of all values $x + y$ where $(x,y) \\in S$. Define $n_0$ to be the minimum element of $T$. \n\nLet $U$ be the set of all integers $n$ such that $1 \\leq n \\leq n_0$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $u$ be the number of elements in $U$. \n\nNow consider all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $420$, and $\\frac{420}{x} \\leq u$. \n\nCompute the number of such integers $x$.", "answer": 22, "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(1982464)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(420),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.091, "created_at": "2026-02-08T11:51:15.862828Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T11:51:15.953346Z"}, "problem_hash": "3ac402", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 2570}, "timestamp": "2026-02-14T19:42:17.143Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 453}, "timestamp": "2026-02-12T04:40:49.164Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "C2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "88d874", "alias": "nt_sum_totient_over_divisors_v1_1742523217_3522", "problem": "Let $n = 23847$. Define $\\text{result}$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function. Let $A = 7^{\\text{result}} \\mod 99991$, where the result is taken as the unique integer in $[0, 99990]$. Let $B$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 48463$ and $\\binom{48463}{j}$ is odd. Define $Q = A + B$. Compute $Q$.", "answer": 67496, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48463),\n \"n\": Const(23847),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(48463)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), EulerPhi(n=Const(2)))), domain='nonnegative_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "ONE_PHI_2"], "recipe_id": "cbf81e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ONE_PHI_2", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:55:34.926359Z", "verification": {"verified": true, "answer": 67496, "timestamp": "2026-02-08T05:55:34.928443Z"}, "problem_hash": "1b4eef", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"ONE_PHI_2": "ok", "V8": "ok", "K13": "no", "K15": "no", "K18": "no", "K5": "no", "LTE_DIFF": "no"}, "split": "valid"} +{"id": "1e91f9", "alias": "nt_sum_totient_over_divisors_v1_677425708_3927", "problem": "Let $n_2$ be the largest integer $k$ such that $43^k$ divides $43^{125}$. Define $c = \\lambda(n_2) + 1$, where $\\lambda$ denotes the Liouville function. Let $n_1 = 20519$ and $m = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Set $n = 37717 + c + m$. Compute $\\sum_{d \\mid n} \\varphi(d)$, where $\\varphi$ is Euler's totient function.", "answer": 37717, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(37717),\n \"n2\": MaxKDivides(target=Pow(Const(43), Const(125)), base=Const(43)),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\n \"n1\": Const(20519),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"n\": Sum(Ref(\"_n\"), Ref(\"c\"), Ref(\"m\")),\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": "K14", "lemma_paths": ["K14/LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "bac15f", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K14", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:04:13.524150Z", "verification": {"verified": true, "answer": 37717, "timestamp": "2026-02-08T06:04:13.526679Z"}, "problem_hash": "e45883", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MOBIUS_SQUAREFREE": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K5": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "3f7d21", "alias": "sequence_count_fib_divisible_v1_1918700295_1675", "problem": "Let $d$ be the largest integer $k$ such that $2^k$ divides $7^{2048} - 5^{2048}$. Let $T$ be the set of all integers $t$ with $28 \\leq t \\leq 1807$ that can be expressed as $t = 9a + 15b + 4$ for some positive integers $a \\leq 122$ and $b \\leq 47$. Let $U$ be the set of all positive integers $n$ such that $1 \\leq n \\leq |T|$ and $d$ divides the $n$-th Fibonacci number. Compute the number of elements in $U$.", "answer": 83, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2048),\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=122)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=47)), Geq(left=Var(name='t'), right=Const(value=28)), Leq(left=Var(name='t'), right=Const(value=1807)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b')), Const(value=4)))))))),\n \"d\": MaxKDivides(target=Sub(Pow(Const(7), Const(2048)), Pow(Const(5), Ref(\"_n\"))), base=Const(2)),\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 \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["LTE_DIFF_P2", "LIN_FORM", "ONE_PHI_2"], "recipe_id": "7be06b", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "LTE_DIFF_P2", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.248, "created_at": "2026-02-08T05:57:10.610358Z", "verification": {"verified": true, "answer": 83, "timestamp": "2026-02-08T05:57:10.858607Z"}, "problem_hash": "7c4c5a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF_P2": "ok", "ONE_PHI_2": "ok", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "ad9c93", "alias": "nt_sum_divisors_range_v1_2051736721_5771", "problem": "Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 10080$. Define $\\text{upper} = |S|$. Let $\\text{result}$ be the sum of $\\tau(n)$ for all positive integers $n$ from $1$ to $\\text{upper}$, where $\\tau(n)$ denotes the number of positive divisors of $n$. Compute the remainder when the product of $\\text{result}$ and the largest prime number not exceeding $7988$ is divided by $85056$.\\n\\nFind the value of this remainder.", "answer": 28800, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\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(10080))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Const(7988)), IsPrime(Var(\"n1\"))))), Ref(\"result\")), modulus=Const(85056)),\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", "COMB1"], "recipe_id": "43aff0", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.391, "created_at": "2026-02-08T18:47:51.019226Z", "verification": {"verified": true, "answer": 28800, "timestamp": "2026-02-08T18:47:51.410164Z"}, "problem_hash": "a7af90", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 599}, "timestamp": "2026-02-13T00:32:20.084Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "MAX_PRIME_BELOW": "ok", "K16": "no", "MOD_SUB": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bea4a0", "alias": "nt_sum_divisors_mod_v1_238844314_1063", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ of integers such that $1 \\leq a \\leq 12$ and $1 \\leq b \\leq 15$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. \n\nCompute the remainder when $\\sigma(n)$ is divided by $10723$.", "answer": 546, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(15)))),\n \"M\": Const(10723),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:53:02.034786Z", "verification": {"verified": true, "answer": 546, "timestamp": "2026-02-08T13:53:02.038102Z"}, "problem_hash": "148fad", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 546, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 486}, "timestamp": "2026-02-12T07:28:44.748Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_INTEGER_RANGE": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "987b97", "alias": "diophantine_fbi2_count_v1_1978505735_3054", "problem": "Let $\\_n$ be the number of integers $t$ with $9 \\leq t \\leq 88$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 12$, and $t = 4a + 5b$. Let $k$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 129600$. Compute the number of integers $d$ such that $5 \\leq d \\leq 70$, $d$ divides $k$, and the quotient $k/d$ is at least 3 and at most $\\_n$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=12)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=88)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(129600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(70)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.026, "created_at": "2026-02-08T17:18:59.335999Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T17:18:59.361714Z"}, "problem_hash": "805ad4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 262, "completion_tokens": 453}, "timestamp": "2026-02-12T22:23:33.284Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "K15": "no", "K17": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6cab26", "alias": "nt_min_crt_v1_1248542787_292", "problem": "Let $a$ be the largest integer $k$ such that $d^k$ divides $21!$, where $d$ is the smallest integer greater than or equal to 2 that divides 77. Let $b = 2$, $m = 4$, $k = 9$, and $n = 8$. Define $s = \\sum_{j=1}^{n} j$. Find the smallest positive integer $t$ such that $1 \\leq t \\leq s$, $t \\equiv a \\pmod{4}$, and $t \\equiv b \\pmod{9}$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"m\": Const(4),\n \"k\": Const(9),\n \"a\": MaxKDivides(target=Factorial(Const(21)), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(77)))))),\n \"b\": Const(2),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\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": "COMB1", "lemma_paths": ["MIN_PRIME_FACTOR/V1", "SUM_ARITHMETIC"], "recipe_id": "71eae7", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC", "V1"], "num_lemmas": 4, "generation_time": 0.224, "created_at": "2026-02-08T03:02:55.962506Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T03:02:56.186458Z"}, "problem_hash": "21b1b1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 969}, "timestamp": "2026-02-09T02:23:59.216Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 946}, "timestamp": "2026-02-09T14:44:07.321Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 11, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 191, "completion_tokens": 3816}, "timestamp": "2026-02-09T12:52:13.615Z"}], "solution_status": 2, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "SUM_ARITHMETIC": "ok", "V1": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K16": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "50897e", "alias": "algebra_poly_eval_v1_168721529_433", "problem": "Let $y$ be the largest positive integer that is at most $7$ and divides $91$. Compute the value of $6y^4 + 8y^3 + 8y^2 - 9y - 7$.", "answer": 17472, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"y\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(91))))),\n \"result\": Sum(Mul(Const(6), Pow(Ref(\"y\"), Const(4))), Mul(Const(8), Pow(Ref(\"y\"), Const(3))), Mul(Const(8), Pow(Ref(\"y\"), Const(2))), Mul(Const(-9), Ref(\"y\")), Const(-7)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:03:00.543967Z", "verification": {"verified": true, "answer": 17472, "timestamp": "2026-02-08T13:03:00.547562Z"}, "problem_hash": "2d04cf", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17472, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 275}, "timestamp": "2026-02-09T04:57:56.776Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 17472, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 452}, "timestamp": "2026-02-09T16:44:09.026Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17472, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 97, "completion_tokens": 439}, "timestamp": "2026-02-10T04:51:20.103Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 229}, "timestamp": "2026-02-12T06:07:03.819Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "L3b": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.55}, "split": "valid"} +{"id": "cdc94e", "alias": "nt_count_gcd_equals_v1_1116507919_30", "problem": "Let $k$ be the number of positive integers $t$ with $12 \\leq t \\leq 342$ that can be expressed as $t = 5a + 7b$ for some positive integers $a \\leq 32$ and $b \\leq 26$. Let $d = \\phi(2)$, where $\\phi$ is Euler's totient function. Let $r$ be the number of positive integers $n \\leq 22201$ such that $\\gcd(n, k) = d$. Compute the remainder when $44121 \\cdot r$ is divided by $58804$.", "answer": 30797, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"upper\": Const(22201),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=26)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=342)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"d\": EulerPhi(n=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(Ref(\"_n\"), Ref(\"result\")), modulus=Const(58804)),\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", "ONE_PHI_2"], "recipe_id": "9858be", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 1.6, "created_at": "2026-02-08T02:23:43.597116Z", "verification": {"verified": true, "answer": 30797, "timestamp": "2026-02-08T02:23:45.197163Z"}, "problem_hash": "ffdbce", "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": 248, "completion_tokens": 8192}, "timestamp": "2026-02-08T18:31:52.832Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 49842, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 6027}, "timestamp": "2026-02-09T11:52:51.519Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:21:32.206Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22735, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 3031}, "timestamp": "2026-02-09T14:19:40.176Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "K16": "no", "L3c": "no", "V3": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "824517", "alias": "nt_count_squarefree_v1_1520064083_1746", "problem": "Let $S$ be the set of all integers $d \\geq 2$ that divide $675$. Let $m = \\min(S)$. Determine the number of integers $n$ with $1 \\leq n \\leq 55225$ such that $\\mu(n)^2 = \\sum_{d \\mid \\gcd(m, 5)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function.", "answer": 33580, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(55225),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Ref(\"_n\"))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mul(MoebiusMu(n=Var(name='n')), MoebiusMu(n=Var(name='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=675))))), b=Const(value=5)), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "0e2cc0", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 7.472, "created_at": "2026-02-08T04:15:59.473749Z", "verification": {"verified": true, "answer": 33580, "timestamp": "2026-02-08T04:16:06.945601Z"}, "problem_hash": "25cec3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "MOBIUS_COPRIME": "ok_later", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V1": "no", "V5": "no"}, "split": "valid"} +{"id": "e8d0ea", "alias": "nt_sum_over_divisible_v1_1918700295_1353", "problem": "Let $m = 152$. Define $d_0 = \\sum_{d \\mid m} \\phi(d)$, where the sum is over all positive divisors $d$ of $m$. Let $s$ be the sum of all positive integers $n \\leq 11111$ such that $n$ is divisible by $d_0$. Let $c$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 6250000$. Let $k$ be the number of digits in $|s|$. Compute $\\sum_{i=0}^{k-1} d_i \\cdot (i+1)^2 + c$, where $d_i$ is the $i$-th digit of $|s|$ (with $d_0$ the units digit).", "answer": 5236, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(152),\n \"_n\": Const(2),\n \"upper\": Const(11111),\n \"divisor\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\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\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=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 \"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": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K3"], "recipe_id": "b8b941", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K3"], "num_lemmas": 2, "generation_time": 0.667, "created_at": "2026-02-08T05:47:51.362939Z", "verification": {"verified": true, "answer": 5236, "timestamp": "2026-02-08T05:47:52.029760Z"}, "problem_hash": "086c5b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5236, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 1604}, "timestamp": "2026-02-12T14:13:15.073Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 435}, "timestamp": "2026-02-11T23:06:27.676Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "K3": "ok", "COUNT_COPRIME_GRID": "no", "K18": "no", "L3b": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1c245c", "alias": "sequence_fibonacci_compute_v1_809748730_1355", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, \\dots, 11\\}$. Let $F_n$ denote the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $c = 73997$ and $m = 86148$. Compute the remainder when $c \\cdot F_n$ is divided by $m$.", "answer": 77491, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86148),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(11)))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(73997),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:22:47.103985Z", "verification": {"verified": true, "answer": 77491, "timestamp": "2026-02-08T12:22:47.104945Z"}, "problem_hash": "25dcfe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 323}, "timestamp": "2026-02-12T05:09:05.875Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dea006", "alias": "antilemma_k3_v1_784195855_10019", "problem": "Let $n = 69616$. Define $x = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $y$ be the sum of all solutions to the equation $t^2 - 499t + 12744 = 0$. Compute the remainder when $x \\bmod 199 + 2003 \\cdot (x \\bmod y)$ is divided by $90441$.", "answer": 58725, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2003),\n \"_n\": Const(69616),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(199)), Mul(Ref(\"_m\"), Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-499), Var(\"x\")), Const(12744)), Const(0))))))), modulus=Const(90441)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM", "K3"], "recipe_id": "4765cd", "seed_template_id": "antilemma_k3_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K13", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T17:22:28.457636Z", "verification": {"verified": true, "answer": 58725, "timestamp": "2026-02-08T17:22:28.461751Z"}, "problem_hash": "d7f01c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 453}, "timestamp": "2026-02-12T22:24:45.397Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "K18": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e82da8", "alias": "geo_count_lattice_triangle_v1_1742523217_2708", "problem": "Let $A$ be the area of the triangle with vertices at $(0, 0)$, $(120, 88)$, and $(256, 180)$, multiplied by 2. Let $B$ be the number of lattice points on the boundary of this triangle. Compute the number of interior lattice points of the triangle. Then, compute the sum of $\\phi(n)$ for $n$ ranging from 1 to the number of interior lattice points, where $\\phi(n)$ is Euler's totient function. Find the value of this sum.", "answer": 63672, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(180),\n \"_n\": Const(88),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=120), Ref(name='_m')), Mul(Const(value=256), Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=88))), GCD(a=Abs(arg=Sub(left=Const(value=256), right=Const(value=120))), b=Abs(arg=Sub(left=SumOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Summation(expr=Var(name='k'), var='k', start=Const(value=1), end=Const(value=15))), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=60)), right=Const(value=0))))), right=Const(value=88)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=256))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=180))))),\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=EulerPhi(n=Var(\"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/SUM_DIVISIBLE"], "recipe_id": "93b4b7", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.023, "created_at": "2026-02-08T04:55:24.363591Z", "verification": {"verified": true, "answer": 63672, "timestamp": "2026-02-08T04:55:24.386774Z"}, "problem_hash": "1eea29", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 69520, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 3012}, "timestamp": "2026-02-12T06:20:33.491Z"}, {"id": 8, "model": "mathstral", "answer": 1347, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 685}, "timestamp": "2026-02-14T11:37:04.383Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 573}, "timestamp": "2026-02-11T22:26:02.459Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "SUM_DIVISIBLE": "ok_later", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "274795", "alias": "sequence_fibonacci_compute_v1_1520064083_8402", "problem": "Let $S$ be the set of all integers $t$ such that $9 \\leq t \\leq 135$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 50$, $1 \\leq b \\leq 5$, and $t = 2a + 7b$. Let $N$ be the number of elements in $S$. Define $n$ to be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = N$. Let $\\text{result} = F_n$, the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Find the value of $\\text{result}$.", "answer": 17711, "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=50)), 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=9)), Leq(left=Var(name='t'), right=Const(value=135)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T10:10:16.726048Z", "verification": {"verified": true, "answer": 17711, "timestamp": "2026-02-08T10:10:16.728463Z"}, "problem_hash": "5a1c54", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17711, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 232, "completion_tokens": 2182}, "timestamp": "2026-02-14T06:36:54.964Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 501}, "timestamp": "2026-02-12T03:12:30.050Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ce27f0", "alias": "nt_count_divisors_in_range_v1_1915831931_2773", "problem": "Let $S$ be the set of all integers $t$ such that $5 \\leq t \\leq 2506$ and $t = 3a + 2b$ for some integers $a, b$ with $1 \\leq a \\leq 22$ and $1 \\leq b \\leq 1220$. Let $m = |S|$. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $a_{\\min}$ be the minimum value of $x + y$ over all such pairs. Let $n = 498960$ and $b = 3789$. Let $r$ be the number of positive divisors $d$ of $n$ such that $a_{\\min} \\leq d \\leq b$. Compute the value of\n$$\nr + \\phi(|r| + 1) + \\tau(|r| + 1),\n$$\nwhere $\\phi$ denotes Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 206, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(498960),\n \"a\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=1220)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=2506)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": Const(3789),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(Ref(\"result\"), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.047, "created_at": "2026-02-08T17:06:19.408017Z", "verification": {"verified": true, "answer": 206, "timestamp": "2026-02-08T17:06:19.455280Z"}, "problem_hash": "a01ec9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 503}, "timestamp": "2026-02-12T21:55:48.730Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "DS2": "no", "K13": "no", "K15": "no", "LTE_SUM": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b8938c", "alias": "antilemma_cartesian_v1_2051736721_2622", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\le i \\le 20$ and $1 \\le j \\le 25$. Compute the remainder when $44121 \\cdot x$ is divided by $97898$.", "answer": 33450, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(97898)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:49:21.826128Z", "verification": {"verified": true, "answer": 33450, "timestamp": "2026-02-08T16:49:21.827053Z"}, "problem_hash": "072621", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 138700, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 296}, "timestamp": "2026-02-12T21:03:22.277Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "433be6", "alias": "antilemma_count_primes_v1_1520064083_3632", "problem": "Let $p = 11 + \\omega(1)$, where $\\omega(n)$ denotes the number of distinct prime factors of $n$. Let $q = 61$, and let $n = p \\cdot q$. Define $m = \\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 $N = 1531 \\cdot m$. Compute the number of prime numbers $k$ such that $2 \\leq k \\leq N$. Determine the value of this count.", "answer": 242, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"p\": Sum(Const(11), Ref(\"u\")),\n \"q\": Const(61),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"m\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(1531), Ref(\"m\")),\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": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE", "OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "653402", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "LIOUVILLE_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T05:47:01.786497Z", "verification": {"verified": true, "answer": 242, "timestamp": "2026-02-08T05:47:01.787274Z"}, "problem_hash": "e083f4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIOUVILLE_ONE": "ok", "OMEGA_ZERO": "ok", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "split": "valid"} +{"id": "40f94b", "alias": "nt_count_digit_sum_v1_1978505735_6481", "problem": "Let $N = 9999$ and let $M$ be the largest positive divisor of $100079991$ that is at most $N$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq M$ and the sum of the decimal digits of $n$ is equal to 18.", "answer": 670, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9999),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(100079991))))),\n \"target_sum\": Const(18),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.332, "created_at": "2026-02-08T19:36:30.089310Z", "verification": {"verified": true, "answer": 670, "timestamp": "2026-02-08T19:36:30.421445Z"}, "problem_hash": "0f3574", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 259}, "timestamp": "2026-02-13T01:07:16.750Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_SUM": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "442f0d", "alias": "diophantine_product_count_v1_784195855_5078", "problem": "Let $\\text{result}$ be the number of positive integers $x$ with $1 \\leq x \\leq 262$ such that $x$ divides $840$ and $\\frac{840}{x} \\leq 262$. Let $c$ be the number of ordered pairs $(i,j)$ of positive integers with $1 \\leq i \\leq 71$ and $1 \\leq j \\leq 125$ such that $\\gcd(i,j) = 1$. Compute the sum\n\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10}(|\\text{result}|) \\rfloor} \\left( \\text{the } i\\text{-th digit of } |\\text{result}| \\right) \\cdot (i + \\phi(2))^2 + c.\n$$\n\nDetermine the value of this sum.", "answer": 5490, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(840),\n \"upper\": Const(262),\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(\"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(125))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), EulerPhi(n=Const(2))), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "ONE_PHI_2"], "recipe_id": "9e9108", "seed_template_id": "diophantine_product_count_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T07:39:42.424249Z", "verification": {"verified": true, "answer": 5490, "timestamp": "2026-02-08T07:39:42.437369Z"}, "problem_hash": "1235e8", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_2": "ok", "COUNT_CARTESIAN": "no", "L3b": "no", "MAX_VAL": "no", "V1": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "a8db28", "alias": "antilemma_cartesian_v1_1080341949_213", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 38$ and $1 \\leq j \\leq 46$. Let $d_k$ denote the $k$-th decimal digit of $|x|$, where $k=0$ is the units digit. Let $m$ be the number of digits in $|x|$. Compute the value of $$\\sum_{k=0}^{m-1} d_k (k+1)^2 + 5476.$$", "answer": 5579, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(38)), right=IntegerRange(start=Const(1), end=Const(46)))),\n \"_c\": Const(5476),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:18:11.682085Z", "verification": {"verified": true, "answer": 5579, "timestamp": "2026-02-08T13:18:11.683228Z"}, "problem_hash": "58a738", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5649, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 250}, "timestamp": "2026-02-12T06:29:46.648Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b5f61c", "alias": "antilemma_sum_primes_v1_798873815_62", "problem": "Let $c = 460$. Define $m$ to be the number of positive integers $n$ with $1 \\leq n \\leq c$ such that the $n$-th Fibonacci number is divisible by 3. Let $t$ be the number of positive integers $n$ with $1 \\leq n \\leq m$ such that the sum of the decimal digits of $n$ is odd. Compute the sum of all prime numbers $n$ such that $2 \\leq n \\leq t$.", "answer": 381, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(460),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_c\")), Divides(divisor=Const(3), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_n\": Const(2),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), 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/L3B/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "48b2ec", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3B", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:25:36.164586Z", "verification": {"verified": true, "answer": 381, "timestamp": "2026-02-08T02:25:36.167214Z"}, "problem_hash": "c87cb1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 2658}, "timestamp": "2026-02-08T18:32:42.821Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 1897}, "timestamp": "2026-02-09T12:40:10.381Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:35:44.166Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 3858}, "timestamp": "2026-02-08T20:23:01.720Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 381, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 1845}, "timestamp": "2026-02-08T22:59:22.014Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "SUM_PRIMES": "ok", "L3B": "ok_later", "K14": "no", "K15": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -6.8, "mid": -4.25, "hi": -1.31}, "split": "valid"} +{"id": "70a986", "alias": "nt_euler_phi_compute_v1_1918700295_3828", "problem": "Let $m = 56307$. Compute the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 37$ such that $\\gcd(i, j) = 1$. Let $c$ be the smallest divisor greater than or equal to 2 of this number. Let $\\phi(n)$ denote Euler's totient function evaluated at $n = 42849$. Compute the remainder when $c - \\phi(42849)$ is divided by $56307$.", "answer": 28994, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(56307),\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(37))))),\n \"n\": Const(42849),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/MIN_PRIME_FACTOR"], "recipe_id": "744916", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T08:58:51.346017Z", "verification": {"verified": true, "answer": 28994, "timestamp": "2026-02-08T08:58:51.347371Z"}, "problem_hash": "947246", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 28994, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 1532}, "timestamp": "2026-02-13T22:48:46.914Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 13461, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 596}, "timestamp": "2026-02-12T02:21:21.204Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_CARTESIAN": "no", "DS2": "no", "K14": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0f53e4", "alias": "modular_product_range_v1_717093673_1876", "problem": "Let $d_\\text{max}$ be the largest positive divisor of $64435$ that is at most $245$. Define\n$$\nP = \\prod_{i=5}^{d_\\text{max}} i.\n$$\nLet $R = P \\bmod 11411$.\n\nNow, let\n$$\nQ = \\left( \\sum_{n=1}^{|R|} \\phi(n) \\right) \\bmod 57729,\n$$\nwhere $\\phi(n)$ denotes Euler's totient function.\n\nCompute the value of $Q$.", "answer": 52012, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(245)), Divides(divisor=Var(\"d\"), dividend=Const(64435)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11411)),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(57729)),\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"], "recipe_id": "51757e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.1, "created_at": "2026-02-08T16:22:43.590672Z", "verification": {"verified": true, "answer": 52012, "timestamp": "2026-02-08T16:22:43.690627Z"}, "problem_hash": "643305", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 355}, "timestamp": "2026-02-12T10:27:58.962Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fc7a70", "alias": "diophantine_fbi2_count_v1_971394319_386", "problem": "Let $k = 480$. Determine the number of positive integers $d$ such that $5 \\leq d \\leq 103$, $d$ divides $k$, and the quotient $\\frac{k}{d}$ is between $2$ and $100$, inclusive. Find this number.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(480),\n \"a\": Const(4),\n \"b\": Const(1),\n \"upper\": Const(99),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(5)), Leq(Var(\"d\"), Const(103)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(100))))),\n \"Q\": 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": ["K2/LIN_FORM"], "recipe_id": "a96dc0", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.276, "created_at": "2026-02-08T13:03:07.234722Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T13:03:07.510627Z"}, "problem_hash": "cb4777", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 499}, "timestamp": "2026-02-12T06:05:33.979Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K16": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c9990e", "alias": "nt_sum_over_divisible_v1_124444284_981", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 55440$ and $n$ is divisible by $139$. Let $\\text{result}$ be the sum of all elements of $S$. Compute\n$$\n\\left( 353702 \\cdot (|\\text{result}| \\bmod{97}) + 329703 \\cdot \\left( |\\text{result}|^{d_0} \\bmod{\\varphi(2)} \\right) + 215534 \\cdot \\left( |\\text{result}| + 30 \\right) \\bmod{103} \\right) \\bmod{1009091}\n$$\nwhere $d_0$ is the smallest divisor of $18$ that is at least $2$, and $\\varphi$ is Euler's totient function. Then take this result modulo $91434$. Determine the value of this final remainder.", "answer": 55762, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(55440),\n \"divisor\": Const(139),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(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')), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(18)))))), EulerPhi(n=Const(2))), modulus=MaxKDivides(target=Pow(Const(19), Const(101)), base=Const(19)))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(91434)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "K14", "ONE_PHI_2"], "recipe_id": "729d76", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K14", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 1.766, "created_at": "2026-02-08T03:38:00.076669Z", "verification": {"verified": true, "answer": 55762, "timestamp": "2026-02-08T03:38:01.842398Z"}, "problem_hash": "800b01", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 57028, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 312, "completion_tokens": 2669}, "timestamp": "2026-02-10T00:54:11.235Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 57028, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 1987}, "timestamp": "2026-02-09T08:13:48.827Z"}], "solution_status": 0, "lemma_applicability": {"K14": "ok", "MIN_PRIME_FACTOR": "ok", "ONE_PHI_2": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K5": "no", "L3c": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "914f70", "alias": "comb_catalan_compute_v1_1978505735_5497", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\le a \\le 2$ and $1 \\le b \\le 5$. Let $C_n$ denote the $n$th Catalan number. Compute the remainder when $44121 \\cdot C_n$ is divided by $90803$.", "answer": 13033, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90803),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), 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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T19:01:52.141057Z", "verification": {"verified": true, "answer": 13033, "timestamp": "2026-02-08T19:01:52.143773Z"}, "problem_hash": "1b946f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 321}, "timestamp": "2026-02-13T00:47:06.744Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b82d1f", "alias": "diophantine_product_count_v1_151522320_69", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\leq t \\leq 1272$ and there exist positive integers $a \\leq 198$ and $b \\leq 160$ for which $t = 4a + 3b$. Let $k$ be the number of elements in $T$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 1061$. Let $u$ be the number of prime numbers in $P$. 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 such integers $x$. Determine the value of this count.", "answer": 22, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=198)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=160)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=1272)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(1061)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "LIN_FORM"], "recipe_id": "71b0e6", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.195, "created_at": "2026-02-08T02:56:30.796298Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T02:56:30.991586Z"}, "problem_hash": "97586e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 8192}, "timestamp": "2026-02-10T11:58:30.509Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 22, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 8192}, "timestamp": "2026-02-08T22:31:27.970Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 8192}, "timestamp": "2026-02-12T00:23:31.535Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 9, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 520}, "timestamp": "2026-02-10T16:31:14.572Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 4400}, "timestamp": "2026-02-10T20:07:41.498Z"}, {"id": 8, "model": "mathstral", "answer": 19, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 882}, "timestamp": "2026-02-11T08:12:27.086Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 589}, "timestamp": "2026-02-11T19:57:15.683Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "ok_later", "K18": "no", "L3b": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.05, "mid": 2.79, "hi": 5.99}, "split": "valid"} +{"id": "267d7f", "alias": "nt_sum_divisors_compute_v1_865884756_2174", "problem": "Let $m = 1859$ and define $n = \\sum_{d \\mid m} \\phi(d)$, where the sum is taken over all positive divisors $d$ of $m$ and $\\phi$ denotes Euler's totient function. Let $N = 32768$ and let the result be the sum of all positive divisors of $N$. Let $c$ be the smallest divisor of $n$ that is at least $2$. Compute the value of $7^{\\lvert \\text{result} \\rvert} \\bmod 99991$ plus $c$.", "answer": 42288, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(1859),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"n\": Const(32768),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Ref(\"_n\"))))),\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": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3/MIN_PRIME_FACTOR"], "recipe_id": "cab099", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "two_stage_modexp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:35:33.349229Z", "verification": {"verified": true, "answer": 42288, "timestamp": "2026-02-08T16:35:33.351866Z"}, "problem_hash": "8a3715", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 425}, "timestamp": "2026-02-12T11:05:25.478Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f510cf", "alias": "geo_visible_lattice_v1_2051736721_1275", "problem": "Let $n = 199$. Define $L$ to be the number of ordered pairs $(x, y)$ of positive integers with $1 \\le x, y \\le 199$ such that $\\gcd(x, y) = 1$. Let $k = |L| \\bmod 11$. Compute the $k$-th Bell number, where the Bell numbers count the number of partitions of a set of size $k$. Find the value of this Bell number.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(199),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 5.984, "created_at": "2026-02-08T15:55:25.201441Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T15:55:31.185712Z"}, "problem_hash": "f4ca5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 350}, "timestamp": "2026-02-12T09:34:48.417Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a9f7dc", "alias": "nt_euler_phi_compute_v1_677425708_1498", "problem": "Let $n_1$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 10$. Let $v = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ denotes Euler's totient function. Let $h = \\lambda(31) + 1$, where $\\lambda$ denotes the Liouville function. Define $n = 45369 + h + v$. Compute $\\phi(n)$.", "answer": 29820, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(45369),\n \"n2\": Const(31),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n2')), Const(1)),\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(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Ref(\"_n\"), Ref(\"h\"), 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": "B1", "lemma_paths": ["B1/EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "recipe_id": "71d15c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:13:49.498707Z", "verification": {"verified": true, "answer": 29820, "timestamp": "2026-02-08T04:13:49.503134Z"}, "problem_hash": "8aacda", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29820, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 857}, "timestamp": "2026-02-09T20:42:55.940Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "LIOUVILLE_MINUS_ONE": "ok", "EULER_TOTIENT_SUM": "ok_later", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "df7c7c", "alias": "antilemma_cartesian_v1_717093673_2963", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\le a \\le 33$ and $1 \\le b \\le 49$. Compute the remainder when $96197 \\cdot x$ is divided by $52688$.", "answer": 15573, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(33)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"Q\": Mod(value=Mul(Const(96197), Ref(\"x\")), modulus=Const(52688)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:18:23.946829Z", "verification": {"verified": true, "answer": 15573, "timestamp": "2026-02-08T17:18:23.947964Z"}, "problem_hash": "c2a772", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 463}, "timestamp": "2026-02-12T22:16:50.477Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d3a05a", "alias": "nt_sum_phi_v1_1520064083_4444", "problem": "Let $n_1$ be the smallest divisor of $5034311$ that is at least $2$. Let $v = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Define $p = 31$ and $q = 13v$, and let $n = p^2 \\cdot q$. Let $m = \\mu(n)^2$. Let $\\mathrm{upper}$ be the maximum value of $xy$ over all positive integers $x$ and $y$ such that $x + y = 50$. Let $\\mathrm{result}$ be the sum of $\\phi(k)$ for all integers $k$ from $1$ to $\\mathrm{upper}$, inclusive. Let $c = 78389 + m$. Determine the value of $c \\cdot \\mathrm{result} \\mod 55547$.", "answer": 28912, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(55547),\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5034311))))),\n \"v\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"p\": Const(31),\n \"q\": Mul(Const(13), Ref(\"v\")),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"m\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\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\": Sum(Const(78389), Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_SQUAREFREE", "B1"], "recipe_id": "eb36f4", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.039, "created_at": "2026-02-08T06:16:25.216693Z", "verification": {"verified": true, "answer": 28912, "timestamp": "2026-02-08T06:16:25.255600Z"}, "problem_hash": "10efed", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "K16": "no", "K5": "no", "MOD_ADD": "no", "V5": "no"}, "split": "valid"} +{"id": "82b44d", "alias": "antilemma_cartesian_v1_1520064083_9416", "problem": "Compute the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 26$. Find the remainder when $41729$ times this number is divided by $50634$.", "answer": 13442, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(26)))),\n \"Q\": Mod(value=Mul(Const(41729), Ref(\"x\")), modulus=Const(50634)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T10:44:03.341064Z", "verification": {"verified": true, "answer": 13442, "timestamp": "2026-02-08T10:44:03.341706Z"}, "problem_hash": "50f393", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13442, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 99, "completion_tokens": 1279}, "timestamp": "2026-02-14T08:45:21.834Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 163, "completion_tokens": 212}, "timestamp": "2026-02-12T03:27:18.477Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "4b25d7", "alias": "comb_count_permutations_fixed_v1_865884756_309", "problem": "Consider the Cartesian product of the integer intervals $\\{1,2,3\\}$ and $\\{1,2,3\\}$. Let $N$ be the number of ordered pairs in this product.\n\nLet $n_{2}=0$ and define\n$$c=\\sum_{k=\\binom{16}{0}-1}^{n_{2}} (-1)^{k}\\binom{n_{2}}{k}.$$\nLet $n_{1}=0$ and define\n$$e=\\sum_{k=0}^{n_{1}} (-1)^{k}\\binom{n_{1}}{k}.$$ \nLet\n$$n=N\\cdot c\\cdot e.$$\n\nLet $T$ be the number of integers $t$ with $7\\le t\\le 20$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 2$, $1\\le b\\le 5$, and\n$$t=5a+2b.$$ \nConsider all ordered pairs $(x_{1},x_{2})$ of positive odd integers such that\n$$x_{1}+x_{2}=T.$$ \nLet $k$ be the number of such ordered pairs.\n\nDefine\n$$R=\\binom{n}{k}\\cdot !(n-k),$$\nwhere $!m$ denotes the number of permutations of $m$ elements with no fixed points.\n\nLet $Q$ be the remainder when $76360\\cdot R$ is divided by $89273$.\n\nCompute $Q$. ", "answer": 86703, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(89273),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"n2\": Const(0),\n \"c\": Summation(var=\"k1\", start=Sub(Binom(n=Const(16), k=Const(0)), Const(1)), end=Ref(\"n2\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n2\"), k=Var(\"k1\")))),\n \"n1\": Const(0),\n \"e\": Summation(var=\"k2\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k2\")), Binom(n=Ref(\"n1\"), k=Var(\"k2\")))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"c\"), Ref(\"e\")),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=7)), Leq(left=Var(name='t'), right=Const(value=20)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"_c\": Const(76360),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_m\")),\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/BINOMIAL_ALTERNATING", "LIN_FORM/COMB1", "ZERO_BINOM_0"], "recipe_id": "0fdb62", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_CARTESIAN", "LIN_FORM", "ZERO_BINOM_0"], "num_lemmas": 5, "generation_time": 0.006, "created_at": "2026-02-08T15:18:34.745605Z", "verification": {"verified": true, "answer": 86703, "timestamp": "2026-02-08T15:18:34.751435Z"}, "problem_hash": "b7db2f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 430, "completion_tokens": 585}, "timestamp": "2026-02-12T08:07:34.524Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "ZERO_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4b4146", "alias": "diophantine_product_count_v1_784195855_3433", "problem": "Let $m = 17$ and $n = 43$. Let $k$ be the largest integer such that $n^k$ divides the product of the two numbers $$\n37134234731477575983465092780473537507 \\quad \\text{and} \\quad 39854700693206301734118609676878534091102449292713998318420098043269157330945634059171312228280764875995875784205501791779108028760117537272004096862486037691497779942901370839663529373980826142620056614088425773960948116708841728687728776368190894330230412153113026516314915134529679995009133860092570242186129172099797797528982418929165977639240925233620801043821380377940871389776325588421463824273868179123680543466954095049993964922549589938406275424531111576822755715439267554735721710428837937478642141601871363469628726446854003795638125371691485918478676988215411598315122115544332727227621530903464132131734901484749057702745359175734864772507528315947419046992272469557672742046916748244008176988896793977975247379737992421628111815228519387671756096357628001041645547046622385570486887662274136855395485051696203226689250681244719842310975704493066670090410201880911680085570259206921350943935699048676483721722872395545278172592648761669221861941019560754685598915799863256703378956212919923281895101321651508929296974834752852538421988851342628923897436491761854529516000217809025560381680872572044668957678206647786278904718748346275827122604051131569289228446016606432614682467560135846656816907447075284118391990880462597910160146677141814104769758055894520952060415701836753154757243979058331096466570959470474688948781514716904825577104265184345426051324802885813202582222725185360587332522542014680921512477048224160326112287972045880148358545585583645235494395994179153050479732062201214811078715152843598927734002491135765186064282929275123320940935260259442351246109706200123643669602317483399593040696880402732433008971713791024747460201383739550513083079461943863646255382739728226324447849738593175810644982294805965440819492404620781051755727468323539028573861626601363424664187134043549314650498856945520920838217867260298661012743418467600578882752255760055527666105311845613527488606918279931826923323784420324843194423208510079662515309435957560541256548646503717658276566460893498830715643.\n$$ Let $\\text{upper}$ be the largest integer $e$ such that $17^e$ divides $m^{377}$. Determine the number of positive integers $x$ such that $1 \\leq x \\leq \\text{upper}$, $x$ divides $k$, and $\\frac{k}{x} \\leq \\text{upper}$.", "answer": 30, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(43),\n \"k\": MaxKDivides(target=Mul(Const(37134234731477575983465092780473537507), Const(39854700693206301734118609676878534091102449292713998318420098043269157330945634059171312228280764875995875784205501791779108028760117537272004096862486037691497779942901370839663529373980826142620056614088425773960948116708841728687728776368190894330230412153113026516314915134529679995009133860092570242186129172099797797528982418929165977639240925233620801043821380377940871389776325588421463824273868179123680543466954095049993964922549589938406275424531111576822755715439267554735721710428837937478642141601871363469628726446854003795638125371691485918478676988215411598315122115544332727227621530903464132131734901484749057702745359175734864772507528315947419046992272469557672742046916748244008176988896793977975247379737992421628111815228519387671756096357628001041645547046622385570486887662274136855395485051696203226689250681244719842310975704493066670090410201880911680085570259206921350943935699048676483721722872395545278172592648761669221861941019560754685598915799863256703378956212919923281895101321651508929296974834752852538421988851342628923897436491761854529516000217809025560381680872572044668957678206647786278904718748346275827122604051131569289228446016606432614682467560135846656816907447075284118391990880462597910160146677141814104769758055894520952060415701836753154757243979058331096466570959470474688948781514716904825577104265184345426051324802885813202582222725185360587332522542014680921512477048224160326112287972045880148358545585583645235494395994179153050479732062201214811078715152843598927734002491135765186064282929275123320940935260259442351246109706200123643669602317483399593040696880402732433008971713791024747460201383739550513083079461943863646255382739728226324447849738593175810644982294805965440819492404620781051755727468323539028573861626601363424664187134043549314650498856945520920838217867260298661012743418467600578882752255760055527666105311845613527488606918279931826923323784420324843194423208510079662515309435957560541256548646503717658276566460893498830715643)), base=Ref(\"_n\")),\n \"upper\": MaxKDivides(target=Pow(Ref(\"_m\"), Const(377)), base=Const(17)),\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": "COPRIME_PAIRS", "lemma_paths": ["K13", "K14"], "recipe_id": "9849e1", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13", "K14"], "num_lemmas": 3, "generation_time": 0.061, "created_at": "2026-02-08T06:25:50.672264Z", "verification": {"verified": true, "answer": 30, "timestamp": "2026-02-08T06:25:50.732852Z"}, "problem_hash": "bf2c74", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K13": "ok", "K14": "ok", "K15": "no", "K17": "no", "K18": "no", "K5": "no", "V3": "no"}, "split": "valid"} +{"id": "ab8210", "alias": "nt_sum_totient_over_divisors_v1_798873815_227", "problem": "Let $n_2 = 59$. Define $f = \\omega(n_2)$, the number of distinct prime factors of $n_2$.\n\nLet $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = 98$. Define $n_1 = \\max\\{xy \\mid (x, y) \\in S\\}$.\n\nLet $w = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Define $n = 39571 + w$.\n\nCompute $\\sum_{d \\mid n} \\phi(d)$, the sum of Euler's totient function over all positive divisors of $n$. Let $c = 3249 \\cdot f$. Compute the sum of $c$ and the sum of the squares of the positions (starting from position 1 for the units digit) of each digit in the decimal representation of the previous sum, weighted by the digits themselves.", "answer": 3542, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(59),\n \"f\": SmallOmega(n=Ref(name='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(98)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"w\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"n\": Sum(Const(39571), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Mul(Const(3249), Ref(\"f\")),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/MOBIUS_SQUAREFREE", "OMEGA_ONE"], "recipe_id": "b22710", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["B1", "MOBIUS_SQUAREFREE", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:31:30.488165Z", "verification": {"verified": true, "answer": 3542, "timestamp": "2026-02-08T02:31:30.490337Z"}, "problem_hash": "e20e6b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3542, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 323, "completion_tokens": 791}, "timestamp": "2026-02-08T19:12:50.635Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3542, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 1106}, "timestamp": "2026-02-09T14:29:01.030Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 273, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:32:58.191Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 3287, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 569}, "timestamp": "2026-02-08T21:14:48.533Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3542, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 248, "completion_tokens": 935}, "timestamp": "2026-02-09T01:28:19.619Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "OMEGA_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K13": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "valid"} +{"id": "0657e0", "alias": "nt_lcm_compute_v1_655260480_1503", "problem": "Let $a$ be the number of integers $t$ such that $11 \\leq t \\leq 1808$ and $t = 7a + 4b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 244$ and $1 \\leq b \\leq 25$. Let $b$ be the number of positive integers $n$ such that $1 \\leq n \\leq 3711$ and the sum of the decimal digits of $n$ is even. Let $\\text{result} = \\text{lcm}(a, b)$. Compute the remainder when $17753 \\cdot \\text{result}$ is divided by $63076$.", "answer": 42324, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3711),\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=244)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=25)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=1808)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"b\": 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\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(17753),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63076)),\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", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.153, "created_at": "2026-02-08T16:12:11.137886Z", "verification": {"verified": true, "answer": 42324, "timestamp": "2026-02-08T16:12:11.291148Z"}, "problem_hash": "1c27e0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 300}, "timestamp": "2026-02-12T10:06:48.359Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "164826", "alias": "antilemma_k2_v1_655260480_606", "problem": "Let $m = 87880$, $n = 18$, and $c = 69549$. Define\n\n$$\nx = \\sum_{k=1}^{\\sum_{k_1=1}^{n} k_1} \\varphi(k) \\cdot \\left\\lfloor \\frac{\\sum_{d\\mid 171} \\varphi(d)}{k} \\right\\rfloor.\n$$\n\nCompute the remainder when $c \\cdot x$ is divided by $m$.", "answer": 40154, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(87880),\n \"_n\": Const(18),\n \"x\": Summation(var=\"k\", start=Const(1), end=Summation(var=\"k1\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k1\")), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(SumOverDivisors(n=Const(value=171), var='d', expr=EulerPhi(n=Var(name='d'))), Var(\"k\"))))),\n \"_c\": Const(69549),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["SUM_ARITHMETIC/K2", "K3/K2", "K2"], "recipe_id": "a8e12a", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K13", "K2", "K3", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T15:29:01.116081Z", "verification": {"verified": true, "answer": 40154, "timestamp": "2026-02-08T15:29:01.121451Z"}, "problem_hash": "e0e544", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 214, "completion_tokens": 612}, "timestamp": "2026-02-12T08:32:34.027Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "K3": "ok", "SUM_ARITHMETIC": "ok", "COUNT_PRIMES": "no", "K13": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bcacbb", "alias": "antilemma_sum_equals_v1_1353956133_154", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $i + j = 29$, where $1 \\leq i \\leq 27$ and $1 \\leq j \\leq 28$. Let $x$ be the number of elements in $S$. Let $c$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 9$ and $1 \\leq j \\leq 37$. Compute $c - x$.", "answer": 306, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\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(27)), right=IntegerRange(start=Const(1), end=Const(28))))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(9)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T11:19:37.932442Z", "verification": {"verified": true, "answer": 306, "timestamp": "2026-02-08T11:19:37.943778Z"}, "problem_hash": "01c985", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 306, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 1039}, "timestamp": "2026-02-14T11:43:34.544Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 355}, "timestamp": "2026-02-12T03:48:41.165Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b7c565", "alias": "modular_modexp_compute_v1_1915831931_1053", "problem": "Let $m = 70$. Let $n$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i \\le 70$, $1 \\le j \\le 70$, and $i + j = m$. Let $a$ be the number of positive integers $n$ with $1 \\le n \\le n$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Compute the remainder when $a^{233}$ is divided by $10847$.", "answer": 4006, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(70),\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(70)), right=IntegerRange(start=Const(1), end=Const(70))))),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))),\n \"e\": Const(233),\n \"m\": Const(10847),\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_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/L3C"], "recipe_id": "7a4a6e", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "L3C"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T15:51:21.757680Z", "verification": {"verified": true, "answer": 4006, "timestamp": "2026-02-08T15:51:21.766825Z"}, "problem_hash": "f502a1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 542}, "timestamp": "2026-02-12T09:16:02.250Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "L3C": "ok_later", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7100fb", "alias": "nt_count_intersection_v1_1978505735_6948", "problem": "Let $N = 20000$. Let $a$ be the largest prime number such that $2 \\leq a \\leq 11$, and let $b = 12$. Define $S$ to be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq N$, $a$ divides $n_1$, and $\\gcd(n_1, b) = 1$. Let $r$ be the number of elements in $S$. Now consider the set of all positive integers $t$ such that $15 \\leq t \\leq 51$ and $t = 6a + 9b$ for some positive integers $a$, $b$ with $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 3$. Let $m$ be the number of elements in this set. Compute the Bell number $B_{r \\bmod m}$.\n\nFind the value of this Bell number.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(20000),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=15)), 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'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "MAX_PRIME_BELOW"], "recipe_id": "d3fcec", "seed_template_id": "nt_count_intersection_v1", "ending_id": "bell_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.598, "created_at": "2026-02-08T19:54:34.250130Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T19:54:34.848542Z"}, "problem_hash": "f4001a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 314, "completion_tokens": 476}, "timestamp": "2026-02-13T01:14:27.301Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d46ef9", "alias": "antilemma_cartesian_v1_655260480_914", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 18$ and $1 \\leq b \\leq 43$. Find the value of $17689 - x$.", "answer": 16915, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"Q\": Sub(Const(17689), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:44:52.491777Z", "verification": {"verified": true, "answer": 16915, "timestamp": "2026-02-08T15:44:52.493140Z"}, "problem_hash": "f0d4c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16915, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 153}, "timestamp": "2026-02-12T09:06:49.306Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "1ac80c", "alias": "nt_count_divisible_v1_655260480_4540", "problem": "Let $T$ be the number of integers $t$ such that $27 \\leq t \\leq 90$ and there exist positive integers $a \\leq 2$ and $b \\leq 8$ such that $t = 21a + 6b$. Let $d$ be the minimum value of $x + y$ over all pairs of positive integers $(x,y)$ such that $xy = T$. Let $r$ be the number of positive integers $n \\leq 44100$ such that $n$ is divisible by $d$. Find the remainder when $31736 \\cdot r$ is divided by $75947$.", "answer": 22891, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(31736),\n \"upper\": Const(44100),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=27)), Leq(left=Var(name='t'), right=Const(value=90)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(75947)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 1.433, "created_at": "2026-02-08T17:59:09.517132Z", "verification": {"verified": true, "answer": 22891, "timestamp": "2026-02-08T17:59:10.949938Z"}, "problem_hash": "075c7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 251, "completion_tokens": 445}, "timestamp": "2026-02-12T23:31:01.561Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "916378", "alias": "antilemma_sum_primes_v1_124444284_1545", "problem": "Let $m = 3$. Let $p_1, p_2, \\dots, p_k$ be all the positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of such integers $p$. Define $x$ to be the sum of all prime numbers $s$ such that $n \\leq s \\leq m$. Compute the value of\n$$\nx + \\varphi(|x| + \\varphi(2)) + \\tau(|x| + 1),\n$$\nwhere $\\varphi$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 11, "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=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(2)))), 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": "MOBIUS_COPRIME", "lemma_paths": ["COPRIME_PAIRS/SUM_PRIMES", "SUM_PRIMES", "ONE_PHI_2"], "recipe_id": "fba287", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_COPRIME", "ONE_PHI_2", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.019, "created_at": "2026-02-08T03:59:07.547669Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T03:59:07.566785Z"}, "problem_hash": "996a80", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "SUM_PRIMES": "ok", "K16": "no", "K17": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "22afd8", "alias": "nt_gcd_compute_v1_151522320_258", "problem": "Let $a = 122$ and $b = 171$. Let $m$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the M\\\"obius function. Let $n$ be the largest positive integer at most $21$ that divides $483$. Define $s$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, minus $n$. Let $a' = 52952$ and $b' = 119142m + s$. Compute $\\gcd(a', b')$.", "answer": 13238, "graph": "graphs = [\n Graph(\n let={\n \"a1\": Const(122),\n \"b1\": Const(171),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), 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\"), Const(21)), Divides(divisor=Var(\"d\"), dividend=Const(483))))),\n \"s\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Const(52952),\n \"b\": Sum(Mul(Const(119142), Ref(\"m\")), 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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/EULER_TOTIENT_SUM", "MOBIUS_COPRIME"], "recipe_id": "cb1d71", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:07:01.626525Z", "verification": {"verified": true, "answer": 13238, "timestamp": "2026-02-08T03:07:01.629245Z"}, "problem_hash": "0d105a", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 13238, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 247, "completion_tokens": 605}, "timestamp": "2026-02-09T00:49:02.921Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_COPRIME": "ok", "EULER_TOTIENT_SUM": "ok_later", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "a6fd80", "alias": "nt_count_coprime_and_v1_153355830_1547", "problem": "Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 19770$. Let $\\text{upper}$ be the number of elements in $S$. Let $\\text{result}$ be the number of positive integers $n$ at most $\\text{upper}$ such that $\\gcd(n, 5) = 1$ and $\\gcd(n, 9) = 1$. Let $T$ be the set of all ordered pairs $(i, j)$ with $1 \\leq i \\leq 75$ and $1 \\leq j \\leq 188$ such that $\\gcd(i, j) = \\phi(1)$. Compute the remainder when the product of $|T|$ and $\\text{result}$ is divided by 59402.", "answer": 18968, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(59402),\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(19770))))),\n \"k1\": Const(5),\n \"k2\": Const(9),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=Mul(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(75)), right=IntegerRange(start=Const(1), end=Const(188))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "COMB1", "ONE_PHI_1"], "recipe_id": "8ef4c5", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_COPRIME_GRID", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 1.082, "created_at": "2026-02-08T06:29:20.184418Z", "verification": {"verified": true, "answer": 18968, "timestamp": "2026-02-08T06:29:21.266798Z"}, "problem_hash": "90ede7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COMB1": "ok", "COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "MOD_SUB": "no", "V7": "no"}, "split": "valid"} +{"id": "93a51d", "alias": "geo_count_lattice_rect_v1_717093673_3842", "problem": "Let $a = 333$ and $b = 201$. A lattice point is a point in the plane with integer coordinates. Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 333$ and $0 \\leq y \\leq 201$.", "answer": 67468, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(333),\n \"b\": Const(201),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T17:54:13.124243Z", "verification": {"verified": true, "answer": 67468, "timestamp": "2026-02-08T17:54:13.125258Z"}, "problem_hash": "9e21a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 67328, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 267}, "timestamp": "2026-02-12T23:23:51.098Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c2508e", "alias": "sequence_fibonacci_compute_v1_1353956133_823", "problem": "Let $m = 13$. Define $S$ as the set of all positive integers $n$ such that $1 \\leq n \\leq m$ and $\\gcd(n, 20) = 1$. Let $n$ be the sum of all elements in $S$. Compute the $n$-th Fibonacci number.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": 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(20)), Const(1))))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/SUM_ARITHMETIC"], "recipe_id": "707603", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T11:52:49.577362Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T11:52:49.578554Z"}, "problem_hash": "8ea168", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 701408733, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 114, "completion_tokens": 1707}, "timestamp": "2026-02-14T19:57:12.089Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 418}, "timestamp": "2026-02-12T04:42:10.393Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "dfe470", "alias": "nt_count_divisible_and_v1_1520064083_7347", "problem": "Let $n$ be the number of integers $t$ with $16 \\leq t \\leq 26$ for which there exist positive integers $a \\leq 3$ and $b \\leq 3$ such that $t = 3a + 2b + 11$. Let $d_1$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Compute the number of positive integers $n'$ such that $n' \\leq 88140$, $n'$ is divisible by $d_1$, and $n'$ is divisible by 10.", "answer": 2938, "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=16)), Leq(left=Var(name='t'), right=Const(value=26)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=11)))))))),\n \"upper\": Const(88140),\n \"d1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d2\": Const(10),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 5.643, "created_at": "2026-02-08T08:58:39.552494Z", "verification": {"verified": true, "answer": 2938, "timestamp": "2026-02-08T08:58:45.195975Z"}, "problem_hash": "78b3ac", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2938, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 936}, "timestamp": "2026-02-13T22:55:15.584Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 747}, "timestamp": "2026-02-12T02:22:08.569Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "66e220", "alias": "nt_count_with_divisor_count_v1_124444284_887", "problem": "Let $U$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy=6718464$.\n\nLet $A$ be the number of integers $t$ with $1\\le t\\le 236100$ such that $30$ divides the $t$-th Fibonacci number $F_t$. Let $D$ be the largest integer $e$ such that $5^e$ divides the binomial coefficient $\\binom{A}{1574}$.\n\nLet $R$ be the number of integers $n$ with $1\\le n\\le U$ such that $n$ has exactly $D$ positive divisors.\n\nDefine $Q$ to be the unique integer with $0\\le Q<81413$ such that\n$$Q\\equiv 44121\\,R\\pmod{81413}.$$\n\nFind the value of $Q$.", "answer": 13658, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(5),\n \"_m\": Const(81413),\n \"_n\": Const(44121),\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(6718464)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"div_count\": MaxKDivides(target=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(236100)), Divides(divisor=Const(30), dividend=Fibonacci(arg=Var(name='n')))))), k=Const(1574)), base=Ref(\"_c\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Mul(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": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/V7", "B3"], "recipe_id": "478b9e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "V7"], "num_lemmas": 3, "generation_time": 0.465, "created_at": "2026-02-08T03:33:53.354120Z", "verification": {"verified": true, "answer": 13658, "timestamp": "2026-02-08T03:33:53.819218Z"}, "problem_hash": "f4eb6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13658, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 2262}, "timestamp": "2026-02-09T23:25:24.644Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 13658, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 307, "completion_tokens": 2642}, "timestamp": "2026-02-09T07:08:58.879Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok", "V7": "ok_later", "K13": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "e09a9f", "alias": "geo_count_lattice_rect_v1_124444284_8986", "problem": "Let $a = 81$ and $b = 291$. Define $R$ to be the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the remainder when\n\n$$\n\\sum_{n=1}^{R} \\tau(n)\n$$\n\nis divided by $65831$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 47669, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(81),\n \"b\": Const(291),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(84), Const(84)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(65831)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:06:48.166388Z", "verification": {"verified": true, "answer": 47669, "timestamp": "2026-02-08T12:06:48.167770Z"}, "problem_hash": "96222b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 5998}, "timestamp": "2026-02-14T22:14:17.371Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 550}, "timestamp": "2026-02-12T04:55:49.003Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "033839", "alias": "nt_sum_phi_v1_151522320_60", "problem": "Let $k$ be the largest integer such that $13^k$ divides the product of $78049830691762371033908575156622715083471375128470017466832405375575492801853821011766762338803595010296359895153559501366652664295690280682336234170025387893695590250670867228563741776146619941636929312010740149449039612416799482658694406393937924204246457521573656049059242484384475997067273924970559524331522787863536607172350063687324273111543836839169811656297288300400929372471145664903327151780012620794965826881320722287206926091197196558092312800851768813791519168873280304987040319044863785427606489142934092965635400838701367403339753434965562002204505096586559012202721365999812194082349970836496607457291823755041358296188432807395573958044439134572623583501832668653510998263650720201065995072936848946186143420593419386911910730851473035059318935879348506379909446157616704514979233485226117681661130139054596031836845114662104245696340940961099039626388657045957092341491017194343585279975498807498949191780655216666035936801450772672384296604196443668287805072294879733355363412433060358652812383496321720818527272888520847417070421195534698051309026771489105887401582312062969$. Let $m$ be the number of pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = k$. Compute the sum of $\\phi(n)$ for all positive integers $n \\leq m$, where $\\phi$ is Euler's totient function. Find the remainder when $90079$ times this sum is divided by $2$.", "answer": 54482, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65000),\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\")), MaxKDivides(target=Mul(Const(13137654881719944549844207353704004923526887094237548816639263081829368261926934712559817176557936487217301165986189172047192267281834346707639625158410991859693685642635574293418938256592913042755411161215839935443062897716113124831831743452661335058575030910250329), Const(78049830691762371033908575156622715083471375128470017466832405375575492801853821011766762338803595010296359895153559501366652664295690280682336234170025387893695590250670867228563741776146619941636929312010740149449039612416799482658694406393937924204246457521573656049059242484384475997067273924970559524331522787863536607172350063687324273111543836839169811656297288300400929372471145664903327151780012620794965826881320722287206926091197196558092312800851768813791519168873280304987040319044863785427606489142934092965635400838701367403339753434965562002204505096586559012202721365999812194082349970836496607457291823755041358296188432807395573958044439134572623583501832668653510998263650720201065995072936848946186143420593419386911910730851473035059318935879348506379909446157616704514979233485226117681661130139054596031836845114662104245696340940961099039626388657045957092341491017194343585279975498807498949191780655216666035936801450772672384296604196443668287805072294879733355363412433060358652812383496321720818527272888520847417070421195534698051309026771489105887401582312062969)), base=Const(13)))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(90079),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13/COMB1"], "recipe_id": "abe802", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "K13"], "num_lemmas": 2, "generation_time": 0.045, "created_at": "2026-02-08T02:56:29.362901Z", "verification": {"verified": true, "answer": 54482, "timestamp": "2026-02-08T02:56:29.408091Z"}, "problem_hash": "147582", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 582, "completion_tokens": 1832}, "timestamp": "2026-02-08T22:21:06.513Z"}], "solution_status": 0, "lemma_applicability": {"K13": "ok", "COMB1": "ok_later", "K5": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "valid"} +{"id": "7e7079", "alias": "nt_min_crt_v1_1742523217_4718", "problem": "Find the smallest positive integer $n$ such that $1 \\leq n \\leq 35$, $n \\equiv 3 \\pmod{5}$, and $n \\equiv 0 \\pmod{7}$.", "answer": 28, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(5),\n \"k\": Const(7),\n \"a\": Const(3),\n \"b\": Const(0),\n \"upper\": Const(35),\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": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MOBIUS_COPRIME", "LIN_FORM", "K2"], "recipe_id": "f285e7", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.059, "created_at": "2026-02-08T09:06:03.335013Z", "verification": {"verified": true, "answer": 28, "timestamp": "2026-02-08T09:06:03.394165Z"}, "problem_hash": "b094c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 28, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 272}, "timestamp": "2026-02-12T02:31:35.789Z"}], "solution_status": 2, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "075120", "alias": "antilemma_k2_v1_865884756_3170", "problem": "Let $m = 2$ and $n = 376$. Define $$x = \\sum_{k=1}^{376} \\phi(k) \\left\\lfloor \\frac{376}{k} \\right\\rfloor.$$ Let $c$ be the sum of all real solutions $x_1$ to the equation $x_1^2 - 8192x_1 + 24567 = 0$. Compute the remainder when $c - x$ is divided by 66990.", "answer": 4306, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(376),\n \"x\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(376), Var(\"k\"))))),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Ref(\"_m\")), Mul(Const(-8192), Var(\"x1\")), Const(24567)), Const(0)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(66990)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "K2"], "recipe_id": "603e53", "seed_template_id": "antilemma_k2_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T17:12:27.738084Z", "verification": {"verified": true, "answer": 4306, "timestamp": "2026-02-08T17:12:27.739881Z"}, "problem_hash": "eb7c7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 525}, "timestamp": "2026-02-12T22:00:33.527Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "VIETA_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a3860c", "alias": "comb_count_permutations_fixed_v1_1520064083_1875", "problem": "Let $m$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq 3$. Let $d$ be the smallest positive divisor of 49049 that is at least $m$. Let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 12$. Compute $\\binom{d}{k} \\cdot !(d - k)$, where $!n$ denotes the number of derangements of $n$ elements.", "answer": 924, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(49049),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\")))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"_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=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 \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "5d2c7f", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:21:15.967866Z", "verification": {"verified": true, "answer": 924, "timestamp": "2026-02-08T04:21:15.970920Z"}, "problem_hash": "65e9c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 924, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 1162}, "timestamp": "2026-02-10T16:20:47.142Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 398}, "timestamp": "2026-02-13T14:17:18.618Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 366}, "timestamp": "2026-02-11T20:43:17.845Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "7b2059", "alias": "geo_count_lattice_triangle_v1_655260480_293", "problem": "Let $A = (0, 0)$, $B = (180, 300)$, and $C = (81, 0)$. The area of triangle $ABC$ can be computed using the formula $\\frac{1}{2} |x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)|$, which gives twice the area as $|180 \\cdot 180 + 81 \\cdot (-300)|$. Let $I$ be the number of interior lattice points and $B$ the number of boundary lattice points of triangle $ABC$. By Pick's Theorem, the area is $I + \\frac{B}{2} - 1$, so $2I = \\text{area} \\cdot 2 - B + 2$. Compute $I$, where $B = \\gcd(180, 300) + \\gcd(|81 - 180|, |N - 300|) + \\gcd(81, 180)$, and $N$ is the number of lattice points in the rectangle $[1, 12] \\times [1, 15]$. Compute the value of $\\frac{1}{2} \\left( |180 \\cdot 180 + 81 \\cdot (-300)| + 2 - B \\right)$, where $B$ is the sum of the greatest common divisors of the lengths of the three sides of triangle $ABC$ with their respective coordinate differences.", "answer": 4015, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(180),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=180), Ref(name='_n')), Mul(Const(value=81), Sub(left=Const(value=0), right=Const(value=300))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=180)), b=Abs(arg=Const(value=300))), GCD(a=Abs(arg=Sub(left=Const(value=81), right=Const(value=180))), b=Abs(arg=Sub(left=CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(value=1), end=Const(value=12)), right=IntegerRange(start=Const(value=1), end=Const(value=15)))), right=Const(value=300)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=81))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=180))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.009, "created_at": "2026-02-08T15:20:21.561360Z", "verification": {"verified": true, "answer": 4015, "timestamp": "2026-02-08T15:20:21.569881Z"}, "problem_hash": "501c7f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 448, "completion_tokens": 349}, "timestamp": "2026-02-12T08:11:06.498Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fb35d2", "alias": "modular_mod_compute_v1_397696148_1766", "problem": "Let $a = 35344$ and $m = 23104$. Compute $a \\bmod m$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 24158176550378190626017461750$, $\\gcd(p, q) = 1$, and $p < q$. Find the remainder when $c - (a \\bmod m)$ is divided by $76149$.", "answer": 65957, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76149),\n \"a\": Const(35344),\n \"m\": Const(23104),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\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=24158176550378190626017461750)), 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=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"], "recipe_id": "c90628", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:45:01.412177Z", "verification": {"verified": true, "answer": 65957, "timestamp": "2026-02-08T12:45:01.414108Z"}, "problem_hash": "bdfc7b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 365}, "timestamp": "2026-02-12T05:35:38.462Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "DS2": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "910a4b", "alias": "antilemma_count_primes_v1_1520064083_2868", "problem": "Let $P$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Define $n$ to be the number of elements in $P$. Let $M = 14219$. Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq M$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $u$ be the number of elements in $A$. Define $B$ to be the set of all prime numbers $n$ such that $n \\geq n$ and $n \\leq u$. Compute the number of elements in $B$.", "answer": 413, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14219),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=6)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5)))))), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES", "L3C/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "7100af", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "L3C"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:16:45.842273Z", "verification": {"verified": true, "answer": 413, "timestamp": "2026-02-08T05:16:45.844871Z"}, "problem_hash": "e3e282", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "L3C": "ok", "K17": "no", "K18": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8": "no"}, "split": "valid"} +{"id": "804d52", "alias": "geo_count_lattice_triangle_v1_2051736721_4677", "problem": "Let the vertices of a triangle in the coordinate plane be $(100, 128)$, $(4, 289)$, and $(0, 0)$. Define $A$ to be twice the area of this triangle. Let $B$ be the sum of the greatest common divisors of the absolute values of the differences in coordinates along each side: $$\\gcd(|100|, |289|) + \\gcd(|4 - 100|, |128 - 289|) + \\gcd(|0 - 4|, |0 - 128|).$$ Compute $$\\frac{A + 2 - B}{2}.$$ Find the value of this expression.", "answer": 5820, "graph": "graphs = [\n Graph(\n let={\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), Const(value=128)), Mul(Const(value=4), Sub(left=Const(value=0), right=Const(value=289))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=289))), GCD(a=Abs(arg=Sub(left=Const(value=4), right=Const(value=100))), b=Abs(arg=Sub(left=Const(value=128), right=Const(value=289)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=4))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=128))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.006, "created_at": "2026-02-08T18:06:16.870386Z", "verification": {"verified": true, "answer": 5820, "timestamp": "2026-02-08T18:06:16.875895Z"}, "problem_hash": "406fa7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 527}, "timestamp": "2026-02-12T23:42:41.918Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7fd0b5", "alias": "nt_sum_divisors_compute_v1_153355830_423", "problem": "Let $p = 29$ and $q = 2$. Define $n_2 = p \\cdot q$. Let $m = \\sum_{d \\mid n_2} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $t$ be the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 180$, $\\gcd(p, q) = 1$, and $p < q$. Define $n_1 = t + m$. Let $v = \\sum_{d \\mid n_1} \\phi(d) - n_1$, where $\\phi$ is Euler's totient function. Define $n = 22500 + v$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Compute the multiplicative order of $2$ modulo $2|\\sigma(n)| + 3$.", "answer": 28428, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(29),\n \"q\": Const(2),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"m\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Sum(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'))))))), Ref(\"m\")),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Const(22500), Ref(\"v\")),\n \"result\": SumDivisors(n=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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SUM/EULER_TOTIENT_SUM"], "recipe_id": "d1f509", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "EULER_TOTIENT_SUM", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:05:57.604584Z", "verification": {"verified": true, "answer": 28428, "timestamp": "2026-02-08T03:05:57.609885Z"}, "problem_hash": "b08246", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "EULER_TOTIENT_SUM": "ok_later", "MOBIUS_SUM": "ok_later", "DS2": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "36712d", "alias": "nt_sum_phi_v1_1742523217_2952", "problem": "Let $p = 89$ and $q = 5$. Define $n_1 = p \\cdot q$. Let $e = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $u = \\Omega(1)$, the total number of prime factors of $1$ counted with multiplicity. Define $\\text{upper} = \\max_k(7^k \\mid 16807^{125}) + u$. Let $R$ be the sum of $\\phi(n)$ for all integers $n$ from $1$ to $\\text{upper}$, inclusive. Compute the remainder when $\\sum_{n=1}^{R} \\tau(n)$ is divided by $74874 + e$, where $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 61168, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(89),\n \"q\": Const(5),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"u\": BigOmega(n=Ref(name='n')),\n \"upper\": Sum(MaxKDivides(target=Pow(Const(16807), Const(125)), base=Const(7)), 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 \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Sum(Const(74874), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/BIG_OMEGA_ZERO", "MOBIUS_SUM"], "recipe_id": "5d2da8", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "K14", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.033, "created_at": "2026-02-08T05:28:14.241705Z", "verification": {"verified": true, "answer": 61168, "timestamp": "2026-02-08T05:28:14.274526Z"}, "problem_hash": "9119fe", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MOBIUS_SUM": "ok", "BIG_OMEGA_ZERO": "ok_later", "K18": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "209ff2", "alias": "nt_count_primes_v1_151522320_1302", "problem": "Let $m = 56372$. Define $r$ to be the number of prime numbers $n$ such that $2 \\leq n \\leq 12720$. \n\nConsider the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 4$. Let $s$ be the minimum value of $x + y$ over all such pairs. \n\nLet $t$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 60$ and $1 \\leq b \\leq 60$. Compute the remainder when $$r^2 + s \\cdot r + t$$ is divided by $m$. ", "answer": 2744, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(56372),\n \"_n\": Const(2),\n \"upper\": Const(12720),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=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(4)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(60)), right=IntegerRange(start=Const(1), end=Const(60))))), 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", "B3"], "recipe_id": "b257a6", "seed_template_id": "nt_count_primes_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 1.66, "created_at": "2026-02-08T03:52:29.314878Z", "verification": {"verified": true, "answer": 2744, "timestamp": "2026-02-08T03:52:30.975358Z"}, "problem_hash": "2e2f4f", "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": 255, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:19:18.970Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:49:54.562Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2744, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 1513}, "timestamp": "2026-02-11T20:21:16.302Z"}, {"id": 8, "model": "mathstral", "answer": 4081, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 572}, "timestamp": "2026-02-13T03:26:40.512Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 377}, "timestamp": "2026-02-11T21:15:43.642Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "2e1859", "alias": "nt_count_digit_sum_v1_865884756_6098", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $1 \\le x \\le 4$ and $1 \\le y \\le 5$. Let $S$ be the sum of the digits of a positive integer $n$. Compute the number of positive integers $n$ such that $1 \\le n \\le 361201$ and $S = |A|$.", "answer": 19159, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(361201),\n \"target_sum\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 12.045, "created_at": "2026-02-08T18:57:47.722487Z", "verification": {"verified": true, "answer": 19159, "timestamp": "2026-02-08T18:57:59.767950Z"}, "problem_hash": "b0cd8d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 339}, "timestamp": "2026-02-13T00:42:39.998Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ab053c", "alias": "nt_gcd_compute_v1_784195855_710", "problem": "Let $n_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 45$. Define $t$ to be the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n_1$, minus $n_1$ itself. Let $f$ be the number of prime factors of 1 counted with multiplicity. Let $a = 429894$ and $b = 812022 + t + f$. Let $\\text{result} = \\gcd(a, b)$. Define $Q$ to be the remainder when $91523 \\cdot \\text{result}$ is divided by 50118. Compute $Q$.", "answer": 44832, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(45)), IsPrime(Var(\"n\"))))),\n \"t\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"f\": BigOmega(n=Ref(name='n')),\n \"a\": Const(429894),\n \"b\": Sum(Const(812022), Ref(\"t\"), Ref(\"f\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(91523),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50118)),\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/EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "a77a7a", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T04:33:55.498560Z", "verification": {"verified": true, "answer": 44832, "timestamp": "2026-02-08T04:33:55.500899Z"}, "problem_hash": "f33bac", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MAX_PRIME_BELOW": "ok", "EULER_TOTIENT_SUM": "ok_later", "K13": "no", "K5": "no", "L3b": "no", "L3c": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "25dc6f", "alias": "comb_binomial_compute_v1_349078426_14", "problem": "Let $r = \\binom{12}{7}$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = t$, where $t$ is the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers satisfying $x + y = 88$. Let $c$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers satisfying $x + y = s$. Define $Q$ to be the sum $$ \\sum_{i=0}^{d-1} \\left( \\text{the } i\\text{-th digit of } |r| \\right) \\cdot (i+1)^2 + c, $$ where $d$ is the number of digits in $|r|$. Compute $Q$.", "answer": 2037, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(12),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(88)))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(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": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/B1"], "recipe_id": "bf7554", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T12:46:53.177495Z", "verification": {"verified": true, "answer": 2037, "timestamp": "2026-02-08T12:46:53.186012Z"}, "problem_hash": "582bb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1997, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 457}, "timestamp": "2026-02-12T05:39:17.128Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3f352a", "alias": "antilemma_cartesian_v1_1978505735_900", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from 1 to 5, inclusive, and $b$ is an integer from 1 to 8, inclusive. Compute the remainder when $28877 \\cdot x$ is divided by $54825$.", "answer": 3755, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(8)))),\n \"Q\": Mod(value=Mul(Const(28877), Ref(\"x\")), modulus=Const(54825)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:40:10.193101Z", "verification": {"verified": true, "answer": 3755, "timestamp": "2026-02-08T15:40:10.193811Z"}, "problem_hash": "e776c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10005, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 218}, "timestamp": "2026-02-12T08:58:36.043Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "695a84", "alias": "nt_num_divisors_compute_v1_1978505735_6326", "problem": "Let $n$ be the largest positive divisor of $5530$ that is at most $70$. Compute the number of positive divisors of $n$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70),\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(5530))))),\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_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T19:33:21.645122Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T19:33:21.646308Z"}, "problem_hash": "83c17b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 137, "completion_tokens": 378}, "timestamp": "2026-02-13T01:03:34.644Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3c": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f41d25", "alias": "modular_count_residue_v1_1978505735_422", "problem": "Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq 33856$ and $n \\equiv 26 \\pmod{29}$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 9006001$. Let $s_{\\min}$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = s_{\\min}$. Compute the remainder when $\\left(\\text{result} \\bmod 199\\right) + c + \\left(\\text{result} \\bmod 499\\right)$ is divided by $51816$.", "answer": 40997, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(499),\n \"upper\": Const(33856),\n \"m\": Const(29),\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 \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), 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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(9006001)))), expr=Sum(Var(\"x\"), Var(\"y\")))))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(51816)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/COMB1"], "recipe_id": "95bc65", "seed_template_id": "modular_count_residue_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COMB1"], "num_lemmas": 2, "generation_time": 1.416, "created_at": "2026-02-08T15:22:21.162469Z", "verification": {"verified": true, "answer": 40997, "timestamp": "2026-02-08T15:22:22.578860Z"}, "problem_hash": "a938f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 771}, "timestamp": "2026-02-12T08:22:50.619Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COMB1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5df6e3", "alias": "nt_count_with_divisor_count_v1_2051736721_3978", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 200704$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $d$ be the number of positive integers $k$ such that $1 \\le k \\le s$ and $k$ divides $64$. Let $U = 21609$. Determine the number of positive integers $n$ such that $1 \\le n \\le U$ and the number of positive divisors of $n$ is exactly $d$. Let $T$ be the set of all integers $t$ such that $10 \\le t \\le 4021$ and there exist positive integers $a \\le 148$, $b \\le 511$ satisfying $t = 3a + 7b$. Let $c$ be the number of elements in $T$. Compute $c$ minus the previously determined count of such $n$.", "answer": 3923, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64),\n \"upper\": Const(21609),\n \"div_count\": 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(200704)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), 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(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\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=148)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=511)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=4021)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), 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", "B3/C2"], "recipe_id": "07ef9f", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C2", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.947, "created_at": "2026-02-08T17:38:51.198121Z", "verification": {"verified": true, "answer": 3923, "timestamp": "2026-02-08T17:38:52.144912Z"}, "problem_hash": "b2d9b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 324, "completion_tokens": 763}, "timestamp": "2026-02-12T22:55:48.056Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "ok_later", "K15": "no", "L3b": "no", "MOD_MUL": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "914373", "alias": "geo_count_lattice_rect_v1_1439011603_3169", "problem": "Let $a = 400$ and $b = 117$. Define $L$ to be the number of lattice points in the rectangle $[0, a] \\times [0, b]$, including the boundary. Compute the remainder when\n\n$$\n\\sum_{n=1}^{L} \\phi(n)\n$$\n\nis divided by $92195$, where $\\phi(n)$ denotes Euler's totient function.\\n\\nFind the value of this remainder.", "answer": 4330, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(400),\n \"b\": Const(117),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(90), Const(90)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(92195)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 5.962, "created_at": "2026-02-08T17:17:51.210460Z", "verification": {"verified": true, "answer": 4330, "timestamp": "2026-02-08T17:17:57.172273Z"}, "problem_hash": "668e67", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 508}, "timestamp": "2026-02-12T22:17:38.806Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "71d3cf", "alias": "comb_count_surjections_v1_1915831931_162", "problem": "Let $n = 4$ and $N = 6$. Let $k$ be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = N$, $1 \\leq i \\leq 4$, and $1 \\leq j \\leq 5$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Let $C$ be the total number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 119$. Compute $C$ minus the value of $k! \\cdot S(n, k)$.", "answer": 1999, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"n\": Const(4),\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(4)), right=IntegerRange(start=Const(1), end=Const(5))))),\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(17)), right=IntegerRange(start=Const(1), end=Const(119)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T15:12:45.352733Z", "verification": {"verified": true, "answer": 1999, "timestamp": "2026-02-08T15:12:45.369100Z"}, "problem_hash": "c5c59e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1999, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 410}, "timestamp": "2026-02-12T08:01:02.543Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "03e3bf", "alias": "algebra_quadratic_discriminant_v1_784195855_2922", "problem": "Let $c$ be the number of positive integers $n$ with $1 \\leq n \\leq d_{\\max}$ such that $\\gcd(n, 6) = 1$, where $d_{\\max}$ is the largest positive divisor of $5893$ that is at most $71$. Let $s_{\\min}$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 4$. Compute $10^2 - s_{\\min} \\cdot 1 \\cdot c$. Determine the value of this expression.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(6),\n \"a\": Const(1),\n \"b\": Const(10),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(71)), Divides(divisor=Var(\"d\"), dividend=Const(5893)))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Sub(Pow(Ref(\"b\"), Ref(\"_m\")), 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(4)))), expr=Sum(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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/C4", "B3"], "recipe_id": "e03b24", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "C4", "MAX_DIVISOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:07:36.723779Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T06:07:36.728000Z"}, "problem_hash": "e1e582", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 1052}, "timestamp": "2026-02-12T19:48:08.433Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 340}, "timestamp": "2026-02-11T23:37:07.156Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_DIVISOR": "ok", "C4": "ok_later", "C2": "no", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0bb48f", "alias": "comb_sum_binomial_mod_v1_865884756_1902", "problem": "Let $c = 76$. Define $n$ to be the number of ordered pairs $(i, j)$ of positive integers such that $i + j = c$ and $1 \\leq i, j \\leq 74$. Let $n_1$ be the number of ordered pairs $(i_1, j_1)$ of positive integers such that $i_1 + j_1 = 6$ and $1 \\leq i_1, j_1 \\leq 6$. Define\n$$\nh = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.\n$$\nLet $u = 7$, and define $n' = u + 1 + h$. Now define\n$$\nf = \\sum_{k_1=0}^{n'} (-1)^{k_1} \\binom{n'}{k_1}.\n$$\nLet $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 852$. Let $m = |S|$. Define\n$$\n\\text{sum} = \\sum_{k_2 = n}^{423} \\binom{m}{k_2}.\n$$\nLet $M = 10909 + f$. Compute the remainder when $\\text{sum}$ is divided by $M$.", "answer": 2941, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(76),\n \"_m\": Const(10909),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(74)), right=IntegerRange(start=Const(1), end=Const(74))))),\n \"n1\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Const(6)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(6))))),\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 \"u\": Const(7),\n \"n\": Sum(Ref(\"u\"), Const(1), Ref(\"h\")),\n \"f\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n\"), k=Var(\"k1\")))),\n \"sum\": Summation(var=\"k2\", start=Ref(\"_n\"), end=Const(423), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(852))))), k=Var(\"k2\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Sum(Ref(\"_m\"), Ref(\"f\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS/COMB1"], "recipe_id": "b2a7e4", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.055, "created_at": "2026-02-08T16:23:16.846946Z", "verification": {"verified": true, "answer": 2941, "timestamp": "2026-02-08T16:23:16.901959Z"}, "problem_hash": "dd466c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 409, "completion_tokens": 677}, "timestamp": "2026-02-12T10:31:03.211Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ed7672", "alias": "modular_mod_compute_v1_238844314_816", "problem": "Let $a = -465$ and $m = 42025$. Define $r$ to be the remainder when $a$ is divided by $m$. Let $C$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 24867843000$, $\\gcd(p, q) = 1$, and $p < q$. Find the remainder when $C - r$ is divided by $51608$.", "answer": 10080, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(-465),\n \"m\": Const(42025),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\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=24867843000)), 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(51608)),\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"], "recipe_id": "c90628", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:37:49.291167Z", "verification": {"verified": true, "answer": 10080, "timestamp": "2026-02-08T13:37:49.293129Z"}, "problem_hash": "3eedd1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 432}, "timestamp": "2026-02-12T07:09:02.914Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0cc3dd", "alias": "geo_visible_lattice_v1_548369836_187", "problem": "Let $n = 100$. Define $r$ to be the number of ordered pairs $(x, y)$ of integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the value of $$\nQ = \\sum_{k=1}^{r} \\tau(k),$$ where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 53988, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(100),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Summation(var=\"n\", start=Div(Const(65), Const(65)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.198, "created_at": "2026-02-08T02:48:14.576634Z", "verification": {"verified": true, "answer": 53988, "timestamp": "2026-02-08T02:48:14.774717Z"}, "problem_hash": "1da94c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 53996, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:11:59.367Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:46:50.263Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 150, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:05:58.008Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 147, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:15:00.457Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27993, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 4128}, "timestamp": "2026-02-09T10:05:45.170Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 493}, "timestamp": "2026-02-11T03:42:05.697Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 595}, "timestamp": "2026-02-11T19:42:29.822Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "7e320d", "alias": "nt_lcm_compute_v1_168721529_1422", "problem": "Let $p_1 = 97$, $q = 71$, and define $n = (p_1 \\cdot q)^2$. Let $e$ be the remainder when the number of positive divisors of $n$ is divided by 2. Let $p = 17$ and let $v$ be the remainder when $(p-1)! + 1$ is divided by $p$. Let $a$ be $e$ multiplied by the largest prime number not exceeding 2557. Let $b$ be the number of positive integers $t \\leq 5876$ such that $t \\geq 14$ and there exist positive integers $a' \\leq 90$ and $b' \\leq 1244$ with $t = 10a' + 4b'$. Let $r = \\operatorname{lcm}(a, b)$. Compute the value of\n$$\n\\left( r \\bmod (199 + v) + 3001 \\cdot (r \\bmod 499) \\right) \\bmod 94284.\n$$", "answer": 66109, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(94284),\n \"_n\": Const(199),\n \"p1\": Const(97),\n \"q\": Const(71),\n \"n\": Pow(Mul(Ref(\"p1\"), Ref(\"q\")), Const(2)),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"p\": Const(17),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"a\": Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2557)), IsPrime(Var(\"n\"))))), Ref(\"e\")),\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=90)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1244)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=5876)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Sum(Ref(\"_n\"), Ref(\"v\"))), Mul(Const(3001), Mod(value=Ref(\"result\"), modulus=Const(499)))), 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/DIVISOR_PARITY", "LIN_FORM", "WILSON"], "recipe_id": "06c9de", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T13:41:45.740218Z", "verification": {"verified": true, "answer": 66109, "timestamp": "2026-02-08T13:41:45.749537Z"}, "problem_hash": "3b324b", "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": 345, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:54:11.153Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 67430, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 693}, "timestamp": "2026-02-10T06:44:23.553Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "WILSON": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -1.82, "mid": 4.09, "hi": 10.0}, "split": "valid"} +{"id": "ea81de", "alias": "comb_factorial_compute_v1_1918700295_3546", "problem": "Let $n$ be the largest prime number less than or equal to 9 that is at least the number of positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $S$ be the set of all integers $t$ such that $18 \\leq t \\leq 12186$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 1517$, and $t = 10a + 8b$. Compute the remainder when $|S| \\cdot n!$ is divided by 54082.", "answer": 51590, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54082),\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=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\"), Const(9)), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\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=5)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1517)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=12186)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))), 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/MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "a23446", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T08:41:59.851837Z", "verification": {"verified": true, "answer": 51590, "timestamp": "2026-02-08T08:41:59.855793Z"}, "problem_hash": "a56d5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 51590, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 202, "completion_tokens": 4696}, "timestamp": "2026-02-13T21:11:23.353Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 496}, "timestamp": "2026-02-12T02:09:39.032Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "L3b": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6d0b6b", "alias": "modular_product_range_v1_1742523217_5426", "problem": "Let $m = 11059$ and let $n$ be the largest prime number not exceeding $23$. Let $t$ be an integer satisfying $33 \\leq t \\leq 246$. Suppose there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 6$ and $1 \\leq b \\leq 15$ such that $t = 9a + 12b + 12$. Let $s$ be the number of such integers $t$. Let $k$ be the largest integer such that $n^k$ divides\n\\[\n62012401125039532556379998660573485600844305697681076988281977501277082291307733199392035494985588480110906925347079253886533305181022955750720975364180676643606085558565853039046282599696831415058685208178390263694949695518933699933355414702179320078962758662389991761275711841 \\times 2312833779424595518571890371063157173566902766648913627905937923013492798401100027166418903292964157477852965912389583783760471207.\n\\]\nCompute the product $\\prod_{i=s}^{k} i$, and find the remainder when this product is divided by $11059$.", "answer": 7583, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11059),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(23)), IsPrime(Var(\"n\"))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), 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=33)), Leq(left=Var(name='t'), right=Const(value=246)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b')), Const(value=12)))))))), end=MaxKDivides(target=Mul(Const(62012401125039532556379998660573485600844305697681076988281977501277082291307733199392035494985588480110906925347079253886533305181022955750720975364180676643606085558565853039046282599696831415058685208178390263694949695518933699933355414702179320078962758662389991761275711841), Const(2312833779424595518571890371063157173566902766648913627905937923013492798401100027166418903292964157477852965912389583783760471207)), base=Ref(\"_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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K13", "LIN_FORM"], "recipe_id": "401a27", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T10:59:15.400908Z", "verification": {"verified": true, "answer": 7583, "timestamp": "2026-02-08T10:59:15.404508Z"}, "problem_hash": "12077e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "K13": "ok_later", "DS2": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V3": "no"}, "split": "valid"} +{"id": "effcee", "alias": "nt_count_divisible_v1_2051736721_4148", "problem": "Let $S$ be the set of all ordered pairs $(k, j)$ where $k$ ranges from 1 to 3 and $j$ ranges from 1 to 2. Define\n$$\na = 5 \\sum_{(k,j) \\in S} \\varphi(k) \\left\\lfloor \\frac{1 + 2}{k} \\right\\rfloor.\n$$\nLet $d = \\left\\lfloor \\frac{a}{10} \\right\\rfloor$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 40401$ and $n$ is divisible by $d$.", "answer": 6733, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"upper\": Const(40401),\n \"divisor\": 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(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(2)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Summation(var=\"k1\", start=Const(1), end=Const(2), expr=Var(\"k1\")), Var(\"k\"))))))), Ref(\"_m\")),\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": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/K2", "SUM_INDEPENDENT"], "recipe_id": "593352", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 5.328, "created_at": "2026-02-08T17:45:55.775163Z", "verification": {"verified": true, "answer": 6733, "timestamp": "2026-02-08T17:46:01.103458Z"}, "problem_hash": "525cf7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 20200, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 405}, "timestamp": "2026-02-12T23:09:53.762Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "SUM_INDEPENDENT": "ok", "K2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ba8865", "alias": "nt_min_with_divisor_count_v1_717093673_3289", "problem": "Let $d$ be a positive divisor of $11155551$ such that $1 \\leq d \\leq 3333$. Let $\\text{upper}$ denote the largest such $d$. Determine the smallest positive integer $n$ such that $1 \\leq n \\leq \\text{upper}$ and $n$ has exactly $10$ positive divisors. Find the value of $n$.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(3333)), Divides(divisor=Var(\"d\"), dividend=Const(11155551))))),\n \"div_count\": Const(10),\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": "K2", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 4.206, "created_at": "2026-02-08T17:28:28.167918Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T17:28:32.373766Z"}, "problem_hash": "42cfa6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 232}, "timestamp": "2026-02-12T22:34:17.061Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "K16": "no", "LTE_SUM": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e001c4", "alias": "nt_euler_phi_compute_v1_865884756_889", "problem": "Let $p = 29$, $q = 7$, and $r = 3$. Define $n_1 = p \\cdot q \\cdot r$. Let $t$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $a = 6$. Let $b$ be the sum of the largest prime number less than or equal to $92$ and $t$. Define $c$ 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 = 64516 \\cdot c$. Compute $\\varphi(n)$, where $\\varphi$ denotes Euler's totient function.", "answer": 32004, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92),\n \"p\": Const(29),\n \"q\": Const(7),\n \"r\": Const(3),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\"), Ref(\"r\")),\n \"t\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"a\": Const(6),\n \"b\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\"))))), Ref(\"t\")),\n \"c\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(64516), Ref(\"c\")),\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/DIVISOR_PARITY/MOBIUS_COPRIME"], "recipe_id": "d91c81", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T15:40:34.543192Z", "verification": {"verified": true, "answer": 32004, "timestamp": "2026-02-08T15:40:34.549803Z"}, "problem_hash": "2f408b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "DIVISOR_PARITY": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "K14": "no", "K18": "no", "L3b": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "3d7d4a", "alias": "comb_sum_binomial_row_v1_124444284_3348", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 8$. Let $M = \\max\\{xy \\mid (x, y) \\in S\\}$ and define $R = 2^M$. Let $B$ be the number of integers $t$ with $36 \\leq t \\leq 18837$ for which there exist positive integers $a \\leq 182$ and $b \\leq 767$ such that $t = 15a + 21b$. Compute the remainder when $B \\cdot R$ is divided by $66105$.", "answer": 16834, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66105),\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(8)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=182)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=767)), Geq(left=Var(name='t'), right=Const(value=36)), Leq(left=Var(name='t'), right=Const(value=18837)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\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": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B1"], "recipe_id": "88e07c", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "affine_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:21:46.185343Z", "verification": {"verified": true, "answer": 16834, "timestamp": "2026-02-08T05:21:46.188642Z"}, "problem_hash": "c4ddcf", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2178, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 4315}, "timestamp": "2026-02-12T07:30:27.824Z"}, {"id": 8, "model": "mathstral", "answer": 18802, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 704}, "timestamp": "2026-02-14T16:19:08.042Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 613}, "timestamp": "2026-02-11T22:32:03.106Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "181d93", "alias": "comb_count_partitions_v1_349078426_1950", "problem": "Let $T$ be the set of all integers $t$ such that $12 \\leq t \\leq 519$ and there exist positive integers $a \\leq 42$, $b \\leq 45$ satisfying $t = 7a + 5b$. Let $m = |T|$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = m$. Define $n$ to be the minimum value of $x + y$ over all such pairs. Compute the number of integer partitions of $n$.", "answer": 75175, "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=42)), 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=12)), Leq(left=Var(name='t'), right=Const(value=519)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T14:02:00.065487Z", "verification": {"verified": true, "answer": 75175, "timestamp": "2026-02-08T14:02:00.070344Z"}, "problem_hash": "1e8158", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 569}, "timestamp": "2026-02-12T07:41:33.853Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e11c65", "alias": "modular_mod_compute_v1_1742523217_3528", "problem": "Let $ n $ be a positive integer. Define $ s(n) $ to be the sum of the decimal digits of $ n $. Let $ A $ be the set of all positive integers $ n \\leq 2109 $ for which $ s(n) $ is even. Let $ m $ be the smallest positive integer such that the highest power of 5 dividing $ n! $ is at least $ |A| $. Compute the remainder when 23409 is divided by $ m $.", "answer": 2284, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2109)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"a\": Const(23409),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Ref(\"_m\")), Ref(\"_n\")), domain='Z_{>0}')),\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": "L3B", "lemma_paths": ["L3B/V5"], "recipe_id": "718f0f", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3B", "V5"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T05:55:37.605995Z", "verification": {"verified": true, "answer": 2284, "timestamp": "2026-02-08T05:55:37.612928Z"}, "problem_hash": "c65623", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "V5": "ok_later", "C2": "no", "K13": "no", "K14": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "a33fbe", "alias": "antilemma_cartesian_v1_1918700295_4628", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ of integers such that $1 \\leq a \\leq 27$ and $1 \\leq b \\leq 35$. Find the remainder when $44121 \\cdot x$ is divided by $85912$.", "answer": 27025, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(27)), right=IntegerRange(start=Const(1), end=Const(35)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(85912)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:29:16.139802Z", "verification": {"verified": true, "answer": 27025, "timestamp": "2026-02-08T09:29:16.140345Z"}, "problem_hash": "c0fd33", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27025, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 105, "completion_tokens": 1038}, "timestamp": "2026-02-14T04:31:25.494Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 254}, "timestamp": "2026-02-12T02:59:06.147Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ec1628", "alias": "diophantine_product_count_v1_1125832087_1406", "problem": "Let $p=73$. Let $q$ be the number of integers $t$ with $21\\le t\\le81$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le3$, $1\\le b\\le6$, and\n$$t=15a+6b.$$\nLet $n_1=pq$, and let\n$$m=\\sum_{d\\mid n_1}\\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $n=1$ and let $f$ be the number of distinct prime factors of $n$.\n\nLet $k$ be defined by\n$$k=\\min (x+y)+m+f,$$\nwhere the minimum is taken over all ordered pairs $(x,y)$ of positive integers such that $xy=176400$.\n\nLet $\\text{upper}=44$. Let $\\text{result}$ be the number of integers $x$ with $1\\le x\\le\\text{upper}$ such that $x$ divides $k$ and $\\dfrac{k}{x}\\le\\text{upper}$.\n\nLet $Q$ be the remainder when $44121\\cdot\\text{result}$ is divided by $57236$.\n\nFind the value of $Q$.", "answer": 9552, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(57236),\n \"p\": Const(73),\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=3)), 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=21)), Leq(left=Var(name='t'), right=Const(value=81)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"m\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"f\": SmallOmega(n=Ref(name='n')),\n \"k\": 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(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"m\"), Ref(\"f\")),\n \"upper\": Const(44),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_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": "B3", "lemma_paths": ["B3/MOBIUS_SUM/OMEGA_ZERO", "LIN_FORM/MOBIUS_SUM"], "recipe_id": "9cdabf", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_SUM", "OMEGA_ZERO"], "num_lemmas": 4, "generation_time": 0.013, "created_at": "2026-02-08T03:43:02.938391Z", "verification": {"verified": true, "answer": 9552, "timestamp": "2026-02-08T03:43:02.951464Z"}, "problem_hash": "cdbec3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MOBIUS_SUM": "ok_later", "OMEGA_ZERO": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "LTE_SUM": "no", "V1": "no", "V8": "no"}, "split": "valid"} +{"id": "5b30ad", "alias": "antilemma_sum_equals_v1_1742523217_3285", "problem": "Let $c=228$. Let $m$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=c.$$Let $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n$$x_1+x_2=m.$$\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 57$, $1\\le j\\le 57$, and\n$$i+j=n.$$\n\nLet $T$ be the set of all integers $t$ such that there exist integers $u$ and $v$ with $1\\le u\\le 124$, $1\\le v\\le 535$, $14\\le t\\le 3380$, and\n$$t=10u+4v.$$Let $y$ be the number of elements of $T$.\n\nDefine\n$$Q=y-x.$$\n\nFind the value of $Q$. ", "answer": 1624, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(228),\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(\"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(57)), right=IntegerRange(start=Const(1), end=Const(57))))),\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=124)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=535)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=3380)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1/COUNT_SUM_EQUALS", "LIN_FORM", "COUNT_SUM_EQUALS"], "recipe_id": "05e921", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T05:45:48.573328Z", "verification": {"verified": true, "answer": 1624, "timestamp": "2026-02-08T05:45:48.581432Z"}, "problem_hash": "fc4e15", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1626, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 5768}, "timestamp": "2026-02-12T13:39:10.114Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 510}, "timestamp": "2026-02-11T23:03:25.935Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c4e4bc", "alias": "geo_count_lattice_triangle_v1_1742523217_5313", "problem": "Let $m = 169$ and $c = 169$. Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 1792$ and $13$ divides the $k$-th Fibonacci number. Define\n$$\nA = \\left| 100m + 50(0 - n) \\right|.\n$$\nLet $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 2500$. Let $s_{\\text{min}}$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $t$ be the number of integers $j$ such that $0 \\leq j \\leq 39523$ and $\\binom{39523}{j}$ is odd. Define\n$$\nB = \\gcd(100, 256) + \\gcd(|50 - s_{\\text{min}}|, |c - t|) + \\gcd(50, 169).\n$$\nCompute the value of\n$$\n\\frac{A + 2 - B}{2}.\n$$\nLet $Q$ be the remainder when $36492$ times this value is divided by $63887$. Find the value of $Q$.", "answer": 51713, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(169),\n \"_m\": Const(169),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1792)), Divides(divisor=Const(13), dividend=Fibonacci(arg=Var(name='n')))))),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), Ref(name='_m')), Mul(Const(value=50), Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=256))), GCD(a=Abs(arg=Sub(left=Const(value=50), right=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=2500)))), expr=Sum(Var(name='x'), Var(name='y')))))), b=Abs(arg=Sub(left=Ref(name='_c'), 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=Const(value=39523)), Eq(left=Mod(value=Binom(n=Const(value=39523), k=Var(name='j')), modulus=Const(value=2)), right=Const(value=1)))))))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=50))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=169))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Mul(Const(36492), Ref(\"result\")), modulus=Const(63887)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/B3", "V8"], "recipe_id": "78d007", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "V8"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T10:54:58.892165Z", "verification": {"verified": true, "answer": 51713, "timestamp": "2026-02-08T10:54:58.907864Z"}, "problem_hash": "05838d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 46195, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 307, "completion_tokens": 3045}, "timestamp": "2026-02-14T09:14:25.204Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 403, "completion_tokens": 596}, "timestamp": "2026-02-12T03:30:28.480Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "V8": "ok", "B3": "ok_later", "K18": "no", "K5": "no", "L3c": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "d8e64a", "alias": "nt_count_digit_sum_v1_1439011603_1592", "problem": "Let $u = 366025$. Let $s$ be the largest positive integer $d$ such that $1 \\leq d \\leq 29$ and $d$ divides $1189$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq u$ and the sum of the decimal digits of $n$ equals $s$.", "answer": 15968, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\n \"upper\": Const(366025),\n \"target_sum\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(1189))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 15.997, "created_at": "2026-02-08T16:10:46.816116Z", "verification": {"verified": true, "answer": 15968, "timestamp": "2026-02-08T16:11:02.813400Z"}, "problem_hash": "d54bfe", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 448}, "timestamp": "2026-02-12T10:02:01.197Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K18": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1cb20c", "alias": "diophantine_fbi2_min_v1_717093673_262", "problem": "Let $s = \\sum_{k=1}^{10} k$. Define $k = \\sum_{d \\mid s} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Find the smallest divisor $d_1$ of $k$ such that $5 \\leq d_1 \\leq 65$ and $\\frac{k}{d_1} \\geq 3$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(5),\n \"k\": SumOverDivisors(n=Summation(expr=Var(name='k1'), var='k1', start=Const(value=1), end=Ref(name='_m')), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": Const(65),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Leq(Var(\"d1\"), Ref(\"upper\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(3))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/K3"], "recipe_id": "7bbb8e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.017, "created_at": "2026-02-08T15:16:14.665155Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T15:16:14.681997Z"}, "problem_hash": "d22adf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 191, "completion_tokens": 412}, "timestamp": "2026-02-12T08:11:53.431Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K3": "ok_later", "K17": "no", "L3b": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0f70e4", "alias": "comb_count_derangements_v1_1520064083_7707", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4\\}$. Define $r = !n$, the subfactorial of $n$. Compute the remainder when $82542 \\cdot r$ is divided by $98959$.", "answer": 24738, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98959),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(82542), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:16:05.878871Z", "verification": {"verified": true, "answer": 24738, "timestamp": "2026-02-08T09:16:05.879697Z"}, "problem_hash": "689f45", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24738, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 119, "completion_tokens": 1321}, "timestamp": "2026-02-14T02:11:18.003Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 317}, "timestamp": "2026-02-12T02:42:53.269Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "2ca1b6", "alias": "diophantine_fbi2_count_v1_1520064083_8293", "problem": "Let $m = 68$. Let $n$ be the number of integers $t$ such that $20 \\leq t \\leq 100$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 9$, $1 \\leq b \\leq 9$, and $t = 3a + 7b + 10$. Let $k = 360$. Compute the number of positive integers $d$ such that $6 \\leq d \\leq n$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq m$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(68),\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=9)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=100)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=10)))))))),\n \"k\": Const(360),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["LIN_FORM/C2"], "recipe_id": "03e7fc", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "K13", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.05, "created_at": "2026-02-08T10:07:34.688088Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T10:07:34.738091Z"}, "problem_hash": "70a82e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 174, "completion_tokens": 2874}, "timestamp": "2026-02-14T06:29:36.787Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 467}, "timestamp": "2026-02-12T03:11:26.883Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "02e189", "alias": "comb_sum_binomial_row_v1_865884756_5062", "problem": "Let $n$ be the number of integers $t$ such that $14 \\leq t \\leq 48$ and there exist positive integers $a \\leq 2$, $b \\leq 7$ for which $t = 10a + 4b$.\n\nLet $P$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $pq = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $R = P^n$. Compute $73441 - R$.", "answer": 57057, "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=7)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=48)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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=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'))))))), Ref(\"n\")),\n \"_c\": Const(73441),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T18:21:49.766042Z", "verification": {"verified": true, "answer": 57057, "timestamp": "2026-02-08T18:21:49.770099Z"}, "problem_hash": "c440a8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 737}, "timestamp": "2026-02-13T00:01:43.359Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K17": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "688e0a", "alias": "antilemma_count_primes_v1_677425708_4206", "problem": "Let $m = 2$. Define $n$ to be the largest positive divisor of 14 that does not exceed $m$. Let $c = 390$. Let $S$ be the set of all prime numbers $p$ such that $n \\leq p \\leq q$, where $q$ is the largest prime number not exceeding $c$. Compute the number of elements in $S$, and let this value be $x$. Find the remainder when $44121x$ is divided by $92002$. Compute this remainder.", "answer": 85245, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(390),\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=Const(14))))),\n \"x\": 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\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(92002)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW/COUNT_PRIMES", "MAX_DIVISOR/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "4a275f", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:29:32.602161Z", "verification": {"verified": true, "answer": 85245, "timestamp": "2026-02-08T06:29:32.605541Z"}, "problem_hash": "c0fd12", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok", "K15": "no", "K5": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "split": "valid"} +{"id": "dcac9e", "alias": "nt_lcm_compute_v1_349078426_873", "problem": "Let $m = 4803$. Define $n$ to be the number of positive integers at most $m$ that are divisible by 3 and relatively prime to 35. Let $a$ be the number of positive integers $t$ between 7 and 676, inclusive, that can be expressed as $t = 3a' + 4b'$ for some integers $a'$ with $1 \\leq a' \\leq 204$ and $b'$ with $1 \\leq b' \\leq 16$. Let $b$ be the number of ordered pairs of positive odd integers $(x_1, x_2)$ such that $x_1 + x_2 = n$. Let $\\ell$ be the least common multiple of $a$ and $b$. Compute the remainder when $71435 \\cdot \\ell$ is divided by $53257$.", "answer": 33183, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(71435),\n \"_m\": Const(4803),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\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=204)), 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=676)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53257)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/COMB1", "LIN_FORM"], "recipe_id": "41fbbd", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:19:11.491433Z", "verification": {"verified": true, "answer": 33183, "timestamp": "2026-02-08T13:19:11.495508Z"}, "problem_hash": "8ed19f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 670}, "timestamp": "2026-02-12T06:36:07.250Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3b": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "127d44", "alias": "nt_count_divisors_in_range_v1_153355830_1727", "problem": "Let $m = 9$ and $n = 39762$. Let $a$ be the smallest positive integer such that the highest power of $5$ dividing $a!$ is at least $22$. Let $b$ be the number of positive integers $k$ satisfying $1 \\leq k \\leq n$, $m \\mid k$, and $\\gcd(k, 35) = 1$. Let $N = 498960$. Compute the number of positive divisors $d$ of $N$ such that $a \\leq d \\leq b$.", "answer": 97, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": Const(39762),\n \"n\": Const(498960),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(5)), Const(22)), domain='Z_{>0}')),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))),\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": "C5", "lemma_paths": ["C5", "V5"], "recipe_id": "10129f", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "V5"], "num_lemmas": 2, "generation_time": 0.059, "created_at": "2026-02-08T06:35:24.849154Z", "verification": {"verified": true, "answer": 97, "timestamp": "2026-02-08T06:35:24.908585Z"}, "problem_hash": "e6295b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "f4657b", "alias": "nt_sum_phi_v1_1440796553_601", "problem": "Let $m = 44121$ and $n = 75638$. Let $k$ be the largest integer such that $11^k$ divides\n\n$$\n5177616740489070834670168379431944015941696765447370215978569328255992280946820000287470545963987307567967007207327373717079876850227647141225736369770055976220420342176420272390136499252288264053282370714960165622049398539185094832180645116355887571097285399368494363240316273059833573484874131.\n$$\n\nLet $S$ be the set of all positive integers $a$ such that $1 \\le a \\le k$ and $\\gcd(a, 30) = 1$.\n\nLet $T$ be the set of all positive integers $b$ such that $1 \\le b \\le |S|$. Compute the remainder when $m$ times the sum of $\\phi(b)$ over all elements $b$ in $T$ is divided by $n$.", "answer": 13896, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(75638),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MaxKDivides(target=Pow(Const(5177616740489070834670168379431944015941696765447370215978569328255992280946820000287470545963987307567967007207327373717079876850227647141225736369770055976220420342176420272390136499252288264053282370714960165622049398539185094832180645116355887571097285399368494363240316273059833573484874131), Const(7)), base=Const(11))), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/C4"], "recipe_id": "56d658", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "K14"], "num_lemmas": 2, "generation_time": 0.041, "created_at": "2026-02-08T11:52:57.563066Z", "verification": {"verified": true, "answer": 13896, "timestamp": "2026-02-08T11:52:57.604215Z"}, "problem_hash": "2560ff", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "C4": "ok_later", "DS2": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "054bc0", "alias": "nt_min_coprime_above_v1_1742523217_2485", "problem": "Let $n_0 = 48$, $a = 70500$, $b = 70536$, and $m = 26$. Let $r$ be the smallest integer $n$ such that $n > a$, $n \\leq b$, and $\\gcd(n, m) = 1$. Let $d_0$ be the smallest integer $d \\geq 2$ that divides $9494537219$. Let $c_0$ be the number of positive integers $j$ such that $1 \\leq j \\leq 103$ and $j^5 \\leq 11592740743$. Compute the remainder when\n$$\n353702 \\cdot |r| \\bmod d_0 + 329703 \\cdot (r^2 \\bmod 1) \\bmod 101 + 215534 \\cdot (|r| \\bmod n_0) \\bmod c_0\n$$\nis divided by $1009091$, and then compute the remainder when that result is divided by $92645$.", "answer": 34130, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48),\n \"start\": Const(70500),\n \"upper\": Const(70536),\n \"modulus\": Const(26),\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=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(9494537219))))))), 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=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(103)), Leq(Pow(Var(\"j\"), Const(5)), Const(11592740743))), domain='positive_integers'))))), modulus=Const(1009091)), modulus=Const(92645)),\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", "C3"], "recipe_id": "ef17bd", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T04:48:01.142718Z", "verification": {"verified": true, "answer": 34130, "timestamp": "2026-02-08T04:48:01.152211Z"}, "problem_hash": "a5d969", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 86, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 339, "completion_tokens": 7187}, "timestamp": "2026-02-11T22:06:11.574Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 142, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 339, "completion_tokens": 6537}, "timestamp": "2026-02-11T22:04:49.834Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 8192}, "timestamp": "2026-02-12T03:24:37.207Z"}, {"id": 8, "model": "mathstral", "answer": 79, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 1153}, "timestamp": "2026-02-14T00:50:47.160Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 363, "completion_tokens": 388}, "timestamp": "2026-02-11T21:52:20.504Z"}], "solution_status": 0, "lemma_applicability": {"C3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "fd895c", "alias": "modular_count_residue_v1_124444284_343", "problem": "Let $N$ be the number of positive integers $n$ such that $n \\leq 58081$ and $n \\equiv 0 \\pmod{17}$. Let $m = 2N + 3$. Find the multiplicative order of $2$ modulo $m$, that is, the smallest positive integer $k$ such that $2^k \\equiv 1 \\pmod{m}$.", "answer": 2732, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(58081),\n \"m\": Const(17),\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\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C5", "C5/C5"], "recipe_id": "02901e", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "L3B"], "num_lemmas": 2, "generation_time": 7.391, "created_at": "2026-02-08T03:13:15.348029Z", "verification": {"verified": true, "answer": 2732, "timestamp": "2026-02-08T03:13:22.739217Z"}, "problem_hash": "abb7e7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2732, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 3079}, "timestamp": "2026-02-09T16:24:14.136Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2732, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 1564}, "timestamp": "2026-02-09T00:58:22.700Z"}], "solution_status": 2, "lemma_applicability": {"C5": "ok", "L3B": "ok", "COUNT_PRIMES": "no", "K17": "no", "V3": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "0c5b28", "alias": "nt_min_coprime_above_v1_458359167_1141", "problem": "Let $m=114$. Consider all ordered pairs $(x,y)$ of positive integers such that\n$$x+y=26.$$\nLet $P$ be the set of all values of $xy$ over these pairs, and let $M$ be the maximum element of $P$.\n\nLet $e$ be the largest integer such that $13^{e}$ divides $M^{m}$. Let $N$ be the smallest positive integer $n$ such that the exponent of $3$ in the prime factorization of $n!$ is at least $e$.\n\nLet $S$ be the set of all integers $n$ with\n$$2048 p$ such that $pq = 70405432657560$ and $\\gcd(p, q) = 1$. Compute the remainder when $s - r$ is divided by $76350$.", "answer": 74751, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7),\n \"k\": Const(1),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Sub(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=70405432657560)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), modulus=Const(76350)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS"], "recipe_id": "c90628", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:17:58.757982Z", "verification": {"verified": true, "answer": 74751, "timestamp": "2026-02-08T16:17:58.759772Z"}, "problem_hash": "15c682", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 453}, "timestamp": "2026-02-12T10:23:37.406Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "292591", "alias": "nt_sum_divisors_range_v1_865884756_6264", "problem": "Let $A$ be the sum of the number of positive divisors of $n$ for all integers $n$ from 1 to 14400. Let $B$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 751$ and $\\gcd(n_1, 12) = 1$. Compute the remainder when\n$$\n\\left(A \\bmod B\\right) + 5003 \\cdot \\left(A \\bmod 397\\right)\n$$\nis divided by $82065$.", "answer": 11710, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82065),\n \"upper\": Const(14400),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"_c\": Const(5003),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(751)), Eq(GCD(a=Var(\"n1\"), b=Const(12)), Const(1)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Const(397)))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4"], "recipe_id": "bc7042", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4"], "num_lemmas": 1, "generation_time": 0.465, "created_at": "2026-02-08T19:07:22.944611Z", "verification": {"verified": true, "answer": 11710, "timestamp": "2026-02-08T19:07:23.409926Z"}, "problem_hash": "e30654", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 596}, "timestamp": "2026-02-13T00:48:18.761Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "K14": "no", "LTE_SUM": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e7935c", "alias": "comb_binomial_compute_v1_168721529_277", "problem": "Let $S$ be the set of all integers $t$ such that $5 \\leq t \\leq 29$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 7$, and $t = 2a + 3b$. Let $m$ be the number of positive integers $n$ such that $1 \\leq n \\leq |S|$ and $\\gcd(n, 15) = 1$. Compute $\\binom{m}{7}$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(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=7)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=29)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"k\": Const(7),\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/C4", "ONE_PHI_1"], "recipe_id": "170cae", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T12:56:40.559626Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T12:56:40.568507Z"}, "problem_hash": "980ebe", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:11:17.420Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 3805}, "timestamp": "2026-02-09T15:03:49.115Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 1517}, "timestamp": "2026-02-10T02:17:20.206Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "C4": "ok_later", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.98, "hi": 1.65}, "split": "valid"} +{"id": "92be5a", "alias": "antilemma_cartesian_v1_124444284_4909", "problem": "Compute the number of ordered pairs $(i, j)$ where $i$ is an integer from $1$ to $8$ inclusive and $j$ is an integer from $1$ to $29$ inclusive.", "answer": 232, "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(29)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T06:17:27.778558Z", "verification": {"verified": true, "answer": 232, "timestamp": "2026-02-08T06:17:27.778885Z"}, "problem_hash": "76acd6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 232, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 155}, "timestamp": "2026-02-11T23:53:15.771Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "2d1861", "alias": "nt_gcd_compute_v1_677425708_1215", "problem": "Let $p = 5$, and define $e = ( (p-1)! + 1 ) \\bmod p$. Let $n = \\phi(2)$, where $\\phi$ is Euler's totient function, and let $h$ be the number of prime factors of $n$ counted with multiplicity. Let $a = 210222$ and $b = 490518 + e + h$. Compute $\\gcd(a, b)$, then multiply the result by $64335$ and take the remainder when divided by $91582$. Find the value of this remainder.", "answer": 86840, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(5),\n \"e\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": EulerPhi(n=Const(2)),\n \"h\": BigOmega(n=Ref(name='n')),\n \"a\": Const(210222),\n \"b\": Sum(Const(490518), Ref(\"e\"), Ref(\"h\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(64335),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(91582)),\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", "WILSON", "ONE_PHI_2"], "recipe_id": "d1c2a4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "ONE_PHI_2", "WILSON"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:02:15.526074Z", "verification": {"verified": true, "answer": 86840, "timestamp": "2026-02-08T04:02:15.530518Z"}, "problem_hash": "d488b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 86840, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 2200}, "timestamp": "2026-02-09T17:09:36.681Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "ONE_PHI_2": "ok", "WILSON": "ok", "K15": "no", "K5": "no", "MOD_SUB": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "3e8c7e", "alias": "antilemma_count_primes_v1_1520064083_832", "problem": "Let $m$ be the largest integer such that $5^m$ divides $5230!$. Let $p$ be the largest prime number that is at most $m$. Determine the number of prime numbers $n$ such that $2 \\le n \\le p$.", "answer": 213, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": MaxKDivides(target=Factorial(Const(5230)), base=Ref(\"_m\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), 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": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW/COUNT_PRIMES", "COUNT_PRIMES"], "recipe_id": "0b29e1", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:37:31.297666Z", "verification": {"verified": true, "answer": 213, "timestamp": "2026-02-08T03:37:31.299756Z"}, "problem_hash": "425313", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MOD_ADD": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "e400ba", "alias": "antilemma_product_of_sums_v1_1520064083_1303", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 4$. Let $A$ be the sum of $i \\cdot j$ over all pairs $(i, j)$ in $S$. Let $D$ be the set of all positive divisors of $119$ that are at most $7$. Let $T$ be the set of all integers $j$ with $0 \\leq j \\leq \\max(D)$ such that $\\binom{7}{j}$ is odd. Let $B$ be the number of elements in $T$. Let $x = A \\cdot B$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|x| + 2$.", "answer": 900, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(7),\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(4)))), expr=Mul(Var(\"i\"), Var(\"j\")))), SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(119)))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1)))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR", "PRODUCT_OF_SUMS"], "recipe_id": "49c4ea", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:55:00.474012Z", "verification": {"verified": true, "answer": 900, "timestamp": "2026-02-08T03:55:00.476397Z"}, "problem_hash": "c206ca", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_PRIMES": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "828991", "alias": "nt_count_primes_v1_1520064083_1755", "problem": "Let $r$ be the number of prime numbers between 2 and 10957, inclusive. Let $c$ be the largest prime number between 2 and 3, inclusive. Let $d_{\\min}$ be the smallest integer $d \\geq 2$ that divides 35557. Compute the remainder when $r^2 + d_{\\min} \\cdot r + c$ is divided by 93123. Give your answer as a single integer.", "answer": 43488, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(2),\n \"upper\": Const(10957),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(35557))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(93123)),\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"], "recipe_id": "a23754", "seed_template_id": "nt_count_primes_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.257, "created_at": "2026-02-08T04:16:13.580924Z", "verification": {"verified": true, "answer": 43488, "timestamp": "2026-02-08T04:16:13.837904Z"}, "problem_hash": "e424ab", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:49:47.978Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:03:04.984Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38106, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 142, "completion_tokens": 2800}, "timestamp": "2026-02-11T23:15:07.735Z"}, {"id": 8, "model": "mathstral", "answer": 1405, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 634}, "timestamp": "2026-02-13T12:00:30.176Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 264}, "timestamp": "2026-02-11T21:26:49.990Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K13": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "8c0e39", "alias": "comb_binomial_compute_v1_1520064083_9297", "problem": "Let $m = 5929$. Let $s$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $\\sigma$ be the minimum value of $x + y$ as $(x, y)$ ranges over $s$. Let $n$ be the number of positive integers $n$ such that $1 \\leq n \\leq \\sigma$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute $\\binom{n}{8}$. Find the value of this expression.", "answer": 3003, "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 \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T10:40:26.561294Z", "verification": {"verified": true, "answer": 3003, "timestamp": "2026-02-08T10:40:26.565664Z"}, "problem_hash": "639d1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3003, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 1442}, "timestamp": "2026-02-14T08:01:26.995Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 498}, "timestamp": "2026-02-12T03:22:43.941Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "7cf5a8", "alias": "diophantine_fbi2_count_v1_458359167_72", "problem": "Let $k=420$ and $m=10$. Let $A$ be the number of integers $j$ with $1\\le j\\le 4128$ and $j^2\\le 17040384$ such that the binomial coefficient $\\binom{4128}{j}$ is odd.\n\nLet $B$ be the number of integers $j$ with $0\\le j\\le A$ such that $\\binom{4128}{j}$ is odd.\n\nLet $C$ be the number of integers $n$ with $1\\le n\\le 423$ and $\\gcd(n,m)=1$.\n\nConsider all integers $d$ satisfying the following conditions:\n- $B\\le d\\le 172$,\n- $d$ divides $k$,\n- $2\\le \\dfrac{k}{d}\\le C$.\n\nLet $Q$ be the number of such integers $d$.\n\nCompute $Q$.", "answer": 19, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(2),\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(4128)), Leq(Pow(Var(\"j\"), Const(2)), Const(17040384))), domain='positive_integers'))), Eq(Mod(value=Binom(n=Const(4128), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers'))), Leq(Var(\"d\"), Const(172)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(423)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), 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": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "C3/V8", "C4"], "recipe_id": "fabd72", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 2, "lemma_set": ["C3", "C4", "LIN_FORM", "MOBIUS_SQUAREFREE", "MOBIUS_SUM", "V8"], "num_lemmas": 6, "generation_time": 0.088, "created_at": "2026-02-08T02:59:15.940364Z", "verification": {"verified": true, "answer": 19, "timestamp": "2026-02-08T02:59:16.028489Z"}, "problem_hash": "41c0f9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "C4": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok", "V8": "ok_later", "K5": "no", "L3c": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "valid"} +{"id": "4878b3", "alias": "nt_count_digit_sum_v1_784195855_1335", "problem": "Let $u = 11026$ and $s = 17$. Define $R$ to be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and the sum of the decimal digits of $n$ is equal to $s$. Let $k_{\\max}$ be the largest integer $k$ such that $2^k \\leq 6026$. Let $d$ denote a positive divisor of $\\gcd(k_{\\max}, 25)$. Define\n$$\nT = \\sum_{d \\mid \\gcd(k_{\\max}, 25)} \\mu(d),\n$$\nwhere $\\mu$ is the M\\\"obius function. Compute\n$$\n\\sum_{n = |T|}^{R} \\tau(n),\n$$\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 4925, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\n \"upper\": Const(11026),\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 \"Q\": Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='k'), condition=Leq(left=Pow(base=Const(value=2), exp=Var(name='k')), right=Const(value=6026)))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MOBIUS_COPRIME"], "recipe_id": "c40909", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "sum_divisor_count", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.397, "created_at": "2026-02-08T04:59:10.545187Z", "verification": {"verified": true, "answer": 4925, "timestamp": "2026-02-08T04:59:10.942611Z"}, "problem_hash": "eedaaf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_VAL": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "same_pattern_wrong", "C2": "no", "K14": "no", "MOD_ADD": "no", "V3": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "53e21b", "alias": "antilemma_cartesian_v1_1520064083_691", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 39$ and $1 \\leq j \\leq 46$. Compute\n$$\nx + \\phi(|x| + 0!) + \\tau(|x| + 1),\n$$\nwhere $\\phi(n)$ denotes the number of positive integers at most $n$ that are relatively prime to $n$, and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 3230, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(46)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:32:59.449266Z", "verification": {"verified": true, "answer": 3230, "timestamp": "2026-02-08T03:32:59.450300Z"}, "problem_hash": "274b1c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3230, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 848}, "timestamp": "2026-02-10T14:57:43.780Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3230, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 219, "completion_tokens": 788}, "timestamp": "2026-02-10T13:49:45.138Z"}, {"id": 8, "model": "mathstral", "answer": 2054, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 869}, "timestamp": "2026-02-11T19:32:54.652Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3230, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 500}, "timestamp": "2026-02-11T19:29:34.984Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "94006e", "alias": "nt_gcd_compute_v1_151522320_557", "problem": "Let $d$ be a positive integer. Define $n = 65$. Consider the set of all positive integers $d$ such that $d \\leq 5$ and $d$ divides $n$. Let $s$ be the sum of $\\mu(d)$ over all such $d$, where $\\mu$ denotes the Möbius function. Let $a = 434925$ and $b = 956835$. Define $g = \\gcd(a, b)$. Compute the value of\n$$\n\\sum_{k = s + 7}^{|g|} \\tau(k),\n$$\nwhere $\\tau(k)$ denotes the number of positive divisors of $k$, and then find the remainder when this sum is divided by $53761$.", "answer": 35060, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65),\n \"a\": Const(434925),\n \"b\": Const(956835),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=1)), Leq(left=Var(name='d'), right=Const(value=5)), Divides(divisor=Var(name='d'), dividend=Ref(name='_n'))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(53761)),\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/MOBIUS_COPRIME"], "recipe_id": "8e8296", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "sum_divisor_count", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:22:35.839341Z", "verification": {"verified": true, "answer": 35060, "timestamp": "2026-02-08T03:22:35.841811Z"}, "problem_hash": "ddd024", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K5": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8": "no"}, "split": "valid"} +{"id": "c9eb94", "alias": "algebra_vieta_sum_v1_1520064083_4787", "problem": "Let $\\_n = 2$. Define $r$ to be the product of all real numbers $x$ satisfying\n\\[\nx^3 + 12x^2 + 39x + \\sum_{k=1}^{7} \\phi(k) \\left\\lfloor \\frac{7}{k} \\right\\rfloor = 0.\n\\]\nLet $p_{\\max}$ be the largest prime number $n$ such that $\\_n \\leq n \\leq 11$. Compute the Bell number $B_{|r| \\bmod p_{\\max}}$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=3)), Mul(Const(value=12), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=39), Var(name='x')), Summation(expr=Mul(EulerPhi(n=Var(name='k')), Floor(arg=Div(left=Const(value=7), right=Var(name='k')))), var='k', start=Const(value=1), end=Const(value=7))), right=Const(value=0)))),\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\"), Const(11)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MAX_PRIME_BELOW", "K2"], "recipe_id": "af7909", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.063, "created_at": "2026-02-08T06:25:54.918500Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T06:25:54.981654Z"}, "problem_hash": "9fc1d7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 1403}, "timestamp": "2026-02-13T00:19:33.037Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 226, "completion_tokens": 661}, "timestamp": "2026-02-12T00:04:54.145Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok", "K15": "no", "K16": "no", "K18": "no", "L3c": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6985e4", "alias": "sequence_fibonacci_compute_v1_397696148_1066", "problem": "Let $ n $ be the number of elements in the Cartesian product of the sets $ \\{1, 2, 3, 4\\} $ and $ \\{1, 2, 3, 4, 5\\} $. Let $ F_n $ denote the $ n $-th Fibonacci number, where $ F_1 = 1 $, $ F_2 = 1 $, and $ F_k = F_{k-1} + F_{k-2} $ for $ k \\geq 3 $. Compute the remainder when $ 18225 \\cdot F_n $ is divided by 84437.", "answer": 14105, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84437),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": Const(18225),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:20:04.972710Z", "verification": {"verified": true, "answer": 14105, "timestamp": "2026-02-08T12:20:04.973976Z"}, "problem_hash": "3fb2cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 304}, "timestamp": "2026-02-12T05:09:25.183Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8320df", "alias": "antilemma_v1_legendre_1125832087_863", "problem": "Let $x$ be the largest integer $k$ such that $7^k$ divides $10318!$. Let $a = 353702 \\cdot (x \\bmod 97)$, $b = 329703 \\cdot ((x^2 + 1) \\bmod 101)$, and $c = 215534 \\cdot (x \\bmod 5)$. Let $M$ be the largest prime number less than or equal to $106$. Compute the remainder when $a + b + c$ is divided by $1009091$, and then compute the remainder when that result is divided by $81897$.", "answer": 47284, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"x\": MaxKDivides(target=Factorial(Const(10318)), base=Ref(\"_n\")),\n \"_c\": Const(5),\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(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(106)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(81897)),\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", "V1"], "recipe_id": "f314e6", "seed_template_id": "antilemma_v1_legendre", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "V1"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:20:49.572826Z", "verification": {"verified": true, "answer": 47284, "timestamp": "2026-02-08T03:20:49.574545Z"}, "problem_hash": "56606c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "K14": "no", "MOD_FACTORIAL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "1ffabe", "alias": "nt_count_primes_v1_1520064083_636", "problem": "Let $N$ be the number of prime numbers $p$ such that $2 \\leq p \\leq 64620$. Let $C$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 9000000$. Compute the value of\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} |N| \\rfloor - \\varphi(2)} \\left( \\text{digit}_i(|N|) \\cdot 2^{i + \\sum_{d \\mid \\gcd(9,14)} \\mu(d)} \\right) + C,\n$$\nwhere $\\text{digit}_i(m)$ denotes the $i$-th digit of $m$ (starting from the units digit at $i=0$), $\\varphi$ is Euler's totient function, and $\\mu$ is the Möbius function.", "answer": 6158, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(64620),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(9000000)))), 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), EulerPhi(n=Const(2))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=Const(value=9), b=Const(value=14)), var='d', expr=MoebiusMu(n=Var(name='d')))), 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", "MOBIUS_COPRIME", "ONE_PHI_2"], "recipe_id": "eb3b58", "seed_template_id": "nt_count_primes_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 1.523, "created_at": "2026-02-08T03:30:41.498007Z", "verification": {"verified": true, "answer": 6158, "timestamp": "2026-02-08T03:30:43.020762Z"}, "problem_hash": "c8b779", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "K14": "no", "K16": "no", "K18": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "b0e9fe", "alias": "antilemma_cartesian_v1_1915831931_2681", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from $1$ to $37$ and $b$ is an integer from $1$ to $49$. Find the remainder when $44121 \\cdot x$ is divided by $79474$.", "answer": 40529, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(49)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(79474)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:03:35.452686Z", "verification": {"verified": true, "answer": 40529, "timestamp": "2026-02-08T17:03:35.453524Z"}, "problem_hash": "4d7cab", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 325}, "timestamp": "2026-02-12T21:44:26.754Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "35067e", "alias": "modular_sum_quadratic_residues_v1_48377204_1925", "problem": "Let $m = 4$ and $n = 2$. Let $p$ be the smallest integer $d \\geq n$ such that $d$ divides $302764416173$. Define $$\nresult = \\frac{p(p-1)}{m}.$$\nLet $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 12$. Let $M$ be the largest element of $S$. Compute the Bell number $B_k$, where $k$ is the remainder when $|\\text{result}|$ is divided by $M$. Determine the value of this Bell number.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(302764416173))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Ref(\"_m\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "114c7a", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:30:55.787807Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T16:30:55.790523Z"}, "problem_hash": "bb3075", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 353}, "timestamp": "2026-02-12T10:46:44.725Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "K17": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0748e9", "alias": "antilemma_count_primes_v1_784195855_4113", "problem": "Let $a = 19$ and $b = 16$. Define $n = a \\cdot b + 1$, and let $w = \\tau(n) \\bmod 2$, where $\\tau(n)$ is the number of positive divisors of $n$. Let $p = 13 + w$. Define $s = ( (p-1)! + 1 ) \\bmod p$. Let $N = 139 + s$. Let $x$ be the number of prime numbers $n$ such that $k \\le n \\le N$, where $k$ is the number of ordered pairs $(p,q)$ of positive integers satisfying $p \\cdot q = 108$, $\\gcd(p,q) = 1$, and $p < q$. Compute $ (89870 \\cdot x) \\bmod 72693$.", "answer": 2474, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(19),\n \"b\": Const(16),\n \"n\": Sum(Mul(Ref(\"a\"), Ref(\"b\")), Const(1)),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Const(2)),\n \"p\": Sum(Const(13), Ref(\"w\")),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"_n\": Sum(Const(139), Ref(\"s\")),\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=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(89870),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(72693)),\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", "DIVISOR_PARITY", "COUNT_PRIMES", "WILSON"], "recipe_id": "40b6d0", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "DIVISOR_PARITY", "WILSON"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T06:50:44.813383Z", "verification": {"verified": true, "answer": 2474, "timestamp": "2026-02-08T06:50:44.818334Z"}, "problem_hash": "ff35b3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "DIVISOR_PARITY": "ok", "WILSON": "ok", "K16": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V1": "no", "V3": "no"}, "split": "valid"} +{"id": "c2a53c", "alias": "nt_count_with_divisor_count_v1_2051736721_6066", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 14288400$. Let $u$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $d = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Compute the number of positive integers $n$ such that $1 \\leq n \\leq u$ and the number of positive divisors of $n$ is equal to $d$.", "answer": 604, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\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(14288400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"div_count\": 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(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": "MOBIUS_COPRIME", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 6.985, "created_at": "2026-02-08T18:55:24.929612Z", "verification": {"verified": true, "answer": 604, "timestamp": "2026-02-08T18:55:31.914758Z"}, "problem_hash": "4fa0e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 609}, "timestamp": "2026-02-13T00:43:01.422Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "DS2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c460a7", "alias": "nt_gcd_compute_v1_898971024_1214", "problem": "Let $a = 465355$ and $b = 803795$. Define $r = \\gcd(a, b)$. Let $p_{\\text{max}}$ be the largest prime number less than or equal to $99$, and let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $14010633607$. Compute the remainder when \n$$\n353702 \\cdot |r| \\bmod p_{\\text{max}} + 329703 \\cdot (r^2 \\bmod 101) + 215534 \\cdot (|r| + 43) \\bmod d_{\\text{min}}\n$$\nis divided by $1009091$, and then compute the remainder when that result is divided by $66849$.", "answer": 61226, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(101),\n \"_n\": Const(66849),\n \"a\": Const(465355),\n \"b\": Const(803795),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(43),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(99)), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_m\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(14010633607)))))))), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T16:00:47.803307Z", "verification": {"verified": true, "answer": 61226, "timestamp": "2026-02-08T16:00:47.806990Z"}, "problem_hash": "a00402", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 303, "completion_tokens": 440}, "timestamp": "2026-02-12T09:37:51.017Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e28caa", "alias": "antilemma_cartesian_v1_784195855_7653", "problem": "Compute the remainder when $39331$ times the number of ordered pairs $(a, b)$ with $1 \\leq a \\leq 23$ and $1 \\leq b \\leq 30$ is divided by 63060.", "answer": 22590, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"_c\": Const(39331),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(63060)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T09:26:08.544922Z", "verification": {"verified": true, "answer": 22590, "timestamp": "2026-02-08T09:26:08.545417Z"}, "problem_hash": "1d1dbe", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22590, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 95, "completion_tokens": 2548}, "timestamp": "2026-02-14T03:51:32.895Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 62870, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 323}, "timestamp": "2026-02-12T02:54:05.799Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "7cfc18", "alias": "antilemma_v7_kummer_784195855_1048", "problem": "Let $m = 8209$. Define $A$ to be the set of all positive integers $n$ such that $1 \\leq n \\leq m$ and the sum of the decimal digits of $n$ is odd. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 18062$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $a$ be the number of elements in $A$, and let $b$ be the number of elements in $B$. Determine the largest integer $k$ such that $2^k$ divides $\\binom{a}{b}$. Compute $k$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(8209),\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\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))), k=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(18062)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["L3C/V7", "L3B/V7", "V7"], "recipe_id": "38062a", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 7, "lemma_set": ["L3B", "L3C", "LIN_FORM", "V7"], "num_lemmas": 4, "generation_time": 0.432, "created_at": "2026-02-08T04:49:14.049849Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T04:49:14.482073Z"}, "problem_hash": "88e288", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "L3C": "ok", "V7": "ok", "K16": "no", "K5": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "64a4fa", "alias": "sequence_count_fib_divisible_v1_1439011603_387", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 242064$. Let $u$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $d = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ is Euler's totient function. Determine the number of positive integers $n$ such that $1 \\le n \\le u$ and $d$ divides the $n$-th Fibonacci number. Compute this number.", "answer": 82, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\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(242064)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": 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\")), 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": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.05, "created_at": "2026-02-08T15:26:11.355778Z", "verification": {"verified": true, "answer": 82, "timestamp": "2026-02-08T15:26:11.405436Z"}, "problem_hash": "1163a0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2524, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 809}, "timestamp": "2026-02-12T08:28:26.292Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c980d9", "alias": "geo_count_lattice_rect_v1_1742523217_656", "problem": "Compute the number of lattice points in the rectangle $[0, 300] \\times [0, 198]$.", "answer": 59899, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(300),\n \"b\": Const(198),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T03:09:50.423720Z", "verification": {"verified": true, "answer": 59899, "timestamp": "2026-02-08T03:09:50.424481Z"}, "problem_hash": "4b216c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 59899, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 135, "completion_tokens": 221}, "timestamp": "2026-02-09T20:50:54.947Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 59899, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 210}, "timestamp": "2026-02-09T05:26:42.901Z"}, {"id": 8, "model": "mathstral", "answer": 59899, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 83, "completion_tokens": 330}, "timestamp": "2026-02-11T16:52:49.979Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 60099, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 130, "completion_tokens": 219}, "timestamp": "2026-02-11T19:24:09.214Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "0b1aa7", "alias": "nt_sum_divisors_compute_v1_458359167_5064", "problem": "Let $n = 57600$. Define $s$ to be the sum of all positive divisors of $n$. Let $c = 4000$. Compute the remainder when $$s^2 + \\left(\\sum_{k=1}^{8} \\phi(k) \\left\\lfloor \\frac{8}{k} \\right\\rfloor\\right) \\cdot s$$ is divided by $98355$, where $\\phi(k)$ denotes Euler's totient function.", "answer": 27617, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(57600),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Const(4000),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Summation(var=\"k\", start=Const(1), end=Const(8), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(8), Var(\"k\"))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(98355)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2"], "recipe_id": "598070", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:16:02.796468Z", "verification": {"verified": true, "answer": 27617, "timestamp": "2026-02-08T12:16:02.797785Z"}, "problem_hash": "633c07", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23617, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 142, "completion_tokens": 2064}, "timestamp": "2026-02-14T23:20:14.416Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 554}, "timestamp": "2026-02-12T05:02:34.397Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "V3": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "2fa9b3", "alias": "nt_min_coprime_above_v1_1520064083_2099", "problem": "Let $A$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le14$, $1\\le b\\le102$, $11\\le t\\le506$, and\n$$t=7a+4b.$$\n\nLet $M=A$.\n\nLet $B$ be the number of integers $n$ with $1\\le n\\le25$ such that the sum of the binary digits of $n$ is odd. Let\n$$C=\\sum_{d\\mid\\gcd(11,B)}\\mu(d),$$\nwhere $\\mu$ is the Möbius function. Let $D=\\varphi(C)$, where $\\varphi$ is Euler's totient function.\n\nConsider all integers $n$ with $59536 p$ such that $pq = 36$ and $\\gcd(p,q) = 1$. Let $x = |S|$. Compute the value of $(x + \\phi(|x| + 1) + \\tau(|x| + 1)) \\bmod{51231}$, where $\\phi(n)$ is Euler's totient function and $\\tau(n)$ is the number of positive divisors of $n$.", "answer": 28612, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(98303),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=Const(value=43), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(98303), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(1)))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), EulerPhi(n=Const(1))))), modulus=Const(51231)),\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/V8", "MOBIUS_SUM", "ONE_PHI_1", "V8"], "recipe_id": "daa394", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "ONE_PHI_1", "V8"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:24:19.979833Z", "verification": {"verified": true, "answer": 28612, "timestamp": "2026-02-08T05:24:19.984442Z"}, "problem_hash": "9e4097", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok", "ONE_PHI_1": "ok", "V8": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "L3b": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "5cb51d", "alias": "nt_count_coprime_v1_548369836_313", "problem": "Let $ S $ be the set of all ordered pairs $ (a,b) $ such that $ a $ is an integer with $ 1 \\leq a \\leq 5 $ and $ b $ is an integer with $ 1 \\leq b \\leq 8 $. Let $ k $ be the number of elements in $ S $. Determine the number of positive integers $ n $ such that $ 1 \\leq n \\leq 73984 $ and $ \\gcd(n, k) = 1 $. ", "answer": 29594, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(73984),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(8)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 5.434, "created_at": "2026-02-08T02:51:47.219495Z", "verification": {"verified": true, "answer": 29594, "timestamp": "2026-02-08T02:51:52.653389Z"}, "problem_hash": "61977d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 29594, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 226, "completion_tokens": 916}, "timestamp": "2026-02-08T20:17:51.718Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 29594, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 976}, "timestamp": "2026-02-09T22:26:47.895Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 29594, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 172, "completion_tokens": 6590}, "timestamp": "2026-02-10T01:23:06.061Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 29594, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 168, "completion_tokens": 3110}, "timestamp": "2026-02-09T04:49:54.726Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29594, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 152, "completion_tokens": 969}, "timestamp": "2026-02-09T12:37:59.729Z"}, {"id": 8, "model": "mathstral", "answer": 27049, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 765}, "timestamp": "2026-02-11T04:20:25.785Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 16, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 413}, "timestamp": "2026-02-11T19:43:36.235Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K15": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -7.96, "mid": -5.66, "hi": -3.26}, "split": "valid"} +{"id": "f47d0c", "alias": "comb_count_surjections_v1_1353956133_308", "problem": "Let $n = 6$ and $k = 3$. The number of ways to partition a set of $n$ labeled elements into $k$ nonempty unlabeled subsets is given by the Stirling number of the second kind, $S(n,k)$. Multiplying by $k!$ gives the number of surjective functions from a set of $n$ elements to a set of $k$ elements. Let this value be $R$. Now consider the set of all ordered pairs $(a,b)$ such that $1 \\leq a \\leq 28$ and $1 \\leq b \\leq 30$. Compute the number of such pairs that are not counted by $R$.", "answer": 300, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(6),\n \"k\": Const(3),\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(28)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "009729", "seed_template_id": "comb_count_surjections_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T11:23:55.074998Z", "verification": {"verified": true, "answer": 300, "timestamp": "2026-02-08T11:23:55.077100Z"}, "problem_hash": "8a0075", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 300, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 186, "completion_tokens": 1158}, "timestamp": "2026-02-14T13:19:57.813Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 323}, "timestamp": "2026-02-12T03:58:31.754Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "02601e", "alias": "nt_count_divisible_and_v1_677425708_3607", "problem": "Let $n = 13104$. Define $U$ as the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = n$. Let $d_1 = 6$ and $d_2 = 8$. Compute the number of positive integers $k$ such that $1 \\leq k \\leq U$, $k \\equiv \\sum_{d\\mid 5} \\mu(d) \\pmod{6}$, and $k \\equiv 0 \\pmod{8}$.", "answer": 273, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13104),\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\")), Ref(\"_n\"))))),\n \"d1\": Const(6),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=Const(value=5), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "COMB1"], "recipe_id": "e8bf00", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 7.593, "created_at": "2026-02-08T05:51:30.539672Z", "verification": {"verified": true, "answer": 273, "timestamp": "2026-02-08T05:51:38.132367Z"}, "problem_hash": "9e887f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COMB1": "ok", "MOBIUS_SUM": "ok", "L3c": "no", "LTE_DIFF_P2": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "4b1095", "alias": "comb_binomial_compute_v1_124444284_6083", "problem": "Let $S$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 324$. Let $m$ be the minimum value of $x + y$ over all pairs in $S$. Let $T$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x + y = m$. Let $n$ be the minimum value of $xy$ over all pairs in $T$. Let $U$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = n$. Let $s$ be the minimum value of $x + y$ over all pairs in $U$. Compute $\\binom{s}{7}$, and then find the remainder when $13478$ times this value is divided by $78033$.", "answer": 62088, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(78033),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\"))))))), expr=Mul(Var(\"x\"), Var(\"y\"))))))), 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(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": Const(7),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Const(13478), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1/B3", "B3/B3"], "recipe_id": "904d5d", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T08:07:21.187488Z", "verification": {"verified": true, "answer": 62088, "timestamp": "2026-02-08T08:07:21.195783Z"}, "problem_hash": "aac41a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62088, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 2018}, "timestamp": "2026-02-13T14:45:24.040Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 601}, "timestamp": "2026-02-12T01:32:12.983Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "ae7dc1", "alias": "modular_modexp_compute_v1_124444284_7321", "problem": "Let $a = 47$ and $m = 43681$. Let $e$ be the number of ordered pairs $(i, j)$ such that $1 \\le i \\le 43$ and $1 \\le j \\le 47$. Compute the remainder when $a^e$ is divided by $m$. Find the value of this remainder.", "answer": 25039, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(47),\n \"e\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(43)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"m\": Const(43681),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:01:17.073175Z", "verification": {"verified": true, "answer": 25039, "timestamp": "2026-02-08T09:01:17.075342Z"}, "problem_hash": "d7f247", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25039, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 2428}, "timestamp": "2026-02-13T23:46:25.101Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 837}, "timestamp": "2026-02-12T02:27:47.617Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "19055e", "alias": "comb_factorial_compute_v1_1520064083_4105", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 8820$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $S$. Let $T$ be the set of all positive integers $j$ such that $j \\leq m$ and $j^5 \\leq 32768$. Let $n$ be the number of elements in $T$. Let $R = n!$, and let $Q$ be the smallest positive index $k$ such that the $k$-th Fibonacci number is divisible by $|R| + 2$. Find the value of $Q$.", "answer": 10080, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(32768),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), EulerPhi(n=Const(1))), Leq(Var(\"j\"), 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')))))))), Leq(Pow(Var(\"j\"), Const(5)), Ref(\"_n\"))), domain='positive_integers')),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/C3", "ONE_PHI_1"], "recipe_id": "d68540", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "COPRIME_PAIRS", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.161, "created_at": "2026-02-08T06:04:10.258059Z", "verification": {"verified": true, "answer": 10080, "timestamp": "2026-02-08T06:04:10.418707Z"}, "problem_hash": "21b506", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "C3": "ok_later", "K13": "no", "K18": "no", "MOD_MUL": "no", "V5": "no", "V7": "no"}, "split": "valid"} +{"id": "faa4a1", "alias": "antilemma_cartesian_v1_1520064083_1279", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 20, inclusive, and $b$ is an integer from 1 to 21, inclusive. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive integers such that $x_1$ and $x_2$ are both odd and $x_1 + x_2 = 6002$. Compute the remainder when\n\n$$\n\\left( x \\bmod 293 \\right) + \\left( |S| \\cdot (x \\bmod 337) \\right)\n$$\nis divided by 51581.", "answer": 42886, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6002),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), 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\"))))), Mod(value=Ref(\"x\"), modulus=Const(337)))), modulus=Const(51581)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_CARTESIAN"], "recipe_id": "517bbb", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "two_moduli", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T03:53:58.894771Z", "verification": {"verified": true, "answer": 42886, "timestamp": "2026-02-08T03:53:58.896742Z"}, "problem_hash": "9de416", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 42886, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 978}, "timestamp": "2026-02-10T16:05:56.696Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 42886, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 855}, "timestamp": "2026-02-10T14:41:57.258Z"}, {"id": 8, "model": "mathstral", "answer": 24821, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 437}, "timestamp": "2026-02-13T02:19:20.777Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 420, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 578}, "timestamp": "2026-02-11T20:15:01.632Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "de4ce1", "alias": "modular_min_linear_v1_784195855_429", "problem": "Let $a$ be the greatest prime number that is at most $9392$.\n\nLet $b$ be the number of integers $t$ for which there exist integers $u$ and $v$ satisfying\n\\begin{itemize}\n \\item $1 \\le u \\le 1230$,\n \\item $1 \\le v \\le 1426$,\n \\item $21 \\le t \\le 28182$, and\n \\item $t = 9u + 12v$.\n\\end{itemize}\n\nLet $m$ be the number of prime numbers $n$ with $2 \\le n \\le 101749$.\n\nLet $x$ be the smallest integer with $1 \\le x \\le m$ such that\n$$ax \\equiv b \\pmod m.$$\n\nCompute $x$.", "answer": 3387, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9392)), IsPrime(Var(\"n\"))))),\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=1230)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1426)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=28182)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(101749)), IsPrime(Var(\"n\"))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COUNT_PRIMES", "LIN_FORM"], "recipe_id": "3aa0b7", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 7.981, "created_at": "2026-02-08T04:22:04.966438Z", "verification": {"verified": true, "answer": 3387, "timestamp": "2026-02-08T04:22:12.947315Z"}, "problem_hash": "2357c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:57:45.441Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:15:19.526Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 8192}, "timestamp": "2026-02-12T03:28:15.044Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 536, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 464}, "timestamp": "2026-02-12T02:13:15.061Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9607, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 5506}, "timestamp": "2026-02-11T23:43:43.243Z"}, {"id": 8, "model": "mathstral", "answer": 25389, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 448}, "timestamp": "2026-02-13T13:36:35.425Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 500}, "timestamp": "2026-02-11T21:28:29.913Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "c11568", "alias": "antilemma_count_primes_v1_168721529_460", "problem": "Let $n = 11$ and let $t$ be the number of distinct prime factors of $n$. Let $p = 23$ and define $f$ to be the remainder when $ (p-1)! + t $ is divided by $p$. Let $\\_n = 2 + f$. Let $x$ be the number of prime numbers $n$ such that $\\_n \\leq n \\leq 2063$. Define $Q = x + \\phi(|x| + 1) + \\tau(|x| + 1)$, where $\\phi(k)$ is Euler's totient function and $\\tau(k)$ is the number of positive divisors of $k$. Find the value of $Q$.", "answer": 423, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(11),\n \"t\": SmallOmega(n=Ref(name='n')),\n \"p\": Const(23),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Mul(Const(1), Ref(\"t\"))), modulus=Ref(\"p\")),\n \"_n\": Sum(Const(2), Ref(\"f\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(2063)), 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')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "OMEGA_ONE", "lemma_paths": ["OMEGA_ONE", "COUNT_PRIMES", "WILSON"], "recipe_id": "b65a1b", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "OMEGA_ONE", "WILSON"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T13:03:48.121245Z", "verification": {"verified": true, "answer": 423, "timestamp": "2026-02-08T13:03:48.123254Z"}, "problem_hash": "d1abc6", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 423, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 6186}, "timestamp": "2026-02-09T05:17:58.422Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 626, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 425}, "timestamp": "2026-02-09T17:08:34.643Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 423, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 1237}, "timestamp": "2026-02-10T05:17:56.712Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "OMEGA_ONE": "ok", "WILSON": "ok", "K17": "no", "K18": "no", "K5": "no", "L3b": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.98, "hi": 1.65}, "split": "valid"} +{"id": "733e9c", "alias": "modular_count_residue_v1_1520064083_3286", "problem": "Let $t$ be an integer satisfying $9 \\leq t \\leq 3139$. Define $\\tau$ to be the number of such $t$ for which there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 908$, $1 \\leq b \\leq 189$, and $t = 2a + 7b$. \n\nLet $m$ be the largest integer $k$ such that $5^k$ divides $6^{3125} - 1$. \n\nCompute the number of positive integers $n$ such that $1 \\leq n \\leq 84100$ and $n \\equiv 3 \\pmod{m}$.", "answer": 14017, "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=908)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=189)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=3139)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"upper\": Const(84100),\n \"m\": MaxKDivides(target=Sub(Pow(Const(6), Const(3125)), Const(1)), base=Const(5)),\n \"r\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LTE_DIFF"], "recipe_id": "dc9e56", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF"], "num_lemmas": 2, "generation_time": 2.916, "created_at": "2026-02-08T05:33:40.316950Z", "verification": {"verified": true, "answer": 14017, "timestamp": "2026-02-08T05:33:43.232838Z"}, "problem_hash": "aa120f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "MOD_ADD": "no", "V5": "no", "V8": "no"}, "split": "valid"} +{"id": "38b1ef", "alias": "antilemma_coprime_grid_v1_1520064083_977", "problem": "Let $A$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 17$, $1 \\leq j \\leq 87$, and $\\gcd(i, j) = 1$. Let $n = 41168$. Let $C$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 41168$ and the binomial coefficient $\\binom{41168}{j}$ is odd. Compute the remainder when $A^2 + 4A + C$ is divided by 80782.", "answer": 6342, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41168),\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(17)), right=IntegerRange(start=Const(1), end=Const(87))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(41168)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(4), Ref(\"x\")), Ref(\"_c\")), modulus=Const(80782)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8", "COUNT_COPRIME_GRID"], "recipe_id": "c0a39f", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V8"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:41:59.885856Z", "verification": {"verified": true, "answer": 6342, "timestamp": "2026-02-08T03:41:59.888484Z"}, "problem_hash": "a394dc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V8": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "0100c7", "alias": "nt_euler_phi_compute_v1_48377204_2294", "problem": "Let $n=64009$, and let $\\varphi(n)$ denote the number of positive integers less than or equal to $n$ that are relatively prime to $n$.\n\nLet $N=1727$. Let $C$ be the number of integers $n_1$ with $1\\le n_1\\le N$ such that $\\gcd(n_1,6)=1$.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=C$. For each such pair, form the sum $x+y$. Among all these sums, let $S$ be the smallest possible value.\n\nLet $W$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that both $x_1$ and $x_2$ are odd and\n\\[\nx_1 + x_2 = S.\n\\]\n\nLet $R$ be the remainder when $W-\\varphi(n)$ is divided by $96237$, taken in the set $\\{0,1,2,\\dots,96236\\}$. Define $Q=R$.\n\nFind the value of $Q$.", "answer": 40601, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1727),\n \"n\": Const(64009),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_n\")), Eq(GCD(a=Var(\"n1\"), b=Const(6)), Const(1)))))))), expr=Sum(Var(\"x\"), Var(\"y\")))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(96237)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/B3/COMB1"], "recipe_id": "ba0424", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C4", "COMB1"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T16:43:06.336348Z", "verification": {"verified": true, "answer": 40601, "timestamp": "2026-02-08T16:43:06.343358Z"}, "problem_hash": "5b4b77", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 353, "completion_tokens": 413}, "timestamp": "2026-02-12T20:50:10.056Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "B3": "ok_later", "COMB1": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "062d30", "alias": "nt_gcd_compute_v1_1248542787_143", "problem": "Let $m=7$. Let $M$ be the number of integers $n$ with $1\\le n\\le 11809$ such that $7$ divides $n$ and $\\gcd(n,10)=1$.\n\nLet $n_1=1$, and let $c$ be the number of prime factors of $n_1$, counted with multiplicity.\n\nLet $d_0$ be the smallest integer $d\\ge 2$ such that $d$ divides $M$, and define\n\\[n=d_0+c.\n\\]\nLet\n\\[u=\\sum_{d\\mid n} \\varphi(d)-n,\n\\]\nwhere $\\varphi$ is Euler's totient function. Let $a=653994$ and $b=1235322+u$.\n\nLet $Q=\\gcd(a,b)$. Find the value of $Q$.", "answer": 72666, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(11809)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"n1\": Const(1),\n \"c\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))), Ref(\"c\")),\n \"u\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Const(653994),\n \"b\": Sum(Const(1235322), Ref(\"u\")),\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": "C5", "lemma_paths": ["C5/MIN_PRIME_FACTOR/BIG_OMEGA_ZERO/EULER_TOTIENT_SUM"], "recipe_id": "f8acc3", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C5", "EULER_TOTIENT_SUM", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T02:58:08.061714Z", "verification": {"verified": true, "answer": 72666, "timestamp": "2026-02-08T02:58:08.066780Z"}, "problem_hash": "73ef12", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 1193}, "timestamp": "2026-02-09T00:37:31.963Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 72666, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 296, "completion_tokens": 1328}, "timestamp": "2026-02-09T13:35:40.262Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:59:37.576Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "BIG_OMEGA_ZERO": "ok_later", "EULER_TOTIENT_SUM": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "K5": "no", "LTE_DIFF_P2": "no", "V1": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "c41c0b", "alias": "antilemma_k3_v1_1520064083_9719", "problem": "Let $m = 17242$ and $n = 49411$. Define $x = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function. Let $s$ be the number of real solutions $x$ to the equation $x^2 - 307x + m = 0$. Compute the value of\n$$\n\\left( x \\bmod s \\right) + 3001 \\cdot \\left( x \\bmod 317 \\right),\n$$\nand then find the remainder when this result is divided by 53900.", "answer": 20067, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17242),\n \"_n\": Const(49411),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-307), Var(\"x\")), Ref(\"_m\")), Const(0))))), Mul(Const(3001), Mod(value=Ref(\"x\"), modulus=Const(317)))), modulus=Const(53900)),\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"], "recipe_id": "4765cd", "seed_template_id": "antilemma_k3_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T10:59:11.114185Z", "verification": {"verified": true, "answer": 20067, "timestamp": "2026-02-08T10:59:11.115962Z"}, "problem_hash": "c41dc2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19777, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 746}, "timestamp": "2026-02-14T09:36:45.747Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 515}, "timestamp": "2026-02-12T03:32:47.065Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "173e0e", "alias": "nt_sum_phi_v1_784195855_1011", "problem": "Compute the sum of $\\varphi(n)$ for all positive integers $n \\leq 496$.", "answer": 74834, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(496),\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": ["C4/MOBIUS_COPRIME", "LIN_FORM"], "recipe_id": "6e0106", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.103, "created_at": "2026-02-08T04:47:07.000934Z", "verification": {"verified": true, "answer": 74834, "timestamp": "2026-02-08T04:47:07.103833Z"}, "problem_hash": "4db9d5", "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": 131, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:01:40.547Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 74844, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 131, "completion_tokens": 3010}, "timestamp": "2026-02-11T22:00:21.270Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 74833, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 66, "completion_tokens": 2309}, "timestamp": "2026-02-12T03:12:38.936Z"}, {"id": 8, "model": "mathstral", "answer": 240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 78, "completion_tokens": 669}, "timestamp": "2026-02-14T00:18:12.652Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 426}, "timestamp": "2026-02-11T21:50:15.186Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K14": "no", "L3b": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "9aca17", "alias": "nt_sum_totient_over_divisors_v1_124444284_4687", "problem": "Let $n = 88465$. Define $r$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $63949 \\cdot r$ is divided by $57855$.", "answer": 12820, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(88465),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"_c\": Const(63949),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(57855)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/C5", "C3/C5"], "recipe_id": "29a512", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3", "C5"], "num_lemmas": 2, "generation_time": 0.059, "created_at": "2026-02-08T06:11:38.129559Z", "verification": {"verified": true, "answer": 12820, "timestamp": "2026-02-08T06:11:38.188625Z"}, "problem_hash": "7a21ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 12820, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 1363}, "timestamp": "2026-02-12T21:05:59.254Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 524}, "timestamp": "2026-02-11T23:44:01.074Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "C5": "ok", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3a6cae", "alias": "modular_min_linear_v1_784195855_4828", "problem": "Find the smallest positive integer $x$ such that $1 \\leq x \\leq 42277$ and\n$$\n24811x \\equiv 22255 \\pmod{42277}.\n$$\nLet $r$ be this value of $x$. Compute the value of\n$$\n3^{|r|} + \\left|\\left\\{ (i,j) \\in \\{1, 2, \\dots, 42\\} \\times \\{1, 2, \\dots, 149\\} \\mid \\gcd(i,j) = 1 \\right\\}\\right| \\pmod{99991}.\n$$", "answer": 47184, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(24811),\n \"b\": Const(22255),\n \"m\": Const(42277),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), 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(42)), right=IntegerRange(start=Const(1), end=Const(149)))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID"], "recipe_id": "29de01", "seed_template_id": "modular_min_linear_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID"], "num_lemmas": 1, "generation_time": 2.725, "created_at": "2026-02-08T07:23:50.977359Z", "verification": {"verified": true, "answer": 47184, "timestamp": "2026-02-08T07:23:53.702661Z"}, "problem_hash": "62762f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 7232}, "timestamp": "2026-02-13T10:00:45.030Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 843}, "timestamp": "2026-02-12T01:01:36.775Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "8c1ea0", "alias": "nt_count_coprime_and_v1_1470522791_1129", "problem": "Let $k_1$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 360$, $\\gcd(p, q) = 1$, and $p < q$. Let $k_2$ be the number of integers $t$ with $10 \\leq t \\leq 30$ for which there exist integers $a$ and $b$, each at least 1 and at most 3, such that $t = 6a + 4b$. Let $r$ be the number of positive integers $n \\leq 30093$ such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Determine the value of $m$, where $m$ is the smallest positive integer such that the $m$th Fibonacci number is divisible by $r + 2$.", "answer": 4992, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(30093),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=360)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"k2\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=30)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 14.073, "created_at": "2026-02-08T13:26:35.838496Z", "verification": {"verified": true, "answer": 4992, "timestamp": "2026-02-08T13:26:49.911892Z"}, "problem_hash": "6cc410", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 513}, "timestamp": "2026-02-12T06:50:58.155Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K13": "no", "K5": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f7652c", "alias": "nt_lcm_compute_v1_1742523217_3367", "problem": "Let $a = 875$ and $b = 945$. Compute the least common multiple of $a$ and $b$.", "answer": 23625, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(875),\n \"b\": Const(945),\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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "VIETA_SUM"], "recipe_id": "f356d7", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:49:08.394268Z", "verification": {"verified": true, "answer": 23625, "timestamp": "2026-02-08T05:49:08.398017Z"}, "problem_hash": "ffb999", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23625, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 74, "completion_tokens": 692}, "timestamp": "2026-02-12T14:52:05.238Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7875, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 134, "completion_tokens": 263}, "timestamp": "2026-02-11T23:10:16.380Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K17": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "7ab926", "alias": "comb_bell_compute_v1_153355830_400", "problem": "Let $T$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 46$. Let $N$ be the number of elements in $T$. Define $n$ to be the number of prime numbers between $2$ and $N$, inclusive. Compute the Bell number $B_n$, which counts the number of partitions of an $n$-element set.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), 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(46)))))), IsPrime(Var(\"n\"))))),\n \"result\": Bell(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_PRIMES"], "recipe_id": "a15f4a", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:05:15.457707Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T03:05:15.460606Z"}, "problem_hash": "3ab228", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 885}, "timestamp": "2026-02-10T12:39:17.049Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 21147, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 1784}, "timestamp": "2026-02-10T12:37:21.459Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 726}, "timestamp": "2026-02-11T13:45:05.100Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1430, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 452}, "timestamp": "2026-02-11T20:14:20.455Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_PRIMES": "ok_later", "C2": "no", "K16": "no", "K17": "no", "L3b": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "49c3cb", "alias": "antilemma_product_of_sums_v1_784195855_1672", "problem": "Let $m=14012$. Let $n$ be the number of integers $t$ with $1\\le t\\le 12$ such that the sum of the decimal digits of $t$ is even.\n\nLet $S_1$ be the sum of all first coordinates $k$ taken over all ordered pairs $(k,j)$ of integers with $1\\le k\\le 7$ and $1\\le j\\le 6$.\n\nLet\n$$S_2=\\sum_{k=1}^{n} k.$$\n\nLet $x=S_1\\cdot S_2$, and let $Q$ be the remainder when $mx$ is divided by $66637$.\n\nCompute $Q$.", "answer": 51160, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14012),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(12)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\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(8)), right=IntegerRange(start=Const(1), end=Const(7)))), expr=Var(\"k\"))),\n \"S2\": Summation(var=\"k\", start=EulerPhi(n=Const(1)), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Const(66637)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/PRODUCT_OF_SUMS/SUM_ARITHMETIC", "ONE_PHI_1"], "recipe_id": "e3f332", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "ONE_PHI_1", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T05:13:16.927517Z", "verification": {"verified": true, "answer": 51160, "timestamp": "2026-02-08T05:13:16.929143Z"}, "problem_hash": "dee4a7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "ONE_PHI_1": "ok", "PRODUCT_OF_SUMS": "ok_later", "SUM_ARITHMETIC": "ok_later", "C2": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "split": "valid"} +{"id": "6fc034", "alias": "geo_visible_lattice_v1_784195855_10254", "problem": "Let $n = 64$. Define $P$ to be the number of lattice points $(x, y)$ such that $1 \\leq x \\leq n$, $1 \\leq y \\leq n$, and $\\gcd(x, y) = 1$.\n\nLet $Q = 600 - P$. Compute the remainder when $Q$ is divided by $60604$.\n", "answer": 58685, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(64),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(600),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(60604)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.142, "created_at": "2026-02-08T17:32:31.898400Z", "verification": {"verified": true, "answer": 58685, "timestamp": "2026-02-08T17:32:32.040688Z"}, "problem_hash": "070534", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 568, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 397}, "timestamp": "2026-02-12T22:41:34.022Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e96380", "alias": "nt_count_coprime_v1_1742523217_1094", "problem": "Let $n = 46$, $k = 11$, and $U = 74529$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq U$ and $\\gcd(n, k) = 1$. Let $B$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq n$. Let $C$ be the set of all positive integers $t$ such that $10 \\leq t \\leq 4486$ and there exist positive integers $a \\leq 184$ and $b \\leq 1066$ for which $t = 7a + 3b$. Define\n$$\nQ = \\left( |A|^2 + \\left(\\max(B)\\right) \\cdot |A| \\right) \\bmod |C|.\n$$\nFind the remainder when $Q$ is divided by $61462$.", "answer": 36909, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(46),\n \"upper\": Const(74529),\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 \"_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=184)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1066)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=4486)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(61462)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "b3ba55", "seed_template_id": "nt_count_coprime_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 7.198, "created_at": "2026-02-08T03:25:12.976375Z", "verification": {"verified": true, "answer": 36909, "timestamp": "2026-02-08T03:25:20.173955Z"}, "problem_hash": "8dec2f", "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": 316, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:16:08.959Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3596, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 320, "completion_tokens": 1769}, "timestamp": "2026-02-09T10:55:09.126Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3053, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 5665}, "timestamp": "2026-02-11T12:36:37.018Z"}, {"id": 8, "model": "mathstral", "answer": 184, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 398}, "timestamp": "2026-02-12T15:52:23.348Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 412}, "timestamp": "2026-02-11T20:53:14.218Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "DS2": "no", "K13": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "4dc1a6", "alias": "sequence_count_fib_divisible_v1_1439011603_1515", "problem": "Let $d_1$ be a positive integer divisor of 769113 such that $1 \\leq d_1 \\leq 873$. Define $u$ to be the largest such $d_1$. Let $d = 20$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $d$ divides the $n$-th Fibonacci number. Compute the number of elements in this set.", "answer": 29, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(873)), Divides(divisor=Var(\"d1\"), dividend=Const(769113))))),\n \"d\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.09, "created_at": "2026-02-08T16:09:19.290612Z", "verification": {"verified": true, "answer": 29, "timestamp": "2026-02-08T16:09:19.380794Z"}, "problem_hash": "a89f64", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 433}, "timestamp": "2026-02-12T09:56:22.852Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "K18": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2ed654", "alias": "antilemma_v7_kummer_153355830_1378", "problem": "Let $c = 7$ and let $M = 81151$. Consider all integers $n$ with $1 \\le n \\le M$ such that $c$ divides $n$ and $\\gcd\\bigl(n, v\\bigr) = 1$, where $v$ is the largest integer $k$ such that $47^k$ divides $47^{10}$. Let $A$ be the number of such integers $n$.\n\nLet $T$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 173$, $1 \\le b \\le 671$, $5 \\le t \\le 1861$, and\n$$t = 3a + 2b.$$\n\nLet $B = T$. Let\n$$X = v_2\\!\\left(\\binom{A}{B}\\right),$$\nwhere $v_2(N)$ denotes the greatest integer $k$ such that $2^k$ divides $N$.\n\nCompute $X$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(7),\n \"_m\": Const(81151),\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\"), Ref(\"_m\")), Divides(divisor=Ref(\"_c\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=MaxKDivides(target=Pow(Const(47), Const(10)), base=Const(47))), Const(1))))), 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=173)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=671)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=1861)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))), base=Ref(\"_n\")),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["K14/C5/V7", "LIN_FORM/V7", "V7"], "recipe_id": "a4ec0d", "seed_template_id": "antilemma_v7_kummer", "ending_id": null, "olympiad_level": 6, "lemma_set": ["C2", "C5", "K14", "LIN_FORM", "V7"], "num_lemmas": 5, "generation_time": 0.037, "created_at": "2026-02-08T06:22:24.010934Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T06:22:24.047576Z"}, "problem_hash": "9e0b09", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "LIN_FORM": "ok", "V7": "ok", "C5": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "b81d51", "alias": "geo_count_lattice_rect_v1_458359167_5391", "problem": "Let $ a = 99 $ and $ b = 27 $. Define $ L $ to be the number of lattice points $ (x, y) $ such that $ 0 \\leq x \\leq a $ and $ 0 \\leq y \\leq b $. Let $ c = 1521 $. Compute the remainder when $ c - L $ is divided by $ 76862 $. ", "answer": 75583, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(99),\n \"b\": Const(27),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"_c\": Const(1521),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(76862)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T12:27:21.103270Z", "verification": {"verified": true, "answer": 75583, "timestamp": "2026-02-08T12:27:21.103791Z"}, "problem_hash": "b97ca0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 75583, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 190, "completion_tokens": 297}, "timestamp": "2026-02-12T05:13:20.200Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "b2d4e8", "alias": "nt_count_with_divisor_count_v1_168721529_1619", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 176$. Define $P$ to be the maximum value of $xy$ over all pairs $(x,y) \\in S$. Let $D$ be the number of positive integers $n$ such that $1 \\leq n \\leq P$ and $n$ has exactly 16 positive divisors. Let $F$ be the number of positive integers $n$ such that $1 \\leq n \\leq 120072$ and $14$ divides $F_n$, the $n$-th Fibonacci number. Compute the remainder when $D + F \\cdot (D \\bmod 313)$ is divided by 85006.", "answer": 66040, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14),\n \"_n\": Const(313),\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(176)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"div_count\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(317)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(120072)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(85006)),\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", "B1"], "recipe_id": "7cfea5", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "two_moduli", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "COUNT_FIB_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.429, "created_at": "2026-02-08T13:48:50.623805Z", "verification": {"verified": true, "answer": 66040, "timestamp": "2026-02-08T13:48:51.053305Z"}, "problem_hash": "2ba81c", "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": 272, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:30:30.061Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:59:34.792Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 587}, "timestamp": "2026-02-12T07:25:04.092Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_FIB_DIVISIBLE": "ok", "COUNT_COPRIME_GRID": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "d5ec5b", "alias": "geo_visible_lattice_v1_898971024_2345", "problem": "Let $n = 171$. Let $L$ be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the remainder when $$\\sum_{k=1}^{L} \\phi(k)$$ is divided by $74868$, where $\\phi$ denotes Euler's totient function.", "answer": 23514, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(171),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Div(Const(81), Const(81)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))), modulus=Const(74868)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 1.609, "created_at": "2026-02-08T16:42:04.657824Z", "verification": {"verified": true, "answer": 23514, "timestamp": "2026-02-08T16:42:06.267309Z"}, "problem_hash": "dd4423", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 719}, "timestamp": "2026-02-12T20:45:48.909Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2dd268", "alias": "antilemma_coprime_grid_v1_153355830_676", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 40$, $1 \\leq j \\leq 82$, and $\\gcd(i, j) = 1$. Let $n_0$ be the smallest positive integer $n$ such that $3^{48}$ divides $n!$. Compute the remainder when $n_0 - x$ is divided by $86881$.", "answer": 84971, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(48),\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(40)), right=IntegerRange(start=Const(1), end=Const(82))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Ref(\"_n\")), domain='Z_{>0}')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(86881)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5", "COUNT_COPRIME_GRID"], "recipe_id": "18bee9", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "V5"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:06:43.412132Z", "verification": {"verified": true, "answer": 84971, "timestamp": "2026-02-08T04:06:43.413106Z"}, "problem_hash": "964eaf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "V5": "ok", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K15": "no", "MAX_PRIME_BELOW": "no"}, "split": "valid"} +{"id": "97898a", "alias": "modular_product_range_v1_1978505735_90", "problem": "Let $P$ be the set of all ordered pairs of positive integers $(p, q)$ such that $pq = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of elements in $P$. Define $\\mathcal{D}$ to be the set of all positive divisors $d$ of $989497$ such that $d \\geq m$. Let $n_0$ be the smallest element of $\\mathcal{D}$. Let $T$ be the set of all integers $t$ such that $9 \\leq t \\leq 53$ and $t = 5a + 4b$ for some integers $a, b$ with $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 7$. Let $s$ be the number of elements in $T$. Compute the product $\\prod_{i=s}^{n_0} i$, and let $r$ be the remainder when this product is divided by $11047$. Multiply $r$ by $81911$ and find the remainder when the result is divided by $73632$.", "answer": 39593, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11047),\n \"_n\": 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=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')))))))), Divides(divisor=Var(\"d\"), dividend=Const(989497))))),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=5)), 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=9)), Leq(left=Var(name='t'), right=Const(value=53)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), end=Ref(\"_n\")),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n \"_c\": Const(81911),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(73632)),\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/MIN_PRIME_FACTOR/LIN_FORM"], "recipe_id": "d230b9", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T15:11:12.755663Z", "verification": {"verified": true, "answer": 39593, "timestamp": "2026-02-08T15:11:12.763279Z"}, "problem_hash": "df9d25", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 358, "completion_tokens": 452}, "timestamp": "2026-02-12T07:53:49.519Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K15": "no", "LTE_DIFF_P2": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e7f98e", "alias": "comb_count_surjections_v1_1431428450_324", "problem": "Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = t$, where $t$ is the number of integers between 15 and 60 inclusive that can be expressed as $9a + 6b$ for positive integers $a$ and $b$ with $1 \\leq a, b \\leq 4$. Let $k$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i, j \\leq 4$ such that $i + j = 5$. Compute the remainder when $79044 \\cdot k! \\cdot S(n, k)$ is divided by 60265, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 30095, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60265),\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=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=60)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Const(5)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(4))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": Const(79044),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["LIN_FORM/COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "5a3f8e", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.038, "created_at": "2026-02-08T13:23:36.782678Z", "verification": {"verified": true, "answer": 30095, "timestamp": "2026-02-08T13:23:36.820591Z"}, "problem_hash": "9c7fa3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 474}, "timestamp": "2026-02-12T06:47:20.126Z"}], "solution_status": 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_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "faa3e2", "alias": "nt_count_digit_sum_v1_1978505735_4538", "problem": "Let $S$ be the Cartesian product $\\{1, 2, \\dots, 99\\} \\times \\{1, 2, \\dots, 101\\}$, and let $N$ be the number of elements in $S$. Let $T$ be the set of positive integers $n$ such that $1 \\leq n \\leq N$ and the sum of the decimal digits of $n$ is $21$. Compute\n$$\n\\sum_{n_1=1}^{|T|} \\tau(n_1),\n$$\nwhere $\\tau(n_1)$ denotes the number of positive divisors of $n_1$.", "answer": 3874, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(101)))),\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 \"Q\": Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 13.067, "created_at": "2026-02-08T18:18:50.073870Z", "verification": {"verified": true, "answer": 3874, "timestamp": "2026-02-08T18:19:03.140727Z"}, "problem_hash": "6d4803", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 483}, "timestamp": "2026-02-13T00:00:11.402Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "K18": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "93bd3c", "alias": "comb_catalan_compute_v1_397696148_566", "problem": "Let $m = 12$. Compute the number of ordered pairs $(i, j)$ of positive integers such that $i + j = m$ and $1 \\leq i, j \\leq 11$. Denote this number by $n$. Let $C_n$ be the $n$-th Catalan number. Let $c = 38 \\times 68$. Compute the remainder when $c - C_n$ is divided by $89894$.", "answer": 33692, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(89894),\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(11)), 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(38)), right=IntegerRange(start=Const(1), end=Const(68)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "recipe_id": "b5abab", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T11:35:17.417050Z", "verification": {"verified": true, "answer": 33692, "timestamp": "2026-02-08T11:35:17.428563Z"}, "problem_hash": "7ff74d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 33692, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 2218}, "timestamp": "2026-02-14T16:22:53.715Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 313}, "timestamp": "2026-02-12T04:20:02.137Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "722110", "alias": "nt_sum_totient_over_divisors_v1_1918700295_1624", "problem": "Let $n_1$ be the number of integers $t$ with $14 \\leq t \\leq 602$ for which there exist positive integers $a \\leq 79$ and $b \\leq 16$ such that $t = 6a + 8b$. Let $e = \\lambda(n_1)$, where $\\lambda$ is the Liouville function. Define $a = 121e$ and $b = 168$. Let $s = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $n = 88385 \\cdot s$. Compute $\\sum_{d \\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function.", "answer": 88385, "graph": "graphs = [\n Graph(\n let={\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=79)), 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=14)), Leq(left=Var(name='t'), right=Const(value=602)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"e\": LiouvilleLambda(n=Ref(name='n1')),\n \"a\": Mul(Const(121), Ref(\"e\")),\n \"b\": Const(168),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Const(88385), Ref(\"s\")),\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/LIOUVILLE_ONE", "MOBIUS_COPRIME"], "recipe_id": "8c99bc", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:55:14.852010Z", "verification": {"verified": true, "answer": 88385, "timestamp": "2026-02-08T05:55:14.856391Z"}, "problem_hash": "37be16", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "d78f01", "alias": "sequence_fibonacci_compute_v1_349078426_423", "problem": "Let $S$ be the set of all integers $t$ with $11 \\leq t \\leq 122$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 13$, $1 \\leq b \\leq 10$, and $t = 7a + 3b + 1$. Let $m$ be the number of elements in $S$.\n\nLet $T$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = m$. Define $n$ to be the minimum value of $x + y$ over all such pairs.\n\nLet $F_n$ denote the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.\n\nCompute $F_n$.", "answer": 6765, "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=13)), 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=11)), Leq(left=Var(name='t'), right=Const(value=122)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=1)))))))),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T13:02:40.794257Z", "verification": {"verified": true, "answer": 6765, "timestamp": "2026-02-08T13:02:40.797105Z"}, "problem_hash": "9512ca", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 487}, "timestamp": "2026-02-12T06:09:02.240Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "54f61e", "alias": "diophantine_sum_product_min_v1_1520064083_3928", "problem": "Let $n_1 = 1$ and $t = \\sum_{d \\mid n_1} \\mu(d)$, where $\\mu$ is the Möbius function. Let $n$ be $t$ multiplied by the number of positive integers at most $42984$ that are divisible by $6$ and relatively prime to $35$. Let $e = \\lambda(n) + 1$, where $\\lambda$ is the Liouville function. Let $S = 10$ and $P = 25 + e$. Determine the value of the smallest positive integer $x \\le 9$ such that $x(S - x) = P$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(42984),\n \"n1\": Const(1),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(6), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1))))), Ref(\"t\")),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"S\": Const(10),\n \"P\": Sum(Const(25), Ref(\"e\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(9)), 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": "C5", "lemma_paths": ["C5/MOBIUS_SUM/LIOUVILLE_MINUS_ONE"], "recipe_id": "9bd760", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C5", "LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T05:59:04.618625Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:59:04.626222Z"}, "problem_hash": "124e09", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "K13": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V3": "no"}, "split": "valid"} +{"id": "e431a6", "alias": "diophantine_product_count_v1_397696148_769", "problem": "Let $k = 720$ and let $m$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 20$ and $1 \\leq b \\leq 25$. Compute the number of positive integers $x \\leq m$ such that $x$ divides $k$ and $\\frac{k}{x} \\leq m$. Let this number be $r$. Find $50 - r$.", "answer": 22, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(720),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(50),\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": "L3C", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "L3C"], "num_lemmas": 2, "generation_time": 0.152, "created_at": "2026-02-08T11:44:13.389797Z", "verification": {"verified": true, "answer": 22, "timestamp": "2026-02-08T11:44:13.541604Z"}, "problem_hash": "2f245a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 1841}, "timestamp": "2026-02-14T18:05:41.245Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 397}, "timestamp": "2026-02-12T04:30:45.044Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "DS2": "no", "L3c": "no", "MOD_SUB": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "c378dd", "alias": "geo_count_lattice_triangle_v1_865884756_5901", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(121,120)$, and $(13,222)$, multiplied by 2. Let $b_1$ be the greatest common divisor of $|121|$ and the minimum value of $x + y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 12321$. Let $b_2$ be the greatest common divisor of $|13 - 121|$ and $|120 - 222|$. Let $b_3$ be the greatest common divisor of $|0 - 13|$ and $\\left|0 - \\sum_{k=1}^{15} \\phi(k) \\left\\lfloor \\frac{15}{k} \\right\\rfloor\\right|$. Define the boundary sum $B = b_1 + b_2 + b_3$. Let $R = \\frac{A + 2 - B}{2}$. Find the value of $|R|$.", "answer": 5814, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(2),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=121), Const(value=120)), Mul(Const(value=13), Sub(left=Const(value=0), right=Const(value=222))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=121)), b=Abs(arg=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Mul(Var(name='x'), Var(name='y')), right=Const(value=12321)))), expr=Sum(Var(name='x'), Var(name='y')))))), GCD(a=Abs(arg=Sub(left=Const(value=13), right=Const(value=121))), b=Abs(arg=Sub(left=Const(value=120), right=Const(value=222)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_m'))), b=Abs(arg=Sub(left=Const(value=0), right=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)))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_n\")),\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": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T18:51:12.659390Z", "verification": {"verified": true, "answer": 5814, "timestamp": "2026-02-08T18:51:12.668632Z"}, "problem_hash": "70f54a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 328, "completion_tokens": 439}, "timestamp": "2026-02-13T00:37:11.067Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "K13": "no", "L3c": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "76e5e6", "alias": "nt_num_divisors_compute_v1_124444284_2221", "problem": "Let $F_n$ denote the $n$th Fibonacci number, where $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all positive integers $n$.\n\nLet $A$ be the number of integers $n$ with $1\\le n\\le 105228$ such that $12$ divides $F_n$.\n\nLet $B$ be the number of nonnegative integers $j$ such that\n\\[\\sum_{k=0}^{5}(-1)^k\\binom{5}{k}\\le j\\le N\\]\nand\n\\[\\binom{A}{j}\\equiv 1\\pmod{2},\\]\nwhere $N$ is the number of ordered pairs $(x_1,x_2)$ of positive odd integers satisfying $x_1+x_2=17538$.\n\nLet $Q$ be the number of positive divisors of $B$. Compute $Q$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(12),\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(105228)), Divides(divisor=Ref(\"_c\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Summation(var=\"k\", start=Const(0), end=Const(5), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(5), k=Var(\"k\"))))), Leq(Var(\"j\"), 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(17538)))))), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Ref(\"_m\")), Const(1))), domain='nonnegative_integers')),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_FIB_DIVISIBLE/V8", "BINOMIAL_ALTERNATING", "COMB1/V8"], "recipe_id": "362699", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_COPRIME_GRID", "COUNT_FIB_DIVISIBLE", "V8"], "num_lemmas": 5, "generation_time": 0.011, "created_at": "2026-02-08T04:31:41.077975Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T04:31:41.089250Z"}, "problem_hash": "d79160", "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": 322, "completion_tokens": 2669}, "timestamp": "2026-02-11T23:36:58.825Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 322, "completion_tokens": 2237}, "timestamp": "2026-02-10T16:59:02.932Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 8192}, "timestamp": "2026-02-12T03:39:33.555Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 6, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 655}, "timestamp": "2026-02-12T02:18:03.216Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 248, "completion_tokens": 2023}, "timestamp": "2026-02-12T00:40:17.382Z"}, {"id": 8, "model": "mathstral", "answer": 6, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 290, "completion_tokens": 818}, "timestamp": "2026-02-13T18:24:06.092Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 320, "completion_tokens": 429}, "timestamp": "2026-02-11T20:54:46.586Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COMB1": "ok", "COUNT_FIB_DIVISIBLE": "ok", "V8": "ok_later", "COUNT_CARTESIAN": "no", "K15": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "c7db20", "alias": "geo_count_lattice_rect_v1_2051736721_5713", "problem": "Let $a = 500$ and $b = 143$. Define $r$ to be the number of lattice points $(x, y)$ such that $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the remainder when\n\n$$\n\\sum_{n=1}^{r} \\phi(n)\n$$\n\nis divided by 60228, where $\\phi(n)$ denotes Euler's totient function.", "answer": 5108, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(500),\n \"b\": Const(143),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(35), Const(35)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(60228)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 3.448, "created_at": "2026-02-08T18:44:20.716194Z", "verification": {"verified": true, "answer": 5108, "timestamp": "2026-02-08T18:44:24.164010Z"}, "problem_hash": "f813c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 563}, "timestamp": "2026-02-13T00:29:39.008Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4d3be4", "alias": "geo_count_lattice_rect_v1_1470522791_616", "problem": "Let $a = 60$ and $b = 162$. Compute the number of lattice points $(x, y)$ with $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Let $R$ be this number. Find the remainder when $\\sum_{n=1}^{R} \\phi(n)$ is divided by 94688.", "answer": 40732, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(60),\n \"b\": Const(162),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(89), Const(89)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(94688)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.498, "created_at": "2026-02-08T13:08:27.615933Z", "verification": {"verified": true, "answer": 40732, "timestamp": "2026-02-08T13:08:28.113980Z"}, "problem_hash": "601861", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 543}, "timestamp": "2026-02-12T06:14:41.010Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "66e8fc", "alias": "diophantine_sum_product_min_v1_1520064083_2230", "problem": "Let $S = 83$ and $P = 1302$. Determine the value of $x$, where $1 \\leq x \\leq 82$, that satisfies\n$$\nx(S - x) = P,\n$$\nand is the smallest such integer $x$ satisfying this equation.", "answer": 21, "graph": "graphs = [\n Graph(\n let={\n \"S\": Const(83),\n \"P\": Const(1302),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Const(82)), Eq(Mul(Var(\"x\"), Sub(Ref(\"S\"), Var(\"x\"))), Ref(\"P\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["LIN_FORM/COUNT_CARTESIAN", "B3"], "recipe_id": "1aac58", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "C4", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.175, "created_at": "2026-02-08T04:35:21.431722Z", "verification": {"verified": true, "answer": 21, "timestamp": "2026-02-08T04:35:21.606992Z"}, "problem_hash": "e388ba", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 21, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 173, "completion_tokens": 357}, "timestamp": "2026-02-10T17:08:51.320Z"}, {"id": 8, "model": "mathstral", "answer": 21, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 122, "completion_tokens": 371}, "timestamp": "2026-02-13T19:08:21.767Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 293}, "timestamp": "2026-02-11T20:57:44.849Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "COUNT_CARTESIAN": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "a86026", "alias": "nt_num_divisors_compute_v1_1248542787_568", "problem": "Let $n_2 = 26$. Define $h$ to be the value of $\\sum_{d \\mid n_2} \\phi(d) - n_2$, where $\\phi$ denotes Euler's totient function. Let $n_1 = 1$ and let $s = \\Omega(1)$, the number of prime factors of $1$ counted with multiplicity. Define $n = 6765 + h$. Let $c = 96475$. Compute the remainder when $c \\cdot \\tau(n)$ is divided by $95094 + s$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 22096, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(26),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"n1\": Const(1),\n \"s\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(6765), Ref(\"h\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(96475),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(95094), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "EULER_TOTIENT_SUM", "lemma_paths": ["EULER_TOTIENT_SUM", "BIG_OMEGA_ZERO"], "recipe_id": "3194d0", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "EULER_TOTIENT_SUM"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:13:17.040585Z", "verification": {"verified": true, "answer": 22096, "timestamp": "2026-02-08T03:13:17.041681Z"}, "problem_hash": "53c3d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 22096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 927}, "timestamp": "2026-02-09T05:38:48.965Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 22096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 248, "completion_tokens": 837}, "timestamp": "2026-02-09T18:29:01.198Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 22096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 6349}, "timestamp": "2026-02-09T17:05:33.488Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "V1": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "c442d8", "alias": "algebra_poly_eval_v1_1248542787_742", "problem": "Let $t = 8$. Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 4$. Define $P$ to be the maximum value of $xy$ as $(x,y)$ ranges over $S$. Let $d$ be the smallest divisor of $4725$ that is at least $2$. Compute $$8 \\cdot t^P + 6 \\cdot t^d - 4 \\cdot t^2 + \\left(\\sum_{k=1}^{3} k\\right) \\cdot t - 10.$$", "answer": 35622, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\n \"_m\": Const(6),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4725))))),\n \"t\": Const(8),\n \"result\": Sum(Mul(Const(8), Pow(Ref(\"t\"), 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\")))))), Mul(Ref(\"_m\"), Pow(Ref(\"t\"), Ref(\"_n\"))), Mul(Const(-4), Pow(Ref(\"t\"), Const(2))), Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\")), Ref(\"t\")), Const(-10)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/SUM_ARITHMETIC", "B1"], "recipe_id": "890ac3", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T03:21:36.979773Z", "verification": {"verified": true, "answer": 35622, "timestamp": "2026-02-08T03:21:36.985662Z"}, "problem_hash": "1361dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 35622, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 782}, "timestamp": "2026-02-09T07:46:22.216Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 35622, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 239, "completion_tokens": 868}, "timestamp": "2026-02-09T20:34:31.842Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 35622, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 6494}, "timestamp": "2026-02-09T20:00:43.344Z"}, {"id": 8, "model": "mathstral", "answer": 35792, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 531}, "timestamp": "2026-02-11T19:00:48.240Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 35622, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 434}, "timestamp": "2026-02-11T20:48:46.578Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K14": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -5.64}, "split": "valid"} +{"id": "b628d3", "alias": "diophantine_product_count_v1_1918700295_2172", "problem": "Let $k = 360$ and $u = 297$. Let $A$ be the set of all positive integers $x$ such that $1 \\leq x \\leq 297$, $x$ divides $360$, and $\\frac{360}{x} \\leq 297$. Let $r$ be the number of elements in $A$.\n\nLet $m = 4056$. Let $B$ be the set of all positive integers $d$ such that $1 \\leq d \\leq 4056$ and $d$ divides $16544424$. Let $d_{\\max}$ be the largest element in $B$. Let $c$ be the largest integer $k$ such that $3^k$ divides $d_{\\max}!$.\n\nCompute $c - r$.", "answer": 2002, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4056),\n \"_n\": Const(3),\n \"k\": Const(360),\n \"upper\": Const(297),\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\": MaxKDivides(target=Factorial(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(16544424)))))), base=Ref(\"_n\")),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/V1"], "recipe_id": "efe6ea", "seed_template_id": "diophantine_product_count_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "V1"], "num_lemmas": 2, "generation_time": 0.024, "created_at": "2026-02-08T07:44:03.490929Z", "verification": {"verified": true, "answer": 2002, "timestamp": "2026-02-08T07:44:03.514462Z"}, "problem_hash": "46896f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "V1": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K14": "no", "K18": "no", "V7": "no"}, "split": "valid"} +{"id": "5ff6a7", "alias": "geo_count_lattice_triangle_v1_1116507919_196", "problem": "Let $A$ be the area of the triangle with vertices at $(0,0)$, $(169,289)$, and $(225,333)$. Define $B = 2A$. Let $L$ be the number of lattice points on the boundary of this triangle, computed as\n$$\nL = \\gcd(169, 289) + \\gcd(225 - 169, 333 - 289) + \\gcd(225, 333).\n$$\nUsing Pick's Theorem in the form $A = I + \\frac{B}{2} - 1$, the number of interior lattice points is $I = A - \\frac{B}{2} + 1$. Compute $2I + 2 - B$.", "answer": 4368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(289),\n \"area_2x\": Abs(arg=Sum(Mul(MaxOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=1)), Leq(left=Var(name='d'), right=Const(value=169)), Divides(divisor=Var(name='d'), dividend=Const(value=30589))))), Const(value=333)), Mul(Const(value=225), Sub(left=Const(value=0), right=Const(value=289))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=Const(value=225), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=333), right=Const(value=289)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=225))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=333))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T02:27:45.070528Z", "verification": {"verified": true, "answer": 4368, "timestamp": "2026-02-08T02:27:45.075798Z"}, "problem_hash": "656407", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": -8744, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 1801}, "timestamp": "2026-02-08T19:12:00.721Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8724, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 2254}, "timestamp": "2026-02-09T14:18:33.719Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 8192}, "timestamp": "2026-02-09T17:23:20.330Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": -4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 715}, "timestamp": "2026-02-10T12:56:18.811Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": -10, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 194, "completion_tokens": 1733}, "timestamp": "2026-02-09T17:12:24.141Z"}, {"id": 8, "model": "mathstral", "answer": -57196, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 629}, "timestamp": "2026-02-11T00:48:53.424Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": -8624, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 519}, "timestamp": "2026-02-11T19:32:55.606Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K5": "no", "L3c": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "8a3588", "alias": "nt_count_divisors_in_range_v1_865884756_262", "problem": "Let $t = 24$ and define $n_1 = t^2$. Let $s$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $a_1 = 6557$ and let $b_1$ be the smallest divisor of $337747$ that is at least $2$. Define $v$ to be the sum of $\\mu(d_1)$ over all positive divisors $d_1$ of $\\gcd(a_1, b_1)$, where $\\mu$ is the M\\\"obius function. Let $n = 221760$, $a = v$, and let $b$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\le i \\le 94$ and $1 \\le j \\le 110$ such that $\\gcd(i, j) = 1$. Let $\\text{result}$ be the number of positive divisors $d_2$ of $n$ such that $a \\le d_2 \\le b$. Compute the remainder when $|\\text{result}|$ is divided by $57072 \\cdot s$. Denote this value by $Q$. Find the value of $Q$.", "answer": 144, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"t\": Const(24),\n \"n1\": Pow(Ref(\"t\"), Const(2)),\n \"s\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Ref(\"_n\")),\n \"a1\": Const(6557),\n \"b1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(337747))))),\n \"v\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d1', expr=MoebiusMu(n=Var(name='d1'))),\n \"n\": Const(221760),\n \"a\": Ref(\"v\"),\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(94)), right=IntegerRange(start=Const(1), end=Const(110))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d2\"), condition=And(Divides(divisor=Var(\"d2\"), dividend=Ref(\"n\")), Geq(Var(\"d2\"), Ref(\"a\")), Leq(Var(\"d2\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Mul(Const(57072), Ref(\"s\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "COUNT_COPRIME_GRID", "DIVISOR_PARITY"], "recipe_id": "1375cb", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "DIVISOR_PARITY", "LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 5, "generation_time": 0.266, "created_at": "2026-02-08T15:17:23.507844Z", "verification": {"verified": true, "answer": 144, "timestamp": "2026-02-08T15:17:23.774300Z"}, "problem_hash": "e135b3", "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": 376, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:18:18.033Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "DIVISOR_PARITY": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "K14": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "643a92", "alias": "nt_count_intersection_v1_1742523217_5251", "problem": "Let $n_1$ be the number of integers $t$ such that $5 \\leq t \\leq 3521$ and $t = 3a + 2b$ for some positive integers $a \\leq 193$ and $b \\leq 1471$. Let $f = \\lambda(n_1) + 1$, where $\\lambda$ denotes the Liouville function, and let $g = 15 + f$. Define $a_1 = 11g$ and $b_1 = 15g$. Let $u = \\sum_{d \\mid \\gcd(a_1, b_1)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $N = 100000 + u$. Compute the number of positive integers $n \\leq N$ such that $11$ divides $n$ and $\\gcd(n, 6) = 1$.", "answer": 3030, "graph": "graphs = [\n Graph(\n let={\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=193)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1471)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=3521)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"g\": Sum(Const(15), Ref(\"f\")),\n \"m\": Const(11),\n \"n\": Const(15),\n \"a1\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b1\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"N\": Sum(Const(100000), Ref(\"u\")),\n \"a\": Const(11),\n \"b\": Const(6),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME"], "recipe_id": "46f5fc", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 3.163, "created_at": "2026-02-08T10:52:50.646489Z", "verification": {"verified": true, "answer": 3030, "timestamp": "2026-02-08T10:52:53.809910Z"}, "problem_hash": "89f560", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V7": "no"}, "split": "valid"} +{"id": "aca970", "alias": "antilemma_cartesian_v1_717093673_1549", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 34$ and $1 \\leq j \\leq 42$. Compute the remainder when $2 - x$ is divided by $52993$.", "answer": 51567, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(34)), right=IntegerRange(start=Const(1), end=Const(42)))),\n \"Q\": Mod(value=Sub(Const(2), Ref(\"x\")), modulus=Const(52993)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:10:11.382161Z", "verification": {"verified": true, "answer": 51567, "timestamp": "2026-02-08T16:10:11.384345Z"}, "problem_hash": "d8d216", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 51567, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 276}, "timestamp": "2026-02-12T10:00:37.676Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "eb38c1", "alias": "nt_sum_divisors_range_v1_655260480_967", "problem": "Let $n = 7000$. Define $\\text{upper}$ to be the largest positive divisor $d$ of $49091000$ such that $d \\le n$. Compute the sum of the number of positive divisors of all positive integers $n$ from $1$ to $\\text{upper}$, inclusive.", "answer": 63071, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7000),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(49091000))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.54, "created_at": "2026-02-08T15:49:53.352347Z", "verification": {"verified": true, "answer": 63071, "timestamp": "2026-02-08T15:49:53.892532Z"}, "problem_hash": "45a6a4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 401}, "timestamp": "2026-02-12T09:19:16.514Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "LTE_DIFF": "no", "V1": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "01a8bc", "alias": "modular_modexp_compute_v1_48377204_2627", "problem": "Let $a = 3$ and $n = 11$. Let $e$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 62$ and $1 \\leq j \\leq 125$. Let $m = 21316$, and define $r$ to be the remainder when $a^e$ is divided by $m$. Let $k$ be the remainder when $|r|$ is divided by $n$. Compute the $k$-th Bell number, $B_k$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"a\": Const(3),\n \"e\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(62)), right=IntegerRange(start=Const(1), end=Const(125)))),\n \"m\": Const(21316),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T16:50:45.945774Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T16:50:45.956422Z"}, "problem_hash": "a725b8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 437}, "timestamp": "2026-02-12T21:19:40.499Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cc9c77", "alias": "diophantine_fbi2_min_v1_1439011603_2902", "problem": "Let $k$ be the number of integers $t$ with $20 \\leq t \\leq 79$ that can be written in the form $3a + 7b + 10$ for positive integers $a \\leq 16$ and $b \\leq 3$. Let $\\text{upper}$ be the number of integers $t_1$ with $9 \\leq t_1 \\leq 72$ that can be written in the form $2a + 7b$ for positive integers $a \\leq 29$ and $b \\leq 2$. Let $\\text{result}$ be the smallest integer $d$ such that $d$ is at least the number of ordered pairs $(p, q)$ of positive integers satisfying $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$; $d \\leq \\text{upper}$; $d$ divides $k$; and $\\frac{k}{d} \\geq 7$. Compute $45360 - \\text{result}$.", "answer": 45358, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(45360),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=16)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=79)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=10)))))))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=29)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t1'), right=Const(value=9)), Leq(left=Var(name='t1'), right=Const(value=72)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": 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=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T17:03:52.030165Z", "verification": {"verified": true, "answer": 45358, "timestamp": "2026-02-08T17:03:52.040327Z"}, "problem_hash": "b22a77", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 331, "completion_tokens": 420}, "timestamp": "2026-02-12T21:49:21.760Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "03b431", "alias": "antilemma_cartesian_v1_153355830_2978", "problem": "Let $c=45$. Let $m$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 45$, $1\\le j\\le 45$, and $i+j=c$.\n\nLet $n$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=m$.\n\nLet $x$ be the number of ordered pairs $(u,v)$ of integers with $1\\le u\\le 24$ and $1\\le v\\le 41$.\n\nLet $r$ be the remainder when $|x|$ is divided by the number of ordered pairs $(y_1,y_2)$ of positive odd integers such that $y_1+y_2=n$.\n\nFinally, let $Q$ be the $r$-th Bell number $B_r$, where $B_0=1$, $B_1=1$, $B_2=2$, and in general $B_k$ denotes the number of set partitions of a $k$-element set.\n\nFind the remainder when $Q$ is divided by $100000$. ", "answer": 52, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(45),\n \"_m\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(45)), right=IntegerRange(start=Const(1), end=Const(45))))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_m\"))))),\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(41)))),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_SUM_EQUALS/COMB1", "COMB1/COMB1", "COUNT_CARTESIAN"], "recipe_id": "608a44", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T07:31:00.131654Z", "verification": {"verified": true, "answer": 52, "timestamp": "2026-02-08T07:31:00.144847Z"}, "problem_hash": "6fadda", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 52, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 943}, "timestamp": "2026-02-13T10:55:21.732Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 366, "completion_tokens": 543}, "timestamp": "2026-02-12T01:07:54.368Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "2aff95", "alias": "nt_sum_divisors_mod_v1_677425708_2344", "problem": "Let $n$ be the smallest possible value of $x+y$, where $x$ and $y$ are positive integers satisfying $xy=1587600$.\n\nLet $\\sigma$ be the sum of all positive divisors of $n$. Let $M=11047$, and let $r$ be the remainder when $\\sigma$ is divided by $M$.\n\nLet $d$ range over all positive divisors of $\\gcd\\bigl(9, k\\bigr)$, where $k$ is the largest integer such that $41^k$ divides $41^{14}$. Define\n\\[u=\\sum_{d\\mid \\gcd(9,k)} \\mu(d),\\]\nwhere $\\mu$ is the Möbius function. Let $L$ be the number of decimal digits of $|r|$, and consider the sum\n\\[S=\\sum_{i=0}^{L-u} \\bigl(\\text{the $i$-th decimal digit of }|r|\\bigr)\\cdot (i+1)^T,\\]\nwhere $i=0$ corresponds to the units digit, $i=1$ to the tens digit, and so on, and where $T$ is the number of integers $m$ with $1\\le m\\le 5$ such that the sum of the decimal digits of $m$ is even.\n\nLet $Q=S+11881$. Find the remainder when $Q$ is divided by $100000$.", "answer": 12076, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11881),\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(1587600)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(11047),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), SumOverDivisors(n=GCD(a=Const(value=9), b=MaxKDivides(target=Pow(base=Const(value=41), exp=Const(value=14)), base=Const(value=41))), var='d', expr=MoebiusMu(n=Var(name='d')))), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0)))))))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_COPRIME", "L3B", "B3"], "recipe_id": "e9d883", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K14", "L3B", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T05:00:25.685930Z", "verification": {"verified": true, "answer": 12076, "timestamp": "2026-02-08T05:00:25.693494Z"}, "problem_hash": "1180ba", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "K14": "ok", "L3B": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "a473de", "alias": "sequence_fibonacci_compute_v1_124444284_6947", "problem": "Let $d$ be the largest positive divisor of $775$ that is at most $25$. Compute the $d$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$.", "answer": 75025, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(25),\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(775))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:43:33.364607Z", "verification": {"verified": true, "answer": 75025, "timestamp": "2026-02-08T08:43:33.365268Z"}, "problem_hash": "1ab618", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 75025, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 304}, "timestamp": "2026-02-12T02:10:40.204Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "K16": "no", "K5": "no", "LTE_DIFF": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "443a35", "alias": "comb_sum_binomial_mod_v1_1520064083_4082", "problem": "Let $A$ be the set of integers $k$ such that $1 \\leq k \\leq 14740$ and $44$ divides $k$. For each integer $j$ from $1$ to $3$ and each integer $k$ from $76$ to $311$, define $b_{k,j} = \\binom{|A|}{k}$.\n\nLet $S$ be the set of all such values $b_{k,j}$. Define\n$$\n\\text{sum} = \\frac{4}{12} \\sum_{x \\in S} x.\n$$\n\nLet $r$ be the remainder when $\\text{sum}$ is divided by $11587$.\n\nCompute the remainder when $29357r$ is divided by $67388$.", "answer": 31091, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(14740),\n \"_n\": Const(67388),\n \"sum\": Div(Mul(Const(4), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(76), end=Const(311)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(44), dividend=Var(\"k\"))), domain='positive_integers')), k=Var(\"k\"))))), Const(12)),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11587)),\n \"_c\": Const(29357),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT", "C2"], "recipe_id": "0a4308", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "SUM_INDEPENDENT"], "num_lemmas": 2, "generation_time": 0.046, "created_at": "2026-02-08T06:03:25.568129Z", "verification": {"verified": true, "answer": 31091, "timestamp": "2026-02-08T06:03:25.614440Z"}, "problem_hash": "d08485", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29357, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 4386}, "timestamp": "2026-02-12T19:17:15.103Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 585}, "timestamp": "2026-02-11T23:33:38.273Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "SUM_INDEPENDENT": "ok", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V1": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "d7df37", "alias": "nt_min_crt_v1_124444284_4012", "problem": "Let $m = \\sum_{k=1}^{2} \\phi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$, $a = 2$, $b = 3$, and $u = \\sum_{k=1}^{5} k$. Define $n$ to be the smallest positive integer such that $1 \\leq n \\leq u$, $n \\equiv 2 \\pmod{m}$, and $n \\equiv 3 \\pmod{5}$. Compute the remainder when $75387 \\cdot n$ is divided by $60136$.", "answer": 1736, "graph": "graphs = [\n Graph(\n let={\n \"m\": Summation(var=\"k\", start=Const(1), end=Const(2), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))),\n \"k\": Const(5),\n \"a\": Const(2),\n \"b\": Const(3),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"_c\": Const(75387),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(60136)),\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", "K2"], "recipe_id": "2a0f86", "seed_template_id": "nt_min_crt_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T05:43:15.406891Z", "verification": {"verified": true, "answer": 1736, "timestamp": "2026-02-08T05:43:15.429190Z"}, "problem_hash": "ead817", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1736, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 170, "completion_tokens": 1042}, "timestamp": "2026-02-12T13:03:03.985Z"}, {"id": 8, "model": "mathstral", "answer": 1768, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 356}, "timestamp": "2026-02-14T21:39:42.104Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1720, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 621}, "timestamp": "2026-02-11T23:00:24.966Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "5ce9fe", "alias": "antilemma_count_primes_v1_151522320_1855", "problem": "Let $p = 19$ and $q = 23$. Define $n_1 = pq$ and $v = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $n = 121v$ and $u = \\lambda(n)$. Define $N = 2u$. Compute the number of prime numbers $n$ such that $N \\leq n \\leq 3301$.", "answer": 464, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"q\": Const(23),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"v\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(121), Ref(\"v\")),\n \"u\": LiouvilleLambda(n=Ref(name='n')),\n \"_n\": Mul(Const(2), Ref(\"u\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(3301)), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_ONE", "lemma_paths": ["LIOUVILLE_ONE", "COUNT_PRIMES"], "recipe_id": "f80459", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "LIOUVILLE_ONE"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T04:26:19.022167Z", "verification": {"verified": true, "answer": 464, "timestamp": "2026-02-08T04:26:19.022882Z"}, "problem_hash": "e363fc", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIOUVILLE_ONE": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3b": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "b00f1a", "alias": "nt_min_coprime_above_v1_151522320_1662", "problem": "Let $a$ be the largest integer $k$ such that $7^k$ divides $232630513987207^47$, and let $b = 5$. Define $u = \\sum_{d\\mid \\gcd(a,b)} \\mu(d)$ and $m = \\Omega(1)$. Let $\\text{start} = 35344 \\cdot u + m$ and $\\text{upper} = 35581$. Let $r$ be the smallest integer $n$ such that $\\text{start} < n \\leq \\text{upper}$ and $\\gcd(n, 227) = 1$. Find the remainder when $44121 \\cdot r$ is divided by $81590$.", "answer": 27075, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(35344),\n \"a\": MaxKDivides(target=Pow(Const(232630513987207), Const(47)), base=Const(7)),\n \"b\": Const(5),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(1),\n \"m\": BigOmega(n=Ref(name='n')),\n \"start\": Sum(Mul(Ref(\"_n\"), Ref(\"u\")), Ref(\"m\")),\n \"upper\": Const(35581),\n \"modulus\": Const(227),\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(81590)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "4f6242", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "K14", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.027, "created_at": "2026-02-08T04:10:50.646166Z", "verification": {"verified": true, "answer": 27075, "timestamp": "2026-02-08T04:10:50.673660Z"}, "problem_hash": "a70c02", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "K14": "ok", "MOBIUS_COPRIME": "ok_later", "K13": "no", "K16": "no", "L3b": "no", "V8": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "a1ae34", "alias": "antilemma_v1_legendre_784195855_1842", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 5489649$. Let $A$ be the set of all values of $x + y$ as $(x,y)$ ranges over $S$. Define $a$ to be the smallest element of $A$. Let $x$ be the largest integer $k$ such that $11^k$ divides $a!$.\n\nLet $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 54$. Let $B$ be the set of all values of $xy$ as $(x,y)$ ranges over $T$. Define $c$ to be the largest element of $B$.\n\nCompute $c - x$.", "answer": 262, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\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(5489649)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), base=Ref(\"_n\")),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(54)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "B3/V1", "V1"], "recipe_id": "42d16c", "seed_template_id": "antilemma_v1_legendre", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:21:42.515204Z", "verification": {"verified": true, "answer": 262, "timestamp": "2026-02-08T05:21:42.516920Z"}, "problem_hash": "9ab3ab", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "B3": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no"}, "split": "valid"} +{"id": "64c715", "alias": "nt_sum_over_divisible_v1_784195855_7506", "problem": "Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 414736$. For each such pair, compute $x + y$, and let $M$ be the minimum value among all such sums. Define $d$ to be the number of positive integers $n$ such that:\n\n- $1 \\leq n \\leq M$,\n- $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$.\n\nLet $U = 30276$. Define $R$ to be the sum of all positive integers $n \\leq U$ such that $n$ is divisible by $d$. Compute the remainder when $34789 \\cdot R$ is divided by $82104$.", "answer": 14256, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(30276),\n \"divisor\": 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(414736)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(34789),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(82104)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 1.936, "created_at": "2026-02-08T09:21:18.739190Z", "verification": {"verified": true, "answer": 14256, "timestamp": "2026-02-08T09:21:20.675395Z"}, "problem_hash": "633d72", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14256, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 3004}, "timestamp": "2026-02-14T03:27:39.281Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 469}, "timestamp": "2026-02-12T02:51:13.665Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "C2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3f7c3a", "alias": "nt_count_coprime_and_v1_124444284_4539", "problem": "Let $d$ be a positive integer. Define $k_1$ to be the largest integer $d$ such that $1 \\leq d \\leq 5$ and $d$ divides 35. Let $k_2 = 7$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 30597$, $\\gcd(n, k_1) = 1$, and $\\gcd(n, k_2) = 1$. Let $m$ be the number of elements in $S$. Determine the value of the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $|m| + 2$.", "answer": 20984, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(30597),\n \"k1\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(5)), Divides(divisor=Var(\"d\"), dividend=Const(35))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 3.324, "created_at": "2026-02-08T06:04:40.346546Z", "verification": {"verified": true, "answer": 20984, "timestamp": "2026-02-08T06:04:43.670378Z"}, "problem_hash": "e0e33e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20984, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 3454}, "timestamp": "2026-02-12T19:07:46.062Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 471}, "timestamp": "2026-02-11T23:32:58.897Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "no", "L3b": "no", "V5": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "25ab25", "alias": "nt_min_phi_inverse_v1_1742523217_2947", "problem": "Let $p$ be the largest prime number less than or equal to 84. Define $n_1 = p^2$ and let $e = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $w$ be the sum of $\\mu(d)$ over all positive divisors $d$ of 60. Define $\\text{upper} = 20 + w$ and $k = 6e$. Determine the value of the smallest positive integer $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\phi(n) = k$.", "answer": 7, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Ref(\"p\"), Const(2)),\n \"e\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(60),\n \"w\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Sum(Const(20), Ref(\"w\")),\n \"k\": Mul(Const(6), Ref(\"e\")),\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": "V5", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_ONE", "MOBIUS_SUM"], "recipe_id": "fbb61c", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM", "V5"], "num_lemmas": 4, "generation_time": 0.222, "created_at": "2026-02-08T05:28:09.522530Z", "verification": {"verified": true, "answer": 7, "timestamp": "2026-02-08T05:28:09.744118Z"}, "problem_hash": "8f51d9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no"}, "split": "valid"} +{"id": "13bdfb", "alias": "sequence_lucas_compute_v1_124444284_6831", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = k$, where $k$ is the number of integers $t$ satisfying $7 \\leq t \\leq 133$ and $t = 3a + 4b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 19$ and $1 \\leq b \\leq 19$. Compute the $n$-th Lucas number.\n\nThe Lucas numbers are defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$.", "answer": 39603, "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=19)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=19)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=133)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T08:39:22.575080Z", "verification": {"verified": true, "answer": 39603, "timestamp": "2026-02-08T08:39:22.578908Z"}, "problem_hash": "ac4080", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 39603, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 204, "completion_tokens": 3948}, "timestamp": "2026-02-13T20:17:19.897Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 531}, "timestamp": "2026-02-12T02:03:49.352Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "92c7db", "alias": "antilemma_cartesian_v1_1915831931_3799", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from $1$ to $25$ inclusive and $b$ is an integer from $1$ to $32$ inclusive. Let $Q$ be the remainder when $98631 \\cdot x$ is divided by $73078$. Find the value of $Q$.", "answer": 53638, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"_c\": Const(98631),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(73078)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:55:21.154146Z", "verification": {"verified": true, "answer": 53638, "timestamp": "2026-02-08T17:55:21.154975Z"}, "problem_hash": "733dd6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 244}, "timestamp": "2026-02-12T23:29:48.990Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "566bb7", "alias": "antilemma_count_primes_v1_168721529_1829", "problem": "Let $n_1 = 14$, and let\n$$\nw = \\sum_{d \\mid n_1} \\varphi(d) - n_1,\n$$\nwhere $\\varphi$ is Euler's totient function.\n\nLet $N$ be the largest prime number between $2$ and $2757$, inclusive, and define\n$$\nK = N + w.\n$$\nLet $x$ be the number of prime numbers between $2$ and $K$, inclusive.\n\nLet $c = 45689 + \\omega(1)$, where $\\omega(1)$ is the number of distinct prime factors of $1$.\n\nLet\n$$\nQ \\equiv c\\,x \\pmod{55834},\n$$\nwith $0 \\le Q < 55834$.\n\nFind the value of $Q$. ", "answer": 53426, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(45689),\n \"n1\": Const(14),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Const(1),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"_n\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(2757)), IsPrime(Var(\"n\"))))), Ref(\"w\")),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"_c\": Sum(Ref(\"_m\"), Ref(\"u\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(55834)),\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/EULER_TOTIENT_SUM/COUNT_PRIMES", "OMEGA_ZERO", "COUNT_PRIMES"], "recipe_id": "49f0df", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "EULER_TOTIENT_SUM", "MAX_PRIME_BELOW", "OMEGA_ZERO"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T13:56:55.823060Z", "verification": {"verified": true, "answer": 53426, "timestamp": "2026-02-08T13:56:55.826420Z"}, "problem_hash": "5a22ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7737, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 5566}, "timestamp": "2026-02-09T22:11:14.384Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "OMEGA_ZERO": "ok", "EULER_TOTIENT_SUM": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "6a69df", "alias": "algebra_quadratic_discriminant_v1_784195855_5609", "problem": "Let $m$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 30$. Let $c$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. \n\nLet $p$ be a positive integer such that there exists a positive integer $q$ with $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Compute the number of such integers $p$.\n\nCompute $(-1)^{\\text{number of such } p} - 4 \\cdot (-1) \\cdot c$.", "answer": 121, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(30)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(4),\n \"a\": Const(-1),\n \"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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Sub(Pow(Ref(\"b\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "B1/B3"], "recipe_id": "0209f3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T07:59:34.774034Z", "verification": {"verified": true, "answer": 121, "timestamp": "2026-02-08T07:59:34.786903Z"}, "problem_hash": "37f7b7", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 121, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 1554}, "timestamp": "2026-02-13T14:03:31.989Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 137, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 623}, "timestamp": "2026-02-12T01:28:07.603Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "B3": "ok_later", "K17": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0fadeb", "alias": "sequence_fibonacci_compute_v1_124444284_884", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = 10$. Let $n$ be the maximum value of $xy$ as $(x, y)$ ranges over $S$. Define $f_n$ to be the $n$-th Fibonacci number, where $f_1 = 1$, $f_2 = 1$, and $f_k = f_{k-1} + f_{k-2}$ for $k \\geq 3$. Let $c$ be the sum of all real solutions $x$ to the equation $x^2 - 7007x - 459680 = 0$. Compute the remainder when $c \\cdot f_n$ is divided by $91359$.", "answer": 20489, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(91359),\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(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"_c\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-7007), Var(\"x\")), Const(-459680)), Const(0)))),\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": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "B1"], "recipe_id": "bf37b9", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:33:51.265517Z", "verification": {"verified": true, "answer": 20489, "timestamp": "2026-02-08T03:33:51.268616Z"}, "problem_hash": "308bdb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20489, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 2521}, "timestamp": "2026-02-09T23:25:12.850Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 20489, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 1047}, "timestamp": "2026-02-09T07:07:30.742Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 499}, "timestamp": "2026-02-11T19:48:13.176Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 424}, "timestamp": "2026-02-11T21:01:18.652Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "VIETA_SUM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "1726a2", "alias": "nt_euler_phi_compute_v1_784195855_850", "problem": "Let $a$ be the largest integer $k$ such that $3^k$ divides $1594323^{39}$. Let $b$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $x \\cdot y = 456976$. Let $n_1 = 5^2 \\cdot 3 \\cdot 7$ and let $t = \\mu(n_1)^2$, where $\\mu$ denotes the M\\\"obius function. Let $w = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$. Let $n = 51984$ and let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when $(44121 + t + w) \\cdot \\varphi(n)$ is divided by $79865$.", "answer": 74516, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"p\": Const(5),\n \"q\": Const(3),\n \"r\": Const(7),\n \"n1\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"t\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"a\": MaxKDivides(target=Pow(Const(1594323), Const(39)), base=Const(3)),\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(456976)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(51984),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Sum(Ref(\"_n\"), Ref(\"t\")), Ref(\"w\")), Ref(\"result\")), modulus=Const(79865)),\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", "B3/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "recipe_id": "00d01a", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B3", "K14", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T04:39:23.281517Z", "verification": {"verified": true, "answer": 74516, "timestamp": "2026-02-08T04:39:23.288803Z"}, "problem_hash": "c37b57", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "K14": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "K13": "no", "L3b": "no", "V5": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "a735af", "alias": "antilemma_cartesian_v1_1978505735_5803", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 19$ and $1 \\leq b \\leq 33$. Compute the value of $Q = 44100 - x$.", "answer": 43473, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(33)))),\n \"_c\": Const(44100),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T19:13:44.150941Z", "verification": {"verified": true, "answer": 43473, "timestamp": "2026-02-08T19:13:44.153125Z"}, "problem_hash": "d93707", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 43473, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 159, "completion_tokens": 199}, "timestamp": "2026-02-13T00:52:56.894Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "2325bd", "alias": "comb_binomial_compute_v1_784195855_8874", "problem": "Let $u = 9$, $n_2 = u + 1$, and define $w = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}$. Let $n_1 = 6$ and define $e = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}$. Let $n = 12 + w$ and let $k$ be the sum of $e$ and the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 10$. Define $\\binom{n}{k}$ using these values. Let $Q$ be the difference between the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 10920$ and the value of $\\binom{n}{k}$. Find the value of $Q$.", "answer": 4668, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(12),\n \"u\": Const(9),\n \"n2\": Sum(Ref(\"u\"), Const(1)),\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(6),\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\": Sum(Ref(\"_n\"), Ref(\"w\")),\n \"k\": Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(10))))), Ref(\"e\")),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Sub(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(10920))))), Ref(\"result\")),\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", "COMB1"], "recipe_id": "399dc7", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:23:42.039823Z", "verification": {"verified": true, "answer": 4668, "timestamp": "2026-02-08T16:23:42.043048Z"}, "problem_hash": "67d68a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 504}, "timestamp": "2026-02-12T10:32:46.939Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "790948", "alias": "antilemma_cartesian_v1_124444284_3247", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 23$ and $1 \\leq j \\leq 45$. Compute the remainder when $62577 \\cdot x$ is divided by $62116$.", "answer": 42323, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(45)))),\n \"Q\": Mod(value=Mul(Const(62577), Ref(\"x\")), modulus=Const(62116)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T05:17:42.417752Z", "verification": {"verified": true, "answer": 42323, "timestamp": "2026-02-08T05:17:42.418173Z"}, "problem_hash": "8376f0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42323, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 104, "completion_tokens": 483}, "timestamp": "2026-02-12T06:37:05.409Z"}, {"id": 8, "model": "mathstral", "answer": 27399, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 121, "completion_tokens": 363}, "timestamp": "2026-02-14T12:13:27.861Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44945, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 348}, "timestamp": "2026-02-11T22:27:43.508Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "0e9e9c", "alias": "sequence_count_fib_divisible_v1_2051736721_5659", "problem": "Let $ S $ be the set of all positive integers $ t $ such that $ 21 \\le t \\le 2331 $ and there exist positive integers $ a $ and $ b $ with $ 1 \\le a \\le 49 $, $ 1 \\le b \\le 266 $, and $ t = 15a + 6b $. Let $ u $ be the maximum prime number $ n $ such that $ 2 \\le n \\le |S| $. Let $ d $ be the minimum value of $ x + y $ over all pairs of positive integers $ (x, y) $ such that $ xy = 81 $. Determine the number of positive integers $ n_1 $ with $ 1 \\le n_1 \\le u $ for which $ d $ divides the $ n_1 $-th Fibonacci number, where the Fibonacci sequence is defined by $ F_1 = 1 $, $ F_2 = 1 $, and $ F_k = F_{k-1} + F_{k-2} $ for $ k \\ge 3 $.", "answer": 63, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(81),\n \"_n\": Const(2),\n \"upper\": 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=49)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=266)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=2331)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"d\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.169, "created_at": "2026-02-08T18:42:40.452995Z", "verification": {"verified": true, "answer": 63, "timestamp": "2026-02-08T18:42:40.621888Z"}, "problem_hash": "acf769", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 338, "completion_tokens": 526}, "timestamp": "2026-02-13T00:28:58.363Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "757354", "alias": "algebra_poly_eval_v1_1520064083_8910", "problem": "Let $a = 16$. Define $S$ as the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 108900$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 13337104$. Define $m$ to be the minimum value of $x + y$ over all pairs $(x, y) \\in T$. Let $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq \\min\\{x + y : (x, y) \\in S\\}$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Compute the value of\n$$\n\\frac{k \\cdot a^5 - 44a^4 + 222a^3 - 258a^2 - 172a + 48}{m}.\n$$", "answer": 8334, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"a\": Const(16),\n \"result\": Div(Sum(Mul(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(108900)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))), Pow(Ref(\"a\"), Ref(\"_n\"))), Mul(Const(-44), Pow(Ref(\"a\"), Const(4))), Mul(Const(222), Pow(Ref(\"a\"), Const(3))), Mul(Const(-258), Pow(Ref(\"a\"), Const(2))), Mul(Const(-172), Ref(\"a\")), Const(48)), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(13337104)))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T10:26:09.950551Z", "verification": {"verified": true, "answer": 8334, "timestamp": "2026-02-08T10:26:09.959959Z"}, "problem_hash": "70426c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8334, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 2772}, "timestamp": "2026-02-14T07:25:38.202Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 605}, "timestamp": "2026-02-12T03:18:11.478Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "LTE_DIFF_P2": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "faf91b", "alias": "geo_count_lattice_rect_v1_124444284_3512", "problem": "Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 196$ and $0 \\leq y \\leq 57$.", "answer": 11426, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(196),\n \"b\": Const(57),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.0, "created_at": "2026-02-08T05:26:07.571747Z", "verification": {"verified": true, "answer": 11426, "timestamp": "2026-02-08T05:26:07.572203Z"}, "problem_hash": "b90995", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 11426, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 81, "completion_tokens": 487}, "timestamp": "2026-02-12T08:33:50.989Z"}, {"id": 8, "model": "mathstral", "answer": 11466, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 92, "completion_tokens": 242}, "timestamp": "2026-02-14T17:39:07.946Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11366, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 155}, "timestamp": "2026-02-11T22:37:45.336Z"}], "solution_status": 1, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "91e58e", "alias": "antilemma_sum_primes_v1_1125832087_132", "problem": "Let $S$ be the set of all prime numbers $p$ such that $2 \\leq p \\leq d$, where $d$ is the smallest divisor of $\\pi$ that is at least $2$, and $\\pi$ is the number of prime numbers between $2$ and $5039$, inclusive. Let $x$ be the sum of all elements in $S$. Compute the remainder when $44121 \\cdot x$ is divided by $71671$.", "answer": 5592, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(44121),\n \"_n\": Const(2),\n \"x\": SumOverSet(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=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5039)), IsPrime(Var(\"n\")))))))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"x\")), modulus=Const(71671)),\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/MIN_PRIME_FACTOR/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "6b30f0", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T02:52:43.772474Z", "verification": {"verified": true, "answer": 5592, "timestamp": "2026-02-08T02:52:43.775389Z"}, "problem_hash": "f0e094", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "SUM_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "K14": "no", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "0799a3", "alias": "comb_sum_binomial_row_v1_677425708_3420", "problem": "Let $d=96$. Consider all ordered pairs $(x,y)$ of positive integers such that $x+y=d$. For each such pair, form the product $xy$, and let $C$ be the maximum of all such products.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=C$. For each such pair, form the sum $x+y$, and let $S$ be the set of all such sums. Let $s_0$ be the minimum element of $S$.\n\nLet $F_n$ denote the $n$th Fibonacci number. Let $N$ be the number of integers $n$ such that $1\\le n\\le s_0$ and $7$ divides $F_n$.\n\nAmong all integers $n$ with $2\\le n\\le N$ that are prime, let $p$ be the largest such prime. Let $r=2^p$.\n\nLet $Q$ be the remainder when $77668\\cdot r$ is divided by $64635$. Find the value of $Q$.", "answer": 61964, "graph": "graphs = [\n Graph(\n let={\n \"_d\": Const(96),\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(\"_d\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_m\": Const(7),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\"))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n'))))))), IsPrime(Var(\"n\"))))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(77668), Ref(\"result\")), modulus=Const(64635)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/COUNT_FIB_DIVISIBLE/MAX_PRIME_BELOW"], "recipe_id": "029090", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_FIB_DIVISIBLE", "MAX_PRIME_BELOW"], "num_lemmas": 4, "generation_time": 0.007, "created_at": "2026-02-08T05:41:54.746154Z", "verification": {"verified": true, "answer": 61964, "timestamp": "2026-02-08T05:41:54.753048Z"}, "problem_hash": "99eeb3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61964, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 3172}, "timestamp": "2026-02-12T13:58:12.880Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 341, "completion_tokens": 572}, "timestamp": "2026-02-11T23:04:56.675Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K5": "no", "LTE_DIFF": "no", "V1": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "812d28", "alias": "modular_modexp_compute_v1_898971024_2250", "problem": "Let $a = \\sum_{k=1}^{2} \\phi(k) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 2250000$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $e$ be the minimum value in $T$. Compute the remainder when $a^e$ is divided by $65536$.", "answer": 56673, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\"))))),\n \"e\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(2250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(65536),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:37:25.334372Z", "verification": {"verified": true, "answer": 56673, "timestamp": "2026-02-08T16:37:25.337286Z"}, "problem_hash": "ea26be", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 487}, "timestamp": "2026-02-12T11:04:40.728Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "90ea4b", "alias": "comb_catalan_compute_v1_865884756_226", "problem": "Let $n = 11$ and let $C_n$ denote the $n$-th Catalan number. Let $T$ be the set of all integers $t$ such that $33 \\le t \\le 22593$ and there exist positive integers $a \\le 1818$ and $b \\le 37$ satisfying $t = 12a + 21b$. Let $c$ be the number of elements in $T$. Compute the value of $$\\sum_{i=0}^{d-2} \\left( \\text{the } i\\text{-th digit of } |C_n| \\right) \\cdot (i+1)^2 + c,$$ where $d$ is the number of decimal digits in $|C_n|$.", "answer": 7857, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(11),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1818)), 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=33)), Leq(left=Var(name='t'), right=Const(value=22593)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(Binom(n=Const(9), k=Const(9)), 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)), Ref(\"_n\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "ZERO_BINOM_N"], "recipe_id": "3269b7", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ZERO_BINOM_N"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:16:07.801543Z", "verification": {"verified": true, "answer": 7857, "timestamp": "2026-02-08T15:16:07.807252Z"}, "problem_hash": "d6ef6d", "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": 275, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:53:09.887Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7740, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 5437}, "timestamp": "2026-02-11T11:06:04.060Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 409}, "timestamp": "2026-02-12T08:07:10.479Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "ZERO_BINOM_N": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "dd28e4", "alias": "nt_sum_gcd_range_mod_v1_397696148_1091", "problem": "Let $p$ be a positive integer. Define $m = 77673$. Consider the set of all positive integers $p$ for which there exists a positive integer $q$ such that:\n\n- $p \\cdot q = 54$,\n- $\\gcd(p, q) = 1$,\n- $p < q$.\n\nLet $n$ be the number of such integers $p$. Let $N$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 16777216$. \n\nLet $s = \\sum_{i=1}^{N} \\gcd(i, 120)$, and let $r$ be the remainder when $s$ is divided by $11423$. \n\nLet $t$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 49$. Compute the remainder when $r + n^r$ is divided by $77673$.", "answer": 4791, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(77673),\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=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))),\n \"k\": Const(120),\n \"M\": Const(11423),\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\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))))), 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/B3"], "recipe_id": "97f4f0", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": "mod_exp", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 0.403, "created_at": "2026-02-08T12:20:48.141998Z", "verification": {"verified": true, "answer": 4791, "timestamp": "2026-02-08T12:20:48.544695Z"}, "problem_hash": "144219", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 338, "completion_tokens": 493}, "timestamp": "2026-02-12T05:09:40.786Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "B3": "ok_later", "K13": "no", "L3c": "no", "V1": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "077d4f", "alias": "nt_count_gcd_equals_v1_971394319_999", "problem": "Let $d$ be the largest positive integer such that $d \\leq 148$ and $d$ divides 22348. Let $S$ be the set of all positive integers $n \\leq 14161$ such that $\\gcd(n, 296) = d$. Compute the number of elements in $S$.", "answer": 48, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(14161),\n \"k\": Const(296),\n \"d\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(148)), Divides(divisor=Var(\"d\"), dividend=Const(22348))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 7.644, "created_at": "2026-02-08T13:26:18.266382Z", "verification": {"verified": true, "answer": 48, "timestamp": "2026-02-08T13:26:25.910272Z"}, "problem_hash": "1faf7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 370}, "timestamp": "2026-02-12T06:51:41.211Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bf4890", "alias": "geo_count_lattice_rect_v1_2051736721_5448", "problem": "Compute the number of lattice points $(x, y)$ with $0 \\le x \\le 180$ and $0 \\le y \\le 199$.", "answer": 36200, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(180),\n \"b\": Const(199),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T18:36:26.724705Z", "verification": {"verified": true, "answer": 36200, "timestamp": "2026-02-08T18:36:26.725266Z"}, "problem_hash": "975ce9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 36200, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 188}, "timestamp": "2026-02-13T00:20:02.102Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ac7d71", "alias": "antilemma_coprime_grid_v1_784195855_2824", "problem": "Let $m = 2$ and $n = 397$. Let $x$ be the number of ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 7$, $1 \\leq j \\leq 78$, and $\\gcd(i, j) = 1$. Let $c$ be the number of integers $t$ such that $7 \\leq t \\leq 7011$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 505$, $1 \\leq b \\leq 2243$, and $t = 5a + 2b$. Define $Q$ as\n\n$$\nQ = \\left( x \\bmod d_{\\text{min}} + c \\cdot (x \\bmod n) \\right) \\bmod 66480,\n$$\n\nwhere $d_{\\text{min}}$ is the smallest divisor of $16191257$ that is at least $m$. Compute $Q$.", "answer": 22237, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(397),\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(7)), right=IntegerRange(start=Const(1), end=Const(78))))),\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=505)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2243)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=7011)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(16191257)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Ref(\"_n\")))), modulus=Const(66480)),\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", "LIN_FORM", "COUNT_COPRIME_GRID"], "recipe_id": "38fee5", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T06:04:12.185702Z", "verification": {"verified": true, "answer": 22237, "timestamp": "2026-02-08T06:04:12.188479Z"}, "problem_hash": "d07e30", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V1": "no", "V7": "no"}, "split": "valid"} +{"id": "aa4b0a", "alias": "sequence_fibonacci_compute_v1_784195855_4959", "problem": "Let $c=2$. Let $m$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 7$ and $1\\le j\\le 7$.\n\nLet $n$ be the sum of all integers $x$ satisfying\n$$x^c-21x-8632=0.$$\nLet $F$ be the Fibonacci number $F_n$.\n\nLet $S$ be the sum\n$$S=\\sum_{k=1}^{m} k.$$\nLet $Q$ be the least nonnegative remainder of $S-F$ when divided by $85128$.\n\nFind the value of $Q$.", "answer": 75407, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(7)))),\n \"_n\": Const(85128),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_c\")), Mul(Const(-21), Var(\"x\")), Const(-8632)), Const(0)))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/VIETA_SUM/SUM_ARITHMETIC"], "recipe_id": "4d90e7", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "SUM_ARITHMETIC", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T07:32:30.734602Z", "verification": {"verified": true, "answer": 75407, "timestamp": "2026-02-08T07:32:30.737510Z"}, "problem_hash": "01b676", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 75407, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 806}, "timestamp": "2026-02-13T10:41:37.815Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 494}, "timestamp": "2026-02-12T01:06:25.626Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "SUM_ARITHMETIC": "ok_later", "VIETA_SUM": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "619362", "alias": "diophantine_fbi2_min_v1_168721529_761", "problem": "Let $k$ be the smallest positive integer $n$ such that $13^2$ divides $n!$. Let $u$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 12$. Let $\\text{result}$ be the smallest integer $d$ such that $3 \\leq d \\leq u$, $d$ divides $k$, and $k/d \\geq 2$. Compute $\\text{result}$.", "answer": 13, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(13)), Const(2)), domain='Z_{>0}')),\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(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["ONE_PHI_2", "V5", "B1"], "recipe_id": "8ff0c6", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "ONE_PHI_2", "V5"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T13:17:10.614605Z", "verification": {"verified": true, "answer": 13, "timestamp": "2026-02-08T13:17:10.624639Z"}, "problem_hash": "95047c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 13, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 602}, "timestamp": "2026-02-09T08:49:26.787Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 13, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 164, "completion_tokens": 479}, "timestamp": "2026-02-09T21:16:04.938Z"}], "solution_status": 2, "lemma_applicability": {"B1": "ok", "ONE_PHI_2": "ok", "V5": "ok", "L3b": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.04, "hi": -2.08}, "split": "valid"} +{"id": "d06b2c", "alias": "algebra_vieta_sum_v1_124444284_2745", "problem": "Let $r_1, r_2, \\dots, r_k$ be all real solutions to the equation\n$$\nx^4 - 15x^3 + 9x^2 + 567x - 1458 = 0.\n$$\nLet $S$ be the sum of these solutions. Let $T$ be the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 276956677356306797850$, and $\\gcd(p, q) = 1$. Let $P$ be the largest prime number less than or equal to 35. Compute the value of $S^2 + P \\cdot S + T$.", "answer": 2738, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(9),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-15), Pow(Var(\"x\"), Const(3))), Mul(Ref(\"_n\"), Pow(Var(\"x\"), Const(2))), Mul(Const(567), Var(\"x\")), Const(-1458)), Const(0)))),\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=276956677356306797850)), 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(Pow(Ref(\"result\"), Const(2)), Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(35)), IsPrime(Var(\"n\"))))), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "5fae20", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.163, "created_at": "2026-02-08T04:54:47.056967Z", "verification": {"verified": true, "answer": 2738, "timestamp": "2026-02-08T04:54:47.219478Z"}, "problem_hash": "84f99d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:43:19.452Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:42:47.329Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 262834, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 4249}, "timestamp": "2026-02-12T04:50:38.019Z"}, {"id": 8, "model": "mathstral", "answer": 50000690, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 968}, "timestamp": "2026-02-14T05:20:00.881Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 514}, "timestamp": "2026-02-11T22:10:29.826Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "K5": "no", "L3b": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "87dd2d", "alias": "modular_count_residue_v1_458359167_5425", "problem": "Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 4900$. Define $s$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $T$. Let $A$ be the set of all positive integers $n$ such that $1 \\leq n \\leq s$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}$. Define $m$ to be the number of elements in $A$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 59536$ and $n \\bmod m = 12$.", "answer": 2977, "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(4900)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(59536),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"r\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 2.231, "created_at": "2026-02-08T12:28:47.940571Z", "verification": {"verified": true, "answer": 2977, "timestamp": "2026-02-08T12:28:50.171314Z"}, "problem_hash": "327746", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 529}, "timestamp": "2026-02-12T05:19:04.649Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "K16": "no", "K17": "no", "L3b": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "86a726", "alias": "nt_euler_phi_compute_v1_1742523217_882", "problem": "Let $n_2$ be the number of positive integers $n \\leq 78$ such that the sum of the digits of $n$ is even. Let $e = \\sum_{d \\mid n_2} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $p$ be the largest prime number at most $29$. Define $n_1 = p^3$ and $c = \\lambda(n_1) + 1 + e$, where $\\lambda$ is the Liouville function. Let $n = 30661 + c$. Compute $\\varphi(n)$, the number of positive integers at most $n$ that are relatively prime to $n$.", "answer": 30660, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(78)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(0))))),\n \"e\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(29)), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1), Ref(\"e\")),\n \"n\": Sum(Const(30661), Ref(\"c\")),\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/LIOUVILLE_MINUS_ONE", "L3B/MOBIUS_SUM"], "recipe_id": "b3e0fb", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3B", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T03:19:22.855946Z", "verification": {"verified": true, "answer": 30660, "timestamp": "2026-02-08T03:19:22.860471Z"}, "problem_hash": "2aedf7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 30660, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 261, "completion_tokens": 4426}, "timestamp": "2026-02-10T00:00:24.141Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 30660, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 3501}, "timestamp": "2026-02-09T08:10:25.309Z"}], "solution_status": 2, "lemma_applicability": {"L3B": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "K15": "no", "K16": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "a6f0dd", "alias": "nt_count_squarefree_v1_1125832087_582", "problem": "Let $m=7$. Let $P$ be the set of all integers $n$ with $2\\le n\\le 1553$ such that $n$ is prime, and let $N$ be the number of elements in $P$.\n\nLet $D$ be the set of all integers $d$ such that $d\\ge 2$ and $d$ divides $N$, and assume this set is nonempty. Let $g$ be the least element of $D$.\n\nFor each integer $t$ with $1\\le t\\le 32041$, define $f(t)$ to be $\\mu(t)^2$, where $\\mu$ is the function that takes values in $\\{-1,0,1\\}$ and is defined on the positive integers so that $\\mu(1)=1$, $\\mu(t)=0$ if $t$ is divisible by the square of a prime, and $\\mu(t)=(-1)^r$ if $t$ is the product of $r$ distinct primes.\n\nAlso define\n$$h=\\sum_{d\\mid \\gcd(g,m)} \\mu(d).$$\n\nLet $R$ be the number of integers $t$ with $1\\le t\\le 32041$ such that\n$$f(t)=h.$$\n\nLet $Q$ be the remainder when $50423R$ is divided by $51378$.\n\nFind the value of $Q$.", "answer": 48724, "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\"), Const(1553)), IsPrime(Var(\"n\"))))),\n \"upper\": Const(32041),\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'))), SumOverDivisors(n=GCD(a=MinOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=2)), Divides(divisor=Var(name='d'), dividend=Ref(name='_n'))))), b=Ref(name='_m')), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": Const(50423),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(51378)),\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/MIN_PRIME_FACTOR/MOBIUS_COPRIME"], "recipe_id": "212453", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 5.249, "created_at": "2026-02-08T03:09:25.201762Z", "verification": {"verified": true, "answer": 48724, "timestamp": "2026-02-08T03:09:30.450557Z"}, "problem_hash": "45dc63", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K17": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "8baf78", "alias": "nt_sum_totient_over_divisors_v1_1520064083_3898", "problem": "Let $p$ be the number of positive integers $n$ with $1 \\le n \\le 31$ such that $\\gcd(n, 6) = 1$. Let $q$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 18$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_1 = p^{2 + \\Omega(1)} \\cdot q$, where $\\Omega(1) = 0$. Let $c = \\mu(n_1)^k$, where $\\mu$ is the Möbius function and $k$ is the number of ordered pairs $(p, q)$ of positive integers such that $pq = 54$, $\\gcd(p, q) = 1$, and $p < q$. Let $n = 96961 + c$. Define $\\text{result}$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Compute $\\text{result}$.", "answer": 96961, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(96961),\n \"n2\": Const(1),\n \"m\": BigOmega(n=Ref(name='n2')),\n \"p\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(31)), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))),\n \"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'))))))),\n \"n1\": Mul(Pow(Ref(\"p\"), Sum(Const(2), Ref(\"m\"))), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=54)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"n\": Sum(Ref(\"_n\"), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SQUAREFREE", "C4/MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO"], "recipe_id": "e5e7d5", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C4", "COPRIME_PAIRS", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T05:56:59.516155Z", "verification": {"verified": true, "answer": 96961, "timestamp": "2026-02-08T05:56:59.521865Z"}, "problem_hash": "d4ea45", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "C4": "ok", "COPRIME_PAIRS": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K14": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}, "split": "valid"} +{"id": "084bc3", "alias": "modular_modexp_compute_v1_1874849503_1132", "problem": "Let $a = 5$, $e = 9000$, and $m = 14884$. Define $r = a^e \\bmod m$. Let $p$ be the smallest prime divisor of $344324365169$ that is at least $2$. Let $q$ be the largest prime number less than or equal to $502$. Compute the remainder when $$ (r \\bmod 199) + p \\cdot (r \\bmod q) $$ is divided by $67902$.\\n\\nFind the value of this remainder.", "answer": 5396, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67902),\n \"a\": Const(5),\n \"e\": Const(9000),\n \"m\": Const(14884),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(344324365169))))), Mod(value=Ref(\"result\"), 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\"), Const(502)), IsPrime(Var(\"n\")))))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "4ef226", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "two_moduli", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:38:41.530794Z", "verification": {"verified": true, "answer": 5396, "timestamp": "2026-02-08T13:38:41.534999Z"}, "problem_hash": "6a618c", "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": 227, "completion_tokens": 8192}, "timestamp": "2026-02-10T01:35:08.448Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 8192}, "timestamp": "2026-02-11T07:54:40.645Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 422}, "timestamp": "2026-02-12T07:10:16.475Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3c": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "a50e20", "alias": "nt_sum_over_divisible_v1_1440796553_643", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 11449$ and\n$$\nn \\equiv \\sum_{k=0}^{4} (-1)^k \\binom{4}{k} \\pmod{86}.\n$$\nLet $R$ be the sum of all elements in $S$. Let $P$ be the number of ordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 21471450$, and $\\gcd(p, q) = 1$. Compute the value of\n$$\n5^{|R|} \\bmod{99991} + P.\n$$", "answer": 50511, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11449),\n \"divisor\": Const(86),\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(4), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(4), k=Var(\"k\")))))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), 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=21471450)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "BINOMIAL_ALTERNATING"], "recipe_id": "e24f9f", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COPRIME_PAIRS"], "num_lemmas": 2, "generation_time": 0.382, "created_at": "2026-02-08T11:54:59.416906Z", "verification": {"verified": true, "answer": 50511, "timestamp": "2026-02-08T11:54:59.798821Z"}, "problem_hash": "3d6ade", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 33, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 5781}, "timestamp": "2026-02-14T20:43:42.874Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 640}, "timestamp": "2026-02-12T04:46:50.794Z"}], "solution_status": 0, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b3a16b", "alias": "antilemma_sum_equals_v1_677425708_3427", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 77$, $1 \\leq j \\leq 78$, and $i + j = 79$. Let $A$ be the number of integers $t$ such that $28 \\leq t \\leq 148$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 18$, and $t = 7a + 5b + 16$. Let $B$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 102$, $1 \\leq j \\leq 102$, and $i + j = 102$. Define\n$$\nQ = \\left( 353702 \\cdot (|x| \\bmod A) + 329703 \\cdot \\left( |x|^2 + 1 \\right) \\bmod B + 215534 \\cdot (|x| + 13) \\bmod 103 \\right) \\bmod 1009091,\n$$\ndefined modulo $65981$. Compute the value of $Q \\bmod 65981$.", "answer": 18660, "graph": "graphs = [\n Graph(\n let={\n \"_n\": 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(78))))),\n \"_c\": Const(13),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='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=6)), 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=28)), Leq(left=Var(name='t'), right=Const(value=148)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=16)))))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), 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(102)), right=IntegerRange(start=Const(1), end=Const(102))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(65981)),\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", "COUNT_SUM_EQUALS"], "recipe_id": "a4ee47", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T05:41:58.627749Z", "verification": {"verified": true, "answer": 18660, "timestamp": "2026-02-08T05:41:58.636466Z"}, "problem_hash": "1be4b6", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19124, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 7479}, "timestamp": "2026-02-12T14:04:03.532Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 405, "completion_tokens": 433}, "timestamp": "2026-02-11T23:05:01.464Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "97e008", "alias": "nt_min_with_divisor_count_v1_971394319_1332", "problem": "Let $u = 52441$ and $d = 8$. Define $r$ to be the smallest positive integer $n$ such that $n \\leq u$ and $n$ has exactly $8$ positive divisors. Let $A$ be the set of all positive integers $p$ such that there exists a positive integer $q$ with $p \\cdot q = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $a = |A|$. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 31$ and $\\gcd(n, 14) = 1$. Let $b = |B|$. Compute $a^{r \\bmod b} \\bmod 54383$. Add this result to $r$, and denote the sum by $Q$. Determine the value of $Q$.", "answer": 1048, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54383),\n \"upper\": Const(52441),\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 \"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=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'))))))), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(31)), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["COPRIME_PAIRS", "C4"], "recipe_id": "583d7c", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "COPRIME_PAIRS", "V1"], "num_lemmas": 3, "generation_time": 3.353, "created_at": "2026-02-08T13:37:02.977148Z", "verification": {"verified": true, "answer": 1048, "timestamp": "2026-02-08T13:37:06.330422Z"}, "problem_hash": "907ac9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 500}, "timestamp": "2026-02-12T07:10:54.982Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "no", "K13": "no", "K17": "no", "MOD_MUL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1c1a4d", "alias": "modular_sum_quadratic_residues_v1_2051736721_1370", "problem": "Let $p$ be the number of integers $t$ such that $14 \\leq t \\leq 578$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 67$, and $t = 6a + 8b$.\n\nLet $r$ be the number of positive integers $p_1$ such that $p_1 < q$, $p_1 q = 4500$, and $\\gcd(p_1, q) = 1$ for some integer $q$.\n\nDefine\n$$\n\\text{result} = \\frac{p(p-1)}{r}.\n$$\n\nCompute the remainder when $65118 \\cdot \\text{result}$ is divided by $59845$.", "answer": 3869, "graph": "graphs = [\n Graph(\n let={\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=7)), 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=14)), Leq(left=Var(name='t'), right=Const(value=578)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), 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=4500)), Eq(left=GCD(a=Var(name='p1'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p1'), right=Var(name='q')))))))),\n \"_c\": Const(65118),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59845)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:00:18.339636Z", "verification": {"verified": true, "answer": 3869, "timestamp": "2026-02-08T16:00:18.344888Z"}, "problem_hash": "db0130", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 425}, "timestamp": "2026-02-12T09:35:42.668Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "LTE_SUM": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e3a413", "alias": "modular_mod_compute_v1_1520064083_3647", "problem": "Let $a = 42436$ and $m = 11025$. Compute the remainder when $a$ is divided by $m$, and denote this value by $r$. Let $C$ be the set of all ordered pairs $(i,j)$ such that $1 \\leq i \\leq 55$ and $1 \\leq j \\leq 123$. Let $N$ be the number of elements in $C$. Compute the remainder when $N - r$ is divided by $85449$. Determine the value of this remainder.", "answer": 82853, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(42436),\n \"m\": Const(11025),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(55)), right=IntegerRange(start=Const(1), end=Const(123)))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(85449)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "009729", "seed_template_id": "modular_mod_compute_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:47:06.294042Z", "verification": {"verified": true, "answer": 82853, "timestamp": "2026-02-08T05:47:06.295077Z"}, "problem_hash": "8b8bd6", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 82513, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 426}, "timestamp": "2026-02-11T23:08:07.488Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 82853, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 254}, "timestamp": "2026-02-11T23:08:01.954Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "8e7142", "alias": "nt_lcm_compute_v1_677425708_611", "problem": "Let $a=1900$ and $b=860$. Let $L$ be the least common multiple of $a$ and $b$. Compute $L$.", "answer": 81700, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(1900),\n \"b\": Const(860),\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": "V5", "lemma_paths": ["V5/B3/WILSON", "OMEGA_ONE"], "recipe_id": "b38118", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "OMEGA_ONE", "V5", "WILSON"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:36:39.001503Z", "verification": {"verified": true, "answer": 81700, "timestamp": "2026-02-08T03:36:39.007960Z"}, "problem_hash": "fe9c57", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 81700, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 148, "completion_tokens": 499}, "timestamp": "2026-02-08T20:50:43.867Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 81700, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 657}, "timestamp": "2026-02-10T06:25:29.459Z"}, {"id": 8, "model": "mathstral", "answer": 81700, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 93, "completion_tokens": 312}, "timestamp": "2026-02-12T19:29:12.319Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 141, "completion_tokens": 229}, "timestamp": "2026-02-11T20:01:31.570Z"}], "solution_status": 1, "lemma_applicability": {"OMEGA_ONE": "ok", "V5": "ok", "B3": "ok_later", "WILSON": "ok_later", "DS2": "no", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "6e8c90", "alias": "antilemma_sum_factor_cartesian_v1_1742523217_1143", "problem": "Let $p=43$ and $q=19$, and let $n_1=pq$. Let $\\lambda$ be the Liouville function, and let $w=\\lambda(n_1)$.\n\nLet $e=\\sum_{d\\mid 1} \\mu(d)$, where $\\mu$ is the Möbius function.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le24$ and $1\\le j\\le9$. For each such pair, form the product $ij$, and let $X$ be the set of all these products. Let\n$$x=\\sum_{u\\in X} u.$$\n\nLet $T$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1\\le a\\le544$, $1\\le b\\le281$, $10\\le t\\le4651$, and\n$$t=7a+3b.$$ \nLet $C$ be the number of elements in $T$.\n\nDefine $c=Cwe$, and let $Q$ be the remainder when $cx$ is divided by $71319$, so that $0\\le Q<71319$.\n\nCompute $Q$.", "answer": 29556, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(43),\n \"q\": Const(19),\n \"n1\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"w\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(1),\n \"e\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\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(24)), right=IntegerRange(start=Const(1), end=Const(9)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"_c\": 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=544)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=281)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=4651)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"w\"), Ref(\"e\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(71319)),\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/MOBIUS_SUM", "SUM_FACTOR_CARTESIAN"], "recipe_id": "40538c", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "affine_mod", "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_ONE", "MOBIUS_SUM", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:28:30.397432Z", "verification": {"verified": true, "answer": 29556, "timestamp": "2026-02-08T03:28:30.399437Z"}, "problem_hash": "335e42", "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": 371, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:06:16.210Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 375, "completion_tokens": 8192}, "timestamp": "2026-02-09T11:39:39.350Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_FACTOR_CARTESIAN": "ok", "LIOUVILLE_ONE": "ok_later", "MOBIUS_SUM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K14": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "478bd0", "alias": "comb_count_permutations_fixed_v1_397696148_1455", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ such that $i \\in \\{1, 2\\}$ and $j \\in \\{1, 2, 3\\}$. Compute the value of $$\\binom{n}{0} \\cdot !n,$$ where $!n$ denotes the number of derangements of $n$ elements.", "answer": 265, "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(3)))),\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": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:33:32.678205Z", "verification": {"verified": true, "answer": 265, "timestamp": "2026-02-08T12:33:32.679769Z"}, "problem_hash": "3f3f5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 288, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 320}, "timestamp": "2026-02-12T05:18:21.661Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6e604e", "alias": "geo_count_lattice_rect_v1_124444284_6544", "problem": "Let $a = 70$ and $b = 103$. Define a lattice point as a point in the plane with integer coordinates. The rectangle $[0, a] \\times [0, b]$ contains all points $(x, y)$ such that $0 \\leq x \\leq 70$ and $0 \\leq y \\leq 103$. Compute the number of lattice points in this rectangle.", "answer": 7384, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(70),\n \"b\": Const(103),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T08:30:57.520820Z", "verification": {"verified": true, "answer": 7384, "timestamp": "2026-02-08T08:30:57.522342Z"}, "problem_hash": "360566", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 131, "completion_tokens": 417}, "timestamp": "2026-02-13T19:15:59.395Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 7424, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 191}, "timestamp": "2026-02-12T01:57:48.325Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "263cd4", "alias": "nt_max_prime_below_v1_784195855_7843", "problem": "Let $r$ be the largest prime number less than or equal to $84681$. Let $C$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 54265$ and $\\binom{54265}{j}$ is odd. Compute the remainder when $C - r$ is divided by $80090$.", "answer": 77555, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54265),\n \"upper\": Const(84681),\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=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(54265), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")), modulus=Const(80090)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 2.68, "created_at": "2026-02-08T09:33:19.965573Z", "verification": {"verified": true, "answer": 77555, "timestamp": "2026-02-08T09:33:22.645194Z"}, "problem_hash": "1a33a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 77555, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 5269}, "timestamp": "2026-02-14T05:04:35.448Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 362}, "timestamp": "2026-02-12T03:02:19.598Z"}], "solution_status": 1, "lemma_applicability": {"V8": "ok", "MAX_VAL": "no", "V1": "no", "V3": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "78642e", "alias": "diophantine_fbi2_min_v1_1431428450_741", "problem": "Let $k = 48$. Let $s_{\\text{min}}$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 841$. Let $d$ be the smallest positive integer such that $3 \\le d \\le s_{\\text{min}}$, $d$ divides $k$, and $\\frac{k}{d} \\ge \\sum_{i=1}^3 \\phi(i) \\left\\lfloor \\frac{3}{i} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Compute $31285 \\cdot d$.", "answer": 93855, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(48),\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(841)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Summation(var=\"k\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))))))),\n \"_c\": Const(31285),\n \"Q\": Mul(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["K2", "B3"], "recipe_id": "f1ea07", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.035, "created_at": "2026-02-08T13:39:34.000058Z", "verification": {"verified": true, "answer": 93855, "timestamp": "2026-02-08T13:39:34.035225Z"}, "problem_hash": "af4af3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 506}, "timestamp": "2026-02-12T07:12:20.824Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_PRIMES": "no", "K15": "no", "K17": "no", "K5": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ef5e3b", "alias": "antilemma_cartesian_v1_1915831931_3054", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 22$ and $1 \\leq j \\leq 34$. Let $Q$ be the remainder when $44121 \\cdot x$ is divided by $94123$. Compute $Q$.", "answer": 59458, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(34)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(94123)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:20:16.310210Z", "verification": {"verified": true, "answer": 59458, "timestamp": "2026-02-08T17:20:16.310990Z"}, "problem_hash": "daadb3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 262}, "timestamp": "2026-02-12T22:20:30.424Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c535b9", "alias": "comb_sum_binomial_row_v1_349078426_1515", "problem": "Let $n$ be the largest positive integer at most $12$ that divides $156$. Let $r = 2^n$. Compute the remainder when $44121 \\cdot r$ is divided by $86549$.", "answer": 5304, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(12)), Divides(divisor=Var(\"d\"), dividend=Const(156))))),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(86549)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:41:26.558900Z", "verification": {"verified": true, "answer": 5304, "timestamp": "2026-02-08T13:41:26.561187Z"}, "problem_hash": "71e3a9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 438}, "timestamp": "2026-02-12T07:18:17.029Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "K13": "no", "K15": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cd42cf", "alias": "nt_count_intersection_v1_784195855_6059", "problem": "Let $D$ be the set of all divisors $d$ of $143$ such that $d \\geq 2$. Let $a$ be the largest prime number $n$ such that $2 \\leq n \\leq \\min D$.\n\nLet $P$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 13$ and $1 \\leq j \\leq 13$ such that $i + j = 13$. Let $b$ be the number of elements in $P$.\n\nLet $N = 100000$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$.\n\nCompute the number of elements in $S$.", "answer": 3030, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(2),\n \"N\": Const(100000),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(143)))))), IsPrime(Var(\"n\"))))),\n \"b\": 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(13)), right=IntegerRange(start=Const(1), end=Const(13))))),\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/MAX_PRIME_BELOW", "COUNT_SUM_EQUALS"], "recipe_id": "13f721", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 5.838, "created_at": "2026-02-08T08:17:16.058311Z", "verification": {"verified": true, "answer": 3030, "timestamp": "2026-02-08T08:17:21.896151Z"}, "problem_hash": "23693f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3030, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1484}, "timestamp": "2026-02-13T16:59:28.125Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 607}, "timestamp": "2026-02-12T01:44:53.586Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "DS2": "no", "K17": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "5b6a1c", "alias": "antilemma_cartesian_v1_124444284_3910", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 22$ and $1 \\leq j \\leq 28$. Compute\n\\[\nx + \\left(2^{x \\bmod 16}\\right) \\bmod 69735.\n\\]", "answer": 872, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(28)))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Const(16))), modulus=Const(69735))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T05:39:51.137970Z", "verification": {"verified": true, "answer": 872, "timestamp": "2026-02-08T05:39:51.138455Z"}, "problem_hash": "002001", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 872, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 113, "completion_tokens": 355}, "timestamp": "2026-02-12T11:59:21.691Z"}, {"id": 8, "model": "mathstral", "answer": 617, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 377}, "timestamp": "2026-02-14T20:41:47.656Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 617, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 214}, "timestamp": "2026-02-11T22:54:31.868Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "08ef98", "alias": "nt_count_with_divisor_count_v1_349078426_540", "problem": "Let $n = 4$. Define $S$ as the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 9000000$. Let $u$ be the minimum value of $x + y$ over all pairs $(x,y) \\in S$. Let $d$ be the sum\n$$\n\\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor,\n$$\nwhere $\\phi$ denotes Euler's totient function. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and the number of positive divisors of $n$ is equal to $d$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 150, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\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(9000000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"div_count\": 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(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\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": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 10.074, "created_at": "2026-02-08T13:07:12.754524Z", "verification": {"verified": true, "answer": 150, "timestamp": "2026-02-08T13:07:22.828546Z"}, "problem_hash": "74342e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 536}, "timestamp": "2026-02-12T06:16:45.771Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "C2": "no", "K16": "no", "L3c": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ad3293", "alias": "modular_sum_quadratic_residues_v1_784195855_347", "problem": "Let $m = 2$ and $n = 182$. Let $p$ be the smallest integer $d \\geq m$ that divides $1274390773$. Let $t$ be the number of ordered pairs of positive integers $(p, q)$ such that $pq = 540$, $\\gcd(p, q) = 1$, and $p < q$. Define $r = \\frac{p(p-1)}{t}$, where $p$ is the value defined earlier. Let $c$ be the maximum value of $xy$ over all ordered pairs of positive integers $(x, y)$ such that $x + y = n$. Compute $c - r$.", "answer": 136, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(182),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(1274390773))))),\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=540)), 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 \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MIN_PRIME_FACTOR", "COPRIME_PAIRS"], "recipe_id": "bb4a68", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:06:52.919987Z", "verification": {"verified": true, "answer": 136, "timestamp": "2026-02-08T03:06:52.924710Z"}, "problem_hash": "c71705", "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": 255, "completion_tokens": 8192}, "timestamp": "2026-02-11T08:56:06.074Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:13:23.413Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-11T23:41:34.598Z"}, {"id": 8, "model": "mathstral", "answer": 8455, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 506}, "timestamp": "2026-02-13T13:26:00.778Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 400}, "timestamp": "2026-02-11T21:28:07.731Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "2a5114", "alias": "geo_count_lattice_triangle_v1_1248542787_329", "problem": "Let $A$ be the area of the triangle with vertices at $(169, 2)$, $(49, 111)$, and $(0, 0)$, multiplied by $2$. Let $B$ be the sum of the greatest common divisors of the absolute differences of the coordinates of each pair of vertices. Specifically, compute\n\\[\nB = \\gcd(|169 - 0|, |2 - 0|) + \\gcd(|49 - 169|, |111 - 2|) + \\gcd(|0 - 49|, |0 - 111|).\n\\]\nLet $r = \\frac{A + 2 - B}{2}$. Find the remainder when $12601 \\cdot r$ is divided by $98426$.", "answer": 46686, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(12601),\n \"_m\": Const(2),\n \"_n\": Const(111),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=169), SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d')))), Mul(Const(value=49), Sub(left=Const(value=0), right=Ref(name='_m'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=2))), GCD(a=Abs(arg=Sub(left=Const(value=49), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=111), right=Const(value=2)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=49))), 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\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(98426)),\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", "K13", "K3"], "recipe_id": "45a43f", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K13", "K3"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T03:03:40.152387Z", "verification": {"verified": true, "answer": 46686, "timestamp": "2026-02-08T03:03:40.163647Z"}, "problem_hash": "63ee91", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 46686, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 279, "completion_tokens": 2097}, "timestamp": "2026-02-09T03:00:26.449Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46686, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 275, "completion_tokens": 1921}, "timestamp": "2026-02-09T15:14:06.066Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 240, "completion_tokens": 8192}, "timestamp": "2026-02-09T13:48:01.241Z"}, {"id": 8, "model": "mathstral", "answer": 27133, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 594}, "timestamp": "2026-02-11T14:03:13.421Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 646}, "timestamp": "2026-02-11T20:16:27.893Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K13": "ok", "K3": "ok", "COUNT_PRIMES": "no", "K14": "no", "L3b": "no", "LTE_DIFF": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -6.84, "mid": -2.81, "hi": 1.35}, "split": "valid"} +{"id": "c91e0b", "alias": "antilemma_product_of_sums_v1_458359167_1210", "problem": "Let $p$ be the greatest prime number between $2$ and $24$, inclusive.\n\nLet\n$$f\\equiv (p-1)!+1\\pmod p,$$\nwith $0\\le f \\text{start}$, $n \\leq \\text{upper}$, and $\\gcd(n, 337) = 1$. Let $Q$ be the remainder when $78957$ times this value of $n$ is divided by $78130$. Compute $Q$.", "answer": 31024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(9),\n \"b\": Const(3),\n \"n1\": Pow(Mul(Ref(\"a\"), Ref(\"b\")), Const(2)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(79),\n \"e\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"start\": Const(3721),\n \"upper\": Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(38611)), IsPrime(Var(\"n\"))))), Ref(\"m\")), Ref(\"e\")),\n \"modulus\": Const(337),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(78957),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(78130)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/DIVISOR_PARITY/LIOUVILLE_MINUS_ONE"], "recipe_id": "936dd0", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "DIVISOR_PARITY", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 0.034, "created_at": "2026-02-08T03:24:03.884982Z", "verification": {"verified": true, "answer": 31024, "timestamp": "2026-02-08T03:24:03.918975Z"}, "problem_hash": "d90d46", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "L3b": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "split": "valid"} +{"id": "35d509", "alias": "nt_sum_totient_over_divisors_v1_1248542787_157", "problem": "Let $m=2$ and $U=41521$.\n\nFirst, consider all positive integers $p$ for which there exists a positive integer $q$ such that\n\\[pq=18,\\quad \\gcd(p,q)=1,\\quad p p_2$ such that $p_2 \\cdot q = 1080$ and $\\gcd(p_2, q) = 1$. Let $h$ be the number of distinct prime factors of $n_1$. Let $n = 67^2 \\cdot 11$ and let $u = (\\mu(n))^2$, where $\\mu$ is the M\\\"obius function. Let $r$ be the number of positive integers $n_3 \\le 46656$ that are divisible by $23$. Compute $r + 2^{r \\bmod 14} \\bmod (78866 \\cdot h)$.", "answer": 6124, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24),\n \"_n\": Const(14),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_m\")), IsPrime(Var(\"n2\"))))),\n \"n1\": Pow(Ref(\"p1\"), CountOverSet(set=SolutionsSet(var=Var(\"p2\"), condition=And(IsPositive(arg=Var(name='p2')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p2'), Var(name='q')), right=Const(value=1080)), Eq(left=GCD(a=Var(name='p2'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p2'), right=Var(name='q')))))))),\n \"h\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(67),\n \"q\": Const(11),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\")),\n \"u\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Const(46656),\n \"divisor\": Const(23),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Const(1)), Leq(Var(\"n3\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n3\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Sum(Const(2), Ref(\"u\")), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\"))), modulus=Mul(Const(78866), Ref(\"h\")))),\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/OMEGA_ONE", "COPRIME_PAIRS/OMEGA_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "cdced4", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE", "OMEGA_ONE"], "num_lemmas": 4, "generation_time": 1.58, "created_at": "2026-02-08T15:33:17.024108Z", "verification": {"verified": true, "answer": 6124, "timestamp": "2026-02-08T15:33:18.604073Z"}, "problem_hash": "adb029", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok", "OMEGA_ONE": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "L3b": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "97fa95", "alias": "antilemma_cartesian_v1_124444284_6494", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 19$ and $1 \\leq b \\leq 20$. Compute $36864 - x$.", "answer": 36484, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(20)))),\n \"Q\": Sub(Const(36864), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T08:29:19.448815Z", "verification": {"verified": true, "answer": 36484, "timestamp": "2026-02-08T08:29:19.449343Z"}, "problem_hash": "2f8861", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36484, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 91, "completion_tokens": 283}, "timestamp": "2026-02-13T18:57:31.559Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 253}, "timestamp": "2026-02-12T01:56:14.609Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1f30be", "alias": "nt_count_divisible_v1_1874849503_1691", "problem": "Let $r$ be the number of positive integers $n$ at most $51984$ that are divisible by $12$. Let $c$ be the number of ordered pairs $(i, j)$ with $1 \\le i \\le 3$ and $1 \\le j \\le 22$ such that $\\gcd(i, j) = 1$. Let $m$ be the smallest integer greater than or equal to $2$ that divides $989497$. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod m) + 329703 \\cdot \\left(r^2 \\bmod 101\\right) + 215534 \\cdot \\left((|r| + c) \\bmod 103\\right)\n$$\nis divided by $59750$.", "answer": 59137, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\n \"upper\": Const(51984),\n \"divisor\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(22))))),\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=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(59750)),\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", "MIN_PRIME_FACTOR"], "recipe_id": "925c81", "seed_template_id": "nt_count_divisible_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.599, "created_at": "2026-02-08T14:03:38.552081Z", "verification": {"verified": true, "answer": 59137, "timestamp": "2026-02-08T14:03:41.151040Z"}, "problem_hash": "24de29", "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": 282, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:29:09.765Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 824, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 4143}, "timestamp": "2026-02-11T11:00:57.362Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 475}, "timestamp": "2026-02-12T07:41:19.847Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "860e07", "alias": "antilemma_cartesian_v1_865884756_6185", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 15$ and $1 \\leq j \\leq 22$. Compute $7^{|x|} \\mod 99991$, and then add $1849$ to this result. Find the value of this sum.", "answer": 25824, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(22)))),\n \"Q\": Sum(ModExp(base=Const(7), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(1849)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T19:02:07.337973Z", "verification": {"verified": true, "answer": 25824, "timestamp": "2026-02-08T19:02:07.338384Z"}, "problem_hash": "bc84c7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 267}, "timestamp": "2026-02-13T00:45:30.078Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9e8f15", "alias": "comb_binomial_compute_v1_677425708_4000", "problem": "Let $n$ be the smallest divisor of $3757$ that is greater than or equal to $2$. Let $s = \\sum_{d \\mid \\gcd(11,13)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Define $k = \\sum_{i=s}^{3} \\varphi(i) \\left\\lfloor \\frac{3}{i} \\right\\rfloor$, where $\\varphi$ is Euler's totient function. Compute $\\binom{n}{k}$.", "answer": 1716, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3757))))),\n \"k\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "K2"], "recipe_id": "35500a", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:07:50.570560Z", "verification": {"verified": true, "answer": 1716, "timestamp": "2026-02-08T06:07:50.574251Z"}, "problem_hash": "899be2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K2": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "202781", "alias": "comb_factorial_compute_v1_1978505735_7302", "problem": "Let $n = 7$ and define $\\text{result} = n!$. Let $c'$ be the number of nonnegative integers $j$ such that $0 \\le j \\le 92341$ and $\\binom{92341}{j}$ is odd. Define $Q$ to be the remainder when $c' - \\text{result}$ is divided by $55396$. Compute $Q$.", "answer": 50868, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92341),\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(92341), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(55396)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T20:09:29.817474Z", "verification": {"verified": true, "answer": 50868, "timestamp": "2026-02-08T20:09:29.819251Z"}, "problem_hash": "58e28d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 554}, "timestamp": "2026-02-13T01:17:55.848Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8bc769", "alias": "nt_num_divisors_compute_v1_1439011603_2229", "problem": "Let $n = 43264$. Compute the number of positive divisors of $n$.", "answer": 27, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(43264),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.084, "created_at": "2026-02-08T16:37:33.201035Z", "verification": {"verified": true, "answer": 27, "timestamp": "2026-02-08T16:37:33.284627Z"}, "problem_hash": "c52321", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 27, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 124, "completion_tokens": 367}, "timestamp": "2026-02-12T11:06:32.595Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "6d83ec", "alias": "antilemma_cartesian_v1_124444284_620", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 22$ and $1 \\leq b \\leq 34$. Find the value of $60025 - x$.", "answer": 59277, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(22)), right=IntegerRange(start=Const(1), end=Const(34)))),\n \"Q\": Sub(Const(60025), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:24:28.235152Z", "verification": {"verified": true, "answer": 59277, "timestamp": "2026-02-08T03:24:28.236293Z"}, "problem_hash": "5b5110", "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": 161, "completion_tokens": 8192}, "timestamp": "2026-02-09T20:00:26.470Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 59277, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 185}, "timestamp": "2026-02-09T04:03:04.524Z"}, {"id": 8, "model": "mathstral", "answer": 59277, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 107, "completion_tokens": 349}, "timestamp": "2026-02-12T14:20:27.812Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 59277, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 144}, "timestamp": "2026-02-11T20:49:36.024Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "0c58ae", "alias": "nt_count_intersection_v1_151522320_1052", "problem": "Let $N = 100000$. Define $\\text{result}$ to be the number of positive integers $n \\le N$ such that $3$ divides $n$ and $\\gcd(n, 22) = 1$. Let $k$ be the largest integer such that $11^k$ divides $10^{11} + 1^{11}$. Compute the remainder when $\\text{result}^k + 32 \\cdot \\text{result} + 33$ is divided by $64506$.", "answer": 39605, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(64506),\n \"N\": Const(100000),\n \"a\": Const(3),\n \"b\": Const(22),\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(Pow(Ref(\"result\"), MaxKDivides(target=Sum(Pow(Const(10), Const(11)), Pow(Const(1), Const(11))), base=Const(11))), Mul(Const(32), Ref(\"result\")), Const(33)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_SUM", "lemma_paths": ["LTE_SUM"], "recipe_id": "0b9270", "seed_template_id": "nt_count_intersection_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_SUM"], "num_lemmas": 1, "generation_time": 9.499, "created_at": "2026-02-08T03:44:00.754633Z", "verification": {"verified": true, "answer": 39605, "timestamp": "2026-02-08T03:44:10.254017Z"}, "problem_hash": "8f6007", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_SUM": "ok", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "a2122a", "alias": "nt_sum_divisors_range_v1_1915831931_1528", "problem": "Let $m = 2$. Let $n$ be the number of prime numbers $p$ such that $m \\leq p \\leq d$, where $d$ is the smallest divisor of $675683$ that is at least $2$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = n$. Define $u$ to be the maximum value of $xy$ over all such pairs. Let $T$ be the set of all positive integers $k$ such that $1 \\leq k \\leq u$. Compute the sum of the number of positive divisors of each element in $T$. Then, determine the smallest positive index $k$ such that the $k$-th Fibonacci number is divisible by the absolute value of this sum plus $2$. Find this index $k$.", "answer": 21890, "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\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(675683)))))), 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\")), Ref(\"_n\")))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n1\")))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES/B1"], "recipe_id": "b6222c", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.184, "created_at": "2026-02-08T16:14:14.412897Z", "verification": {"verified": true, "answer": 21890, "timestamp": "2026-02-08T16:14:14.597263Z"}, "problem_hash": "24ad09", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 283, "completion_tokens": 379}, "timestamp": "2026-02-12T10:18:45.551Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "COUNT_PRIMES": "ok_later", "C2": "no", "DS2": "no", "K18": "no", "L3b": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b244aa", "alias": "nt_count_primes_v1_458359167_525", "problem": "Let $a$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 10651$. Let $b$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 5903$. Compute the value of\n\n$$\n5^{|a|} \\bmod 99991 + b.\n$$", "answer": 75910, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(10651),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5903)), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES"], "recipe_id": "b23505", "seed_template_id": "nt_count_primes_v1", "ending_id": "two_stage_modexp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES"], "num_lemmas": 1, "generation_time": 1.001, "created_at": "2026-02-08T03:23:40.388173Z", "verification": {"verified": true, "answer": 75910, "timestamp": "2026-02-08T03:23:41.389025Z"}, "problem_hash": "827c04", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:09:14.459Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:22:59.723Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26242, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 120, "completion_tokens": 4162}, "timestamp": "2026-02-11T11:21:42.763Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 1007}, "timestamp": "2026-02-12T13:23:52.735Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 185, "completion_tokens": 520}, "timestamp": "2026-02-11T20:45:54.971Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "ca2f0e", "alias": "nt_sum_over_divisible_v1_784195855_4655", "problem": "Let $p$ be the smallest prime divisor of $478815005587$. Let $q = 2$ and define $n_1 = (p \\cdot q)^2$. Let $m$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $n = 53$ and let $u$ be the number of distinct prime factors of $n$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 78400$ and $n$ is divisible by $121$. Let $\\text{result}$ be the sum of all elements in $S$. Compute the remainder when $\\text{result}$ is divided by $51679 \\cdot m \\cdot u$. Denote this remainder by $Q$. Find the value of $Q$.", "answer": 42278, "graph": "graphs = [\n Graph(\n let={\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(478815005587))))),\n \"q\": Const(2),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Const(2)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Const(53),\n \"u\": SmallOmega(n=Ref(name='n')),\n \"upper\": Const(78400),\n \"divisor\": Const(121),\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=Ref(\"result\"), modulus=Mul(Mul(Const(51679), Ref(\"m\")), Ref(\"u\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/DIVISOR_PARITY", "OMEGA_ONE"], "recipe_id": "2fb73a", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 4.766, "created_at": "2026-02-08T07:14:23.514115Z", "verification": {"verified": true, "answer": 42278, "timestamp": "2026-02-08T07:14:28.279940Z"}, "problem_hash": "99019e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "OMEGA_ONE": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_PRIMES": "no", "K15": "no", "MOD_FACTORIAL": "no", "V3": "no", "V8": "no"}, "split": "valid"} +{"id": "9d68ae", "alias": "nt_count_intersection_v1_151522320_1914", "problem": "Let $N$ be the number of integers $t$ with $33 \\leq t \\leq 30084$ for which there exist positive integers $a \\leq 192$ and $b \\leq 2171$ such that $t = 21a + 12b$. Let $S$ be the set of all positive integers $n \\leq N$ such that $5$ divides $n$ and $\\gcd(n, 12) = 1$. Let $k$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 2$ and $1 \\leq j \\leq 7$ such that $\\gcd(i,j) = 1$. Compute the Bell number $B_{|S| \\bmod k}$.", "answer": 877, "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=192)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2171)), Geq(left=Var(name='t'), right=Const(value=33)), Leq(left=Var(name='t'), right=Const(value=30084)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"a\": Const(5),\n \"b\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(7))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM"], "recipe_id": "cf6f0f", "seed_template_id": "nt_count_intersection_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.388, "created_at": "2026-02-08T04:27:28.913697Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T04:27:29.301987Z"}, "problem_hash": "308684", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 3684}, "timestamp": "2026-02-10T16:48:10.627Z"}, {"id": 8, "model": "mathstral", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 1153}, "timestamp": "2026-02-13T17:24:25.402Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 533}, "timestamp": "2026-02-11T20:51:11.688Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "COUNT_INTEGER_RANGE": "no", "K5": "no", "LTE_DIFF_P2": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "c52e23", "alias": "algebra_vieta_sum_v1_655260480_223", "problem": "Let $ f(x) = x^4 + 3x^k - 3x^2 - 11x - 6 $, where $ k $ is the number of even integers $ n $ between 1 and 8, inclusive, such that $ \\gcd(n, m) = 1 $, and $ m $ is the number of multiples of 4 between 1 and 88, inclusive, that are relatively prime to 35. Let $ s $ be the sum of all real roots of $ f(x) = 0 $. Compute $ |s| $.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(3),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(4)), Mul(Ref(\"_n\"), Pow(Var(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(8)), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(88)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Const(35)), Const(1)))))), Const(1))))))), Mul(Const(-3), Pow(Var(\"x\"), Const(2))), Mul(Const(-11), Var(\"x\")), Const(-6)), Const(0)))),\n \"Q\": Abs(arg=Ref(name='result')),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/C5"], "recipe_id": "8dffe5", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5"], "num_lemmas": 1, "generation_time": 0.014, "created_at": "2026-02-08T15:18:25.439105Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T15:18:25.453365Z"}, "problem_hash": "db8dba", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 228, "completion_tokens": 432}, "timestamp": "2026-02-12T08:10:24.856Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "DS2": "no", "K17": "no", "V5": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4a926a", "alias": "antilemma_v8_lucas_1520064083_2838", "problem": "Let $n = 49087$. Let $S$ be the set of all nonnegative integers $j$ such that $0 \\le j \\le n$ and\n$$\n\\binom{49087}{j} \\equiv 1 \\pmod{m},\n$$\nwhere $m$ is the number of positive integers $n$ with $1 \\le n \\le 21$, $7 \\mid n$, and $\\gcd(n, 10) = 1$.\n\nCompute the number of elements in $S$.", "answer": 16384, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(49087),\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(49087), k=Var(\"j\")), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(21)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1)))))), Const(1))), domain='nonnegative_integers')),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/V8", "V8"], "recipe_id": "b5f642", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:14:35.833114Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T05:14:35.835185Z"}, "problem_hash": "32986a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "V8": "ok", "COUNT_PRIMES": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "MAX_VAL": "no", "V5": "no"}, "split": "valid"} +{"id": "320e20", "alias": "antilemma_count_primes_v1_677425708_1006", "problem": "Let $m = 2$ and $n = 2$. Let $X$ be the number of prime numbers $p$ such that $n \\leq p \\leq d_{\\text{max}}$, where $d_{\\text{max}}$ is the largest divisor $d$ of $36495216193$ satisfying $d \\geq m$. \n\nLet $Y$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. \n\nCompute the remainder when $Y - X$ is divided by $51226$.", "answer": 50769, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": 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\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(36495216193)))))), IsPrime(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(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"x\")), modulus=Const(51226)),\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", "B1", "COUNT_PRIMES"], "recipe_id": "408c00", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:56:57.976334Z", "verification": {"verified": true, "answer": 50769, "timestamp": "2026-02-08T03:56:57.978788Z"}, "problem_hash": "682c15", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:49:54.434Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "494082", "alias": "comb_count_partitions_v1_717093673_2034", "problem": "Let $m = 11$ and $n = 2$. Define $d_{\\text{min}}$ to be the smallest integer $d \\geq n$ that divides $3108169$. Let $p$ be the number of integer partitions of $d_{\\text{min}}$. Compute the Bell number of $p$ modulo $\\sum_{d_1 \\mid m} \\phi(d_1)$, where $\\phi$ denotes Euler's totient function. Find the value of this result.", "answer": 1, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": Const(2),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3108169))))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=SumOverDivisors(n=Ref(name='_m'), var='d1', expr=EulerPhi(n=Var(name='d1'))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "MIN_PRIME_FACTOR"], "recipe_id": "078eac", "seed_template_id": "comb_count_partitions_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:28:06.848434Z", "verification": {"verified": true, "answer": 1, "timestamp": "2026-02-08T16:28:06.851165Z"}, "problem_hash": "9f9217", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 211, "completion_tokens": 475}, "timestamp": "2026-02-12T10:51:59.839Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "14f8e7", "alias": "antilemma_cartesian_v1_1915831931_3886", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 41, inclusive, and $b$ is an integer from 1 to 43, inclusive. Compute the remainder when $38851 \\cdot x$ is divided by 99816.", "answer": 20537, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(41)), right=IntegerRange(start=Const(1), end=Const(43)))),\n \"Q\": Mod(value=Mul(Const(38851), Ref(\"x\")), modulus=Const(99816)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:59:35.467417Z", "verification": {"verified": true, "answer": 20537, "timestamp": "2026-02-08T17:59:35.468617Z"}, "problem_hash": "8a6a42", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 307}, "timestamp": "2026-02-12T23:30:42.070Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c85bfe", "alias": "antilemma_v1_legendre_1918700295_1724", "problem": "Let $n = 11$. Let $x$ be the largest integer $k$ such that $n^k$ divides $18568!$. Let $T$ be the set of all integers $t$ such that $24 \\leq t \\leq 7601$ and there exist positive integers $a \\leq 744$ and $b \\leq 595$ satisfying $t = 7a + 4b + 13$. Let $c$ be the number of elements in $T$. Let $Q = c - x$. Find the value of $Q$.", "answer": 5705, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(11),\n \"x\": MaxKDivides(target=Factorial(Const(18568)), base=Ref(\"_n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=744)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=595)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=7601)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=13)))))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V1"], "recipe_id": "3fd92c", "seed_template_id": "antilemma_v1_legendre", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "V1"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:58:31.586073Z", "verification": {"verified": true, "answer": 5705, "timestamp": "2026-02-08T05:58:31.587132Z"}, "problem_hash": "7ed22c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "L3c": "no", "LTE_SUM": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "8dd341", "alias": "algebra_vieta_sum_v1_153355830_1601", "problem": "Let $r_1, r_2, \\dots, r_k$ be the integer roots of the equation $x^3 - x^2 - 76x - 140 = 0$. Compute the product $r_1 r_2 \\cdots r_k$, take its absolute value, find the remainder when that value is divided by 11, and then compute the Bell number corresponding to that remainder.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=3)), Mul(Const(value=-1), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=-76), Var(name='x')), Const(value=-140)), right=Const(value=0)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["MAX_PRIME_BELOW", "COPRIME_PAIRS"], "recipe_id": "96b91a", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.214, "created_at": "2026-02-08T06:31:36.629111Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T06:31:36.842978Z"}, "problem_hash": "540295", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 841}, "timestamp": "2026-02-13T00:54:06.781Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 235}, "timestamp": "2026-02-12T00:08:37.509Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "K14": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "7f788d", "alias": "modular_modexp_compute_v1_2051736721_5480", "problem": "Let $a = 5$ and $e$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 53$ and $1 \\leq j \\leq 53$. Define $m = 28561$ and let $r = a^e \\bmod m$. Compute the remainder when $28609 \\cdot r$ is divided by $99490$.", "answer": 17185, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(5),\n \"e\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(53)), right=IntegerRange(start=Const(1), end=Const(53)))),\n \"m\": Const(28561),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(28609),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(99490)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:36:56.611974Z", "verification": {"verified": true, "answer": 17185, "timestamp": "2026-02-08T18:36:56.613062Z"}, "problem_hash": "9354a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 365}, "timestamp": "2026-02-13T00:20:25.920Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d43781", "alias": "nt_lcm_compute_v1_124444284_3331", "problem": "Let $T$ be the set of all positive integers $t$ such that $19 \\leq t \\leq 2610$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 572$, $1 \\leq b \\leq 440$, and $t = 3a + 2b + 14$. Let $a$ be the number of elements in $T$. Let $b = 571$, and let $L$ be the least common multiple of $a$ and $b$. Let $u$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 1020100$. Compute the remainder when $u - L$ is divided by $73973$.", "answer": 2590, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=572)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=440)), Geq(left=Var(name='t'), right=Const(value=19)), Leq(left=Var(name='t'), right=Const(value=2610)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=14)))))))),\n \"b\": Const(571),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\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(1020100)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Const(73973)),\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"], "recipe_id": "70a683", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T05:21:41.854891Z", "verification": {"verified": true, "answer": 2590, "timestamp": "2026-02-08T05:21:41.860170Z"}, "problem_hash": "9d2468", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2590, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 212, "completion_tokens": 4336}, "timestamp": "2026-02-12T06:49:26.706Z"}, {"id": 8, "model": "mathstral", "answer": 41903, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 931}, "timestamp": "2026-02-14T12:37:11.597Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 417}, "timestamp": "2026-02-11T22:28:31.540Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "2e7305", "alias": "nt_count_divisible_v1_124444284_5118", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 50176$ and $n$ is divisible by the number of elements in the Cartesian product $\\{1,2,3,4\\} \\times \\{1,2,3,4,5\\}$. Compute the remainder when $44121$ multiplied by the number of elements in $S$ is divided by $76778$.", "answer": 18370, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76778),\n \"upper\": Const(50176),\n \"divisor\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 1.646, "created_at": "2026-02-08T06:23:56.736713Z", "verification": {"verified": true, "answer": 18370, "timestamp": "2026-02-08T06:23:58.382264Z"}, "problem_hash": "e954ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 18370, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 138, "completion_tokens": 1220}, "timestamp": "2026-02-12T23:39:28.965Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 444}, "timestamp": "2026-02-12T00:00:49.152Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8c69bb", "alias": "nt_count_digit_sum_v1_677425708_503", "problem": "Let $S$ be the set of all pairs of positive integers $(x, y)$ such that $x + y = 10$. Define $T$ to be the set of all values of $xy$ as $(x, y)$ ranges over $S$. Let $m$ be the maximum value in $T$.\n\nNow let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 16$, $2$ divides $n$, and $\\gcd(n, 21) = 1$. Let $k$ be the number of elements in $A$. Define $d(n)$ to be the number of positive divisors of $n$. Let $\\mu$ denote the Möbius function. Define\n$$\nC = \\sum_{d \\mid k} \\mu(d).\n$$\n\nLet $B$ be the set of positive integers $n$ such that $1 \\leq n \\leq 179776$ and the sum of the decimal digits of $n$ is equal to $m$. Let $D$ be the number of elements in $B$.\n\nCompute $63001 - D$.", "answer": 52721, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(63001),\n \"upper\": Const(179776),\n \"target_sum\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"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=16)), Divides(divisor=Ref(name='_m'), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=21)), right=Const(value=1))))), b=Const(value=7)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MOBIUS_COPRIME", "B1"], "recipe_id": "777781", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C5", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 6.422, "created_at": "2026-02-08T03:34:35.966142Z", "verification": {"verified": true, "answer": 52721, "timestamp": "2026-02-08T03:34:42.388630Z"}, "problem_hash": "5ab370", "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": 356, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:40:45.911Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 52725, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 352, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:53:12.874Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C5": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V7": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "db6ec5", "alias": "antilemma_sum_primes_v1_153355830_401", "problem": "Let $m = 43$ and $n_0 = 2$. Define $k$ to be the largest integer such that $43^k$ divides $\\sum_{d=1}^{741} \\mathbf{1}_{\\gcd(d, 20) = 1}$, where the sum counts the number of positive integers $d \\leq 741$ that are relatively prime to 20. Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq k$. Compute the number of elements in $S$.", "answer": 8275, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(43),\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(Ref(\"_m\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(741)), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1)))))), base=Const(43))), 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": ["C4/K14/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "3cc5c2", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COPRIME_PAIRS", "K14", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.048, "created_at": "2026-02-08T03:05:15.467632Z", "verification": {"verified": true, "answer": 8275, "timestamp": "2026-02-08T03:05:15.515921Z"}, "problem_hash": "73c9f6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "SUM_PRIMES": "ok", "K14": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K13": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "split": "valid"} +{"id": "7404be", "alias": "modular_count_residue_v1_865884756_993", "problem": "Let\n$$\nm = \\sum_{k=1}^{4} \\phi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor,\n$$\nwhere $\\phi(k)$ is Euler's totient function.\n\nLet $A$ be the number of integers $t$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 4$, $1 \\leq b \\leq 11$, $11 \\leq t \\leq 72$, and $t = 7a + 4b$.\n\nLet $B$ be the number of positive integers $n$ such that $1 \\leq n \\leq 68121$ and $n \\equiv 4 \\pmod{m}$.\n\nCompute the remainder when $A - B$ is divided by $69808$.", "answer": 63040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(69808),\n \"upper\": Const(68121),\n \"m\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))),\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\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=72)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "K2"], "recipe_id": "93bfed", "seed_template_id": "modular_count_residue_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 5.163, "created_at": "2026-02-08T15:43:08.698192Z", "verification": {"verified": true, "answer": 63040, "timestamp": "2026-02-08T15:43:13.861677Z"}, "problem_hash": "d90a0d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 516}, "timestamp": "2026-02-12T09:01:39.993Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K17": "no", "K18": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b0d5be", "alias": "diophantine_sum_product_min_v1_1248542787_57", "problem": "Let $P$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 650639889900$, $\\gcd(p, q) = 1$, and $p < q$. Let $y$ be the smallest positive integer such that $y^3 \\leq 15$, $y^3 \\geq 1$, and $y^3 (16 - y^3) = P$. Define $r = y^3$. Compute $r^2 + r \\cdot N + M$, where $N$ is the number of integers $t$ such that $12 \\leq t \\leq 84$ and $t = 7a + 5b$ for some positive integers $a, b$ with $1 \\leq a, b \\leq 7$, and $M$ is the largest integer $k$ such that $17^k$ divides $50014!$.", "answer": 3581, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(3),\n \"_n\": Const(15),\n \"S\": Const(16),\n \"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=650639889900)), 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_y\": MinOverSet(set=SolutionsSet(var=Var(\"y\"), condition=And(Geq(Pow(Var(\"y\"), Const(3)), Const(1)), Leq(Pow(Var(\"y\"), Const(3)), Ref(\"_n\")), Eq(Mul(Pow(Var(\"y\"), Const(3)), Sub(Ref(\"S\"), Pow(Var(\"y\"), Ref(\"_m\")))), Ref(\"P\"))))),\n \"result\": Pow(Ref(\"_result_y\"), Const(3)),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_c\")), 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=7)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=7)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=84)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), Ref(\"result\")), MaxKDivides(target=Factorial(Const(50014)), base=Const(17))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "V1", "COPRIME_PAIRS"], "recipe_id": "73191f", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM", "V1"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T02:56:06.835790Z", "verification": {"verified": true, "answer": 3581, "timestamp": "2026-02-08T02:56:06.845716Z"}, "problem_hash": "d94774", "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": 319, "completion_tokens": 8192}, "timestamp": "2026-02-08T23:58:28.990Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3581, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 5366}, "timestamp": "2026-02-08T23:16:13.522Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:01:50.109Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "V1": "ok", "K5": "same_pattern_wrong", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_SUM": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "506694", "alias": "nt_count_with_divisor_count_v1_1915831931_1130", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 63001$ and the number of positive divisors of $n$ is exactly 5. Compute the number of such integers $n$.", "answer": 6, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(63001),\n \"div_count\": Const(5),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MIN_PRIME_FACTOR", "ONE_PHI_1"], "recipe_id": "50d61c", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 7.8, "created_at": "2026-02-08T15:54:05.440113Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T15:54:13.239622Z"}, "problem_hash": "55f886", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 53, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 151, "completion_tokens": 538}, "timestamp": "2026-02-12T09:26:13.726Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "ONE_PHI_1": "ok", "MIN_PRIME_FACTOR": "ok_later", "K15": "no", "K16": "no", "MOD_MUL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7cf996", "alias": "antilemma_cartesian_v1_865884756_4839", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 18$ and $1 \\leq b \\leq 25$. Compute the sum $$\\sum_{n=1}^{x} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 2829, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T18:09:58.693498Z", "verification": {"verified": true, "answer": 2829, "timestamp": "2026-02-08T18:09:58.695086Z"}, "problem_hash": "dc3e70", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 456}, "timestamp": "2026-02-12T23:51:37.172Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1afe01", "alias": "antilemma_k3_v1_1820931509_106", "problem": "Let $S$ be the set of all integers $x$ such that $x^2 - 3401x + 272158 = 0$. Let $n$ be the sum of $\\phi(d)$ over all positive divisors $d$ of the sum of the elements of $S$. Let $x$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$. Compute the remainder when $62981 \\cdot x$ is divided by $74721$.", "answer": 47995, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(74721),\n \"_n\": SumOverDivisors(n=SumOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Const(value=2)), Mul(Const(value=-3401), Var(name='x')), Const(value=272158)), right=Const(value=0)))), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(62981), Ref(\"x\")), modulus=Ref(\"_m\")),\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", "K3/K3", "K3"], "recipe_id": "f2b5b1", "seed_template_id": "antilemma_k3_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K3", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:21:45.456315Z", "verification": {"verified": true, "answer": 47995, "timestamp": "2026-02-08T11:21:45.458057Z"}, "problem_hash": "da993b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 47995, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 1480}, "timestamp": "2026-02-14T12:15:15.002Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 453}, "timestamp": "2026-02-12T03:52:25.334Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "K5": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b46bcc", "alias": "nt_euler_phi_compute_v1_153355830_737", "problem": "Let $p_1 = 67$, $q = 19$, and $r = 37$. Define $n_2 = p_1 \\cdot q \\cdot r$. Let $h = \\mu(n_2)^k$, where $\\mu$ denotes the M\\\"obius function and $k$ is the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 12$, $\\gcd(p, q) = 1$, and $p < q$. Let $p = 3$ and define $n_1 = p^2$. Let $f = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Define $n = 83521 \\cdot h \\cdot f$. Compute $\\varphi(n)$, where $\\varphi$ is Euler's totient function.", "answer": 78608, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": Const(67),\n \"q\": Const(19),\n \"r\": Const(37),\n \"n2\": Mul(Ref(\"p1\"), Ref(\"q\"), Ref(\"r\")),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), 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 \"p\": Const(3),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"f\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Const(83521), Ref(\"h\"), Ref(\"f\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MOBIUS_SQUAREFREE", "LIOUVILLE_ONE"], "recipe_id": "dba6e4", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:09:10.601356Z", "verification": {"verified": true, "answer": 78608, "timestamp": "2026-02-08T04:09:10.604368Z"}, "problem_hash": "8fbfe5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K17": "no", "L3b": "no", "L3c": "no", "MOD_SUB": "no", "V5": "no"}, "split": "valid"} +{"id": "42bbbf", "alias": "geo_count_lattice_rect_v1_1431428450_1265", "problem": "Compute the number of lattice points in the rectangle $[0, 222] \\times [0, 89]$, including the boundary.", "answer": 20070, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(222),\n \"b\": Const(89),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T13:59:10.421281Z", "verification": {"verified": true, "answer": 20070, "timestamp": "2026-02-08T13:59:10.422375Z"}, "problem_hash": "bafef3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 20070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 178}, "timestamp": "2026-02-12T07:35:19.389Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "d4cf2c", "alias": "nt_sum_phi_v1_865884756_891", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ of integers with $1 \\le i \\le 3$ and $1 \\le j \\le 17$ such that $\\gcd(i, j) = 1$. Let $m$ be the number of elements in $S$. Define $T = \\sum_{k=1}^{m} k$. Let $R$ be the sum of $\\varphi(n)$ for all integers $n$ from $1$ to $T$, inclusive, where $\\varphi$ denotes Euler's totient function. Compute the remainder when $34654 \\cdot R$ is divided by $78969$.", "answer": 65571, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(78969),\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(3)), right=IntegerRange(start=Const(1), end=Const(17))))),\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=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Const(34654), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID/SUM_ARITHMETIC"], "recipe_id": "fb5a36", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.05, "created_at": "2026-02-08T15:40:34.616605Z", "verification": {"verified": true, "answer": 65571, "timestamp": "2026-02-08T15:40:34.666486Z"}, "problem_hash": "c18ef5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 515}, "timestamp": "2026-02-12T08:53:58.883Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_INTEGER_RANGE": "no", "K17": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1b0a21", "alias": "nt_sum_divisors_compute_v1_1918700295_1844", "problem": "Let $n = 80000$. Compute $\\sigma(n)$, the sum of all positive divisors of $n$. Let $d_{\\text{min}}$ be the smallest integer greater than or equal to 2 that divides 245. Define $c$ to be the largest integer $k$ such that $2^k$ divides $7^{33554432} - d_{\\text{min}}^{33554432}$. Find the remainder when $c - \\sigma(n)$ is divided by $61350$.", "answer": 46272, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(61350),\n \"n\": Const(80000),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MaxKDivides(target=Sub(Pow(Const(7), Const(33554432)), Pow(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(245))))), Const(33554432))), base=Const(2)),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LTE_DIFF_P2"], "recipe_id": "331652", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LTE_DIFF_P2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:04:54.997207Z", "verification": {"verified": true, "answer": 46272, "timestamp": "2026-02-08T06:04:54.999819Z"}, "problem_hash": "d2045b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_DIFF_P2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K5": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "57b31d", "alias": "antilemma_count_primes_v1_677425708_844", "problem": "Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 1301$. Let $d$ be the number of digits in the decimal representation of $x$. Compute the value of $$\\sum_{i=0}^{d-2} \\left( \\text{the } i\\text{-th digit of } x \\right) \\cdot (i+1)^2 + 27720,$$ where the $0$-th digit is the units digit.", "answer": 27744, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1301)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Summation(var=\"i\", start=Sub(EulerPhi(n=Const(2)), 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)), Ref(\"_m\")))), Const(27720)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "ZERO_PHI_PRIME", "COUNT_PRIMES"], "recipe_id": "d52086", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "ZERO_PHI_PRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:49:14.670439Z", "verification": {"verified": true, "answer": 27744, "timestamp": "2026-02-08T03:49:14.674163Z"}, "problem_hash": "b0b7f4", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 27726, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 7139}, "timestamp": "2026-02-09T13:35:13.617Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MAX_PRIME_BELOW": "ok", "ZERO_PHI_PRIME": "ok", "K14": "no", "K17": "no", "K5": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "57b50c", "alias": "diophantine_fbi2_count_v1_1978505735_7282", "problem": "Let $k = 720$. Compute the number of integers $d$ such that $4 \\le d \\le 124$, $d$ divides $k$, and $2 \\le \\frac{k}{d} \\le 122$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(720),\n \"a\": Const(3),\n \"b\": Const(1),\n \"upper\": Const(121),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(124)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(122))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.056, "created_at": "2026-02-08T20:09:18.642955Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T20:09:18.698774Z"}, "problem_hash": "b8d4ab", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 427}, "timestamp": "2026-02-13T01:17:38.734Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7c30c0", "alias": "comb_sum_binomial_mod_v1_784195855_4499", "problem": "Let $c = 25281$ and $m = 10987$. Let $A$ be the set of all positive integers $k$ such that $1 \\leq k \\leq 5628$ and $12$ divides $k$. Let $B$ be the set of all integers $t$ such that $18 \\leq t \\leq 210$ and $t = 8a + 10b$ for some positive integers $a \\leq 10$ and $b \\leq 13$. Let $C$ be the set of all ordered pairs of positive integers $(x, y)$ such that $x \\cdot y = c$. Let $s$ be the minimum value of $x + y$ over all pairs in $C$. Compute the remainder when $$\\sum_{k = |B|}^{s} \\binom{|A|}{k}$$ is divided by $m$, and then compute the remainder when $12587$ times this result is divided by 72261.", "answer": 16962, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(25281),\n \"_m\": Const(10987),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(5628)), Divides(divisor=Const(12), dividend=Var(\"k\"))), domain='positive_integers')),\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=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=210)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))), end=MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n \"Q\": Mod(value=Mul(Const(12587), Ref(\"result\")), modulus=Const(72261)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/LIN_FORM", "B3"], "recipe_id": "a4a5ab", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "C2", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.04, "created_at": "2026-02-08T07:08:48.889661Z", "verification": {"verified": true, "answer": 16962, "timestamp": "2026-02-08T07:08:48.929440Z"}, "problem_hash": "04dd01", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 6506}, "timestamp": "2026-02-13T08:15:45.264Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 330, "completion_tokens": 501}, "timestamp": "2026-02-12T00:51:39.499Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C2": "ok", "LIN_FORM": "ok_later", "COUNT_CARTESIAN": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "ae20ff", "alias": "antilemma_sum_equals_v1_1918700295_3001", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2, 3\\}$ and $\\{1, 2, 3, 4\\}$. Determine the number of ordered pairs $(i, j)$ of integers such that $1 \\leq i \\leq 11$, $1 \\leq j \\leq 11$, and $i + j = n$. Denote this number by $x$. Compute the sum\n$$\n\\sum_{k = (\\binom{18}{0} - 1)!}^{|x|} \\phi(k),\n$$\nwhere $\\phi(k)$ denotes Euler's totient function.", "answer": 42, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(4)))),\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(11)), right=IntegerRange(start=Const(1), end=Const(11))))),\n \"Q\": Summation(var=\"n\", start=Factorial(Sub(Binom(n=Const(18), k=Const(0)), Const(1))), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COUNT_SUM_EQUALS", "COUNT_SUM_EQUALS", "ONE_FACTORIAL_0", "ZERO_BINOM_0"], "recipe_id": "dd0a2f", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "ONE_FACTORIAL_0", "ZERO_BINOM_0"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T08:21:04.294549Z", "verification": {"verified": true, "answer": 42, "timestamp": "2026-02-08T08:21:04.308530Z"}, "problem_hash": "aa2a8a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 1114}, "timestamp": "2026-02-13T17:45:44.324Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 533}, "timestamp": "2026-02-12T01:49:27.981Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "ONE_FACTORIAL_0": "ok", "ZERO_BINOM_0": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3dbb29", "alias": "antilemma_sum_primes_v1_1742523217_639", "problem": "Let $k$ 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 $S$ be the set of all positive integers $d$ such that $d \\geq k$ and $d$ divides 15. Let $m$ be the minimum element of $S$. Compute the sum of all prime numbers $n$ such that $2 \\leq n \\leq m$. Multiply this sum by 73111, and find the remainder when the result is divided by 92628.", "answer": 87671, "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=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 \"_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\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(15)))))), IsPrime(Var(\"n\"))))),\n \"_c\": Const(73111),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(92628)),\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/MIN_PRIME_FACTOR/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "05c4e9", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "SUM_PRIMES"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T03:09:33.859768Z", "verification": {"verified": true, "answer": 87671, "timestamp": "2026-02-08T03:09:33.862013Z"}, "problem_hash": "b3e8b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 87671, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1003}, "timestamp": "2026-02-09T20:37:16.971Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 87671, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 622}, "timestamp": "2026-02-09T05:18:51.668Z"}], "solution_status": 2, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K15": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "bce001", "alias": "geo_visible_lattice_v1_655260480_709", "problem": "Let $n = 196$. Define a visible lattice point as an ordered pair $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Let $R$ be the number of visible lattice points for this $n$. Compute the remainder when\n$$\n\\sum_{k=1}^{R} \\tau(k)\n$$\nis divided by $59340$, where $\\tau(k)$ denotes the number of positive divisors of $k$.\\n\\nFind the value of this remainder.", "answer": 1606, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(196),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Div(Const(11), Const(11)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Const(59340)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.824, "created_at": "2026-02-08T15:33:06.231035Z", "verification": {"verified": true, "answer": 1606, "timestamp": "2026-02-08T15:33:07.054820Z"}, "problem_hash": "c0bb7e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 649}, "timestamp": "2026-02-12T08:41:01.605Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4b5339", "alias": "nt_count_digit_sum_v1_124444284_8675", "problem": "Let $n = 85406$ and $u = 204304$. Let $s$ be the number of ordered pairs $(a,b)$ of integers with $1 \\leq a \\leq 5$ and $1 \\leq b \\leq 5$. Define $T$ as the set of all positive integers $k$ such that $1 \\leq k \\leq u$ and the sum of the digits of $k$ is equal to $s$. Let $c = 98497$ and let $R$ be the number of elements in $T$. Compute the remainder when $c \\cdot R$ is divided by $n$.", "answer": 36145, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85406),\n \"upper\": Const(204304),\n \"target_sum\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5)))),\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(98497),\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": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 8.656, "created_at": "2026-02-08T11:51:57.900231Z", "verification": {"verified": true, "answer": 36145, "timestamp": "2026-02-08T11:52:06.555764Z"}, "problem_hash": "f95330", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36145, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 4943}, "timestamp": "2026-02-14T19:54:15.077Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 305}, "timestamp": "2026-02-12T04:41:13.249Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "7ef740", "alias": "comb_count_surjections_v1_865884756_4158", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ where $a$ and $b$ are integers with $1 \\leq a \\leq 2$ and $1 \\leq b \\leq 2$. Let $k = 3$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets. Compute the value of $$\\sum_{m=1}^{|r|} \\phi(m),$$ where $\\phi$ denotes Euler's totient function.", "answer": 396, "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(2)))),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Summation(var=\"n1\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n1\"))),\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"], "recipe_id": "cb6f65", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T17:45:57.783519Z", "verification": {"verified": true, "answer": 396, "timestamp": "2026-02-08T17:45:57.785902Z"}, "problem_hash": "1cf7df", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 472}, "timestamp": "2026-02-12T23:11:25.618Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b60bd4", "alias": "comb_sum_binomial_row_v1_784195855_9462", "problem": "Let $S$ be the set of all positive integers $t$ such that $9 \\leq t \\leq 69$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 9$, satisfying $t = 4a + 5b$. Let $m = |S|$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Define $n$ to be the minimum value of $x + y$ over all such pairs. Compute $2^n$.", "answer": 16384, "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=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=69)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\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\": Pow(Ref(\"_m\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:50:38.499223Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T16:50:38.501790Z"}, "problem_hash": "7cbb29", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 399}, "timestamp": "2026-02-12T21:14:50.745Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c9c00f", "alias": "modular_sum_quadratic_residues_v1_798873815_357", "problem": "Let $n$ be the largest prime number not exceeding 18.\n\nLet $p$ be the largest integer such that $n^p$ divides\n$$\n28351092476867700887730107366063041 \\times 664922854477460304521274345132525020049169433616579424626190476175164425470051684475963537.\n$$\n\nCompute $\\frac{p(p-1)}{4}$.", "answer": 2525, "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\"), Const(18)), IsPrime(Var(\"n\"))))),\n \"p\": MaxKDivides(target=Mul(Const(28351092476867700887730107366063041), Const(664922854477460304521274345132525020049169433616579424626190476175164425470051684475963537)), base=Ref(\"_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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K13"], "recipe_id": "b92fdf", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K13", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:36:46.230436Z", "verification": {"verified": true, "answer": 2525, "timestamp": "2026-02-08T02:36:46.232558Z"}, "problem_hash": "fd2ebb", "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": 208, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:25:28.889Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:06:26.281Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:47:46.506Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 151, "completion_tokens": 391}, "timestamp": "2026-02-08T23:34:17.981Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 8192}, "timestamp": "2026-02-09T03:53:06.525Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "K13": "ok_later", "K14": "no", "MAX_VAL": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "3f41ca", "alias": "comb_count_surjections_v1_1248542787_493", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ where $i \\in \\{1,2\\}$ and $j \\in \\{1,2\\}$. Compute $2! \\cdot S(n, 2)$, where $S(n, k)$ denotes the Stirling number of the second kind.", "answer": 14, "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(2)))),\n \"k\": Const(2),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:10:27.299737Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T03:10:27.301614Z"}, "problem_hash": "b04d2c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 184, "completion_tokens": 436}, "timestamp": "2026-02-09T04:46:04.067Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 180, "completion_tokens": 399}, "timestamp": "2026-02-09T17:27:27.209Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 127, "completion_tokens": 4799}, "timestamp": "2026-02-09T15:58:36.520Z"}, {"id": 8, "model": "mathstral", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 122, "completion_tokens": 279}, "timestamp": "2026-02-11T16:55:19.947Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 307}, "timestamp": "2026-02-11T20:28:41.944Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -9.22, "mid": -6.39, "hi": -3.05}, "split": "valid"} +{"id": "529732", "alias": "nt_count_divisors_in_range_v1_168721529_686", "problem": "Let $n_2 = 1363$. Define $v = \\sum_{d \\mid n_2} \\phi(d) - n_2$, where $\\phi$ denotes Euler's totient function. Let $p$ be the largest integer such that $2^p$ divides $2^{83}$. Define $n_1 = p^2$. Let $t = \\lambda(n_1)$, where $\\lambda$ denotes the Liouville function. Let $n = 2520$, $a = 10$, and $b = 284$. Define $\\text{result}$ to be the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $c = 17356$. Compute the remainder when $c \\cdot \\text{result}$ is divided by $(96969 + v) \\cdot t$.", "answer": 53191, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": Const(1363),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n2'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n2\")),\n \"p\": MaxKDivides(target=Pow(Const(2), Const(83)), base=Const(2)),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_n\")),\n \"t\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Const(2520),\n \"a\": Const(10),\n \"b\": Const(284),\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(17356),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Sum(Const(96969), Ref(\"v\")), Ref(\"t\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/LIOUVILLE_ONE", "EULER_TOTIENT_SUM"], "recipe_id": "5092d8", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "K14", "LIOUVILLE_ONE"], "num_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T13:11:52.722927Z", "verification": {"verified": true, "answer": 53191, "timestamp": "2026-02-08T13:11:52.746512Z"}, "problem_hash": "5e0dab", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 53191, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 303, "completion_tokens": 3984}, "timestamp": "2026-02-09T07:59:55.400Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 35835, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 391}, "timestamp": "2026-02-09T20:21:19.118Z"}], "solution_status": 1, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "K14": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3b": "no", "V3": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "valid"} +{"id": "c95f59", "alias": "nt_sum_gcd_range_mod_v1_1520064083_7569", "problem": "Let $m = 61$. Let $N_1$ be the number of ordered pairs $(i, j)$ of positive integers such that $1 \\leq i \\leq 60$, $1 \\leq j \\leq 61$, and $i + j = m$. Let $N$ be the number of positive integers $t$ with $10 \\leq t \\leq 5844$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 164$, $1 \\leq b \\leq 1215$, and $t = 6a + 4b$. Let $k$ be the number of positive integers $j$ such that $1 \\leq j \\leq N_1$ and $j^4 \\leq 12960000$. Let $S = \\sum_{n=1}^{N} \\gcd(n, k)$. Compute the remainder when $S$ is divided by $11527$.", "answer": 5945, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(61),\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(61))))),\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=164)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1215)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=5844)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(4)), Const(12960000))), domain='positive_integers')),\n \"M\": Const(11527),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_SUM_EQUALS", "lemma_paths": ["COUNT_SUM_EQUALS/C3", "LIN_FORM"], "recipe_id": "079d6a", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.265, "created_at": "2026-02-08T09:09:00.059981Z", "verification": {"verified": true, "answer": 5945, "timestamp": "2026-02-08T09:09:00.325143Z"}, "problem_hash": "fd2074", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2001, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 5835}, "timestamp": "2026-02-14T01:09:17.557Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 501}, "timestamp": "2026-02-12T02:36:51.730Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C3": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c1f69f", "alias": "nt_num_divisors_compute_v1_655260480_4293", "problem": "Let $n = 65536$. Define $d$ to be the number of positive divisors of $n$. Let $S$ be the set of all positive integers $n_1$ such that $1 \\leq n_1 \\leq 48$ and $n_1 \\equiv \\left\\lfloor \\frac{n_1}{2} \\right\\rfloor \\pmod{3}$. Compute the remainder when $d + 2^d$ is divided by 85499.", "answer": 19, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(65536),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(48)), Congruent(a=Var(name='n1'), b=Floor(arg=Div(left=Var(name='n1'), right=Const(value=2))), modulus=Const(value=3))))))), modulus=Const(85499))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "dee4e2", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:52:25.248441Z", "verification": {"verified": true, "answer": 19, "timestamp": "2026-02-08T17:52:25.249798Z"}, "problem_hash": "8f13c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 610}, "timestamp": "2026-02-12T23:14:56.655Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5104aa", "alias": "antilemma_cartesian_v1_717093673_2376", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 12$ and $1 \\leq b \\leq 12$. Compute the remainder when $86960 \\cdot x$ is divided by $63573$. Find the value of this remainder.", "answer": 61932, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12)))),\n \"Q\": Mod(value=Mul(Const(86960), Ref(\"x\")), modulus=Const(63573)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:47:33.876818Z", "verification": {"verified": true, "answer": 61932, "timestamp": "2026-02-08T16:47:33.877682Z"}, "problem_hash": "474f3b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 251}, "timestamp": "2026-02-12T21:06:16.122Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dc1bf6", "alias": "modular_sum_quadratic_residues_v1_1440796553_21", "problem": "Let $p$ be the smallest divisor of 97122097 that is at least 2. Let $k$ be the largest integer such that $3^k \\leq 115$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = k$. Let $s$ be the minimum value of $x + y$ over all such pairs. Compute the value of $\\frac{p(p - 1)}{s}$.", "answer": 52098, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(115),\n \"_n\": Const(2),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(97122097))))),\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\")), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_VAL/B3"], "recipe_id": "ff7984", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_VAL", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T11:12:47.144966Z", "verification": {"verified": true, "answer": 52098, "timestamp": "2026-02-08T11:12:47.153781Z"}, "problem_hash": "3dd0a0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 140, "completion_tokens": 8192}, "timestamp": "2026-02-14T15:50:47.454Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 32374032336, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 444}, "timestamp": "2026-02-12T04:16:02.453Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "MIN_PRIME_FACTOR": "ok", "B3": "ok_later", "K16": "same_pattern_wrong", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "966206", "alias": "nt_sum_divisors_compute_v1_865884756_785", "problem": "Let $n = 43681$. Compute the sum of all positive divisors of $n$.", "answer": 50673, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(43681),\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": "B3", "lemma_paths": ["B3/MOBIUS_COPRIME/MOBIUS_SUM"], "recipe_id": "d7d237", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.01, "created_at": "2026-02-08T15:36:36.942351Z", "verification": {"verified": true, "answer": 50673, "timestamp": "2026-02-08T15:36:36.952400Z"}, "problem_hash": "6b92e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 46260, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 253}, "timestamp": "2026-02-12T08:45:25.821Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok_later", "MOBIUS_SUM": "ok_later", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "baa1b8", "alias": "nt_count_with_divisor_count_v1_784195855_9433", "problem": "Let $A$ be the number of integers $t$ with $52 \\leq t \\leq 16030$ such that there exist positive integers $a \\leq 107$ and $b \\leq 1147$ satisfying $t = 21a + 12b + 19$. Let $B$ be the number of positive integers $p$ such that $p < q$, $\\gcd(p, q) = 1$, and $pq = 48510$. Compute the number of positive integers $n \\leq A$ such that the number of positive divisors of $n$ is equal to $B$.", "answer": 378, "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=107)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1147)), Geq(left=Var(name='t'), right=Const(value=52)), Leq(left=Var(name='t'), right=Const(value=16030)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=12), Var(name='b')), Const(value=19)))))))),\n \"div_count\": 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=48510)), 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\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.217, "created_at": "2026-02-08T16:48:48.577279Z", "verification": {"verified": true, "answer": 378, "timestamp": "2026-02-08T16:48:48.794579Z"}, "problem_hash": "bc5929", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 246, "completion_tokens": 584}, "timestamp": "2026-02-12T21:14:27.504Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K16": "no", "K17": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0b0274", "alias": "nt_euler_phi_compute_v1_1742523217_1030", "problem": "Let $p = 2$ and $q = 59$, and let $n_2 = pq$. Let $e$ be the remainder when the number of positive divisors of $n_2$ is divided by $2$.\n\nLet $C$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1 \\le a \\le 75$, $1 \\le b \\le 17$, $10 \\le t \\le 344$, and\n$$t = 3a + 7b.$$\n\nLet $n_1$ be the smallest integer $d \\ge 2$ such that $d$ divides $C$. Let $h$ be the number of distinct prime factors of $n_1$.\n\nDefine\n$$n = (88209 + e)h,$$\nand let $R = \\varphi(n)$, where $\\varphi$ denotes Euler's totient function.\n\nCompute $R$. ", "answer": 53460, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": Const(2),\n \"q\": Const(59),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Ref(\"_n\")),\n \"n1\": 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=75)), 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=10)), Leq(left=Var(name='t'), right=Const(value=344)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))))))),\n \"h\": SmallOmega(n=Ref(name='n1')),\n \"n\": Mul(Sum(Const(88209), Ref(\"e\")), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MIN_PRIME_FACTOR/OMEGA_ONE", "DIVISOR_PARITY"], "recipe_id": "13be2f", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "MIN_PRIME_FACTOR", "OMEGA_ONE"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T03:23:49.111302Z", "verification": {"verified": true, "answer": 53460, "timestamp": "2026-02-08T03:23:49.115057Z"}, "problem_hash": "6c806a", "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-10T02:18:29.651Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 53460, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 7526}, "timestamp": "2026-02-09T10:06:03.970Z"}], "solution_status": 1, "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok_later", "OMEGA_ONE": "ok_later", "C2": "no", "K17": "no", "L3b": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "d85d36", "alias": "geo_visible_lattice_v1_971394319_934", "problem": "Let $n = 196$. Define $L$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute the remainder when $\\sum_{k=1}^{L} d(k)$ is divided by $65318$, where $d(k)$ is the number of positive divisors of $k$.", "answer": 43012, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(196),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(11), Const(11)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(65318)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.845, "created_at": "2026-02-08T13:23:28.595767Z", "verification": {"verified": true, "answer": 43012, "timestamp": "2026-02-08T13:23:29.440943Z"}, "problem_hash": "6ba345", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 199, "completion_tokens": 498}, "timestamp": "2026-02-12T06:42:24.170Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "58ea59", "alias": "nt_count_divisible_and_v1_1918700295_60", "problem": "For each $k$ from 1 to 4 and each $j$ from 1 to 7, compute the value of $k$. Let $T$ be the set of all such $k$ values. Let $s$ be the sum of the elements in $T$. Define $d_1 = \\frac{6s}{42}$ and $d_2 = 12$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq 44700$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$.", "answer": 745, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(44700),\n \"d1\": Div(Mul(Const(6), 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(7)))), expr=Var(\"k\")))), Const(42)),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(1))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT/SUM_ARITHMETIC", "ONE_PHI_1"], "recipe_id": "952e8f", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 3.919, "created_at": "2026-02-08T02:58:01.343710Z", "verification": {"verified": true, "answer": 745, "timestamp": "2026-02-08T02:58:05.262895Z"}, "problem_hash": "c88fcb", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 745, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1396}, "timestamp": "2026-02-08T22:26:11.390Z"}], "solution_status": 2, "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_INDEPENDENT": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -2.92, "hi": 4.15}, "split": "valid"} +{"id": "7e516d", "alias": "sequence_fibonacci_compute_v1_1526740231_334", "problem": "Let $n$ be the largest positive divisor of 682 that does not exceed 22. Compute the $n$th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 17711, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(22),\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(682))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:28:37.965761Z", "verification": {"verified": true, "answer": 17711, "timestamp": "2026-02-08T11:28:37.966640Z"}, "problem_hash": "cf3c77", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 17711, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 224}, "timestamp": "2026-02-12T04:10:31.893Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "ef025b", "alias": "comb_binomial_compute_v1_124444284_10321", "problem": "Let $n$ be the largest positive divisor of $156$ that is at most $12$. Compute $\\binom{n}{6}$.", "answer": 924, "graph": "graphs = [\n Graph(\n let={\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(12)), Divides(divisor=Var(\"d\"), dividend=Const(156))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:58:29.813536Z", "verification": {"verified": true, "answer": 924, "timestamp": "2026-02-08T12:58:29.814391Z"}, "problem_hash": "b474b5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 924, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 274}, "timestamp": "2026-02-12T06:06:05.974Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "L3b": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "d41936", "alias": "diophantine_fbi2_count_v1_153355830_119", "problem": "Let $k = 420$. Compute the number of integers $d$ such that $3 \\leq d \\leq 52$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 54$. Denote this count by $r$. Let $c$ be the number of integers $n$ such that $1 \\leq n \\leq 14027$ and $$n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{7}.$$\nLet $j_{\\text{max}}$ be the number of positive integers $j$ such that $1 \\leq j \\leq 397$ and $j^4 \\leq 24840596881$. Compute $r \\bmod{251} + c \\cdot (r \\bmod{j_{\\text{max}}})$.", "answer": 20040, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54),\n \"k\": Const(420),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(52)), 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\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14027)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=7))))),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Const(251)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(397)), Leq(Pow(Var(\"j\"), Const(4)), Const(24840596881))), domain='positive_integers'))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C", "C3"], "recipe_id": "1a23c3", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "L3C"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T02:53:55.928359Z", "verification": {"verified": true, "answer": 20040, "timestamp": "2026-02-08T02:53:55.936987Z"}, "problem_hash": "2be91d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 304, "completion_tokens": 3619}, "timestamp": "2026-02-10T11:49:12.176Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 20040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 308, "completion_tokens": 2687}, "timestamp": "2026-02-08T23:09:54.783Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 268, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:23:09.009Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 28042, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 748}, "timestamp": "2026-02-10T15:38:55.689Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20040, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 224, "completion_tokens": 2155}, "timestamp": "2026-02-10T17:37:34.245Z"}, {"id": 8, "model": "mathstral", "answer": 63126, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 491}, "timestamp": "2026-02-11T06:54:49.987Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 299, "completion_tokens": 564}, "timestamp": "2026-02-11T19:53:32.227Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "L3C": "ok", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "K5": "no", "V7": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "59174b", "alias": "nt_sum_totient_over_divisors_v1_1520064083_3289", "problem": "Let $s = \\mu(142721)^2$, where $\\mu$ is the M\\\"obius function. Let $n_1$ be the largest prime number $n$ such that $2 \\le n \\le 5$. Let $c = \\mu(n_1)^2$. Let $T$ be the set of all positive integers $t$ such that $27 \\le t \\le 2185$ and there exist positive integers $a$, $b$ with $1 \\le a \\le 255$, $1 \\le b \\le 223$, and $t = 5a + 4b + 18$. Let $n = (|T| \\cdot s) \\cdot c$. Determine the value of $\\sum_{d \\mid n} \\phi(d)$, where the sum is over all positive divisors $d$ of $n$, and $\\phi$ is Euler's totient function.", "answer": 2147, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"n2\": Const(142721),\n \"s\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\"))))),\n \"c\": Pow(MoebiusMu(n=Ref(name='n1')), Ref(\"_n\")),\n \"n\": Mul(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=255)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=223)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=2185)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=18)))))))), Ref(\"s\")), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_SQUAREFREE", "LIN_FORM/MOBIUS_SQUAREFREE"], "recipe_id": "715632", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T05:33:49.132787Z", "verification": {"verified": true, "answer": 2147, "timestamp": "2026-02-08T05:33:49.141748Z"}, "problem_hash": "b49257", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "L3b": "no", "L3c": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "620582", "alias": "antilemma_sum_primes_v1_784195855_2426", "problem": "Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 32772$ such that $\\binom{32772}{j} \\equiv \\phi(1) \\pmod{2}$. Let $x$ be the number of prime numbers $n$ satisfying $2 \\leq n \\leq n$. Compute the remainder when $44121 \\cdot x$ is divided by $82574$.", "answer": 55457, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82574),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(32772)), Eq(Mod(value=Binom(n=Const(32772), k=Var(\"j\")), modulus=Const(2)), EulerPhi(n=Const(1)))), domain='nonnegative_integers'))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/SUM_PRIMES", "SUM_PRIMES", "ONE_PHI_1"], "recipe_id": "b35491", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["ONE_PHI_1", "SUM_PRIMES", "V8"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:44:37.341951Z", "verification": {"verified": true, "answer": 55457, "timestamp": "2026-02-08T05:44:37.343875Z"}, "problem_hash": "59a03e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"ONE_PHI_1": "ok", "SUM_PRIMES": "ok", "V8": "ok", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V3": "no"}, "split": "valid"} +{"id": "b242ef", "alias": "comb_catalan_compute_v1_784195855_7667", "problem": "Let $m$ be the number of ordered pairs $(i, j)$ where $i \\in \\{1, 2, 3\\}$ and $j \\in \\{1, 2, 3, 4\\}$.\n\nLet $n$ be the number of ordered pairs $(i, j)$ with $1 \\leq i, j \\leq 10$ such that $i + j = m$.\n\nLet $t$ be the number of ordered triples $(x_1, x_2, x_3)$ of positive odd integers such that $x_1 + x_2 + x_3 = n$.\n\nCompute the $t$th Catalan number.", "answer": 16796, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(4)))),\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(10)), right=IntegerRange(start=Const(1), end=Const(10))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\"), Var(\"x3\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='x3')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), IsOdd(arg=Var(name='x3')), Eq(Sum(Var(\"x1\"), Var(\"x2\"), Var(\"x3\")), Ref(\"_n\"))))),\n \"result\": Catalan(Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN/COUNT_SUM_EQUALS/COMB1"], "recipe_id": "6d4134", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T09:26:31.908386Z", "verification": {"verified": true, "answer": 16796, "timestamp": "2026-02-08T09:26:31.919737Z"}, "problem_hash": "21c501", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16796, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 1378}, "timestamp": "2026-02-14T03:51:25.392Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 333}, "timestamp": "2026-02-12T02:54:09.964Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COMB1": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3a7ba5", "alias": "nt_sum_divisors_range_v1_1248542787_437", "problem": "Let\n\\[N = \\#\\{t : \\text{there exist integers } a, b \\text{ such that } 1 \\le a \\le 4,\\ 1 \\le b \\le 3,\\ 5 \\le t \\le 17,\\ t = 2a + 3b\\},\\]\nwhere $\\#$ denotes the number of elements of the set.\n\nLet $U$ be the number of ordered pairs $(x,y)$ with $1 \\le x \\le 81$ and $1 \\le y \\le 81$.\n\nLet $S$ be the set of all integers $n$ such that\n\\[\\sum_{d \\mid \\gcd(8,15)} \\mu(d) \\le n \\le U,\n\\]\nwhere $\\mu$ denotes the Möbius function. Let\n\\[R = \\sum_{n \\in S} \\tau(n),\\]\nwhere $\\tau(n)$ denotes the number of positive divisors of $n$.\n\nLet\n\\[t = |R| \\bmod N,\n\\]\nwhere $|R|$ denotes the absolute value of $R$, and let $B_t$ be the $t$-th Bell number. Finally, let $M = 87385$ and\n\\[Q \\equiv B_t \\pmod{M}, \\quad 0 \\le Q < M.\n\\]\nFind the value of $Q$.", "answer": 28590, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(87385),\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=3)), 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=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(81)), right=IntegerRange(start=Const(1), end=Const(81)))),\n \"result\": SumOverSet(set=MapOverSet(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\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), modulus=Ref(\"_m\")),\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/COUNT_CARTESIAN", "MOBIUS_COPRIME"], "recipe_id": "7af7e6", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.227, "created_at": "2026-02-08T03:07:43.025899Z", "verification": {"verified": true, "answer": 28590, "timestamp": "2026-02-08T03:07:43.253188Z"}, "problem_hash": "7358c0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 21147, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 413, "completion_tokens": 3718}, "timestamp": "2026-02-09T04:09:52.293Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 28590, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 409, "completion_tokens": 3405}, "timestamp": "2026-02-09T16:45:52.653Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 360, "completion_tokens": 8192}, "timestamp": "2026-02-09T15:01:51.751Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "COUNT_CARTESIAN": "ok_later", "C2": "no", "K17": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "3e24a9", "alias": "nt_num_divisors_compute_v1_1125832087_952", "problem": "Let $g = 8$ and $m = 9$. Define $a = g \\cdot m$ and $b = g \\cdot 8$. Let $w$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ denotes the Möbius function. Let $n_1 = 1024$ and define $e$ to be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $n$ be the number of integers $t$ such that $9 \\leq t \\leq 861$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 184$, $1 \\leq b \\leq 25$, and $t = 4a + 5b$. Let $\\text{result}$ be the number of positive divisors of $n$. Compute the remainder when $(57189 + w) \\cdot e \\cdot \\text{result}$ is divided by $98905$.", "answer": 72662, "graph": "graphs = [\n Graph(\n let={\n \"g\": Const(8),\n \"m\": Const(9),\n \"n2\": Const(8),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n2\")),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(1024),\n \"e\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=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=184)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=25)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=861)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Sum(Const(57189), Ref(\"w\")), Ref(\"e\")), Ref(\"result\")), modulus=Const(98905)),\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", "MOBIUS_COPRIME", "LIN_FORM"], "recipe_id": "48257c", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:23:19.987882Z", "verification": {"verified": true, "answer": 72662, "timestamp": "2026-02-08T03:23:19.991788Z"}, "problem_hash": "f50479", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K13": "no", "LTE_DIFF": "no", "V8": "no"}, "split": "valid"} +{"id": "ed2d6f", "alias": "modular_modexp_compute_v1_168721529_1477", "problem": "Let $a$ be the smallest integer $d \\geq 2$ that divides $94987$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = 4096$. Let $s_{\\min}$ be the minimum value of $x + y$ over all $(x, y) \\in S$. Now let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s_{\\min}$. Let $e$ be the maximum value of $x \\cdot y$ over all $(x, y) \\in T$. Compute the remainder when $a^e$ is divided by $42025$.", "answer": 35401, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(94987),\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(4096)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(42025),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "B3/B1"], "recipe_id": "a491e9", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:42:59.300447Z", "verification": {"verified": true, "answer": 35401, "timestamp": "2026-02-08T13:42:59.304930Z"}, "problem_hash": "7b352d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34126, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 4061}, "timestamp": "2026-02-09T17:37:11.518Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1576, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 4013}, "timestamp": "2026-02-11T07:56:29.613Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 697}, "timestamp": "2026-02-12T07:16:56.173Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "B1": "ok_later", "K13": "no", "K15": "no", "K16": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "2bac74", "alias": "nt_count_divisible_and_v1_153355830_1654", "problem": "Let $m = 17$ and $n = 9$. Define $d_1$ to be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $x \\cdot y = 9$. Let $d_2$ be the number of positive integers $n \\le 145$ that are divisible by 5 and relatively prime to 12. Let $S$ be the set of positive integers $n \\le 68700$ such that $n \\equiv \\sum_{d \\mid m} \\mu(d) \\pmod{d_1}$ and $n \\equiv 0 \\pmod{d_2}$, where $\\mu$ is the M\\\"obius function. Let $Q = \\sum_{n=1}^{|S|} \\tau(n)$, where $\\tau(n)$ is the number of positive divisors of $n$. Compute $Q$.", "answer": 18075, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(9),\n \"upper\": Const(68700),\n \"d1\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d2\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(145)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=Ref(name='_m'), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SUM", "lemma_paths": ["MOBIUS_SUM", "B3", "C5"], "recipe_id": "e66275", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 2.626, "created_at": "2026-02-08T06:32:34.139772Z", "verification": {"verified": true, "answer": 18075, "timestamp": "2026-02-08T06:32:36.765356Z"}, "problem_hash": "cb5da9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "C5": "ok", "MOBIUS_SUM": "ok", "C2": "no", "DS2": "no", "L3c": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "2d0901", "alias": "comb_count_partitions_v1_1520064083_4703", "problem": "Let $S$ be the set of all positive integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 114$, $1 \\leq b \\leq 40$, and $t = 3a + 2b + 7$. Let $d_{\\text{count}}$ be the number of positive integers $d$ such that $d \\leq |S|$ and $d$ divides 175136. Define $n = d_{\\text{count}}^2 - 42d_{\\text{count}} + \\max(S)$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the value of $(84905 \\cdot p(n)) \\mod 69686$.", "answer": 61274, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84905),\n \"n\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-42), Var(\"x\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=114)), 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=12)), Leq(left=Var(name='t'), right=Const(value=429)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=7))))))))), Divides(divisor=Var(\"d\"), dividend=Const(175136)))))), Const(0)))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(69686)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR/VIETA_SUM"], "recipe_id": "6d05f6", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:23:19.658048Z", "verification": {"verified": true, "answer": 61274, "timestamp": "2026-02-08T06:23:19.661759Z"}, "problem_hash": "e31151", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40081, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 5292}, "timestamp": "2026-02-12T23:32:48.291Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 610}, "timestamp": "2026-02-11T23:59:49.739Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_DIVISOR": "ok_later", "VIETA_SUM": "ok_later", "K17": "no", "K5": "no", "L3b": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c7c846", "alias": "nt_count_divisible_and_v1_1978505735_3374", "problem": "Let $T$ be the set of all integers $t$ such that $9 \\le t \\le 56$ and $t = 5a + 4b$ for some positive integers $a \\le 4$ and $b \\le 9$. Let $k = |T|$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = k$. Let $d$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Determine the remainder when $44121$ times the number of positive integers $n$ such that $1 \\le n \\le 86520$, $n \\equiv 0 \\pmod{10}$, and $n \\equiv 0 \\pmod{d}$ is divided by $87935$.", "answer": 45477, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(86520),\n \"d1\": Const(10),\n \"d2\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=56)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))))), 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 \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(87935)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.859, "created_at": "2026-02-08T17:35:42.014733Z", "verification": {"verified": true, "answer": 45477, "timestamp": "2026-02-08T17:35:44.873602Z"}, "problem_hash": "b23d97", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 455}, "timestamp": "2026-02-12T22:50:23.459Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b393f0", "alias": "nt_sum_divisors_range_v1_260342960_133", "problem": "Let $T$ be the set of all positive integers $t$ such that $12 \\le t \\le 9422$ and $t = 2a + 3b + 7$ for some integers $a, b$ with $1 \\le a \\le 4049$ and $1 \\le b \\le 439$. Let $u = |T|$. Compute the sum of the number of positive divisors of all integers $n$ such that $1 \\le n \\le u$, and find the absolute value of this sum. Then, find the remainder when this value is divided by $92650$.", "answer": 87563, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(92650),\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=4049)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=439)), Geq(left=Var(name='t'), right=Const(value=12)), Leq(left=Var(name='t'), right=Const(value=9422)), 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 \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "ONE_PHI_2"], "recipe_id": "9858be", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.514, "created_at": "2026-02-08T11:16:34.922386Z", "verification": {"verified": true, "answer": 87563, "timestamp": "2026-02-08T11:16:35.436291Z"}, "problem_hash": "1dc071", "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-08T20:29:17.669Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 87561, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 7192}, "timestamp": "2026-02-10T02:17:35.719Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:12:08.465Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 60, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 737}, "timestamp": "2026-02-09T07:43:19.669Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 87609, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 8101}, "timestamp": "2026-02-09T17:49:09.080Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "C2": "no", "K13": "no", "L3c": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "e05453", "alias": "nt_lcm_compute_v1_1248542787_836", "problem": "Let $a = 2233$ and $b$ be the number of ordered pairs $(x,y)$ where $x$ is a positive integer at most 3 and $y$ is a positive integer at most 617. Let $m = \\mathrm{lcm}(a, b)$. Compute the remainder when $23104 - m$ is divided by 88785.", "answer": 62716, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2233),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(617)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(23104),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(88785)),\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"], "recipe_id": "409d7d", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:27:05.464150Z", "verification": {"verified": true, "answer": 62716, "timestamp": "2026-02-08T03:27:05.465190Z"}, "problem_hash": "b7538f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61716, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 1639}, "timestamp": "2026-02-09T08:56:31.652Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 62716, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 1244}, "timestamp": "2026-02-09T21:41:12.369Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 146, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:33:24.413Z"}, {"id": 8, "model": "mathstral", "answer": 28366, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 144, "completion_tokens": 810}, "timestamp": "2026-02-12T15:17:56.004Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 623}, "timestamp": "2026-02-11T20:52:22.414Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K16": "no", "LTE_DIFF": "no", "V1": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "76b7e1", "alias": "antilemma_cartesian_v1_1520064083_7676", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 42$ and $1 \\leq b \\leq 42$. Compute the value of\n$$\n3^{|x|} \\bmod 99991 + 16110.\n$$", "answer": 94701, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(42)), right=IntegerRange(start=Const(1), end=Const(42)))),\n \"Q\": Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='x')), mod=Const(99991)), Const(16110)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T09:14:26.843306Z", "verification": {"verified": true, "answer": 94701, "timestamp": "2026-02-08T09:14:26.844029Z"}, "problem_hash": "d1e21b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 35824, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 108, "completion_tokens": 5069}, "timestamp": "2026-02-14T01:45:24.382Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 340}, "timestamp": "2026-02-12T02:40:24.741Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "6692a5", "alias": "nt_count_divisible_v1_2051736721_4688", "problem": "Let $N$ be the number of positive integers $n$ such that $n \\leq 65536$ and $n$ is divisible by 27. 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 $c - N$ is divided by 86777.", "answer": 84352, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65536),\n \"divisor\": Const(27),\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\": 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\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(86777)),\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"], "recipe_id": "c90628", "seed_template_id": "nt_count_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 2.231, "created_at": "2026-02-08T18:06:46.742581Z", "verification": {"verified": true, "answer": 84352, "timestamp": "2026-02-08T18:06:48.973935Z"}, "problem_hash": "f61cc3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 86535, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 447}, "timestamp": "2026-02-12T23:42:49.681Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K15": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8952df", "alias": "nt_count_coprime_and_v1_784195855_6009", "problem": "Let $k_1 = 3$ and $k_2 = 11$. Let $\\text{result}$ be the number of positive integers $n$ from 1 to 10225 inclusive such that $\\gcd(n, k_1) = 1$ and $\\gcd(n, k_2) = 1$. Let $\\alpha$ be the number of ordered pairs $(p, q)$ of positive integers such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $\\beta$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 44$ and $1 \\leq j \\leq 46$. Compute $\\text{result}^\\alpha + 36 \\cdot \\text{result} + \\beta$, and find the remainder when this sum is divided by 86571.", "answer": 17259, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86571),\n \"upper\": Const(10225),\n \"k1\": Const(3),\n \"k2\": Const(11),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n\"), b=Ref(\"k2\")), Const(1))))),\n \"Q\": Mod(value=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=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(36), Ref(\"result\")), CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(44)), right=IntegerRange(start=Const(1), end=Const(46))))), modulus=Ref(\"_n\")),\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", "COPRIME_PAIRS"], "recipe_id": "5befe7", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 1.059, "created_at": "2026-02-08T08:15:14.978494Z", "verification": {"verified": true, "answer": 17259, "timestamp": "2026-02-08T08:15:16.037913Z"}, "problem_hash": "932cbb", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17259, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 230, "completion_tokens": 1861}, "timestamp": "2026-02-13T16:55:46.840Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44231, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 298, "completion_tokens": 865}, "timestamp": "2026-02-12T01:44:22.606Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "329abe", "alias": "antilemma_cartesian_v1_124444284_10004", "problem": "Compute the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 10$ and $1 \\leq b \\leq 25$.", "answer": 250, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(25)))),\n \"Q\": Ref(\"x\"),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T12:46:18.233201Z", "verification": {"verified": true, "answer": 250, "timestamp": "2026-02-08T12:46:18.233596Z"}, "problem_hash": "bae25d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 250, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 155}, "timestamp": "2026-02-12T05:34:51.880Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "4e8a57", "alias": "nt_min_coprime_above_v1_1080341949_174", "problem": "Let $S$ be the set of all integers $n$ such that $16384 < n \\leq 16436$ and $\\gcd(n, d) = 1$, where $d$ is the largest positive divisor of 2226 that is at most 42. Find the value of the smallest element in $S$.", "answer": 16385, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(16384),\n \"upper\": Const(16436),\n \"modulus\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(42)), Divides(divisor=Var(\"d\"), dividend=Const(2226))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.008, "created_at": "2026-02-08T13:16:38.119610Z", "verification": {"verified": true, "answer": 16385, "timestamp": "2026-02-08T13:16:38.127160Z"}, "problem_hash": "645c77", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 403}, "timestamp": "2026-02-12T06:29:17.382Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K17": "no", "MOD_FACTORIAL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1b5da4", "alias": "antilemma_cartesian_v1_1978505735_7280", "problem": "Compute the remainder when $28013$ multiplied by the number of ordered pairs $(i,j)$ with $1 \\le i \\le 36$ and $1 \\le j \\le 41$ is divided by $58767$.", "answer": 33987, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(36)), right=IntegerRange(start=Const(1), end=Const(41)))),\n \"Q\": Mod(value=Mul(Const(28013), Ref(\"x\")), modulus=Const(58767)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T20:09:18.436924Z", "verification": {"verified": true, "answer": 33987, "timestamp": "2026-02-08T20:09:18.438414Z"}, "problem_hash": "388ec7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 577}, "timestamp": "2026-02-13T01:17:37.964Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6efecc", "alias": "nt_sum_over_divisible_v1_1978505735_3006", "problem": "Let $d$ be a positive integer such that $1 \\leq d \\leq 5879$ and $d$ divides $34703737$. Let $\\text{upper}$ be the largest such $d$. Determine the sum of all positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $n$ is divisible by $197$.", "answer": 85695, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5879),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(34703737))))),\n \"divisor\": Const(197),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 3.506, "created_at": "2026-02-08T17:18:14.276471Z", "verification": {"verified": true, "answer": 85695, "timestamp": "2026-02-08T17:18:17.782619Z"}, "problem_hash": "2723e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 455}, "timestamp": "2026-02-12T22:22:55.818Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K16": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "eaa0c7", "alias": "sequence_lucas_compute_v1_784195855_6520", "problem": "Let $m$ be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\le x \\le 21$ and $1 \\le y \\le 21$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = m$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = s$. Compute the $n$th Lucas number.", "answer": 24476, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"n\": CountOverSet(set=SolutionsSet(var=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\": 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/COMB1"], "recipe_id": "fde1bc", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COMB1", "COUNT_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T08:42:43.703103Z", "verification": {"verified": true, "answer": 24476, "timestamp": "2026-02-08T08:42:43.705386Z"}, "problem_hash": "5a6868", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24476, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 1303}, "timestamp": "2026-02-13T20:38:43.605Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 443}, "timestamp": "2026-02-12T02:06:09.132Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "B3": "ok_later", "COMB1": "ok_later", "C2": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0f34de", "alias": "nt_count_gcd_equals_v1_48377204_2437", "problem": "Let $n = 58483$ and let $k$ be the largest divisor of $n$ that is at most $233$. Determine the value of the number of positive integers $d_1$ such that $1 \\leq d_1 \\leq 29241$ and $\\gcd(d_1, k) = 1$.", "answer": 29116, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(58483),\n \"upper\": Const(29241),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(233)), Divides(divisor=Var(\"d1\"), dividend=Ref(\"_n\"))))),\n \"d\": Const(1),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 4.774, "created_at": "2026-02-08T16:46:24.140354Z", "verification": {"verified": true, "answer": 29116, "timestamp": "2026-02-08T16:46:28.914700Z"}, "problem_hash": "bdf0ad", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29116, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 574}, "timestamp": "2026-02-12T20:53:44.383Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "K18": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "0a0cc6", "alias": "antilemma_k3_v1_1978505735_7495", "problem": "Let $\\_m = 5$ and $\\_n = 29483$. Define $x = \\sum_{d \\mid \\_n} \\phi(d)$, where the sum is over all positive divisors $d$ of $\\_n$. Let $e = \\sum_{k=1}^{\\_m} \\phi(k) \\left\\lfloor \\frac{5}{k} \\right\\rfloor$. Compute $y = 2^{(x \\mod e)} \\mod 80482$. Determine the value of $Q = x + y$.", "answer": 29739, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(29483),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"x\"), modulus=Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(5), Var(\"k\"))))))), modulus=Const(80482))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "K3"], "recipe_id": "f0434d", "seed_template_id": "antilemma_k3_v1", "ending_id": "mod_exp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "K3"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T20:17:40.740706Z", "verification": {"verified": true, "answer": 29739, "timestamp": "2026-02-08T20:17:40.741716Z"}, "problem_hash": "6c2163", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 512}, "timestamp": "2026-02-13T01:19:50.057Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "K3": "ok", "COUNT_PRIMES": "no", "K16": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d271f6", "alias": "nt_lcm_compute_v1_1439011603_2998", "problem": "Let $a = 2593$ and $b = 2407$. Define $L = \\mathrm{lcm}(a, b)$. Let $c$ be the number of positive integers $p$ for which there exists an integer $q$ such that $p \\cdot q = 183220596809250$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when $c - L$ is divided by $86089$.", "answer": 43402, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2593),\n \"b\": Const(2407),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\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=183220596809250)), 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(86089)),\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"], "recipe_id": "c90628", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T17:08:54.564053Z", "verification": {"verified": true, "answer": 43402, "timestamp": "2026-02-08T17:08:54.568857Z"}, "problem_hash": "77e31d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 475}, "timestamp": "2026-02-12T22:07:34.544Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K16": "no", "K18": "no", "L3b": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "13467d", "alias": "antilemma_cartesian_v1_655260480_1855", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 7$ and $1 \\leq b \\leq 15$. Compute the remainder when $$\n\\left( x \\bmod 317 \\right) + 1009 \\cdot \\left( x \\bmod 313 \\right)\n$$ is divided by 74283.", "answer": 31767, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(15)))),\n \"_c\": Const(1009),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(317)), Mul(Ref(\"_c\"), Mod(value=Ref(\"x\"), modulus=Const(313)))), modulus=Const(74283)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:26:58.800291Z", "verification": {"verified": true, "answer": 31767, "timestamp": "2026-02-08T16:26:58.801313Z"}, "problem_hash": "db9cf1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 31667, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 248}, "timestamp": "2026-02-12T10:38:35.378Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d28f88", "alias": "comb_sum_binomial_mod_v1_124444284_2430", "problem": "Let $t$ be an integer for which there exist integers $a$ and $b$ satisfying\n\\[1\\le a\\le 187,\\quad 1\\le b\\le 21,\\quad 7\\le t\\le 479,\\quad t=2a+5b.\\]\nLet $K$ be the number of such integers $t$.\n\nLet\n\\[S=\\sum_{d\\mid K} \\varphi(d),\\]\nwhere the sum is over all positive divisors $d$ of $K$ and $\\varphi$ denotes Euler's totient function.\n\nLet $P$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=44$.\n\nDefine\n\\[R=\\sum_{k=78}^{S} \\binom{P}{k}.\\]\nLet $R_1$ be the remainder when $R$ is divided by $10243$, taken in $\\{0,1,2,\\dots,10242\\}$.\n\nLet $Q$ be the remainder when $81256\\cdot R_1$ is divided by $89155$, taken in $\\{0,1,2,\\dots,89154\\}$.\n\nCompute $Q$.", "answer": 16309, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(44),\n \"_m\": Const(81256),\n \"_n\": Const(89155),\n \"sum\": Summation(var=\"k\", start=Const(78), end=SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=187)), 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=479)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))), var='d', expr=EulerPhi(n=Var(name='d'))), expr=Binom(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(\"_c\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10243)),\n \"Q\": Mod(value=Mul(Ref(\"_m\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K3", "B1"], "recipe_id": "b44a4a", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "K3", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.039, "created_at": "2026-02-08T04:39:19.233870Z", "verification": {"verified": true, "answer": 16309, "timestamp": "2026-02-08T04:39:19.273217Z"}, "problem_hash": "e12d2a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 372, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:42:29.953Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 372, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:41:38.439Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 8192}, "timestamp": "2026-02-12T03:48:59.507Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 611}, "timestamp": "2026-02-12T02:19:02.330Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 6181}, "timestamp": "2026-02-12T00:53:10.057Z"}, {"id": 8, "model": "mathstral", "answer": 370, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 349, "completion_tokens": 1301}, "timestamp": "2026-02-13T21:57:58.494Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 384, "completion_tokens": 606}, "timestamp": "2026-02-11T21:39:37.109Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "K3": "ok_later", "K14": "no", "K5": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "9ea28f", "alias": "antilemma_cartesian_v1_48377204_2162", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 6$ and $1 \\leq b \\leq 47$.\n\nCompute $$\\sum_{n=1}^{x} \\phi(n),$$ where $\\phi$ denotes Euler's totient function.", "answer": 24232, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(6)), right=IntegerRange(start=Const(1), end=Const(47)))),\n \"Q\": Summation(var=\"n\", start=Binom(n=Const(3), k=Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "recipe_id": "674433", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_0"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T16:37:38.487196Z", "verification": {"verified": true, "answer": 24232, "timestamp": "2026-02-08T16:37:38.488374Z"}, "problem_hash": "c47b7b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 410}, "timestamp": "2026-02-12T11:12:02.942Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e7bab3", "alias": "antilemma_v8_lucas_798873815_448", "problem": "Let $n = 65535$. Define $x$ to be the number of integers $j$ with $0 \\leq j \\leq 65535$ such that $\\binom{n}{j}$ is odd. Let $A$ be the number of positive integers $j$ with $1 \\leq j \\leq 5003$ and $j^5 \\leq 3134386256752025243$. Compute the remainder when\n\n$$\nx \\bmod 317 + (A \\cdot (x \\bmod 313))\n$$\n\nis divided by $56131$.", "answer": 34281, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65535),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(65535)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(317)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(5003)), Leq(Pow(Var(\"j\"), Const(5)), Const(3134386256752025243))), domain='positive_integers')), Mod(value=Ref(\"x\"), modulus=Const(313)))), modulus=Const(56131)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3", "V8"], "recipe_id": "aa607c", "seed_template_id": "antilemma_v8_lucas", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:38:49.481830Z", "verification": {"verified": true, "answer": 34281, "timestamp": "2026-02-08T02:38:49.483428Z"}, "problem_hash": "4c64e7", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34281, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 4035}, "timestamp": "2026-02-08T19:32:34.119Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34281, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 3089}, "timestamp": "2026-02-09T17:10:57.895Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:36:07.073Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 38825, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 492}, "timestamp": "2026-02-09T00:18:47.393Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34162, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 2816}, "timestamp": "2026-02-09T05:15:23.032Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "V8": "ok", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.59}, "split": "valid"} +{"id": "825336", "alias": "comb_count_permutations_fixed_v1_1440796553_1459", "problem": "Let $n$ 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 ordered pairs $(k, j)$ with $k \\in \\{1,2,3\\}$ and $j \\in \\{1,2,\\dots,7\\}$. Define $k = \\frac{4}{28}$ times the sum of $k$ over all elements of $S$. Let $\\binom{n}{k}$ denote the binomial coefficient and $!(n-k)$ denote the subfactorial of $n-k$. Compute the remainder when $91283 \\cdot \\binom{n}{k} \\cdot !(n-k)$ is divided by $88028$.", "answer": 18672, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88028),\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(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"k\": Div(Mul(Const(4), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(7)))), expr=Var(\"k\")))), Const(28)),\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(91283), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_INDEPENDENT", "lemma_paths": ["SUM_INDEPENDENT/SUM_ARITHMETIC", "B1"], "recipe_id": "bf2255", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T14:00:59.755771Z", "verification": {"verified": true, "answer": 18672, "timestamp": "2026-02-08T14:00:59.762179Z"}, "problem_hash": "87d554", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 517}, "timestamp": "2026-02-12T07:40:16.128Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "SUM_INDEPENDENT": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f27848", "alias": "nt_max_prime_below_v1_1520064083_1288", "problem": "Let $n_1$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(11, 13)$, and let $s$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$. Let $n = 5^3$ and $m = \\lambda(n) + 1$, where $\\lambda(n)$ is the Liouville function. Define $u = 11449 \\cdot s + m$. Let $p$ be the largest prime number less than or equal to $u$. Find the remainder when $44121 \\cdot p$ is divided by $61931$.", "answer": 5782, "graph": "graphs = [\n Graph(\n let={\n \"n1\": SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"s\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(5),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Mul(Const(11449), Ref(\"s\")), Ref(\"m\")),\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=Mul(Const(44121), Ref(\"result\")), modulus=Const(61931)),\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", "MOBIUS_SUM"], "recipe_id": "883872", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.267, "created_at": "2026-02-08T03:54:40.038874Z", "verification": {"verified": true, "answer": 5782, "timestamp": "2026-02-08T03:54:40.305693Z"}, "problem_hash": "45b20c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "C2": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "4eef33", "alias": "diophantine_fbi2_min_v1_809748730_1650", "problem": "Let $k$ be the number of integers $n$ such that $1 \\leq n \\leq 48$ and the sum of the decimal digits of $n$ is even. Let $S$ be the set of all integers $d$ such that $3 \\leq d \\leq 34$, $d$ divides $k$, and $\\frac{k}{d}$ is at least the number of positive integers $p$ for which there exists a positive integer $q$ satisfying $p \\cdot q = 216$, $\\gcd(p, q) = 1$, and $p < q$. Compute the minimum value of $d$ in $S$. Assume this set is nonempty.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(48)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"upper\": Const(34),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "L3B"], "recipe_id": "f7212b", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "L3B"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T12:36:42.146598Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T12:36:42.162372Z"}, "problem_hash": "84677f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 252, "completion_tokens": 294}, "timestamp": "2026-02-12T05:25:02.610Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "L3B": "ok", "COUNT_PRIMES": "no", "K13": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "62ff3b", "alias": "comb_count_surjections_v1_124444284_8925", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ with $i \\in \\{1, 2\\}$ and $j \\in \\{1, 2, 3\\}$. Let $k = 3$. Compute the remainder when $22965$ multiplied by $k! \\cdot S(n, k)$ is divided by $86026$, where $S(n, k)$ denotes the number of ways to partition a set of $n$ elements into $k$ nonempty unlabeled subsets.", "answer": 13356, "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(3)))),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": Const(22965),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(86026)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:58:58.090075Z", "verification": {"verified": true, "answer": 13356, "timestamp": "2026-02-08T11:58:58.091464Z"}, "problem_hash": "05f1df", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 13356, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 1291}, "timestamp": "2026-02-14T22:04:24.021Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 292}, "timestamp": "2026-02-12T04:55:07.445Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "91a8ba", "alias": "modular_product_range_v1_784195855_1884", "problem": "Let $P = \\prod_{i=121}^{191} i$, and let $r$ be the remainder when $P$ is divided by $10067$. Let $S$ be the set of all positive integers $n \\leq 1445$ such that $5$ divides $n$ and $\\gcd(n, 6) = 1$. Let $t = |S|$. Compute the remainder when\n$$\n353702 \\cdot (|r| \\bmod{t}) + 329703 \\cdot \\left(r^2 + \\phi(1) \\right) \\bmod{101} + 215534 \\cdot \\left(|r| + |r| + |r| \\right) \\bmod{103}\n$$\nis divided by $1009091$, and then take the remainder of that result when divided by $72754$.", "answer": 12148, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(121), end=Const(191)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10067)),\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\"), Const(1445)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), EulerPhi(n=Const(1))), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(30)), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(72754)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5", "ONE_PHI_1"], "recipe_id": "44c812", "seed_template_id": "modular_product_range_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "ONE_PHI_1"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T05:22:42.384292Z", "verification": {"verified": true, "answer": 12148, "timestamp": "2026-02-08T05:22:42.399071Z"}, "problem_hash": "556e01", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "ONE_PHI_1": "ok", "K15": "no", "K16": "no", "MOD_FACTORIAL": "no", "V1": "no", "V7": "no"}, "split": "valid"} +{"id": "9b0295", "alias": "antilemma_k2_v1_784195855_1818", "problem": "Let $m = 25$. Define $x$ to be $\\frac{5}{m}$ times the sum of $\\phi(k) \\left\\lfloor \\frac{258}{k} \\right\\rfloor$ over all integers $k$ from $1$ to $258$. Compute the remainder when $\\left( \\sum_{d \\mid 576} \\phi(d) \\right) - x$ is divided by $72029$.", "answer": 39194, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(25),\n \"x\": 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(1), end=Const(258)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(258), Var(\"k\"))))))), Ref(\"_m\")),\n \"Q\": Mod(value=Sub(SumOverDivisors(n=Const(value=576), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"x\")), modulus=Const(72029)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K3", "lemma_paths": ["K3", "SUM_INDEPENDENT", "K2"], "recipe_id": "941262", "seed_template_id": "antilemma_k2_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "K3", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:19:21.147482Z", "verification": {"verified": true, "answer": 39194, "timestamp": "2026-02-08T05:19:21.149995Z"}, "problem_hash": "69da4c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 49608, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 138, "completion_tokens": 2438}, "timestamp": "2026-02-12T06:49:14.896Z"}, {"id": 8, "model": "mathstral", "answer": 461, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 904}, "timestamp": "2026-02-14T12:39:32.877Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 532}, "timestamp": "2026-02-11T22:28:43.881Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "K3": "ok", "SUM_INDEPENDENT": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "K15": "no", "K18": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "66b7cc", "alias": "antilemma_cartesian_v1_655260480_4482", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer with $1 \\leq a \\leq 20$ and $b$ is an integer with $1 \\leq b \\leq 21$. Compute the remainder when $42380 \\cdot x$ is divided by $55087$.", "answer": 6499, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_c\": Const(42380),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(55087)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:57:38.268698Z", "verification": {"verified": true, "answer": 6499, "timestamp": "2026-02-08T17:57:38.269325Z"}, "problem_hash": "0726e5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 396}, "timestamp": "2026-02-12T23:25:25.262Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4c26f4", "alias": "antilemma_v8_lucas_153355830_1692", "problem": "Let $x$ be the number of nonnegative integers $j$ with $0 \\leq j \\leq 97277$ such that $\\binom{97277}{j}$ is odd. Let $y$ be the number of integers $n$ with $1 \\leq n \\leq 10007$ such that the sum of the decimal digits of $n$ is even. Compute the remainder when $x + y \\cdot (x \\bmod 499)$ is divided by $51451$, where $x$ is taken modulo $199$ before the addition.", "answer": 23274, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10007),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(97277)), Eq(Mod(value=Binom(n=Const(97277), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"x\"), modulus=Const(199)), Mul(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))))), Mod(value=Ref(\"x\"), modulus=Const(499)))), modulus=Const(51451)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B", "V8"], "recipe_id": "2181df", "seed_template_id": "antilemma_v8_lucas", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "V8"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:33:29.737230Z", "verification": {"verified": true, "answer": 23274, "timestamp": "2026-02-08T06:33:29.738985Z"}, "problem_hash": "3705d6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3B": "ok", "V8": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "K14": "no", "V1": "no"}, "split": "valid"} +{"id": "41d454", "alias": "nt_num_divisors_compute_v1_677425708_3315", "problem": "Let $n$ be the number of positive integers $j$ such that $1 \\leq j \\leq 6666$ and $j^5 \\leq 13162141234436220576$. Let $k$ be the number of positive divisors of $n$. Compute the remainder when $614457005396281911719245376458147484944339625028100715558602669760591667429389236064951934985985892264755001519059172197103127561521571414174815062998747295881245466101808759160614649812713307102739639583082931795221400051830202194531844123117657680196748435243146130117129743507633156554886943187896695034820489572393218739528213096969123191242480214751394314648709571398479315064553795797550138912148552106309615791598860770300269999467279222282542471094920584585490309396101206812906016066900124249764954300393274048507169604486459896991327493612311824217242943651773931644646969480476660186177488463807671924306902734668307299869662246980050761894594316823031993119719288518366055476418993107882689464024328932618693789797023707210738194501758372090654882442096434086256099293505619185406117465427596326624599016082779948517612120563278403649208404174870612429346917540601186082326962765292666229856605376484976441819066607515156955153096393252961926494613527245536868519123542391584471377158423109515979070641132542569257181047092601859544712636732878894311946966371326430251648572256536224393968150336129555396095011790183849822364072466491576265775866207195050429992070171974871710882257533543267443891804559107685524639459250808041847070689150221939958730605674951143331847358533262079452582346457883740461202046261630262156921605460767848909932668446869543434025089196561598032229457773854582959943692622254551622880477909173847955638654607791432284569114012632708915111488094114961670410290809639846917173624832516161812243081865562370506253147501177402043005266188145470429798792276437292016030612470742891032639728704340892771949451717474056711870474718693564457592837039784338870858603117883871575757811682605403724263349406440455650948662873786011482355178799207842529539700026799639442184301317021433029006222319780880241717070347651199081000712639630228008791775923847201086629785197893541202686488493665930555225853909223751726243237887516538758482279290403898117288340250711094173911417503790901208007325852739352667546718286237476600864772460629626323615428010441694320056772979988621729482654200798217517838299771889128338955527187572544488892395463971440372151729260537075954574594889341668742379412609176448886376042412325887061437706139283358482017170048642447851938039147183973761966652701235959410998068185630734584900748990224652232569958367732722130649876503704167633835772031775537418587244307138553801049748723092402935069036563086453327538674627869783357800489056515303298806206339795300187335002681730477561989151139879231559882470766882020880675029669789818218849305588633340149599154435305188325749046569700607049279842534407484495064331255462029799497294797852731679106162928897859384009467097886646039544066389592829658953247794697290408975560781970319601216088581062812445286978343007964144552381356884711868388300921999524091)$ is divided by $11$, raised to the power $k$.", "answer": 47792, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6666),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Ref(\"_n\")), Leq(Pow(Var(\"j\"), Const(5)), Const(13162141234436220576))), domain='positive_integers')),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mul(MaxKDivides(target=Mul(Const(6144570053962819117192453764581474849443396250281007155586026697605916674293892360649519349859858922647550015190591721971031275615215714141748150629987472958812454661018087591606146498127133071027396395830829317952214000518302021945318441231176576801967484352431461301171297435076331565548869431878966950348204895723932187395282130969691231912424802147513943146487095713984793150645537957975501389121485521063096157915988607703002699994672792222825424710949205845854903093961012068129060160669001242497649543003932740485071696044864598969913274936123118242172429436517739316446469694804766601861774884638076719243069027346683072998696622469800507618945943168230319931197192885183660554764189931078826894640243289326186937897970237072107381945017583720906548824420964340862560992935056191854061174654275963266245990160827799485176121205632784036492084041748706124293469175406011860823269627652926662298566053764849764418190666075151569551530963932529619264946135272455368685191235423915844713771584231095159790706411325425692571810470926018595447126367328788943119469663713264302516485722565362243939681503361295553960950117901838498223640724664915762657758662071950504299920701719748717108822575335432674438918045591076855246394592508080418470706891502219399587306056749511433318473585332620794525823464578837404612020462616302621569216054607678489099326684468695434340250891965615980322294577738545829599436926222545516228804779091738479556386546077914322845691140126327089151114880941149616704102908096398469171736248325161618122430818655623705062531475011774020430052661881454704297987922764372920160306124707428910326397287043408927719494517174740567118704747186935644575928370397843388708586031178838715757578116826054037242633494064404556509486628737860114823551787992078425295397000267996394421843013170214330290062223197808802417170703476511990810007126396302280087917759238472010866297851978935412026864884936659305552258539092237517262432378875165387584822792904038981172883402507110941739114175037909012080073258527393526675467182862374766008647724606296263236154280104416943200567729799886217294826542007982175178382997718891283389555271875725444888923954639714403721517292605357075954574594889341668742379412609176448886376042412325887061437706139283358482017170048642447851938039147183973761966652701235959410998068185630734584900748990224652232569958367732722130649876503704167633835772031775537418587244307138553801049748723092402935069036563086453327538674627869783357800489056515303298806206339795300187335002681730477561989151139879231559882470766882020880675029669789818218849305588633340149599154435305188325749046569700607049279842534407484495064331255462029799497294797852731679106162928897859384009467097886646039544066389592829658953247794697290408975560781970319601216088581062812445286978343007964144552381356884711868388300921999524091), Const(71032821827017771286510522062262597332958177151227311373496600990580619949919030808311348293017761735613702527184554895278851426840701811420579182843638753295239779368531601450505022187732255020741074425304468885962503612261349776823836313749308681)), base=Const(11)), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["K13", "C3"], "recipe_id": "286277", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "K13"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T05:39:00.354655Z", "verification": {"verified": true, "answer": 47792, "timestamp": "2026-02-08T05:39:00.356081Z"}, "problem_hash": "7f436b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C3": "ok", "K13": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V7": "no"}, "split": "valid"} +{"id": "ee0e9c", "alias": "antilemma_sum_primes_v1_1125832087_843", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ where $i$ is an integer from 1 to 4 and $j$ is an integer from 1 to 110, such that $\\gcd(i, j) = \\varphi(1)$, where $\\varphi$ is Euler's totient function. Let $n$ be the number of elements in $S$. Compute the sum of all prime numbers $p$ such that $2 \\le p \\le n$.", "answer": 8275, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=Const(1))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(110))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["COUNT_COPRIME_GRID/SUM_PRIMES", "SUM_PRIMES", "ONE_PHI_1"], "recipe_id": "1f0741", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "ONE_PHI_1", "SUM_PRIMES"], "num_lemmas": 4, "generation_time": 0.037, "created_at": "2026-02-08T03:20:38.198532Z", "verification": {"verified": true, "answer": 8275, "timestamp": "2026-02-08T03:20:38.235463Z"}, "problem_hash": "6453be", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "SUM_PRIMES": "ok", "K13": "no", "K17": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V8": "no"}, "split": "valid"} +{"id": "d2dfbd", "alias": "comb_count_partitions_v1_124444284_8250", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\leq a \\leq 4$ and $b$ is an integer with $1 \\leq b \\leq 11$. Compute the number of integer partitions of $n$.", "answer": 75175, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(11)))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T09:37:09.754837Z", "verification": {"verified": true, "answer": 75175, "timestamp": "2026-02-08T09:37:09.757202Z"}, "problem_hash": "d06c1c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 75175, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 108, "completion_tokens": 774}, "timestamp": "2026-02-14T05:12:45.631Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 270}, "timestamp": "2026-02-12T03:03:39.888Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "4927a8", "alias": "diophantine_product_count_v1_124444284_8336", "problem": "Let $k = 840$ and let $u = 378$. Define $S$ to be the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Let $r$ be the number of elements in $S$.\n\nLet $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 98$, and let $p_{\\max}$ be the maximum element of $P$. Let $T$ be the set of all integers $d \\geq 2$ that divide $1201289$, and let $d_{\\min}$ be the minimum element of $T$.\n\nCompute the value of\n$$\nQ = \\left( 353702 \\cdot (r \\bmod p_{\\max}) + 329703 \\cdot (r^2 \\bmod 101) + 215534 \\cdot (r \\bmod 31) \\right) \\bmod 1009091\n$$\nand then find $Q \\bmod 51322$.", "answer": 37245, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(98),\n \"_n\": Const(101),\n \"k\": Const(840),\n \"upper\": Const(378),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(31),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1201289)))))))), modulus=Const(1009091)), modulus=Const(51322)),\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"], "recipe_id": "d42f47", "seed_template_id": "diophantine_product_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.029, "created_at": "2026-02-08T09:38:59.304255Z", "verification": {"verified": true, "answer": 37245, "timestamp": "2026-02-08T09:38:59.332792Z"}, "problem_hash": "fae8dd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38303, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 3342}, "timestamp": "2026-02-14T05:33:42.380Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 365, "completion_tokens": 517}, "timestamp": "2026-02-12T03:05:30.945Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "9529df", "alias": "nt_euler_phi_compute_v1_784195855_1856", "problem": "Let $m = 245$ and $n = 78400$. Let $p$ be the smallest divisor of $m$ that is at least $2$. Compute\n$$\ns = ( (p-1)! + 1 ) \\bmod p.\n$$\nLet $A$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 4244$ and $\\binom{4244}{j}$ is odd. Let $n_1 = |A| + 12$. Define\n$$\nt = \\sum_{d \\mid n_1} \\mu(d),\n$$\nwhere $\\mu$ is the M\\\"obius function. Let $N = n + s + t$. Compute $\\phi(N)$, Euler's totient function evaluated at $N$.", "answer": 26880, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(245),\n \"_n\": Const(78400),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"s\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n1\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(4244)), Eq(Mod(value=Binom(n=Const(4244), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(12)),\n \"t\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Ref(\"_n\"), Ref(\"s\"), Ref(\"t\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/WILSON", "V8/MOBIUS_SUM"], "recipe_id": "d7a67c", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_SUM", "V8", "WILSON"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T05:22:20.727634Z", "verification": {"verified": true, "answer": 26880, "timestamp": "2026-02-08T05:22:20.732547Z"}, "problem_hash": "75debb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "MOBIUS_SUM": "ok_later", "WILSON": "ok_later", "K17": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "42ef69", "alias": "nt_max_prime_below_v1_1125832087_1225", "problem": "Let $p_1 < p_2 < \\cdots < p_k$ be the prime numbers in the interval $[2, 80089]$. Let $m = 2$ and let $d_0$ be the smallest divisor of $29693347$ that is at least $m$. Let $S$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq d_0$. Let $A = |S|$ and let $B$ be the largest prime number in $[2, 80089]$. Compute the remainder when $A \\cdot B$ is divided by $67852$.", "answer": 23803, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(67852),\n \"upper\": Const(80089),\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=Mul(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(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(29693347)))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "c221fd", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.918, "created_at": "2026-02-08T03:37:21.365051Z", "verification": {"verified": true, "answer": 23803, "timestamp": "2026-02-08T03:37:23.282878Z"}, "problem_hash": "289274", "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": 249, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:10:30.838Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 8192}, "timestamp": "2026-02-10T13:58:09.742Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 8192}, "timestamp": "2026-02-11T15:05:53.533Z"}, {"id": 8, "model": "mathstral", "answer": 12235, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 227}, "timestamp": "2026-02-12T19:46:18.763Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 421}, "timestamp": "2026-02-11T21:03:27.273Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_COPRIME_GRID": "no", "K16": "no", "K18": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "31b12f", "alias": "nt_sum_phi_v1_798873815_526", "problem": "Let $d$ be a positive integer such that $1 \\leq d \\leq 484$ and $d$ divides $235708$. Let $D$ be the largest such $d$. Let $T$ be the set of all positive integers $n$ such that $1 \\leq n \\leq D$. For each $n$, let $\\phi(n)$ denote Euler's totient function. Compute the remainder when $44121$ times the sum of $\\phi(n)$ over all $n \\in T$ is divided by $90821$.", "answer": 450, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(484),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(235708))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(90821)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T02:40:28.072667Z", "verification": {"verified": true, "answer": 450, "timestamp": "2026-02-08T02:40:28.098653Z"}, "problem_hash": "e1d3fe", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:42:40.718Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 8192}, "timestamp": "2026-02-09T18:24:31.722Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:48:50.135Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 8192}, "timestamp": "2026-02-09T01:16:28.535Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 5721}, "timestamp": "2026-02-09T06:41:20.433Z"}, {"id": 8, "model": "mathstral", "answer": 44121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 587}, "timestamp": "2026-02-11T02:53:02.254Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 400}, "timestamp": "2026-02-11T19:39:44.401Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "DS2": "no", "K17": "no", "L3c": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "53fe92", "alias": "antilemma_cartesian_v1_655260480_2256", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 28$ and $1 \\leq j \\leq 29$. Compute the Bell number corresponding to $x \\bmod 11$.", "answer": 21147, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(29)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='x')), modulus=Const(11))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:38:58.860793Z", "verification": {"verified": true, "answer": 21147, "timestamp": "2026-02-08T16:38:58.861393Z"}, "problem_hash": "ba852c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 36, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 202}, "timestamp": "2026-02-12T11:08:09.731Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "966536", "alias": "nt_min_phi_inverse_v1_2051736721_5250", "problem": "Let $S$ be the set of all ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 33$ such that $\\gcd(i,j) = 1$. Let $u$ be the number of elements in $S$. Let $T$ be the set of all ordered pairs $(i_1,j_1)$ with $1 \\le i_1 \\le 12$ and $1 \\le j_1 \\le 13$ such that $i_1 + j_1 = 14$. Let $k$ be the number of elements in $T$. Determine the value of the smallest positive integer $n$ such that $1 \\le n \\le u$ and $\\phi(n) = k$, where $\\phi$ denotes Euler's totient function.", "answer": 13, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"upper\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(33))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i1\"), Var(\"j1\")]), condition=Eq(Sum(Var(\"i1\"), Var(\"j1\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=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": "B3", "lemma_paths": ["COUNT_COPRIME_GRID", "COUNT_SUM_EQUALS"], "recipe_id": "8791b6", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COUNT_COPRIME_GRID", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.099, "created_at": "2026-02-08T18:27:07.983837Z", "verification": {"verified": true, "answer": 13, "timestamp": "2026-02-08T18:27:08.082564Z"}, "problem_hash": "ec44cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 48, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 544}, "timestamp": "2026-02-13T00:10:43.432Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "827a5e", "alias": "nt_sum_divisors_compute_v1_458359167_816", "problem": "Let $j_0$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 8842$ and $\\binom{8842}{j}$ is odd. Let $n_1 = j_0 + 11$. Let $e$ be the number of distinct prime factors of $n_1$. Let $p$ be the smallest integer $d \\geq 2$ that divides $640987$. Let $v$ be the remainder when $ (p-1)! + e $ is divided by $p$. Let $n = 20164 + v$. Let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Let $Q$ be the remainder when $44121 \\cdot \\sigma(n)$ is divided by $83207$. Compute $Q$.", "answer": 32265, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(8842)), Eq(Mod(value=Binom(n=Const(8842), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Const(11)),\n \"e\": SmallOmega(n=Ref(name='n1')),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(640987))))),\n \"v\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Mul(Const(1), Ref(\"e\"))), modulus=Ref(\"p\")),\n \"n\": Sum(Const(20164), Ref(\"v\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(83207)),\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", "V8/OMEGA_ONE"], "recipe_id": "ceae43", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "OMEGA_ONE", "V8", "WILSON"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T03:33:36.040749Z", "verification": {"verified": true, "answer": 32265, "timestamp": "2026-02-08T03:33:36.047171Z"}, "problem_hash": "57a256", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "OMEGA_ONE": "ok_later", "WILSON": "ok_later", "K15": "no", "L3b": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "valid"} +{"id": "5f788c", "alias": "diophantine_product_count_v1_1742523217_4617", "problem": "Let $k = 420$ and let $u = 99$. Determine the number of positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(420),\n \"upper\": Const(99),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/DIVISOR_PARITY", "BIG_OMEGA_ONE"], "recipe_id": "9d191a", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "BIG_OMEGA_ONE", "DIVISOR_PARITY"], "num_lemmas": 3, "generation_time": 0.052, "created_at": "2026-02-08T08:59:53.574367Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T08:59:53.626424Z"}, "problem_hash": "ea8b39", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 100, "completion_tokens": 1470}, "timestamp": "2026-02-13T23:08:37.845Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 482}, "timestamp": "2026-02-12T02:23:49.904Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "BIG_OMEGA_ONE": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "K15": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "123929", "alias": "modular_count_residue_v1_151522320_1906", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 49$. Define $\\sigma$ to be the minimum value of $x + y$ over all such pairs.\\\\\n\nLet $T$ be the set of all integers $t$ with $5 \\le t \\le 15$ for which there exist integers $a$ and $b$, each at least 1 and at most 3, such that $t = 2a + 3b$. Let $\\tau$ be the number of elements in $T$.\\\\\n\nLet $\\delta$ be the greatest common divisor of $\\tau$ and $\\sigma$.\\\\\n\nDefine $A$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\delta$, where $\\mu$ denotes the M\\\"obius function.\\\\\n\nLet $N$ be the number of integers $n$ such that $1 \\le n \\le 36100$, and $n \\equiv 0 \\pmod{11}$.\\\\\n\nCompute the remainder when $44121 \\cdot N$ is divided by $59492$.", "answer": 16965, "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(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(36100),\n \"m\": Const(11),\n \"r\": Const(0),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), 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=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'))))))))), 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 \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(59492)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/LIN_FORM/MOBIUS_COPRIME"], "recipe_id": "08e7f8", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 1.467, "created_at": "2026-02-08T04:27:25.477233Z", "verification": {"verified": true, "answer": 16965, "timestamp": "2026-02-08T04:27:26.944453Z"}, "problem_hash": "10133d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok_later", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "c053fd", "alias": "nt_count_divisible_v1_124444284_2574", "problem": "Let $c = 9$. Let $m$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 4$.\n\nLet $n$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 8$ and $1 \\le j \\le 8$ such that\n\\[i + j = c.\\]\n\nLet $d$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1 \\le a \\le 4, \\quad 1 \\le b \\le 2, \\quad 10 \\le t \\le 28, \\quad t = 4a + 6b.\\]\n\nLet\n\\[R\\] be the number of positive integers $n$ with $1 \\le n \\le 78400$ such that\n\\[n \\equiv \\sum_{k=0}^{m} (-1)^k \\binom{n}{k} \\pmod{d}.\n\\]\n\nCompute $R$.", "answer": 9800, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(9),\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_c\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(8)), right=IntegerRange(start=Const(1), end=Const(8))))),\n \"upper\": Const(78400),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Summation(var=\"k\", start=Const(0), end=Ref(\"_m\"), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Ref(\"_n\"), k=Var(\"k\")))))))),\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/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS/LIN_FORM/BINOMIAL_ALTERNATING"], "recipe_id": "b0a0b1", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 4, "generation_time": 5.541, "created_at": "2026-02-08T04:45:57.642749Z", "verification": {"verified": true, "answer": 9800, "timestamp": "2026-02-08T04:46:03.183502Z"}, "problem_hash": "676ca7", "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": 342, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:05:40.040Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:03:29.311Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 4722}, "timestamp": "2026-02-12T03:18:30.784Z"}, {"id": 8, "model": "mathstral", "answer": 19600, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 948}, "timestamp": "2026-02-14T00:36:58.236Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 554}, "timestamp": "2026-02-11T21:51:39.568Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "BINOMIAL_ALTERNATING": "ok_later", "LIN_FORM": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "dc52da", "alias": "sequence_count_fib_divisible_v1_1742523217_5655", "problem": "Let $n = 14$ and $d = 3$. Define $r$ to be the number of positive integers $n$ with $1 \\leq n \\leq 816$ such that $d$ divides the $n$-th Fibonacci number. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Define $m$ to be the maximum value of $xy$ over all such pairs. Let $g = \\gcd(m, n)$. Define $\\mu$-sum to be the sum of $\\mu(d)$ over all positive divisors $d$ of $g$, where $\\mu$ is the M\\\"obius function. Let $t = r + 1$. Compute the value of $r + \\phi(t) + \\tau(r + \\mu\\text{-sum})$, where $\\phi$ denotes Euler's totient function and $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 368, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"upper\": Const(816),\n \"d\": Const(3),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": 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=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x'), Var(name='y')))), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["B1/MOBIUS_COPRIME"], "recipe_id": "d77d29", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "arith_invariants", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.174, "created_at": "2026-02-08T11:08:39.680412Z", "verification": {"verified": true, "answer": 368, "timestamp": "2026-02-08T11:08:39.854883Z"}, "problem_hash": "100c30", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "split": "valid"} +{"id": "4e11ee", "alias": "sequence_count_fib_divisible_v1_1520064083_6539", "problem": "Let $n = 676$. Define $d_{\\text{max}}$ to be the largest positive divisor of 467116 that is at most $n$. Let $d = 14$. Determine the number of positive integers $n'$ such that $1 \\leq n' \\leq d_{\\text{max}}$ and $d$ divides the $n'$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$. Let $N$ be this count. Compute $$\\sum_{n=1}^{N} \\phi(n),$$ where $\\phi(n)$ is Euler's totient function.", "answer": 242, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(676),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(467116))))),\n \"d\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.091, "created_at": "2026-02-08T08:09:57.248380Z", "verification": {"verified": true, "answer": 242, "timestamp": "2026-02-08T08:09:57.339869Z"}, "problem_hash": "bfe1b0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 242, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 3193}, "timestamp": "2026-02-13T16:01:04.524Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 335}, "timestamp": "2026-02-12T01:39:18.873Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "K5": "no", "LTE_SUM": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e3ac5c", "alias": "nt_lcm_compute_v1_1978505735_3594", "problem": "Let $a = 2985$. Let $b$ be the number of ordered pairs $(i,j)$ such that $1 \\leq i \\leq 35$ and $1 \\leq j \\leq 59$. Compute the least common multiple of $a$ and $b$. Let $Q$ be the remainder when $44121$ times this least common multiple is divided by $50959$. Find the value of $Q$.", "answer": 22944, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(2985),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(35)), right=IntegerRange(start=Const(1), end=Const(59)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(50959)),\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"], "recipe_id": "409d7d", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:43:35.620749Z", "verification": {"verified": true, "answer": 22944, "timestamp": "2026-02-08T17:43:35.622766Z"}, "problem_hash": "afdacf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 40644, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 331}, "timestamp": "2026-02-12T23:06:08.169Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_PRIMES": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "L3b": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e1ab6a", "alias": "antilemma_cartesian_v1_1439011603_606", "problem": "Compute the number of ordered pairs $(a, b)$ such that $a$ is an integer satisfying $1 \\le a \\le 21$ and $b$ is an integer satisfying $1 \\le b \\le 27$. ", "answer": 567, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(27)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T15:37:26.093788Z", "verification": {"verified": true, "answer": 567, "timestamp": "2026-02-08T15:37:26.097503Z"}, "problem_hash": "6b6aea", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 567, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 164}, "timestamp": "2026-02-12T08:49:34.865Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "9e521f", "alias": "antilemma_v1_legendre_784195855_4216", "problem": "Let $m = 17$ and $n = 8908$. Let $x$ be the largest integer $k$ such that $m^k$ divides $n!$. Let $c$ be the smallest prime divisor of $75220913$. Compute the remainder when $c \\cdot x$ is divided by $89072$.", "answer": 1407, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(17),\n \"_n\": Const(8908),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=Ref(\"_m\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(75220913))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(89072)),\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", "V1"], "recipe_id": "645fcf", "seed_template_id": "antilemma_v1_legendre", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "V1"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T06:55:51.110837Z", "verification": {"verified": true, "answer": 1407, "timestamp": "2026-02-08T06:55:51.112280Z"}, "problem_hash": "b18c69", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V1": "ok", "K5": "same_pattern_wrong", "K17": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "cbad11", "alias": "sequence_fibonacci_compute_v1_1978505735_3959", "problem": "Let $s$ be the sum of all prime numbers $p$ such that $2 \\leq p \\leq 12$. Let $n$ be the largest prime number satisfying $2 \\leq n \\leq s$. Define $f$ to be the $n$th Fibonacci number. Compute the remainder when $95904 \\cdot f$ is divided by $87887$.", "answer": 6551, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95904),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), SumOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Const(12)), IsPrime(Var(\"n2\")))))), IsPrime(Var(\"n1\"))))),\n \"result\": Fibonacci(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(87887)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_PRIMES", "lemma_paths": ["SUM_PRIMES/MAX_PRIME_BELOW"], "recipe_id": "e7e4f9", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:56:21.245576Z", "verification": {"verified": true, "answer": 6551, "timestamp": "2026-02-08T17:56:21.248887Z"}, "problem_hash": "eead91", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 286}, "timestamp": "2026-02-12T23:22:34.741Z"}], "solution_status": 0, "lemma_applicability": {"SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K18": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a97387", "alias": "nt_count_digit_sum_v1_865884756_426", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 37$ and the sum of the digits of $n$ is odd. Let $T$ be the set of all positive integers $n_1$ such that $1 \\le n_1 \\le 126736$ and the sum of the digits of $n_1$ equals the number of elements in $S$. Let $U$ be the set of all positive integers $t$ such that $15 \\le t \\le 3351$ and there exist positive integers $a$, $b$ with $1 \\le a \\le 41$, $1 \\le b \\le 497$, satisfying $t = 9a + 6b$. Compute the remainder when $|U| - |T|$ is divided by $63253$.", "answer": 57262, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63253),\n \"upper\": Const(126736),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(37)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n1\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=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=41)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=497)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=3351)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "047cdd", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 6.716, "created_at": "2026-02-08T15:21:35.482240Z", "verification": {"verified": true, "answer": 57262, "timestamp": "2026-02-08T15:21:42.198482Z"}, "problem_hash": "66e88b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 508}, "timestamp": "2026-02-12T08:26:52.819Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "71dd4e", "alias": "comb_sum_binomial_mod_v1_1520064083_1975", "problem": "Let $m = 269$. Let $n$ be the number of prime numbers between $2$ and $m$, inclusive. Define\n$$\nS = \\sum_{k=17}^{n} \\binom{62}{k}.\n$$\nLet $R$ be the remainder when $S$ is divided by $11681$. Now, let $T$ be the number of integers $t$ such that $24 \\le t \\le 291$ and there exist integers $a$, $b$ with $1 \\le a \\le 4$, $1 \\le b \\le 64$, and\n$$\nt = 5a + 4b + 15.\n$$\nCompute the remainder when $T - R$ is divided by $88619$.", "answer": 87100, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(269),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"sum\": Summation(var=\"k\", start=Const(17), end=Ref(\"_n\"), expr=Binom(n=Const(62), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11681)),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=64)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=291)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=15)))))))), Ref(\"result\")), modulus=Const(88619)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COUNT_PRIMES/LIN_FORM"], "recipe_id": "df3c87", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.018, "created_at": "2026-02-08T04:26:39.371647Z", "verification": {"verified": true, "answer": 87100, "timestamp": "2026-02-08T04:26:39.389439Z"}, "problem_hash": "5ab61f", "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": 272, "completion_tokens": 8192}, "timestamp": "2026-02-11T09:12:24.951Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 272, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:36:48.225Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 256, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 6073}, "timestamp": "2026-02-12T00:34:05.759Z"}, {"id": 8, "model": "mathstral", "answer": 85619, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 749}, "timestamp": "2026-02-13T16:07:24.331Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 408}, "timestamp": "2026-02-11T21:31:24.607Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "K18": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "3333fd", "alias": "comb_sum_binomial_row_v1_1978505735_1759", "problem": "Let $T$ be the set of all integers $t$ such that $7 \\le t \\le 59$ and there exist positive integers $a$, $b$ with $1 \\le a \\le 7$, $1 \\le b \\le 9$, and $t = 2a + 5b$. Let $N$ be the number of elements in $T$. Define $S$ to be the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = N$. Let $n$ be the minimum value of $x + y$ over all such pairs. Compute $2^n$, and let $R = 2^n$. Find the remainder when $\\sum_{k=1}^{R} \\tau(k)$ is divided by $85281$, where $\\tau(k)$ denotes the number of positive divisors of $k$. Determine the value of this remainder.", "answer": 76271, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(85281),\n \"_n\": 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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=9)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=59)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Pow(Ref(\"_n\"), Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T16:23:27.818900Z", "verification": {"verified": true, "answer": 76271, "timestamp": "2026-02-08T16:23:27.822755Z"}, "problem_hash": "7138d8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 411}, "timestamp": "2026-02-12T10:33:35.053Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K17": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0d7245", "alias": "comb_catalan_compute_v1_458359167_2963", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\le a \\le 2$ and $b$ is an integer with $1 \\le b \\le 5$. Let $C_n$ denote the $n$th Catalan number, defined by $C_n = \\frac{1}{n+1} \\binom{2n}{n}$. Let $$\nQ = \\left( \\sum_{k=0}^{|C_n|} \\phi(k) \\right) \\bmod 52073,\n$$ where $\\phi(k)$ is Euler's totient function and $|C_n|$ denotes the absolute value of $C_n$. Compute $Q$.", "answer": 41306, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(52073),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Factorial(Const(0)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "recipe_id": "cb6f65", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.874, "created_at": "2026-02-08T06:52:03.525128Z", "verification": {"verified": true, "answer": 41306, "timestamp": "2026-02-08T06:52:04.399439Z"}, "problem_hash": "260d23", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 3778}, "timestamp": "2026-02-13T05:29:58.252Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 266, "completion_tokens": 386}, "timestamp": "2026-02-12T00:35:33.055Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_FACTORIAL_0": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c1714c", "alias": "comb_count_derangements_v1_1520064083_4307", "problem": "Let $ S $ be the set of all integers $ n $ such that $ 1 \\leq n \\leq 6 $ and $ n \\equiv \\sum_{d \\mid 41} \\mu(d) \\pmod{3} $, where $ \\mu $ denotes the Möbius function. Let $ N $ be the largest prime number satisfying $ 2 \\leq N \\leq \\sum_{n \\in S} n $. Compute the multiplicative order of $ 2 $ modulo $ 2 \\cdot !N + 3 $, where $ !N $ denotes the number of derangements of $ N $ objects.", "answer": 1236, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(6)), Eq(Mod(value=Var(\"n\"), modulus=Const(3)), SumOverDivisors(n=Const(value=41), var='d', expr=MoebiusMu(n=Var(name='d')))))))), IsPrime(Var(\"n\"))))),\n \"result\": Subfactorial(arg=Ref(name='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": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MAX_PRIME_BELOW", "MOBIUS_SUM"], "recipe_id": "5eb354", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T06:12:34.407971Z", "verification": {"verified": true, "answer": 1236, "timestamp": "2026-02-08T06:12:34.412921Z"}, "problem_hash": "2e0087", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_SUM": "ok", "SUM_DIVISIBLE": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "3ef9b8", "alias": "antilemma_product_of_sums_v1_458359167_528", "problem": "Let $d$ be the greatest common divisor of $13$ and $17$. Let $\\mu$ denote the M\\\"obius function. Let $s = \\sum_{k=1}^{m} k$, where $m$ is the smallest positive integer $n$ such that the largest $k$ for which $3^k$ divides $n!$ is at least $4$. Let $T$ be the set of all ordered pairs $(k, j)$ where $k$ is an integer from $1$ to $9$ and $j$ is an integer from $1$ to $10$. Let $x = s \\cdot \\left( \\sum_{(k,j) \\in T} k \\right)$. Compute the remainder when\n\n$$\n\\sum_{n=1}^{|x|} \\tau(n)\n$$\n\nis divided by $96675$, where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 10594, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"x\": Mul(Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Ref(\"_n\")), domain='Z_{>0}')), 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(9)), right=IntegerRange(start=Const(1), end=Const(10)))), expr=Var(\"k\")))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='x')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(96675)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["V5/SUM_ARITHMETIC", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS"], "recipe_id": "cefdee", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC", "V5"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T03:23:42.075163Z", "verification": {"verified": true, "answer": 10594, "timestamp": "2026-02-08T03:23:42.078473Z"}, "problem_hash": "36cb87", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "PRODUCT_OF_SUMS": "ok", "V5": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "7d6597", "alias": "antilemma_v1_legendre_784195855_3289", "problem": "Let $n = 50$. Let $x$ be the largest integer $k$ such that $13^k$ divides $43563!$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Compute the remainder when\n$$\nx^{|S|} + 50x + 595\n$$\nis divided by $88994$.", "answer": 84273, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50),\n \"x\": MaxKDivides(target=Factorial(Const(43563)), base=Const(13)),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Mul(Ref(\"_n\"), Ref(\"x\")), Const(595)), modulus=Const(88994)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "V1"], "recipe_id": "826812", "seed_template_id": "antilemma_v1_legendre", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "V1"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:19:33.365569Z", "verification": {"verified": true, "answer": 84273, "timestamp": "2026-02-08T06:19:33.367496Z"}, "problem_hash": "84d48c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "V1": "ok", "K5": "same_pattern_wrong", "L3c": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V7": "no"}, "split": "valid"} +{"id": "635e8e", "alias": "diophantine_product_count_v1_677425708_145", "problem": "Let $k = 360$ and $m = 254$. Consider the set of all positive integers $x$ such that $1 \\le x \\le m$, $x$ divides $k$, and $\\frac{k}{x} \\le m$. Let $r$ be the number of such integers $x$. Let $a = r^2 + 29r$. Let $b = \\sum_{k=1}^{6} \\phi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor$, where $c = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$ and $\\phi$ denotes Euler's totient function. Compute $a + b$. Determine the value of this sum.", "answer": 1143, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(29),\n \"k\": Const(360),\n \"upper\": Const(254),\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\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Summation(var=\"k\", start=Const(1), end=Const(6), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/K2"], "recipe_id": "c37b8c", "seed_template_id": "diophantine_product_count_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2"], "num_lemmas": 1, "generation_time": 0.026, "created_at": "2026-02-08T03:06:41.676576Z", "verification": {"verified": true, "answer": 1143, "timestamp": "2026-02-08T03:06:41.702832Z"}, "problem_hash": "33a44e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 286, "completion_tokens": 1978}, "timestamp": "2026-02-08T20:20:02.005Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 282, "completion_tokens": 1845}, "timestamp": "2026-02-09T23:33:31.014Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 237, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:27:15.278Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 1143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 994}, "timestamp": "2026-02-12T01:18:20.896Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1143, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 213, "completion_tokens": 1502}, "timestamp": "2026-02-10T04:49:23.991Z"}, {"id": 8, "model": "mathstral", "answer": 1214, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 241, "completion_tokens": 547}, "timestamp": "2026-02-11T15:24:03.235Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 397}, "timestamp": "2026-02-11T20:23:41.825Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "L3b": "no", "LTE_DIFF_P2": "no", "V1": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "54fb11", "alias": "comb_count_partitions_v1_1874849503_1046", "problem": "Let $\\phi(n)$ denote Euler's totient function. Let $m$ be the largest prime number less than or equal to $112$. For each integer $k$ from $1$ to $9$, let $c_k$ be the number of positive integers $n \\leq m$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$, and define $a_k = \\phi(k) \\cdot \\left\\lfloor \\frac{c_k}{k} \\right\\rfloor$. Let $n = \\sum_{k=1}^{9} a_k$. Compute the number of integer partitions of $n$.", "answer": 89134, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(112),\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\": Const(9),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(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=11))))), Var(\"k\"))))),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/L3C/K2"], "recipe_id": "82dcf6", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:32:31.799300Z", "verification": {"verified": true, "answer": 89134, "timestamp": "2026-02-08T13:32:31.802794Z"}, "problem_hash": "fbc63f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 89134, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 260, "completion_tokens": 2908}, "timestamp": "2026-02-10T00:20:09.451Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 255, "completion_tokens": 580}, "timestamp": "2026-02-11T21:11:32.118Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "K2": "ok_later", "L3C": "ok_later", "COUNT_COPRIME_GRID": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "valid"} +{"id": "d7723b", "alias": "nt_count_divisible_v1_1742523217_2143", "problem": "Let $n_1 = 210947$. Let $m = \\mu(n_1)^k$, where $\\mu$ denotes the M\\\"obius function and $k$ is the number of ordered pairs $(p, q)$ of positive integers such that $p \\cdot q = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $p = 11$, $q = 83$, and $n = p \\cdot q$. Define $c = \\lambda(n)$, where $\\lambda$ denotes the Liouville function. Let $\\text{result}$ be the number of positive integers $n$ at most $40401$ that are divisible by $7$. Define $Q = \\text{result} + \\varphi(|\\text{result}| + c) + \\tau(|\\text{result}| + m)$, where $\\varphi$ is Euler's totient function and $\\tau$ counts the number of positive divisors. Compute $Q$.", "answer": 7523, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(210947),\n \"m\": Pow(MoebiusMu(n=Ref(name='n1')), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=24)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))),\n \"p\": Const(11),\n \"q\": Const(83),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Const(40401),\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\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Ref(\"c\"))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Ref(\"m\")))),\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/MOBIUS_SQUAREFREE", "LIOUVILLE_ONE"], "recipe_id": "dba6e4", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "LIOUVILLE_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 1.895, "created_at": "2026-02-08T04:30:11.241360Z", "verification": {"verified": true, "answer": 7523, "timestamp": "2026-02-08T04:30:13.136352Z"}, "problem_hash": "debcea", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "K16": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "70eabf", "alias": "modular_count_residue_v1_1978505735_44", "problem": "Let $m = 30$ and let $\\_m = 35$, $\\_n = 44$. Define $r$ to be the number of positive integers $n$ such that $1 \\leq n \\leq 72$, $8$ divides $n$, and $\\gcd(n, 35) = 1$. Let $\\text{upper} = 45360$. Let $\\text{result}$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq \\text{upper}$ and $n_1 \\equiv r \\pmod{m}$. Compute\n\\[\n353702 \\cdot (\\text{result} \\bmod 97) + 329703 \\cdot \\left((\\text{result}^2 + 1) \\bmod d\\right) + 215534 \\cdot \\left((\\text{result} + 44) \\bmod 103\\right),\n\\]\nwhere $d$ is the smallest divisor of $106121003$ that is at least $2$. Find the remainder when this value is divided by $93178$.", "answer": 42575, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": Const(44),\n \"upper\": Const(45360),\n \"m\": Const(30),\n \"r\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(72)), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n1\"), modulus=Ref(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(106121003))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_n\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(93178)),\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", "C5"], "recipe_id": "9c9c7a", "seed_template_id": "modular_count_residue_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.572, "created_at": "2026-02-08T15:10:06.241686Z", "verification": {"verified": true, "answer": 42575, "timestamp": "2026-02-08T15:10:07.814073Z"}, "problem_hash": "7c2d42", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 368, "completion_tokens": 479}, "timestamp": "2026-02-12T07:53:26.478Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "75ccec", "alias": "nt_num_divisors_compute_v1_168721529_774", "problem": "Let $m = 121$. Define $n = \\sum_{k=1}^{m} \\phi(k) \\left\\lfloor \\frac{121}{k} \\right\\rfloor$, where $\\phi(k)$ denotes Euler's totient function. Let $d$ be the number of positive divisors of $n$. Let $S$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 28$. Compute $d + 2^{d \\bmod |S|} \\bmod 96643$, where $|S|$ denotes the number of elements in $S$.", "answer": 70, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(121),\n \"_n\": Const(2),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(121), Var(\"k\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Ref(\"_n\"), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(28))))))), modulus=Const(96643))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COMB1", "K2"], "recipe_id": "5be02d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COPRIME_PAIRS", "K2"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T13:17:22.374267Z", "verification": {"verified": true, "answer": 70, "timestamp": "2026-02-08T13:17:22.384811Z"}, "problem_hash": "d0b760", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 70, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 1878}, "timestamp": "2026-02-09T09:02:51.210Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 264, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 617}, "timestamp": "2026-02-09T21:26:36.870Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 556}, "timestamp": "2026-02-12T06:31:14.136Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "K2": "ok", "K13": "no", "K15": "no", "L3b": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -5.31, "mid": -1.88, "hi": 1.92}, "split": "valid"} +{"id": "d47190", "alias": "algebra_vieta_sum_v1_865884756_5574", "problem": "Let $f(x) = 2x^4 - 30x^3 + 146x^2 - 258x + c$, where $c$ is the number of positive integers $n \\leq 1836$ such that $\\gcd(n, 35) = 1$ and $d \\mid n$, where $d$ is the maximum value of $xy$ over all pairs of positive integers $(x, y)$ satisfying $x + y = 6$. Let $P$ be the product of all real roots of $f(x) = 0$. Compute the Fibonacci entry point of $|P| + 2$, that is, the smallest positive integer $k$ for which the $k$-th Fibonacci number is divisible by $|P| + 2$. Find the value of this $k$.", "answer": 12, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(1836),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Mul(Const(value=2), Pow(base=Var(name='x'), exp=Const(value=4))), Mul(Const(value=-30), Pow(base=Var(name='x'), exp=Const(value=3))), Mul(Const(value=146), Pow(base=Var(name='x'), exp=Ref(name='_m'))), Mul(Const(value=-258), Var(name='x')), CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Ref(name='_n')), Divides(divisor=MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(name='x1'), Var(name='y')]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='y')), Eq(left=Sum(Var(name='x1'), Var(name='y')), right=Const(value=6)))), expr=Mul(Var(name='x1'), Var(name='y')))), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=35)), right=Const(value=1)))))), right=Const(value=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": "B1", "lemma_paths": ["B1/C5"], "recipe_id": "3d6f81", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "C5"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T18:42:15.471393Z", "verification": {"verified": true, "answer": 12, "timestamp": "2026-02-08T18:42:15.485673Z"}, "problem_hash": "bc6c40", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 284, "completion_tokens": 513}, "timestamp": "2026-02-13T00:24:01.455Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "C5": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "K5": "no", "LTE_SUM": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "285d1e", "alias": "sequence_count_fib_divisible_v1_349078426_1985", "problem": "Let $A$ be the number of integers $t$ with $9 \\leq t \\leq 932$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 32$, $1 \\leq b \\leq 354$, and $t = 7a + 2b$. Let $d$ be the number of positive integers $n$ with $1 \\leq n \\leq 9$ such that the sum of the decimal digits of $n$ is even. Determine the number of positive integers $n$ with $1 \\leq n \\leq A$ such that $d$ divides the $n$th Fibonacci number.", "answer": 153, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9),\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=32)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=354)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=932)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"d\": 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\": 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": "C4", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "L3B", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.159, "created_at": "2026-02-08T14:02:33.115357Z", "verification": {"verified": true, "answer": 153, "timestamp": "2026-02-08T14:02:33.274551Z"}, "problem_hash": "596222", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 381}, "timestamp": "2026-02-12T07:41:51.585Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "L3b": "no", "MAX_VAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d49190", "alias": "nt_sum_divisors_range_v1_349078426_1847", "problem": "Let $n = 73517$. Let $U$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 77$ and $1 \\leq b \\leq 77$. For each integer $n$ from $1$ to $U$, inclusive, compute the number of positive divisors of $n$. Let $\\text{result}$ be the sum of these values.\n\nDefine $Q = (61048 \\cdot \\text{result}) \\bmod n$.\n\nFind the value of $Q$.", "answer": 71824, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(73517),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(77)), right=IntegerRange(start=Const(1), end=Const(77)))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Const(61048), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.269, "created_at": "2026-02-08T13:57:11.737793Z", "verification": {"verified": true, "answer": 71824, "timestamp": "2026-02-08T13:57:12.007196Z"}, "problem_hash": "223b42", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 379}, "timestamp": "2026-02-12T07:38:04.005Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K14": "no", "L3c": "no", "MOD_SUB": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "647cdc", "alias": "comb_factorial_compute_v1_1874849503_11", "problem": "Let $m=2$. Let $N$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 5$, $1\\le b\\le 3$, $24\\le t\\le 90$, and\n\\[\n t = 9a + 15b.\n\\]\n\nLet $n$ be the number of integers $k$ such that $\\varphi(2)\\le k\\le N$ and the remainder when the sum of the decimal digits of $k$ is divided by $m$ is $0$.\n\nLet $R = n!$ and let $M = |R| + 2$. Let $Q$ be the smallest positive integer index $k$ such that the $k$-th Fibonacci number is divisible by $M$.\n\nCompute $Q$.", "answer": 60, "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=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=24)), Leq(left=Var(name='t'), right=Const(value=90)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=15), Var(name='b'))))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"_n\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Ref(\"_m\")), Const(0))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/L3B", "ONE_PHI_2"], "recipe_id": "caa99a", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T12:45:54.933593Z", "verification": {"verified": true, "answer": 60, "timestamp": "2026-02-08T12:45:54.937493Z"}, "problem_hash": "94fb09", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 60, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 295, "completion_tokens": 6684}, "timestamp": "2026-02-09T12:45:57.193Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2520, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 7536}, "timestamp": "2026-02-10T01:41:49.391Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 8192}, "timestamp": "2026-02-10T02:08:33.294Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "L3B": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K17": "no", "MOD_ADD": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "b51604", "alias": "nt_sum_over_divisible_v1_1742523217_5238", "problem": "Let $g = \\gcd(9, 14)$. Define $m = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $S$ be the set of all positive integers $n$ such that $m \\leq n \\leq 35721$ and $n$ is divisible by $72$. Let $\\mathcal{S}$ be the sum of all elements in $S$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 49$, and let $\\sigma$ be the minimum value of $x + y$ over all such pairs. Let $Q$ be the remainder when $\\mathcal{S} + 2^{(\\mathcal{S} \\bmod \\sigma)}$ is divided by $94664$. Compute $Q$.", "answer": 70681, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(94664),\n \"upper\": Const(35721),\n \"divisor\": Const(72),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=9), b=Const(value=14)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))))), modulus=Ref(\"_n\"))), modulus=Const(94664)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "MOBIUS_COPRIME"], "recipe_id": "ea0c5f", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 1.267, "created_at": "2026-02-08T10:52:17.829515Z", "verification": {"verified": true, "answer": 70681, "timestamp": "2026-02-08T10:52:19.096165Z"}, "problem_hash": "e098c3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "C2": "no", "K14": "no", "L3b": "no", "MAX_VAL": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "eca7fa", "alias": "nt_gcd_compute_v1_548369836_150", "problem": "Let $a = 198450$ and $b = 368550$. Define $d$ as the greatest common divisor of $a$ and $b$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 5041$. Let $s_{\\min}$ be the minimum value of $x + y$ over all pairs in $S$. Now, let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = s_{\\min}$. Define $M$ as the maximum value of $xy$ over all pairs in $T$. Compute the value of $M + \\sum_{i=0}^{k-1} d_i (i+1)^2$, where $d_i$ is the $i$-th decimal digit of $|d|$ (starting from the units digit as $i=0$) and $k$ is the number of digits in $|d|$.", "answer": 5266, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(198450),\n \"b\": Const(368550),\n \"result\": GCD(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\")), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(5041)))), expr=Sum(Var(\"x\"), Var(\"y\"))))))), expr=Mul(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": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/B1"], "recipe_id": "b6e303", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T02:47:14.725467Z", "verification": {"verified": true, "answer": 5266, "timestamp": "2026-02-08T02:47:14.729173Z"}, "problem_hash": "4454ec", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 5266, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 325, "completion_tokens": 1200}, "timestamp": "2026-02-08T19:54:43.762Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5266, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 321, "completion_tokens": 1177}, "timestamp": "2026-02-09T20:20:52.027Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 5266, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 7522}, "timestamp": "2026-02-09T22:28:11.027Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 5097, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 641}, "timestamp": "2026-02-09T02:48:20.107Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5266, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 255, "completion_tokens": 1225}, "timestamp": "2026-02-09T09:28:13.238Z"}, {"id": 8, "model": "mathstral", "answer": 2648, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 278, "completion_tokens": 750}, "timestamp": "2026-02-11T03:39:29.334Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6361049, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 712}, "timestamp": "2026-02-11T19:42:05.981Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "b36beb", "alias": "nt_lcm_compute_v1_898971024_2543", "problem": "Let $A = 655$. Let $C$ be the number of positive integers $n$ such that $1 \\leq n \\leq N$ and $\\gcd(n, 20) = 1$, where $N$ is the number of positive integers at most $14398$ whose digit sum is even. Let $L$ be the least common multiple of $A$ and $C$. Compute the remainder when $21403 \\times L$ is divided by $75323$.", "answer": 72271, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(655),\n \"b\": 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(14398)), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Const(2)), Const(0)))))), Eq(GCD(a=Var(\"n\"), b=Const(20)), Const(1))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(21403),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(75323)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["L3B/C4"], "recipe_id": "a4175c", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "L3B"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:48:30.639148Z", "verification": {"verified": true, "answer": 72271, "timestamp": "2026-02-08T16:48:30.643795Z"}, "problem_hash": "5a6532", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 464}, "timestamp": "2026-02-12T21:10:18.083Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "C4": "ok_later", "DS2": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V1": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6c8b84", "alias": "algebra_quadratic_discriminant_v1_655260480_407", "problem": "Let $a = 1$, $b = 11$, and $c = 18$. Define the discriminant $D = b^2 - 4ac$. Let $r = 2$ if $D > 0$, $r = 1$ if $D = 0$, and $r = 0$ otherwise. Compute the Bell number $B_k$, where $k = |r| \\bmod 11$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(1),\n \"b\": Const(11),\n \"c\": Const(18),\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\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["B3", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.036, "created_at": "2026-02-08T15:22:14.698158Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T15:22:14.734156Z"}, "problem_hash": "e9a784", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 197, "completion_tokens": 235}, "timestamp": "2026-02-12T08:18:07.251Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "fb56a7", "alias": "nt_sum_gcd_range_mod_v1_1125832087_15", "problem": "Let $N$ be the number of unordered pairs $(p,q)$ of positive integers such that $p < q$, $\\gcd(p,q) = 1$, and $p \\cdot q = 131715434247159953035675238409000$. Let $k$ be the number of integers $t$ in the range $15 \\leq t \\leq 270$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 26$, $1 \\leq b \\leq 6$, and $t = 9a + 6b$. Let $S = \\sum_{n=1}^{N} \\gcd(n, k)$, and let $M = 11159$. Compute the remainder when $82474 \\cdot (S \\mod M)$ is divided by 75057.", "answer": 41089, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(82474),\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=131715434247159953035675238409000)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=26)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=270)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"M\": Const(11159),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(75057)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.094, "created_at": "2026-02-08T02:50:21.531005Z", "verification": {"verified": true, "answer": 41089, "timestamp": "2026-02-08T02:50:21.624673Z"}, "problem_hash": "b69df9", "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": 300, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:58:25.084Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 8192}, "timestamp": "2026-02-08T21:20:11.072Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:27:51.460Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 41235, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 726}, "timestamp": "2026-02-10T13:58:26.731Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 642, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 8188}, "timestamp": "2026-02-10T12:32:45.839Z"}, {"id": 8, "model": "mathstral", "answer": 19, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 1444}, "timestamp": "2026-02-11T04:22:27.983Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 318, "completion_tokens": 752}, "timestamp": "2026-02-11T19:43:54.764Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K17": "no", "K5": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "443988", "alias": "nt_sum_divisors_compute_v1_971394319_1265", "problem": "Let $n = 55696$. Define $\\text{result}$ to be the sum of all positive divisors of $n$. Let $c$ be the smallest integer greater than or equal to 2 that divides $5034311$. Let $p_{\\text{max}}$ be the largest prime number $p$ such that $2 \\leq p \\leq 105$. Compute the remainder when $$ 353702 \\cdot |\\text{result}| \\bmod 97 + 329703 \\cdot \\left(|\\text{result}|^2 + 1\\right) \\bmod 101 + 215534 \\cdot \\left(|\\text{result}| + c\\right) \\bmod p_{\\text{max}} $$ is divided by $1009091$, and then compute the remainder when that result is divided by $52779$.", "answer": 36539, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(52779),\n \"_n\": Const(97),\n \"n\": Const(55696),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(5034311))))),\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=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", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T13:34:06.149770Z", "verification": {"verified": true, "answer": 36539, "timestamp": "2026-02-08T13:34:06.156520Z"}, "problem_hash": "4e1053", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 487}, "timestamp": "2026-02-12T07:04:04.190Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bae6ee", "alias": "nt_count_digit_sum_v1_124444284_8991", "problem": "Let $T$ be the set of all positive integers $t$ such that $30 \\leq t \\leq 165$ and $t = 9a + 21b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 9$ and $1 \\leq b \\leq 4$. Let $N$ be the number of elements in $T$. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ is divisible by $34$. Define $\\sigma$ to be the sum of all elements in $S$. Now, let $R$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 416025$ and the sum of the decimal digits of $n$ equals $\\sigma$. Determine the value of the number of elements in $R$.", "answer": 8104, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(34),\n \"upper\": Const(416025),\n \"target_sum\": 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=9)), 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=30)), Leq(left=Var(name='t'), right=Const(value=165)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b')))))))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), 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": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_DIVISIBLE"], "recipe_id": "a67711", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 18.331, "created_at": "2026-02-08T12:06:50.910024Z", "verification": {"verified": true, "answer": 8104, "timestamp": "2026-02-08T12:07:09.240879Z"}, "problem_hash": "d1824e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38269, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 6542}, "timestamp": "2026-02-14T22:37:58.804Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 499}, "timestamp": "2026-02-12T04:58:44.177Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "8a961f", "alias": "antilemma_sum_primes_v1_151522320_1288", "problem": "Let $e=257$. For each integer $n$ with $1\\le n\\le 2056$, consider the $n$-th Fibonacci number $F_n$. Let $S$ be the set of all integers $n$ with $1\\le n\\le 2056$ such that $7$ divides $F_n$, and let $|S|$ denote the number of elements of $S$.\n\nFor each integer $j$ with $0\\le j\\le e$, consider the binomial coefficient $\\binom{|S|}{j}$ modulo $2$. Let $d$ be the number of integers $j$ with $0\\le j\\le e$ for which $\\binom{|S|}{j}\\equiv 1\\pmod{2}$.\n\nAmong all ordered pairs $(x,y)$ of positive integers such that $x+y=d$, let $m$ be the maximum possible value of the product $xy$.\n\nNext, among all ordered pairs $(x,y)$ of positive integers such that $xy=m$, consider the set of all values of $x+y$. Assume this set is nonempty, and let $L$ be the smallest element of this set. Let $x'$ be the sum of all prime numbers $n$ with $2\\le n\\le L$.\n\nLet $c=56287$, and define\n$$Q\\equiv c\\,x'\\pmod{96700}.$$\n\nFind the value of $Q$. (Your answer should be an integer between $0$ and $99999$, inclusive.)", "answer": 88035, "graph": "graphs = [\n Graph(\n let={\n \"_e\": Const(257),\n \"_d\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Ref(\"_e\")), Eq(Mod(value=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(2056)), Divides(divisor=Const(7), dividend=Fibonacci(arg=Var(name='n')))))), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Ref(\"_d\")))), expr=Mul(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\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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 \"_c\": Const(56287),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(96700)),\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/V8/B1/B3/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "caef59", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["B1", "B3", "COUNT_FIB_DIVISIBLE", "SUM_PRIMES", "V8"], "num_lemmas": 5, "generation_time": 0.006, "created_at": "2026-02-08T03:52:20.259303Z", "verification": {"verified": true, "answer": 88035, "timestamp": "2026-02-08T03:52:20.265133Z"}, "problem_hash": "2937d6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "SUM_PRIMES": "ok", "B1": "ok_later", "B3": "ok_later", "V8": "ok_later", "DS2": "no", "K15": "no", "K18": "no", "L3c": "no", "V3": "no"}, "split": "valid"} +{"id": "80d457", "alias": "antilemma_cartesian_v1_1978505735_4139", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 17$. Compute the remainder when $43955x$ is divided by $76862$.", "answer": 46799, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(17)))),\n \"_c\": Const(43955),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(76862)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:02:18.156063Z", "verification": {"verified": true, "answer": 46799, "timestamp": "2026-02-08T18:02:18.157000Z"}, "problem_hash": "ffb275", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 204}, "timestamp": "2026-02-12T23:38:02.572Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "99bb37", "alias": "geo_count_lattice_triangle_v1_784195855_2565", "problem": "Let $A$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 1427$, and let $a = |A|$. Let $B$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 3311$, $7 \\mid n$, and $\\gcd(n, 10) = 1$. Let $b = |B|$. Define\n\\[\n\\text{area}_{2x} = \\left| 225 \\cdot 222 + 190 \\cdot (0 - 240) \\right|\n\\]\nand\n\\[\n\\text{boundary} = \\gcd(a, 240) + \\gcd(|b - 225|, |222 - 240|) + \\gcd(190, 222).\n\\]\nLet $\\text{result} = \\frac{\\text{area}_{2x} + 2 - \\text{boundary}}{2}$. Compute the multiplicative order of $2$ modulo $2|\\text{result}| + 3$.", "answer": 2168, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(225),\n \"area_2x\": Abs(arg=Sum(Mul(Ref(name='_n'), Const(value=222)), Mul(Const(value=190), Sub(left=Const(value=0), right=Const(value=240))))),\n \"boundary\": Sum(GCD(a=Abs(arg=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Ref(name='_m')), Leq(left=Var(name='n'), right=Const(value=1427)), IsPrime(arg=Var(name='n')))))), b=Abs(arg=Const(value=240))), GCD(a=Abs(arg=Sub(left=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=3311)), Divides(divisor=Const(value=7), dividend=Var(name='n')), Eq(left=GCD(a=Var(name='n'), b=Const(value=10)), right=Const(value=1))))), right=Const(value=225))), b=Abs(arg=Sub(left=Const(value=222), right=Const(value=240)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=190))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=222))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": MultiplicativeOrder(base=Const(value=2), modulus=Sum(Mul(Abs(arg=Ref(name='result')), Const(value=2)), Const(value=3))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "C5"], "recipe_id": "429d02", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.015, "created_at": "2026-02-08T05:52:38.890217Z", "verification": {"verified": true, "answer": 2168, "timestamp": "2026-02-08T05:52:38.904754Z"}, "problem_hash": "2de8a3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "COUNT_PRIMES": "ok", "C2": "no", "DS2": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "5ffebd", "alias": "comb_catalan_compute_v1_898971024_603", "problem": "Let $m = 26$. Define $n$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $n_2$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\le i, j \\le 13$ such that $i + j = n$. Define\n$$\nh = \\sum_{k=0}^{n_2} (-1)^k \\binom{n_2}{k}.\n$$Let $n_1 = h$, and define\n$$\nu = \\sum_{k_1=0}^{n_1} (-1)^{k_1} \\binom{n_1}{k_1}.\n$$Let $n = 11u$. Compute the $n$-th Catalan number, denoted $C_n$.", "answer": 58786, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(26),\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 \"n2\": 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(13)), right=IntegerRange(start=Const(1), end=Const(13))))),\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\": Ref(\"h\"),\n \"u\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": Mul(Const(11), Ref(\"u\")),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING"], "recipe_id": "9319ab", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.025, "created_at": "2026-02-08T15:33:06.002527Z", "verification": {"verified": true, "answer": 58786, "timestamp": "2026-02-08T15:33:06.027448Z"}, "problem_hash": "111eb7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 720}, "timestamp": "2026-02-12T08:38:18.786Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_SUM_EQUALS": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c0e919", "alias": "geo_count_lattice_triangle_v1_1978505735_7208", "problem": "Let $A$ be twice the area of the triangle with vertices at $(100, 88)$, $(41, 100)$, and $(0, 0)$. Let $B$ be the sum of the greatest common divisors of the absolute differences of the coordinates along each side of the triangle, that is,\n$$\nB = \\gcd(|100|, |88|) + \\gcd(|100 - 41|, |100 - 88|) + \\gcd(|41 - 0|, |88 - 0|).\n$$\nLet $N = \\frac{A + 2 - B}{2}$. Compute the remainder when $44121 \\cdot N$ is divided by $98240$.", "answer": 46314, "graph": "graphs = [\n Graph(\n let={\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=100), Const(value=100)), Mul(Const(value=41), Sub(left=Const(value=0), right=Const(value=88))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Const(value=88))), GCD(a=Abs(arg=Sub(left=Const(value=41), right=Const(value=100))), b=Abs(arg=Sub(left=Const(value=100), right=Const(value=88)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=41))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=100))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(98240)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.005, "created_at": "2026-02-08T20:06:51.009159Z", "verification": {"verified": true, "answer": 46314, "timestamp": "2026-02-08T20:06:51.014038Z"}, "problem_hash": "08075b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 269, "completion_tokens": 498}, "timestamp": "2026-02-13T01:16:59.612Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "38dfb8", "alias": "nt_count_coprime_and_v1_1520064083_1590", "problem": "Let $A$ be the number of positive integers $n \\leq 34835$ such that $\\gcd(n, 7) = 1$ and $\\gcd(n, 9) = \\phi(2)$. Let $B$ be the number of positive integers $n \\leq 15488$ such that $21$ divides $F_n$, the $n$th Fibonacci number. Compute the remainder when $B - A$ is divided by $70480$.", "answer": 52510, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15488),\n \"upper\": Const(34835),\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\")), EulerPhi(n=Const(2)))))),\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(21), dividend=Fibonacci(arg=Var(name='n')))))), Ref(\"result\")), modulus=Const(70480)),\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", "ONE_PHI_2"], "recipe_id": "2df6d0", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 5.253, "created_at": "2026-02-08T04:07:44.296953Z", "verification": {"verified": true, "answer": 52510, "timestamp": "2026-02-08T04:07:49.549570Z"}, "problem_hash": "dda9a5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "ONE_PHI_2": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "LTE_SUM": "no"}, "split": "valid"} +{"id": "1bc616", "alias": "modular_product_range_v1_655260480_2371", "problem": "Let $p$ be the product of all integers from $91$ to $219$, inclusive. Let $r$ be the remainder when $p$ is divided by $11701$. Compute the remainder when $21657 \\cdot r$ is divided by $62777$.", "answer": 16207, "graph": "graphs = [\n Graph(\n let={\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(91), end=Const(219)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11701)),\n \"_c\": Const(21657),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(62777)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/B3"], "recipe_id": "9118ce", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "C3"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T16:41:26.358034Z", "verification": {"verified": true, "answer": 16207, "timestamp": "2026-02-08T16:41:26.370420Z"}, "problem_hash": "e34f72", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 691}, "timestamp": "2026-02-12T20:44:44.181Z"}], "solution_status": 0, "lemma_applicability": {"C3": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e0a769", "alias": "nt_sum_divisors_compute_v1_1742523217_4414", "problem": "Let $n = 14$ and $p_1 = 17$. Define $e$ to be the number of prime factors of $p_1$ counted with multiplicity. Let $p$ be $e$ multiplied by the number of positive integers $n$ at most 297 that are divisible by 3 and relatively prime to 14. Define $m$ to be the number of prime factors of $p$ counted with multiplicity. Let $n = 47524 \\cdot m$. Compute the sum of all positive divisors of $n$.", "answer": 83937, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"p1\": Const(17),\n \"e\": BigOmega(n=Ref(name='p1')),\n \"p\": Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(297)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))), Ref(\"e\")),\n \"m\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Const(47524), Ref(\"m\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/BIG_OMEGA_ONE"], "recipe_id": "b4170e", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "C5"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T07:17:06.791540Z", "verification": {"verified": true, "answer": 83937, "timestamp": "2026-02-08T07:17:06.794352Z"}, "problem_hash": "01695a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "BIG_OMEGA_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "split": "valid"} +{"id": "ef7fdd", "alias": "nt_count_digit_sum_v1_655260480_5833", "problem": "Let $S$ be the set of all positive integers $d$ such that $d \\leq 9999$ and $d$ divides $100059993$. Let $\\mathrm{upper}$ be the maximum element of $S$. Determine the number of positive integers $n$ such that $n \\leq \\mathrm{upper}$ and the sum of the decimal digits of $n$ is $14$.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9999),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(100059993))))),\n \"target_sum\": Const(14),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.344, "created_at": "2026-02-08T18:40:29.998288Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T18:40:30.342144Z"}, "problem_hash": "3126e9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 397}, "timestamp": "2026-02-13T00:21:48.720Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K17": "no", "K5": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dad221", "alias": "antilemma_count_primes_v1_677425708_3221", "problem": "Let $a$ and $b$ be positive integers such that $1 \\le a \\le 457$, $1 \\le b \\le 73$, and $t = 6a + 4b$ satisfies $10 \\le t \\le 3034$. Let $S$ be the set of all such values of $t$. Define $n_{\\text{max}}$ to be the number of integers $n$ such that $2 \\le n \\le |S|$ and $n$ is prime. Let $x = n_{\\text{max}}$. Compute $x^2 + 16x + y$, where $y$ is the number of positive integers $k \\le 1143285$ that are divisible by 169. Determine the value of this expression.", "answer": 68205, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=457)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=73)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=3034)), 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 \"Q\": Sum(Pow(Ref(\"x\"), Ref(\"_m\")), Mul(Const(16), Ref(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1143285)), Divides(divisor=Const(169), dividend=Var(\"k\"))), domain='positive_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COUNT_PRIMES", "C2", "COUNT_PRIMES"], "recipe_id": "0f3176", "seed_template_id": "antilemma_count_primes_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:32:28.954133Z", "verification": {"verified": true, "answer": 68205, "timestamp": "2026-02-08T05:32:28.956659Z"}, "problem_hash": "b15cdf", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "COUNT_PRIMES": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K18": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "9b3e4e", "alias": "comb_sum_binomial_row_v1_168721529_1560", "problem": "Let $m = 2$ and $n = 58399$. Define $a = 15$ and $R = 2^a$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 169$. Let $T$ be the set of all values $x + y$ where $(x, y) \\in S$. Let $u$ be the minimum value in $T$. Let $P$ be the set of all prime numbers $k$ such that $m \\leq k \\leq u$. If $P$ is nonempty, let $M$ be the maximum element of $P$. Compute the remainder when $M - R$ is divided by $n$.", "answer": 25654, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(58399),\n \"n\": Const(15),\n \"result\": Pow(Const(2), Ref(\"n\")),\n \"Q\": Mod(value=Sub(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(169)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), IsPrime(Var(\"n\"))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/MAX_PRIME_BELOW"], "recipe_id": "511ec9", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T13:46:57.540401Z", "verification": {"verified": true, "answer": 25654, "timestamp": "2026-02-08T13:46:57.542418Z"}, "problem_hash": "e4a0cc", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 25654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 603}, "timestamp": "2026-02-09T18:53:54.668Z"}, {"id": 8, "model": "mathstral", "answer": 26, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 652}, "timestamp": "2026-02-11T21:16:33.143Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 25654, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 447}, "timestamp": "2026-02-11T21:13:50.554Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "6c9358", "alias": "modular_modexp_compute_v1_349078426_1901", "problem": "Let $a = 31$ and $e$ be the number of ordered pairs $(i, j)$ where $1 \\leq i \\leq 19$ and $1 \\leq j \\leq 19$. Compute the remainder when $a^e$ is divided by 29929.", "answer": 13616, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(31),\n \"e\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"m\": Const(29929),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:59:40.772694Z", "verification": {"verified": true, "answer": 13616, "timestamp": "2026-02-08T13:59:40.773915Z"}, "problem_hash": "2c99f1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 169, "completion_tokens": 516}, "timestamp": "2026-02-12T07:38:31.306Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5bb0de", "alias": "nt_lcm_compute_v1_349078426_1832", "problem": "Let $S$ be the set of all integers $t$ such that $21 \\leq t \\leq 6681$ and $t = 9a + 12b$ for some positive integers $a \\leq 221$ and $b \\leq 391$. Let $N = |S|$. Let $a_{\\text{max}}$ be the largest prime number at most $N$. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 1020100$, and define $b_{\\text{min}}$ to be the minimum value of $x + y$ over all such pairs. Let $L = \\text{lcm}(a_{\\text{max}}, b_{\\text{min}})$. Compute the remainder when $80 - L$ is divided by 52025.", "answer": 3970, "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=221)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=391)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=6681)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\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(1020100)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(80),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(52025)),\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", "B3"], "recipe_id": "2a7052", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T13:57:02.653001Z", "verification": {"verified": true, "answer": 3970, "timestamp": "2026-02-08T13:57:02.656648Z"}, "problem_hash": "6a045c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 530}, "timestamp": "2026-02-12T07:37:54.003Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "DS2": "no", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7c7b55", "alias": "nt_sum_divisors_mod_v1_655260480_3716", "problem": "Let $n = 25200$. Let $\\sigma$ be the sum of the positive divisors of $n$. Define $M = 10009$ and let $r$ be the remainder when $\\sigma$ is divided by $M$. Let $A$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 8$. Define $P$ to be the maximum value of $xy$ over all such pairs in $A$. Let $B$ be the set of all integers $t$ such that $9 \\leq t \\leq 44$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 6$, and $t = 5a + 4b$. Let $C$ be the number of elements in $B$. Compute the remainder when $r^2 + P \\cdot r + C$ is divided by $83104$.", "answer": 38713, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(25200),\n \"M\": Const(10009),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), 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(8)))), expr=Mul(Var(\"x\"), Var(\"y\")))), 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=4)), 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=44)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), modulus=Const(83104)),\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"], "recipe_id": "d12ba9", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T17:30:49.820997Z", "verification": {"verified": true, "answer": 38713, "timestamp": "2026-02-08T17:30:49.827360Z"}, "problem_hash": "18880a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 317, "completion_tokens": 409}, "timestamp": "2026-02-12T22:42:08.561Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "LIN_FORM": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "K5": "no", "L3b": "no", "L3c": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3f1cdf", "alias": "nt_count_divisible_v1_50713871_86", "problem": "Let $n = 2$. Let $T$ be the set of integers $t$ such that $5 \\leq t \\leq 20$ and there exist positive integers $a \\leq 2$, $b \\leq 7$ satisfying $t = 3a + 2b$. Define $d$ to be the number of elements in $T$. Let $g = \\gcd\\left(30, \\max\\left\\{ k \\in \\mathbb{Z}^+ : 2^k \\leq 7880 \\right\\}\\right)$. Define $s = \\sum_{d' \\mid g} \\mu(d')$, where $\\mu$ is the M\\\"obius function. Let $u = 88804$. Define $r$ to be the number of positive integers $n \\leq u$ such that the remainder when $n$ is divided by $d$ equals $s$. Compute $r$.", "answer": 6343, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(88804),\n \"divisor\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=20)), 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(\"divisor\")), SumOverDivisors(n=GCD(a=Const(value=30), b=MaxOverSet(set=SolutionsSet(var=Var(name='k'), condition=Leq(left=Pow(base=Ref(name='_n'), exp=Var(name='k')), right=Const(value=7880))))), 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_VAL", "lemma_paths": ["MAX_VAL/MOBIUS_COPRIME", "LIN_FORM"], "recipe_id": "29e34c", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_VAL", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 4.388, "created_at": "2026-02-08T02:44:50.733098Z", "verification": {"verified": true, "answer": 6343, "timestamp": "2026-02-08T02:44:55.121400Z"}, "problem_hash": "a382da", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 6343, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 319, "completion_tokens": 2386}, "timestamp": "2026-02-08T19:48:30.998Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 6343, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 1298}, "timestamp": "2026-02-09T19:51:08.843Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:35:59.611Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6343, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 236, "completion_tokens": 1793}, "timestamp": "2026-02-09T23:58:03.507Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MAX_VAL": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "V8": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "valid"} +{"id": "e50a63", "alias": "algebra_quadratic_discriminant_v1_1915831931_3962", "problem": "Let $a = -6$, $b = 6$, and $c = 10$. Compute $\\text{result} = b^2 - 4ac$. Let $Q = \\text{result}^2 + \\left( \\sum_{k=1}^{4} \\varphi(k) \\left\\lfloor \\frac{4}{k} \\right\\rfloor \\right) \\cdot \\text{result} + \\sum_{k=1}^{49} k$. Find the value of $Q$.", "answer": 80161, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(4),\n \"a\": Const(-6),\n \"b\": Const(6),\n \"c\": Const(10),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(4), Var(\"k\"))))), Ref(\"result\")), Summation(var=\"k1\", start=Const(1), end=Const(49), expr=Var(\"k1\"))),\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", "K2"], "recipe_id": "a01e30", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T18:02:05.197455Z", "verification": {"verified": true, "answer": 80161, "timestamp": "2026-02-08T18:02:05.204725Z"}, "problem_hash": "483fc6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 212, "completion_tokens": 526}, "timestamp": "2026-02-12T23:34:28.492Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K5": "no", "L3c": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "071947", "alias": "comb_count_permutations_fixed_v1_717093673_2436", "problem": "Let $n = 5$ and let $k$ be the largest positive integer such that $1 \\leq k \\leq 3$ and $k$ divides 21. Compute the value of $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": Const(5),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(21))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:50:49.427563Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T16:50:49.429538Z"}, "problem_hash": "cf5d56", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 20, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 263}, "timestamp": "2026-02-12T21:22:44.247Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cd7215", "alias": "nt_count_divisible_v1_48377204_1234", "problem": "Let $a$, $b$, and $t$ be positive integers. Consider the set of all integers $t$ such that $11 \\leq t \\leq 64$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 9$, $1 \\leq b \\leq 4$, and $t = 4a + 7b$. Let $N$ be the number of such integers $t$.\n\nLet $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = N$. Let $D$ be the minimum value of $x + y$ as $(x, y)$ ranges over $S$.\n\nNow let $n$ be a positive integer such that $1 \\leq n \\leq 33333$ and $n$ is divisible by $D$. Compute the number of such integers $n$.", "answer": 2777, "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=4)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=64)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"upper\": Const(33333),\n \"divisor\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), 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": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 1.255, "created_at": "2026-02-08T15:59:01.919128Z", "verification": {"verified": true, "answer": 2777, "timestamp": "2026-02-08T15:59:03.173787Z"}, "problem_hash": "bb054f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 437}, "timestamp": "2026-02-12T09:36:13.911Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b56c8c", "alias": "nt_count_digit_sum_v1_784195855_2770", "problem": "Let $m = 115$. Let $A$ be the set of all positive integers $k$ such that $1 \\leq k \\leq m$ and $5$ divides $k$. Let $s$ be the number of elements in $A$. Let $U$ be the set of all ordered pairs $(i,j)$ with $1 \\leq i \\leq 99$ and $1 \\leq j \\leq 101$. Define $N$ to be the number of positive integers $n$ such that $1 \\leq n \\leq |U|$ and the sum of the decimal digits of $n$ equals $s$. Compute the value of $5^N + 15129 \\pmod{99991}$.", "answer": 37840, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(115),\n \"_n\": Const(15129),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(99)), right=IntegerRange(start=Const(1), end=Const(101)))),\n \"target_sum\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_m\")), Divides(divisor=Const(5), 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(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "C2"], "recipe_id": "85f6ab", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 1.23, "created_at": "2026-02-08T06:01:58.599929Z", "verification": {"verified": true, "answer": 37840, "timestamp": "2026-02-08T06:01:59.829464Z"}, "problem_hash": "e8ccc0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 82654, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 4861}, "timestamp": "2026-02-12T18:44:33.829Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 466}, "timestamp": "2026-02-11T23:31:07.756Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "COUNT_CARTESIAN": "ok", "K16": "no", "K17": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c043a7", "alias": "antilemma_product_of_sums_v1_1742523217_2118", "problem": "Let $n$ be a positive integer. Define $S_1$ to be the sum of the first $k$ positive integers, where $k$ is the number of positive integers $n \\leq 22$ that are even and relatively prime to $21$. Let $S_2$ be the sum of all integers $k$ such that $k$ ranges from $1$ to $9$ and $j$ ranges from $1$ to $2$. Compute $S_1 \\cdot S_2$.", "answer": 2520, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(21),\n \"S1\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22)), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))), expr=Var(\"k\")),\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(9)), right=IntegerRange(start=Const(1), end=Const(2)))), 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": "C5", "lemma_paths": ["C5/SUM_ARITHMETIC", "PRODUCT_OF_SUMS"], "recipe_id": "9779be", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C5", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T04:29:42.755236Z", "verification": {"verified": true, "answer": 2520, "timestamp": "2026-02-08T04:29:42.756495Z"}, "problem_hash": "82dea2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "K16": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no"}, "split": "valid"} +{"id": "8c77f7", "alias": "diophantine_fbi2_min_v1_1742523217_4460", "problem": "Let $F_n$ denote the $n$th Fibonacci number, where $F_1 = F_2 = 1$. Let $a$ be the number of positive integers $n \\le 8640$ such that $4$ divides $F_n$. Let $k$ be the number of positive integers $n \\le a$ such that $3$ divides $F_n$. Let $b$ be the smallest integer $d \\ge 3$ such that $d \\le 370$, $d$ divides $k$, and $\\frac{k}{d} \\ge 2$. Compute the remainder when $44121 \\cdot b$ is divided by $85094$.", "answer": 47269, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(3),\n \"_n\": Const(3),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(8640)), Divides(divisor=Const(4), dividend=Fibonacci(arg=Var(name='n'))))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"upper\": Const(370),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(85094)),\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/COUNT_FIB_DIVISIBLE"], "recipe_id": "c560ba", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T07:18:34.053858Z", "verification": {"verified": true, "answer": 47269, "timestamp": "2026-02-08T07:18:34.069630Z"}, "problem_hash": "e3ad80", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 47269, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 189, "completion_tokens": 1666}, "timestamp": "2026-02-13T09:20:57.535Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 578}, "timestamp": "2026-02-12T00:57:48.093Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "583558", "alias": "antilemma_cartesian_v1_1080341949_68", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer with $1 \\le a \\le 25$ and $b$ is an integer with $1 \\le b \\le 34$. Define $m = |x| + 2$. The Fibonacci entry point of $m$ is the smallest positive integer $k$ for which the $k$-th Fibonacci number is divisible by $m$. Compute the Fibonacci entry point of $m$.", "answer": 420, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(34)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:10:14.116730Z", "verification": {"verified": true, "answer": 420, "timestamp": "2026-02-08T13:10:14.117361Z"}, "problem_hash": "dea4c5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 208, "completion_tokens": 452}, "timestamp": "2026-02-12T06:19:20.863Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e0e716", "alias": "diophantine_fbi2_count_v1_1978505735_982", "problem": "Let $k = \\sum_{d \\mid 1260} \\phi(d)$, where the sum is over all positive divisors $d$ of 1260 and $\\phi$ is Euler's totient function. Determine the number of positive integers $d_1$ such that $3 \\leq d_1 \\leq 198$, $d_1$ divides $k$, and $4 \\leq \\frac{k}{d_1} \\leq 199$. Compute the remainder when $44121$ times this number is divided by 86047.", "answer": 26340, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(86047),\n \"_n\": Const(44121),\n \"k\": SumOverDivisors(n=Const(value=1260), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(3)), Leq(Var(\"d1\"), Const(198)), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(4)), Leq(Div(Ref(\"k\"), Var(\"d1\")), Const(199))))),\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": "V5", "lemma_paths": ["V5", "K3"], "recipe_id": "817234", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "V5"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T15:43:30.412061Z", "verification": {"verified": true, "answer": 26340, "timestamp": "2026-02-08T15:43:30.428505Z"}, "problem_hash": "61a2ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 551}, "timestamp": "2026-02-12T09:07:25.524Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "V5": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "58d2f6", "alias": "nt_count_coprime_v1_717093673_2968", "problem": "Let $k$ be the number of prime numbers $n$ such that $2 \\leq n \\leq m$, where $m$ is the smallest divisor of $18588623$ that is at least $2$. Let the upper bound be $48841$. Compute the number of positive integers $n_1$ not exceeding $48841$ such that $\\gcd(n_1, k) = 1$. Then, find the remainder when $40588$ multiplied by this count is divided by $87129$.", "answer": 13196, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(48841),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(18588623)))))), IsPrime(Var(\"n\"))))),\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(\"k\")), Const(1))))),\n \"_c\": Const(40588),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(87129)),\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"], "recipe_id": "56ea03", "seed_template_id": "nt_count_coprime_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 5.078, "created_at": "2026-02-08T17:18:24.155795Z", "verification": {"verified": true, "answer": 13196, "timestamp": "2026-02-08T17:18:29.233717Z"}, "problem_hash": "3ce402", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 394}, "timestamp": "2026-02-12T22:16:50.308Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "K14": "no", "K17": "no", "K18": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e4e8fd", "alias": "antilemma_cartesian_v1_1915831931_3940", "problem": "Compute the value of $30000 - xy$, where $x = 12$ and $y = 37$.", "answer": 29556, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"_c\": Const(30000),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:01:38.020019Z", "verification": {"verified": true, "answer": 29556, "timestamp": "2026-02-08T18:01:38.021198Z"}, "problem_hash": "5ec3a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29556, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 149}, "timestamp": "2026-02-12T23:34:14.758Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "1e7f4d", "alias": "nt_min_coprime_above_v1_1520064083_4628", "problem": "Let $m$ be the smallest divisor of $422773643$ that is at least $2$. Let $D$ be the set of positive integers $t$ such that $7 \\leq t \\leq 27$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 3$, and $t = 3a + 4b$. Let $d = |D|$. Let $g = \\sum_{k \\mid 8} \\mu(k)$, where $\\mu$ is the M\\\"obius function. Let $n$ be the smallest integer greater than $22201$ and at most $22348$ such that $\\gcd(n, m) = g$. Compute the remainder when $40485 \\cdot n$ is divided by $88304$.", "answer": 1554, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(22201),\n \"upper\": Const(22348),\n \"modulus\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(422773643))))),\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\")), 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=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=7)), Leq(left=Var(name='t'), right=Const(value=27)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))), var='d', expr=MoebiusMu(n=Var(name='d'))))))),\n \"_c\": Const(40485),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(88304)),\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/MOBIUS_COPRIME", "MIN_PRIME_FACTOR"], "recipe_id": "6841b8", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.016, "created_at": "2026-02-08T06:21:46.247170Z", "verification": {"verified": true, "answer": 1554, "timestamp": "2026-02-08T06:21:46.263626Z"}, "problem_hash": "bb2532", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok_later", "K14": "no", "K15": "no", "K16": "no", "MOD_ADD": "no", "V3": "no"}, "split": "valid"} +{"id": "24b878", "alias": "nt_sum_divisors_compute_v1_1918700295_2010", "problem": "Let $p$ be the largest prime number between $2$ and $30$, inclusive. Let $n_2 = p^2 \\cdot (71 + 1)$. Define $h = \\mu(n_2)^2$, where $\\mu$ is the M\\\"obius function. Let $v$ be the remainder when the number of positive divisors of $17081$ is divided by $2 + h$. Define $n = 63001 + v$. Compute the sum of all positive divisors of $n$.", "answer": 63253, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(30)), IsPrime(Var(\"n\"))))),\n \"q\": Const(71),\n \"n2\": Mul(Pow(Ref(\"p\"), Const(2)), Sum(Ref(\"q\"), Const(1))),\n \"h\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(17081),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Sum(Ref(\"_n\"), Ref(\"h\"))),\n \"n\": Sum(Const(63001), 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_SQUAREFREE", "DIVISOR_PARITY"], "recipe_id": "91e49e", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T07:36:46.261594Z", "verification": {"verified": true, "answer": 63253, "timestamp": "2026-02-08T07:36:46.267974Z"}, "problem_hash": "760343", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SQUAREFREE": "ok_later", "DS2": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "ec338e", "alias": "modular_count_residue_v1_677425708_3439", "problem": "Let $n_0 = 2$. Let $m$ be the number of prime numbers $n$ such that $n_0 \\le n \\le 61$. Let $r$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 13500$, $\\gcd(p, q) = 1$, and $p < q$. Determine the number of positive integers $n \\le 75625$ such that $n \\equiv r \\pmod{m}$.", "answer": 4202, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(75625),\n \"m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(61)), IsPrime(Var(\"n\"))))),\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=13500)), 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\"), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "COUNT_PRIMES"], "recipe_id": "2a4bed", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 3.636, "created_at": "2026-02-08T05:43:02.212310Z", "verification": {"verified": true, "answer": 4202, "timestamp": "2026-02-08T05:43:05.848343Z"}, "problem_hash": "f81e6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4202, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 157, "completion_tokens": 2364}, "timestamp": "2026-02-12T14:01:36.137Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 406}, "timestamp": "2026-02-11T23:05:04.884Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "K14": "no", "K17": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "31bc44", "alias": "nt_count_gcd_equals_v1_798873815_65", "problem": "Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 216$, and $\\gcd(p, q) = 1$. Let $N$ be the number of elements in $S$.\n\nLet $d$ be the smallest divisor of $12267706541$ that is at least $N$.\n\nLet $T$ be the set of all positive integers $n \\leq 19600$ such that $\\gcd(n, d) = 1$. Compute the number of elements in $T$.", "answer": 19406, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(19600),\n \"k\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(12267706541))))),\n \"d\": EulerPhi(n=Const(1)),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")), Eq(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/MIN_PRIME_FACTOR", "ONE_PHI_2", "ONE_PHI_1"], "recipe_id": "44813b", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MIN_PRIME_FACTOR", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 1.434, "created_at": "2026-02-08T02:25:36.222887Z", "verification": {"verified": true, "answer": 19406, "timestamp": "2026-02-08T02:25:37.657007Z"}, "problem_hash": "2cb0b5", "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": 242, "completion_tokens": 8192}, "timestamp": "2026-02-08T18:57:46.211Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 19406, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 6875}, "timestamp": "2026-02-09T12:50:53.271Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:37:31.123Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 19600, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 385}, "timestamp": "2026-02-08T20:21:30.461Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19600, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 2798}, "timestamp": "2026-02-08T23:02:06.439Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "ONE_PHI_1": "ok", "ONE_PHI_2": "ok", "MIN_PRIME_FACTOR": "ok_later", "K13": "no", "L3b": "no", "L3c": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 0.05, "mid": 2.79, "hi": 5.99}, "split": "valid"} +{"id": "52a61b", "alias": "comb_sum_binomial_mod_v1_898971024_381", "problem": "Let $S$ be the set of all integers $t$ such that $21 \\leq t \\leq 309$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 11$, $1 \\leq b \\leq 24$, and $t = 15a + 6b$. Let $m = 10891$ and let $n$ be the number of elements in $S$. Now, let $T$ be the set of all integers $t_1$ such that $21 \\leq t_1 \\leq 6188$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 185$, $1 \\leq b \\leq 1750$, and $t_1 = 5a + 3b + 13$. Let $N$ be the number of elements in $T$. Consider all positive integers $k_1$ such that $1 \\leq k_1 \\leq N$ and $16$ divides $k_1$. For each such $k_1$, compute the binomial coefficient $\\binom{465}{k_1}$, and let $\\text{sum}$ be the sum of these values. Find the remainder when $\\text{sum}$ is divided by $m$. Determine the value of this remainder.", "answer": 2631, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10891),\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=24)), Geq(left=Var(name='t'), right=Const(value=21)), Leq(left=Var(name='t'), right=Const(value=309)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"k1\"), condition=And(Geq(Var(\"k1\"), Const(1)), Leq(Var(\"k1\"), CountOverSet(set=SolutionsSet(var=Var(\"t1\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=185)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1750)), Geq(left=Var(name='t1'), right=Const(value=21)), Leq(left=Var(name='t1'), right=Const(value=6188)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=13))))))))), Divides(divisor=Const(16), dividend=Var(\"k1\"))), domain='positive_integers')), expr=Binom(n=Const(465), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2"], "recipe_id": "03e7fc", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.077, "created_at": "2026-02-08T15:25:40.875351Z", "verification": {"verified": true, "answer": 2631, "timestamp": "2026-02-08T15:25:40.952314Z"}, "problem_hash": "c20a17", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 400, "completion_tokens": 496}, "timestamp": "2026-02-12T08:25:23.348Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2e5fb3", "alias": "nt_count_with_divisor_count_v1_1520064083_3097", "problem": "Let $A$ be the set of all integers $t$ with $15 \\leq t \\leq 57$ for which there exist positive integers $a \\leq 5$ and $b \\leq 3$ such that $t = 6a + 9b$. Let $d_0 = |A|$. Let $n_0 = 3$ and define $m$ to be the largest integer such that $2^m$ divides $5^{16384} - 3^{16384}$. Let $s = \\gcd(d_0, m)$. Define $S$ as the set of all positive integers $n$ such that $n \\geq \\sum_{d \\mid s} \\mu(d)$, $n \\leq 27225$, and $n$ has exactly $7$ positive divisors. Compute the number of elements in $S$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": Const(27225),\n \"div_count\": Const(7),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), 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=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=15)), Leq(left=Var(name='t'), right=Const(value=57)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))), b=MaxKDivides(target=Sub(left=Pow(base=Const(value=5), exp=Const(value=16384)), right=Pow(base=Ref(name='_n'), exp=Const(value=16384))), base=Const(value=2))), var='d', expr=MoebiusMu(n=Var(name='d')))), 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": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/MOBIUS_COPRIME", "LIN_FORM/MOBIUS_COPRIME"], "recipe_id": "3d7ff7", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF_P2", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.078, "created_at": "2026-02-08T05:28:01.334661Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T05:28:03.413065Z"}, "problem_hash": "83c6fa", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "LTE_DIFF_P2": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K18": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}, "split": "valid"} +{"id": "e05cb3", "alias": "algebra_poly_eval_v1_971394319_449", "problem": "Let $A$ be the number of positive integers $n$ with $1 \\leq n \\leq 35$ such that the sum of the digits of $n$ is odd. Let $B$ be the number of integers $t$ with $27 \\leq t \\leq 312$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 8$, $1 \\leq b \\leq 24$, and $t = 21a + 6b$. Compute the value of\n$$\n\\frac{A \\cdot 21^3 + 51 \\cdot 21^2 - 189 \\cdot 21 + B}{174}.\n$$", "answer": 1065, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(51),\n \"n\": Const(21),\n \"result\": Div(Sum(Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(35)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1))))), Pow(Ref(\"n\"), Const(3))), Mul(Ref(\"_n\"), Pow(Ref(\"n\"), Ref(\"_m\"))), Mul(Const(-189), Ref(\"n\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=24)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=312)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), Const(174)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T13:06:24.494211Z", "verification": {"verified": true, "answer": 1065, "timestamp": "2026-02-08T13:06:24.501332Z"}, "problem_hash": "c411d2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 647}, "timestamp": "2026-02-12T06:13:00.885Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "92a326", "alias": "antilemma_cartesian_v1_48377204_2749", "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 the value of $$\nmod{x}{199} + 1009 \\cdot \\left(\\nmod{x}{499}\\right).$$", "answer": 72720, "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 \"_c\": Const(1009),\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": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.034, "created_at": "2026-02-08T16:57:08.907681Z", "verification": {"verified": true, "answer": 72720, "timestamp": "2026-02-08T16:57:08.941585Z"}, "problem_hash": "a46258", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 135, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 188, "completion_tokens": 349}, "timestamp": "2026-02-12T21:28:40.159Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2713ee", "alias": "comb_count_permutations_fixed_v1_865884756_391", "problem": "Let $a = \\sum_{d \\mid \\gcd(m,5)} \\mu(d)$, where $m$ is the largest integer $k$ such that $2^k \\leq 11$, and $\\mu$ is the M\\\"{o}bius function. Let $b = 2$. Define $s = \\sum_{k=a}^{b} k$, and let $n = \\sum_{k=1}^{s} k$. Compute the value of $\\binom{n}{2} \\cdot !(n-2)$, where $!k$ denotes the number of derangements of $k$ elements.", "answer": 135, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k1\", start=SumOverDivisors(n=GCD(a=MaxOverSet(set=SolutionsSet(var=Var(name='k2'), condition=Leq(left=Pow(base=Const(value=2), exp=Var(name='k2')), right=Const(value=11)))), b=Const(value=5)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Ref(\"_m\"), expr=Var(\"k1\")),\n \"n\": Summation(var=\"k3\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k3\")),\n \"k\": Const(2),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MOBIUS_COPRIME/SUM_ARITHMETIC", "SUM_ARITHMETIC/SUM_ARITHMETIC"], "recipe_id": "a3e9f7", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_VAL", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T15:20:47.002123Z", "verification": {"verified": true, "answer": 135, "timestamp": "2026-02-08T15:20:47.007995Z"}, "problem_hash": "cb69a4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_VAL": "ok", "SUM_ARITHMETIC": "ok", "MOBIUS_COPRIME": "ok_later", "K16": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "aca52d", "alias": "nt_sum_totient_over_divisors_v1_458359167_438", "problem": "Let $A$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=36, \\quad \\gcd(p,q)=1, \\quad p p$ such that $pq = 36$ and $\\gcd(p,q) = 1$. Compute the remainder when\n$$\n353702 \\cdot |x| \\bmod 97 + 329703 \\cdot \\left( |x|^2 \\bmod d \\right) + 215534 \\cdot \\left( |x| \\bmod c \\right)\n$$\nis divided by $73988$, where $d$ is the largest prime between $2$ and $102$ inclusive.", "answer": 4513, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(102),\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(7)), right=IntegerRange(start=Const(1), end=Const(101))))),\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=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 \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Ref(\"_n\")), Const(1)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(73988)),\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", "COPRIME_PAIRS", "COUNT_COPRIME_GRID"], "recipe_id": "97606c", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:49:02.064319Z", "verification": {"verified": true, "answer": 4513, "timestamp": "2026-02-08T04:49:02.069466Z"}, "problem_hash": "20de69", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_PRIMES": "no", "K14": "no", "K5": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "c97e95", "alias": "modular_min_linear_v1_784195855_2431", "problem": "Let $a$ be the number of integers $t$ with $7 \\leq t \\leq 5091$ for which there exist positive integers $a'$ and $b'$ such that $t = 2a' + 5b'$, $1 \\leq a' \\leq 2268$, and $1 \\leq b' \\leq 111$. Let $b$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 71353$. Let $m = 19377$. Let $x$ be the smallest positive integer $x$ with $1 \\leq x \\leq m$ such that $a \\cdot x \\equiv b \\pmod{m}$. Let $d$ be the smallest divisor of $3207515513$ that is at least $2$. Compute the remainder when $d - x$ is divided by $80992$.", "answer": 61900, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(80992),\n \"_n\": Const(2),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2268)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=111)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=5091)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"b\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(71353)), IsPrime(Var(\"n\"))))),\n \"m\": Const(19377),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sub(MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(3207515513))))), Ref(\"result\")), modulus=Ref(\"_m\")),\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", "COUNT_PRIMES", "LIN_FORM"], "recipe_id": "f7b011", "seed_template_id": "modular_min_linear_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 4.136, "created_at": "2026-02-08T05:44:37.650661Z", "verification": {"verified": true, "answer": 61900, "timestamp": "2026-02-08T05:44:41.786239Z"}, "problem_hash": "4cc074", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 8192}, "timestamp": "2026-02-12T13:19:30.656Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 501}, "timestamp": "2026-02-11T23:01:35.980Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "f40de9", "alias": "antilemma_cartesian_v1_124444284_10416", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ and $b$ are integers satisfying $1 \\le a \\le 24$ and $1 \\le b \\le 24$. Determine the value of $44121x \\bmod 94903$.", "answer": 74595, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(24)), right=IntegerRange(start=Const(1), end=Const(24)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(94903)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:05:50.572579Z", "verification": {"verified": true, "answer": 74595, "timestamp": "2026-02-08T13:05:50.573178Z"}, "problem_hash": "b73c85", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 79078, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 211}, "timestamp": "2026-02-12T06:06:58.438Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f72f28", "alias": "modular_min_modexp_v1_677425708_2856", "problem": "Let $N$ be the number of integers $n$ with $1\\le n\\le 61$ and $\\gcd(n,30)=1$.\n\nLet $b$ be the largest integer $k$ such that $N^k$ divides\n$$\n272843561753653169767435615050624325866274580142388791900214521038955085904188409449281578168966401\\\\\n\\times 5607005320601059253161325667991103602003892399764752527847859167616581809464321.\n$$\nLet $m=367$. Among the integers $x$ with $1\\le x\\le 183$ that satisfy\n$$\n2^x \\equiv b \\pmod{367},\n$$\nlet $r$ be the smallest such $x$.\n\nDefine\n$$\nQ \\equiv 3^{|r|} + 50176 \\pmod{75421}, \\quad 0\\le Q < 75421.\n$$\n\nFind the value of $Q$.", "answer": 61298, "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(61)), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))),\n \"a\": Const(2),\n \"b\": MaxKDivides(target=Mul(Const(272843561753653169767435615050624325866274580142388791900214521038955085904188409449281578168966401), Const(5607005320601059253161325667991103602003892399764752527847859167616581809464321)), base=Ref(\"_n\")),\n \"m\": Const(367),\n \"upper\": Const(183),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n \"Q\": Mod(value=Sum(ModExp(base=Const(3), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(50176)), modulus=Const(75421)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/K13"], "recipe_id": "87f031", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C4", "K13"], "num_lemmas": 2, "generation_time": 0.046, "created_at": "2026-02-08T05:20:20.308370Z", "verification": {"verified": true, "answer": 61298, "timestamp": "2026-02-08T05:20:20.354062Z"}, "problem_hash": "3405d5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "K13": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "LTE_SUM": "no", "V8": "no"}, "split": "valid"} +{"id": "b52931", "alias": "nt_sum_divisors_mod_v1_458359167_4565", "problem": "Let $\\sigma$ denote the sum of the positive divisors of $20160$, and let $r$ be the remainder when $\\sigma$ is divided by $10433$.\n\nLet $a$ be the remainder when $|r|$ is divided by the smallest divisor $d \\geq 2$ of $950309$.\n\nLet $b$ be the remainder when $|r|^2 + 1$ is divided by $101$.\n\nLet $c$ be the remainder when $|r| + 33$ is divided by the largest prime number $n$ in the interval $2 \\leq n \\leq 106$.\n\nCompute the remainder when $$353702a + 329703b + 215534c$$ is divided by $1009091$.", "answer": 67096, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"n\": Const(20160),\n \"M\": Const(10433),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\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(950309))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(33)), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(106)), IsPrime(Var(\"n\")))))))), 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", "MAX_PRIME_BELOW"], "recipe_id": "d42f47", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T11:54:20.249809Z", "verification": {"verified": true, "answer": 67096, "timestamp": "2026-02-08T11:54:20.257407Z"}, "problem_hash": "7aa0ff", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67096, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 2627}, "timestamp": "2026-02-14T21:10:02.007Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 289, "completion_tokens": 628}, "timestamp": "2026-02-12T04:50:08.253Z"}], "solution_status": 1, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "DS2": "no", "K17": "no", "LTE_DIFF": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "d10355", "alias": "comb_count_surjections_v1_1978505735_2517", "problem": "Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2$ equals the number of integers $t$ in the range $10 \\leq t \\leq 40$ for which there exist positive integers $a \\leq 4$ and $b \\leq 4$ satisfying $t = 4a + 6b$. Let $k$ be the number of ordered pairs $(i, j)$ with $1 \\leq i, j \\leq 6$ such that $i + j = 6$. Compute $k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Find the value of this expression.", "answer": 16800, "graph": "graphs = [\n Graph(\n let={\n \"_n\": 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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=40)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))))),\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(6)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "5a3f8e", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.023, "created_at": "2026-02-08T16:56:45.387708Z", "verification": {"verified": true, "answer": 16800, "timestamp": "2026-02-08T16:56:45.410596Z"}, "problem_hash": "db69c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 460}, "timestamp": "2026-02-12T21:29:31.981Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "669677", "alias": "antilemma_sum_equals_v1_784195855_6420", "problem": "Let $x$ be the number of ordered pairs $(i,j)$ of integers such that $1 \\leq i \\leq 72$, $1 \\leq j \\leq 72$, and $i + j = 72$. Let $S$ be the set of all integers $t$ such that $18 \\leq t \\leq 209$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 24$, $1 \\leq b \\leq 11$, and $t = 7a + 3b + 8$. Compute the value of $3^{|x|} \\bmod 99991$ plus the number of elements in $S$.", "answer": 86089, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(72),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_n\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(72))))),\n \"Q\": Sum(ModExp(base=Const(3), 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=24)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=11)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=209)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=8))))))))),\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"], "recipe_id": "8917bc", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "two_stage_modexp", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T08:39:20.240414Z", "verification": {"verified": true, "answer": 86089, "timestamp": "2026-02-08T08:39:20.245796Z"}, "problem_hash": "0c7a50", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9748, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 4678}, "timestamp": "2026-02-13T20:09:29.928Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 515}, "timestamp": "2026-02-12T02:02:42.222Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "2cff83", "alias": "geo_count_lattice_triangle_v1_124444284_5475", "problem": "Let $A = (0,0)$, $B = (111,196)$, and $C = (89,256)$. The area of triangle $ABC$ is half of the absolute value of $111 \\cdot 256 - 196 \\cdot (89 - 111)$. Let $I$ be the number of lattice points strictly inside triangle $ABC$, and let $B$ be the number of lattice points on the boundary of triangle $ABC$. Given that $B = \\gcd(111, k_1) + \\gcd(|89 - 111|, |256 - 196|) + \\gcd(89, 256)$, where $k_1$ is the number of positive integers $k \\leq 1176$ that are divisible by $6$, compute $23716 - \\left(I + B - 1\\right)$.", "answer": 18231, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": Const(89),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=111), Const(value=256)), Mul(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=91)), IsPrime(arg=Var(name='n'))))), Sub(left=Const(value=0), right=Const(value=196))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=111)), b=Abs(arg=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=1176)), Divides(divisor=Ref(name='_m'), dividend=Var(name='k'))))))), GCD(a=Abs(arg=Sub(left=Const(value=89), right=Const(value=111))), b=Abs(arg=Sub(left=Const(value=256), right=Const(value=196)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Ref(name='_n'))), 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\": Sub(Const(23716), 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", "C2"], "recipe_id": "3732ad", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C2", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.008, "created_at": "2026-02-08T06:37:33.201063Z", "verification": {"verified": true, "answer": 18231, "timestamp": "2026-02-08T06:37:33.208966Z"}, "problem_hash": "623230", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7350, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 1274}, "timestamp": "2026-02-13T02:19:58.466Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 524}, "timestamp": "2026-02-12T00:17:06.779Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "MAX_PRIME_BELOW": "ok", "K14": "no", "L3c": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "79b6f3", "alias": "nt_min_with_divisor_count_v1_1439011603_1559", "problem": "Let $d$ be the number of ordered pairs $(i, j)$ such that $1 \\le i \\le 3$ and $1 \\le j \\le 3$. Find the smallest positive integer $n$ such that $1 \\le n \\le 88804$ and the number of positive divisors of $n$ is exactly $d$.", "answer": 36, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(88804),\n \"div_count\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(3)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 3.856, "created_at": "2026-02-08T16:10:03.423874Z", "verification": {"verified": true, "answer": 36, "timestamp": "2026-02-08T16:10:07.279899Z"}, "problem_hash": "0a768b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 469}, "timestamp": "2026-02-12T10:01:41.981Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "LTE_SUM": "no", "V3": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3f3d2f", "alias": "nt_count_divisors_in_range_v1_1080341949_75", "problem": "Let $n = 7560$, $a = 3$, and let $b$ be the largest positive divisor of $267776$ that is at most $512$. Determine the number of positive divisors $d$ of $n$ such that $a \\le d \\le b$.", "answer": 50, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(7560),\n \"a\": Const(3),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(512)), Divides(divisor=Var(\"d\"), dividend=Const(267776))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T13:10:29.988116Z", "verification": {"verified": true, "answer": 50, "timestamp": "2026-02-08T13:10:30.003761Z"}, "problem_hash": "74d26e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 45, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 553}, "timestamp": "2026-02-12T06:19:25.427Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "67dfc0", "alias": "geo_count_lattice_rect_v1_655260480_427", "problem": "Let $a = 144$ and $b = 55$. Define $R$ to be the number of lattice points in the rectangle $[0, a] \\times [0, b]$, including the boundary. Let $Q$ be the Bell number of the remainder when $|R|$ is divided by 11. Compute $Q$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(144),\n \"b\": Const(55),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.003, "created_at": "2026-02-08T15:22:44.507910Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T15:22:44.511249Z"}, "problem_hash": "e1b5e8", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 242}, "timestamp": "2026-02-12T08:21:37.431Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5724c1", "alias": "comb_count_derangements_v1_717093673_998", "problem": "Let $c = 10$. Define $m$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 108$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the largest prime number $n_1$ such that $2 \\le n_1 \\le c$ and $n_1$ is at most the largest prime number not exceeding $c$ that is at least $m$. Compute the subfactorial of $n$, denoted $!n$, which counts the number of derangements of $n$ elements. Find the value of $!n$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(10),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=108)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"_n\": Const(2),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Ref(\"_m\")), Leq(Var(\"n2\"), Ref(\"_c\")), IsPrime(Var(\"n2\")))))), IsPrime(Var(\"n1\"))))),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MAX_PRIME_BELOW", "COPRIME_PAIRS/MAX_PRIME_BELOW"], "recipe_id": "5bbe0a", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T15:46:53.762256Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T15:46:53.767294Z"}, "problem_hash": "8fb72d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 618}, "timestamp": "2026-02-12T09:12:30.229Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "K14": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "204b8b", "alias": "geo_count_lattice_rect_v1_655260480_5546", "problem": "Let $a = 48$ and $b = 101$. Let $N$ be the number of lattice points in the rectangle $[0, a] \\times [0, b]$, including its boundary. Compute $$\\sum_{n=1}^{N} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 43354, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(48),\n \"b\": Const(101),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Summation(var=\"n\", start=Div(Const(10), Const(10)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:33:22.334079Z", "verification": {"verified": true, "answer": 43354, "timestamp": "2026-02-08T18:33:22.335488Z"}, "problem_hash": "236947", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 354}, "timestamp": "2026-02-13T00:12:19.430Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "076ee3", "alias": "comb_sum_binomial_row_v1_865884756_3501", "problem": "Let $S$ 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_{\\text{max}}$ be the maximum positive divisor of $1 + 2 + 3 + 4$ that is at most $|S|$. Compute the remainder when $33157 \\cdot d_{\\text{max}}^{10}$ is divided by $60054$.", "answer": 22258, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60054),\n \"n\": Const(10),\n \"result\": Pow(MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(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=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')))))))), Divides(divisor=Var(\"d\"), dividend=Summation(var=\"k\", start=Const(1), end=Const(4), expr=Var(\"k\")))))), Ref(\"n\")),\n \"_c\": Const(33157),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/MAX_DIVISOR", "COPRIME_PAIRS/MAX_DIVISOR"], "recipe_id": "4afb39", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_DIVISOR", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T17:29:12.064045Z", "verification": {"verified": true, "answer": 22258, "timestamp": "2026-02-08T17:29:12.070141Z"}, "problem_hash": "40b9a6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 48088, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 423}, "timestamp": "2026-02-12T22:37:44.624Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "SUM_ARITHMETIC": "ok", "MAX_DIVISOR": "ok_later", "K14": "no", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b9e768", "alias": "nt_lcm_compute_v1_349078426_1733", "problem": "Let $a$ be the largest positive divisor of $2274055$ that is at most $1505$. Let $b = 2801$. Define $\\text{result} = \\text{lcm}(a, b)$. Let $c = 15242$. Compute the remainder when $c \\cdot \\text{result}$ is divided by $94025$.", "answer": 85285, "graph": "graphs = [\n Graph(\n let={\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(1505)), Divides(divisor=Var(\"d\"), dividend=Const(2274055))))),\n \"b\": Const(2801),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(15242),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(94025)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:53:53.111595Z", "verification": {"verified": true, "answer": 85285, "timestamp": "2026-02-08T13:53:53.113019Z"}, "problem_hash": "a21bfd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10005, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 433}, "timestamp": "2026-02-12T07:32:56.886Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "DS2": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1e5c23", "alias": "antilemma_sum_factor_cartesian_v1_168721529_1515", "problem": "Let\n$$x = \\sum_{i=1}^{5} \\sum_{j=1}^{6} ij.$$\n\nLet $p$ be the number of positive integers $u$ for which there exist positive integers $v$ such that\n$$uv = 108, \\quad \\gcd(u,v)=1, \\quad u \\sum_{d \\mid 41} \\mu(d)$, and $\\alpha = 0$ otherwise. Let $\\beta = 1$ if $D = 0$, and $\\beta = 0$ otherwise. Define $r = \\alpha + \\beta$. Let $p$ be the largest prime number less than or equal to 11. Compute the remainder when $|r|$ is divided by $p$, and let $k$ be that remainder. Determine the value of the Bell number $B_k$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41),\n \"a\": Const(1),\n \"b\": Const(4),\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\"), SumOverDivisors(n=Ref(name='_n'), var='d', expr=MoebiusMu(n=Var(name='d')))))), Iverson(condition=Eq(Ref(\"D\"), Const(0)))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "MOBIUS_SUM"], "recipe_id": "adfb11", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "bell_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T04:54:07.412746Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T04:54:07.415486Z"}, "problem_hash": "2cf6a5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "L3c": "no", "MOD_ADD": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "split": "valid"} +{"id": "add80c", "alias": "modular_modexp_compute_v1_655260480_2409", "problem": "Let $a = 19$, $e = 6241$, and $m = 44100$. Define $r$ to be the remainder when $a^e$ is divided by $m$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $9310177273$. Let $k_{\\text{count}}$ be the number of positive integers $k$ such that $1 \\leq k \\leq 10100$ and $100$ divides $k$. Define\n\n$$\nQ = \\left(353702 \\cdot |r| \\bmod d_{\\text{min}} + 329703 \\cdot \\left(|r|^2 \\bmod k_{\\text{count}}\\right) + 215534 \\cdot \\left(|r| + 2\\right) \\bmod 103\\right) \\bmod 1009091\n$$\n\nand\n\n$$\nQ_{\\text{final}} = Q \\bmod 77939.\n$$\n\nFind the value of $Q_{\\text{final}}$.", "answer": 36604, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10100),\n \"a\": Const(19),\n \"e\": Const(6241),\n \"m\": Const(44100),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n \"_c\": Const(2),\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(9310177273))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Ref(\"_n\")), Divides(divisor=Const(100), dividend=Var(\"k\"))), domain='positive_integers')))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(77939)),\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"], "recipe_id": "658892", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T16:42:39.105404Z", "verification": {"verified": true, "answer": 36604, "timestamp": "2026-02-08T16:42:39.111619Z"}, "problem_hash": "2e1c3d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 359, "completion_tokens": 344}, "timestamp": "2026-02-12T20:45:08.070Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "MIN_PRIME_FACTOR": "ok", "K16": "no", "K17": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e271a7", "alias": "modular_inverse_v1_717093673_2000", "problem": "Let $m = 11881$. Let $T$ be the set of all integers $t$ such that $18 \\leq t \\leq 2650$ and there exist positive integers $a \\leq 50$ and $b \\leq 225$ for which $t = 8a + 10b$. Let $n$ be the number of elements in $T$. Let $p$ be the largest prime number not exceeding $n$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 423801$. Define $u$ to be the minimum value of $x + y$ as $(x, y)$ ranges over $S$. Let $x_1$ be the smallest positive integer such that $1 \\leq x_1 \\leq u$ and $906x_1 \\equiv 1 \\pmod{p}$. Compute $m - x_1$.", "answer": 11753, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11881),\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=50)), 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=18)), Leq(left=Var(name='t'), right=Const(value=2650)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"a\": Const(906),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(423801)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x1\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Sub(Ref(\"_m\"), 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/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.142, "created_at": "2026-02-08T16:27:01.594676Z", "verification": {"verified": true, "answer": 11753, "timestamp": "2026-02-08T16:27:01.737106Z"}, "problem_hash": "221717", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 315, "completion_tokens": 407}, "timestamp": "2026-02-12T10:37:54.588Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_COPRIME_GRID": "no", "L3c": "no", "V8": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "78a940", "alias": "comb_bell_compute_v1_1248542787_124", "problem": "Let $ n $ be the number of ordered pairs $ (i, j) $ where $ i $ is a positive integer with $ 1 \\leq i \\leq 2 $ and $ j $ is a positive integer with $ 1 \\leq j \\leq 4 $. Let $ B_n $ denote the $ n $-th Bell number, which counts the number of partitions of a set of $ n $ elements. Compute the remainder when $ 68442 \\cdot B_n $ is divided by $ 76553 $.", "answer": 27227, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76553),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(68442), 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"], "recipe_id": "409d7d", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T02:57:55.528490Z", "verification": {"verified": true, "answer": 27227, "timestamp": "2026-02-08T02:57:55.529231Z"}, "problem_hash": "654777", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 27227, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 1386}, "timestamp": "2026-02-09T00:28:11.311Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 27227, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 223, "completion_tokens": 1328}, "timestamp": "2026-02-09T13:10:20.657Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:50:40.797Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 27227, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 6048}, "timestamp": "2026-02-11T23:56:54.921Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 27227, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 154, "completion_tokens": 1999}, "timestamp": "2026-02-10T23:05:25.572Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 713}, "timestamp": "2026-02-11T09:29:15.582Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 218, "completion_tokens": 257}, "timestamp": "2026-02-11T20:01:38.100Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "69bdef", "alias": "comb_binomial_compute_v1_1742523217_3241", "problem": "Let $m = 10$ and $n = 63010$. Define $a$ to be the number of nonnegative integers $j \\leq 11280$ such that $\\binom{11280}{j}$ is odd. Let $S$ be the set of prime numbers $d$ such that $d \\geq 2$ and $d$ divides 6. Define $k$ to be the largest prime number $n$ such that $n \\leq m$ and $n \\geq \\min(S)$. Compute the remainder when $41009 \\cdot \\binom{a}{k}$ is divided by $63010$.", "answer": 33510, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10),\n \"_n\": Const(63010),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(11280)), Eq(Mod(value=Binom(n=Const(11280), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6)))))), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(41009),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MAX_PRIME_BELOW", "V8"], "recipe_id": "633099", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "V8"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:44:47.538215Z", "verification": {"verified": true, "answer": 33510, "timestamp": "2026-02-08T05:44:47.542917Z"}, "problem_hash": "3581c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 33510, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 177, "completion_tokens": 2159}, "timestamp": "2026-02-12T13:33:39.010Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 250, "completion_tokens": 577}, "timestamp": "2026-02-11T23:02:53.503Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "V8": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "L3c": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1972ab", "alias": "geo_count_lattice_rect_v1_397696148_1487", "problem": "Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 48$ and $0 \\leq y \\leq 40$.", "answer": 2009, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(48),\n \"b\": Const(40),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T12:34:19.910434Z", "verification": {"verified": true, "answer": 2009, "timestamp": "2026-02-08T12:34:19.911939Z"}, "problem_hash": "f01992", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2009, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 139, "completion_tokens": 180}, "timestamp": "2026-02-12T05:25:36.319Z"}], "solution_status": 2, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "180729", "alias": "sequence_lucas_compute_v1_153355830_2823", "problem": "Let $m = 73$. Define $n$ to be the number of prime numbers less than or equal to $m$. Let $L_n$ denote the $n$-th Lucas number, where the Lucas sequence is defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$. Let $P$ be the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 11478$. Compute the remainder when the product of $|P|$ and $L_n$ is divided by 98645.", "answer": 95929, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(73),\n \"_n\": Const(98645),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\"))))),\n \"result\": Lucas(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(11478))))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_PRIMES"], "recipe_id": "b7046a", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T07:22:43.505758Z", "verification": {"verified": true, "answer": 95929, "timestamp": "2026-02-08T07:22:43.508524Z"}, "problem_hash": "2068b2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 95929, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 1704}, "timestamp": "2026-02-13T10:07:49.646Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 263, "completion_tokens": 577}, "timestamp": "2026-02-12T01:02:44.080Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_PRIMES": "ok", "K14": "no", "K17": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "afb835", "alias": "diophantine_fbi2_count_v1_865884756_1493", "problem": "Let $k$ be the largest positive divisor of $176820$ that is at most $420$. Compute the number of positive integers $d_1$ such that $6 \\leq d_1 \\leq 201$, $d_1$ divides $k$, and $4 \\leq \\frac{k}{d_1} \\leq 199$.", "answer": 16, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(201),\n \"_n\": Const(4),\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(176820))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Summation(var=\"k1\", start=Const(1), end=Const(3), expr=Var(\"k1\"))), Leq(Var(\"d1\"), Ref(\"_m\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d1\")), Const(199))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["SUM_ARITHMETIC", "MAX_DIVISOR", "V5"], "recipe_id": "fb059a", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR", "SUM_ARITHMETIC", "V5"], "num_lemmas": 4, "generation_time": 0.275, "created_at": "2026-02-08T16:04:51.288080Z", "verification": {"verified": true, "answer": 16, "timestamp": "2026-02-08T16:04:51.563463Z"}, "problem_hash": "6dd9e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 499}, "timestamp": "2026-02-12T09:57:23.059Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "SUM_ARITHMETIC": "ok", "V5": "ok", "COUNT_PRIMES": "no", "K16": "no", "L3c": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "907443", "alias": "nt_gcd_compute_v1_1742523217_205", "problem": "Let $n_1 = 8$. Define $c = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Let $n$ be the largest prime number less than or equal to 3. Define $h = \\sum_{d \\mid n} \\phi(d) - n$, where $\\phi$ is Euler's totient function. Let $a = 522769 + h$ and $b = 844473 + c$. Compute $\\gcd(a, b)$, and denote this value by $g$. Find the value of $$\\sum_{k=1}^{|g|} \\tau(k) \\bmod 93220,$$ where $\\tau(k)$ is the number of positive divisors of $k$. Express your answer as an integer between 0 and 93219.", "answer": 59678, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n1\": Const(8),\n \"c\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"h\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Sum(Const(522769), Ref(\"h\")),\n \"b\": Sum(Const(844473), Ref(\"c\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(93220)),\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/EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE"], "recipe_id": "f67371", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:55:56.371079Z", "verification": {"verified": true, "answer": 59678, "timestamp": "2026-02-08T02:55:56.372708Z"}, "problem_hash": "2bf64b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 1393}, "timestamp": "2026-02-09T14:44:28.260Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 291, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:34:04.990Z"}], "solution_status": 0, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "EULER_TOTIENT_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "153221", "alias": "algebra_quadratic_discriminant_v1_1915831931_3443", "problem": "Let $a = -2$ and $b = -2$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy$ equals the number of integers $t$ satisfying $13 \\leq t \\leq 8124$ and $t = 5a + 4b + 4$ for some positive integers $a \\leq 1576$ and $b \\leq 60$. Define $c$ to be the minimum value of $x + y$ over all $(x, y) \\in S$. Compute $b^2 - 4ac$.", "answer": 1444, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(4),\n \"a\": Const(-2),\n \"b\": Const(-2),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=1576)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=60)), Geq(left=Var(name='t'), right=Const(value=13)), Leq(left=Var(name='t'), right=Const(value=8124)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=4))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T17:40:20.145819Z", "verification": {"verified": true, "answer": 1444, "timestamp": "2026-02-08T17:40:20.152889Z"}, "problem_hash": "e1065d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 32028, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 641}, "timestamp": "2026-02-12T22:55:17.455Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "991a9e", "alias": "comb_count_permutations_fixed_v1_458359167_1739", "problem": "Let $n = 8$ and let $\\ell = 5$. Compute the sum\n$$\n\\sum_{k=0}^{10} (-1)^k \\binom{10}{k}.\n$$\nLet $k$ be the number of positive integers $m$ such that $1 \\leq m \\leq \\ell$ and $m \\equiv \\text{that sum} \\pmod{5}$. Define\n$$\nS = \\binom{n}{k} \\cdot !(n - k),\n$$\nwhere $!r$ denotes the number of derangements of $r$ elements. Compute $S$.", "answer": 112, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"n\": Const(8),\n \"k\": 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(5)), Summation(var=\"k\", start=Const(0), end=Const(10), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=Const(10), k=Var(\"k\")))))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["BINOMIAL_ALTERNATING", "SUM_DIVISIBLE"], "recipe_id": "7f5b8a", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T04:49:45.188457Z", "verification": {"verified": true, "answer": 112, "timestamp": "2026-02-08T04:49:45.206811Z"}, "problem_hash": "1c248b", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14832, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 913}, "timestamp": "2026-02-11T22:13:22.557Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 14832, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 1080}, "timestamp": "2026-02-11T22:11:12.727Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14832, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 735}, "timestamp": "2026-02-12T03:37:23.047Z"}, {"id": 8, "model": "mathstral", "answer": 112, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 444}, "timestamp": "2026-02-14T01:35:10.153Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 466}, "timestamp": "2026-02-11T21:56:17.876Z"}], "solution_status": 1, "lemma_applicability": {"BINOMIAL_ALTERNATING": "ok", "SUM_DIVISIBLE": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "80ae37", "alias": "nt_num_divisors_compute_v1_397696148_717", "problem": "Let $S$ be the set of all integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 53$, $1 \\leq b \\leq 5$, $7 \\leq t \\leq 131$, and $t = 2a + 5b$. Let $P$ be the product of all elements in $S$. Consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = P$. Let $n$ be the minimum value of $x + y$ over all such pairs. Let $c = 22578$. Compute $c$ minus the number of positive divisors of $n$.", "answer": 22574, "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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=53)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=131)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(22578),\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/B3"], "recipe_id": "05313e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:42:53.483170Z", "verification": {"verified": true, "answer": 22574, "timestamp": "2026-02-08T11:42:53.485453Z"}, "problem_hash": "710942", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 8192}, "timestamp": "2026-02-14T17:28:15.584Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 539}, "timestamp": "2026-02-12T04:26:00.996Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "K13": "no", "K14": "no", "K17": "no", "V1": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "50085f", "alias": "nt_sum_phi_v1_1978505735_6290", "problem": "Let $S$ be the sum of $\\phi(n)$ for all integers $n$ from 1 to 500, where $\\phi(n)$ is Euler's totient function. Compute $Q = |S| \\mod 96039$. Find the value of $Q$.", "answer": 76116, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(500),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(96039)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B1", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.147, "created_at": "2026-02-08T19:32:33.551375Z", "verification": {"verified": true, "answer": 76116, "timestamp": "2026-02-08T19:32:33.698818Z"}, "problem_hash": "65e8d9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 439}, "timestamp": "2026-02-13T01:03:14.316Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "DS2": "no", "K15": "no", "K18": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "961ed8", "alias": "nt_sum_totient_over_divisors_v1_151522320_1522", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\leq n \\leq 92$. Define $n_2 = p_1^2$. Let $f = \\lambda(n_2)$, where $\\lambda(n)$ is the Liouville function. Define $p = 17$ and $q = 5$, and let $n_1 = (p \\cdot q)^{2f}$. Let $w$ be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Define $n = 43366 \\cdot w$. Compute the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ is Euler's totient function.", "answer": 43366, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(43366),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(92)), IsPrime(Var(\"n\"))))),\n \"n2\": Pow(Ref(\"p1\"), Const(2)),\n \"f\": LiouvilleLambda(n=Ref(name='n2')),\n \"p\": Const(17),\n \"q\": Const(5),\n \"n1\": Pow(Mul(Ref(\"p\"), Ref(\"q\")), Mul(Const(2), Ref(\"f\"))),\n \"w\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"n\": Mul(Ref(\"_n\"), Ref(\"w\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_ONE", "DIVISOR_PARITY"], "recipe_id": "bf473c", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:04:37.247480Z", "verification": {"verified": true, "answer": 43366, "timestamp": "2026-02-08T04:04:37.252090Z"}, "problem_hash": "1b6be9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"DIVISOR_PARITY": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "9f057d", "alias": "nt_sum_divisors_compute_v1_124444284_562", "problem": "Let $n = 73153$. Define $s$ to be the sum of the positive divisors of $n$. Let $c = 45796$ and $e = \\sum_{d \\mid \\gcd(13,17)} \\mu(d)$. Let $f = \\sum_{d \\mid \\gcd(20,90)} \\mu(d)$. For each nonnegative integer $i$, let $d_i$ be the $i$-th decimal digit of $|s|$, starting from the units place ($i=0$). Let $t$ be the sum of $d_i \\cdot (i + e)^f$ over all $i$ from $0$ to the number of digits of $|s|$ minus one. Compute $Q = t \\cdot c$.", "answer": 46098, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(73153),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Const(45796),\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=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-2), Var(\"x\")), Const(-4760)), SumOverDivisors(n=GCD(a=Const(value=20), b=Const(value=90)), var='d', expr=MoebiusMu(n=Var(name='d'))))))))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM", "MOBIUS_COPRIME"], "recipe_id": "21c613", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MOBIUS_COPRIME", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T03:22:20.838267Z", "verification": {"verified": true, "answer": 46098, "timestamp": "2026-02-08T03:22:20.844045Z"}, "problem_hash": "98bc2c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1236492, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 282, "completion_tokens": 1707}, "timestamp": "2026-02-09T19:08:49.547Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1236492, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 2317}, "timestamp": "2026-02-09T03:22:22.466Z"}], "solution_status": 0, "lemma_applicability": {"MOBIUS_COPRIME": "ok", "VIETA_SUM": "ok", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "MOD_ADD": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "8d8647", "alias": "comb_count_surjections_v1_1248542787_1", "problem": "Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 12$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 2$, $1 \\leq b \\leq 3$, and $t = 3a + 2b$. Let $k = 5$. Define $r = k! \\cdot S(n, k)$, where $S(n, k)$ denotes the Stirling number of the second kind. Compute $r + \\phi(|r| + 1) + \\tau(|r| + 1)$, where $\\phi$ denotes Euler's totient function and $\\tau(m)$ denotes the number of positive divisors of $m$.", "answer": 3602, "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=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 \"k\": Const(5),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Sum(Ref(\"result\"), EulerPhi(n=Sum(Abs(arg=Ref(name='result')), Factorial(Const(0)))), NumDivisors(n=Sum(Abs(arg=Ref(name='result')), Const(1)))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "ONE_FACTORIAL_0", "lemma_paths": ["ONE_FACTORIAL_0", "LIN_FORM"], "recipe_id": "31042a", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_FACTORIAL_0"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T02:52:15.806497Z", "verification": {"verified": true, "answer": 3602, "timestamp": "2026-02-08T02:52:15.809591Z"}, "problem_hash": "e9065d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 3902}, "timestamp": "2026-02-08T19:55:20.680Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 1128}, "timestamp": "2026-02-08T21:05:36.499Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 5651}, "timestamp": "2026-02-08T23:15:11.149Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 220, "completion_tokens": 571}, "timestamp": "2026-02-10T15:23:39.049Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 1197}, "timestamp": "2026-02-10T15:57:49.883Z"}, {"id": 8, "model": "mathstral", "answer": 3602, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 218, "completion_tokens": 565}, "timestamp": "2026-02-11T06:41:08.630Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 726}, "timestamp": "2026-02-11T19:22:55.017Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_FACTORIAL_0": "ok", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -9.5, "mid": -7.03, "hi": -4.73}, "split": "valid"} +{"id": "6a37de", "alias": "geo_count_lattice_rect_v1_1520064083_10133", "problem": "Let $a = 144$ and $b = 128$. Define $L$ to be the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 144$ and $0 \\leq y \\leq 128$.\n\nLet $Q$ be the remainder when\n$$\n\\sum_{n=1}^{L} \\phi(n)\n$$\nis divided by $89013$, where $\\phi(n)$ denotes Euler's totient function.\n\nFind the value of $Q$.", "answer": 72762, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(144),\n \"b\": Const(128),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(55), Const(55)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(89013)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 1.053, "created_at": "2026-02-08T11:13:31.078554Z", "verification": {"verified": true, "answer": 72762, "timestamp": "2026-02-08T11:13:32.131385Z"}, "problem_hash": "73882b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 4696}, "timestamp": "2026-02-14T11:04:21.811Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 530}, "timestamp": "2026-02-12T03:43:22.827Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "e7e541", "alias": "nt_sum_divisors_mod_v1_349078426_1710", "problem": "Let $n$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 70$ and $1 \\leq b \\leq 72$. Let $\\sigma$ denote the sum of all positive divisors of $n$. Compute the remainder when $\\sigma$ is divided by $10499$.", "answer": 8845, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(70)), right=IntegerRange(start=Const(1), end=Const(72)))),\n \"M\": Const(10499),\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": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T13:51:15.551309Z", "verification": {"verified": true, "answer": 8845, "timestamp": "2026-02-08T13:51:15.552761Z"}, "problem_hash": "97033e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8989, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 417}, "timestamp": "2026-02-12T07:24:53.309Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K16": "no", "K5": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cf5c2a", "alias": "nt_count_primes_v1_971394319_1413", "problem": "Define $S_1$ as the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 72$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of elements in $S_1$. Define $S_2$ as the set of all prime numbers $n$ such that $k \\leq n \\leq 75076$. Let $\\mathrm{result}$ be the number of elements in $S_2$. \n\nDefine $T$ as the set of all integers $t$ with $11 \\leq t \\leq 116$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 8$, $1 \\leq b \\leq 15$, and $t = 7a + 4b$. Let $c$ be the number of elements in $T$. \n\nCompute the remainder when $c - \\mathrm{result}$ is divided by $72286$.\n\nFind the value of $Q$.", "answer": 64975, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(75076),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=72)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q')))))))), Leq(Var(\"n\"), Ref(\"upper\")), 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=8)), 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=11)), Leq(left=Var(name='t'), right=Const(value=116)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(72286)),\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", "COPRIME_PAIRS"], "recipe_id": "e30a8c", "seed_template_id": "nt_count_primes_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 2.042, "created_at": "2026-02-08T13:40:42.137002Z", "verification": {"verified": true, "answer": 64975, "timestamp": "2026-02-08T13:40:44.178622Z"}, "problem_hash": "634b8b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 495}, "timestamp": "2026-02-12T07:15:37.900Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e6050d", "alias": "nt_count_divisible_v1_784195855_64", "problem": "Let $A$ be the number of positive even integers less than or equal to 62001.\n\nLet $B$ be the number of positive integers $n \\leq 143$ such that $\\gcd(n, 6) = 1$.\n\nLet $M$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 98$.\n\nCompute the remainder when $A^2 + B \\cdot A + M$ is divided by 77343.", "answer": 34109, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(77343),\n \"upper\": Const(62001),\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\": 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(98)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(143)), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1))))), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4", "B1"], "recipe_id": "95306b", "seed_template_id": "nt_count_divisible_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "C4"], "num_lemmas": 2, "generation_time": 2.136, "created_at": "2026-02-08T02:56:34.374102Z", "verification": {"verified": true, "answer": 34109, "timestamp": "2026-02-08T02:56:36.509952Z"}, "problem_hash": "07d287", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 34109, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 221, "completion_tokens": 1643}, "timestamp": "2026-02-10T11:54:47.566Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34109, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 225, "completion_tokens": 1721}, "timestamp": "2026-02-08T22:27:26.450Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 176, "completion_tokens": 8192}, "timestamp": "2026-02-11T23:51:20.343Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 34109, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 166, "completion_tokens": 3538}, "timestamp": "2026-02-10T16:20:41.857Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 34109, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 1308}, "timestamp": "2026-02-10T19:26:51.353Z"}, {"id": 8, "model": "mathstral", "answer": 50, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 708}, "timestamp": "2026-02-11T07:54:29.913Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 599}, "timestamp": "2026-02-11T19:56:12.736Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C4": "ok", "K16": "no", "K18": "no", "K5": "no", "L3c": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "aeb41c", "alias": "nt_count_phi_equals_v1_655260480_1776", "problem": "Let $d$ be the largest positive integer at most 4000 that divides 16028000. Let $k = 1992$. Determine the value of the number of positive integers $n$ at most $d$ such that $\\phi(n) = k$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(4000)), Divides(divisor=Var(\"d\"), dividend=Const(16028000))))),\n \"k\": Const(1992),\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": "C4", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C4", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 1.415, "created_at": "2026-02-08T16:22:12.366045Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T16:22:13.780745Z"}, "problem_hash": "be018c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 168, "completion_tokens": 590}, "timestamp": "2026-02-12T10:25:57.628Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K17": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "939099", "alias": "nt_sum_over_divisible_v1_1874849503_173", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\le n \\le 11111$ and $n$ is divisible by 18. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le 12159$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $d_{\\text{min}}$ be the smallest integer $d \\ge 2$ that divides the number of elements in $T$. Compute the Bell number $B_r$, where $r$ is the remainder when the sum of all elements in $S$ is divided by $d_{\\text{min}}$. Find the value of $B_r$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(11111),\n \"divisor\": Const(18),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=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(12159)), 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": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "ONE_PHI_2", "lemma_paths": ["L3C/MIN_PRIME_FACTOR"], "recipe_id": "def384", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MIN_PRIME_FACTOR", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.858, "created_at": "2026-02-08T12:51:00.618165Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T12:51:01.475682Z"}, "problem_hash": "52fbba", "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": 282, "completion_tokens": 2633}, "timestamp": "2026-02-09T14:22:41.836Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 877, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 1967}, "timestamp": "2026-02-10T04:06:37.106Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 233, "completion_tokens": 8192}, "timestamp": "2026-02-10T04:59:56.020Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 425}, "timestamp": "2026-02-12T05:46:53.421Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K15": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -7.22, "mid": -2.87, "hi": 1.35}, "split": "valid"} +{"id": "646709", "alias": "nt_count_divisible_and_v1_124444284_8481", "problem": "Find the number of positive integers $n$ not exceeding 89550 that are divisible by both 10 and 15. Let this number be $r$. Compute the remainder when \n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot (|r|^2 + 1) \\bmod d_1 + 215534 \\cdot (|r| + 1) \\bmod d_2\n$$\nis divided by 68530, where $d_1$ is the smallest divisor of 1239038360641 that is at least 2, and $d_2$ is the largest prime number not exceeding 104.", "answer": 45877, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(89550),\n \"d1\": Const(10),\n \"d2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(17),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1239038360641))))))), 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\"), Const(104)), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(68530)),\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"], "recipe_id": "d42f47", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 3.12, "created_at": "2026-02-08T09:44:04.876156Z", "verification": {"verified": true, "answer": 45877, "timestamp": "2026-02-08T09:44:07.995840Z"}, "problem_hash": "2f619e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62674, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 190, "completion_tokens": 3185}, "timestamp": "2026-02-14T05:48:45.872Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 276, "completion_tokens": 402}, "timestamp": "2026-02-12T03:07:14.059Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K17": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b47cbe", "alias": "sequence_lucas_compute_v1_2051736721_2332", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = k$, where $k$ is the number of integers $t$ satisfying $9 \\leq t \\leq 101$ and $t = 5a + 4b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 13$ and $1 \\leq b \\leq 9$. Compute the $n$-th Lucas number.", "answer": 5778, "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=13)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=9)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=101)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T16:34:38.114601Z", "verification": {"verified": true, "answer": 5778, "timestamp": "2026-02-08T16:34:38.117955Z"}, "problem_hash": "e949a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 215, "completion_tokens": 446}, "timestamp": "2026-02-12T11:08:56.767Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "533a88", "alias": "antilemma_cartesian_v1_124444284_4045", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ such that $1 \\le i \\le 45$ and $1 \\le j \\le 50$. Compute the remainder when $77555 \\cdot x$ is divided by $58134$.", "answer": 38616, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(45)), right=IntegerRange(start=Const(1), end=Const(50)))),\n \"_c\": Const(77555),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(58134)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T05:43:50.439778Z", "verification": {"verified": true, "answer": 38616, "timestamp": "2026-02-08T05:43:50.440345Z"}, "problem_hash": "92817e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38616, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 915}, "timestamp": "2026-02-12T13:06:07.205Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 380}, "timestamp": "2026-02-11T23:00:46.758Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "0375d5", "alias": "nt_euler_phi_compute_v1_260342960_79", "problem": "Let $a = 26$. Let $b$ be the smallest prime divisor of 4255083361. Define $m$ as the sum of the Möbius function $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$. Let $n_1 = 1320 \\cdot m$. Define $e$ as the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$. Let $n = 84100$ and let $\\varphi(n)$ denote Euler's totient function. Compute the remainder when $87187 \\cdot \\varphi(n)$ is divided by $55514 + e$. Express your answer as an integer between 0 and 99999.", "answer": 9106, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(26),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4255083361))))),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Mul(Const(1320), Ref(\"m\")),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(84100),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"_c\": Const(87187),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Sum(Const(55514), Ref(\"e\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "42a2c0", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T11:13:17.942648Z", "verification": {"verified": true, "answer": 9106, "timestamp": "2026-02-08T11:13:17.946700Z"}, "problem_hash": "cc2436", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 9106, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 271, "completion_tokens": 5863}, "timestamp": "2026-02-08T20:28:21.198Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 9106, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 267, "completion_tokens": 2508}, "timestamp": "2026-02-10T01:24:32.672Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 8192}, "timestamp": "2026-02-10T05:13:15.610Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 610}, "timestamp": "2026-02-09T06:58:54.832Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 8192}, "timestamp": "2026-02-09T16:31:28.737Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_SUM": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "L3b": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -2.33, "mid": 0.82, "hi": 3.59}, "split": "valid"} +{"id": "014a5d", "alias": "antilemma_cartesian_v1_717093673_2005", "problem": "Let $S$ be the set of all ordered pairs $(i, j)$ such that $i$ and $j$ are integers with $1 \\leq i \\leq 14$ and $1 \\leq j \\leq 21$. Let $c = 42583$. Compute the remainder when $c$ times the number of elements in $S$ is divided by $95302$. Compute this remainder.", "answer": 34840, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_c\": Const(42583),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(95302)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:27:06.517262Z", "verification": {"verified": true, "answer": 34840, "timestamp": "2026-02-08T16:27:06.518376Z"}, "problem_hash": "a7e234", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1020, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 195, "completion_tokens": 255}, "timestamp": "2026-02-12T10:37:57.930Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "162961", "alias": "diophantine_fbi2_count_v1_124444284_1208", "problem": "Let $k = 180$. Consider the set of all positive integers $d$ such that $4 \\leq d \\leq 63$, $d$ divides $k$, and $2 \\leq \\frac{k}{d} \\leq 61$. Let $r$ be the number of elements in this set. Compute the smallest positive integer $Q$ such that the $Q$-th Fibonacci number is divisible by $r + 2$. (Recall that the Fibonacci sequence is defined by $F_1 = 1$, $F_2 = 1$, and $F_n = F_{n-1} + F_{n-2}$ for $n \\geq 3$.)", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(180),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(63)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(61))))),\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": "V1", "lemma_paths": ["COUNT_FIB_DIVISIBLE/LIOUVILLE_ONE", "MOBIUS_COPRIME"], "recipe_id": "cc5937", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIOUVILLE_ONE", "MOBIUS_COPRIME", "V1"], "num_lemmas": 4, "generation_time": 2.809, "created_at": "2026-02-08T03:44:27.028649Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T03:44:29.837569Z"}, "problem_hash": "7f9c95", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 259, "completion_tokens": 1603}, "timestamp": "2026-02-10T04:26:41.051Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 20, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 1947}, "timestamp": "2026-02-09T10:57:49.884Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "MOBIUS_COPRIME": "ok", "LIOUVILLE_ONE": "ok_later", "K13": "no", "K14": "no", "K17": "no", "LTE_SUM": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "6df267", "alias": "diophantine_product_count_v1_971394319_1747", "problem": "Let $k = 360$ and $u = 315$. Consider the set of all positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Let $r$ be the number of elements in this set.\n\nLet $d_1$ be the smallest divisor of $989497$ that is at least $2$, and let $p$ be the largest prime number less than or equal to $103$. Compute the value of\n$$\n\\left( 353702 \\cdot (r \\bmod d_1) + 329703 \\cdot (r^2 \\bmod 101) + 215534 \\cdot (r \\bmod p) \\right) \\bmod 1009091\n$$\ngiven that this entire expression is then taken modulo $81574$.\n\nFind the remainder when this value is divided by $81574$.", "answer": 8952, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(103),\n \"_n\": Const(22),\n \"k\": Const(360),\n \"upper\": Const(315),\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=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=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_m\")), IsPrime(Var(\"n\")))))))), modulus=Const(1009091)), modulus=Const(81574)),\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"], "recipe_id": "d42f47", "seed_template_id": "diophantine_product_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.03, "created_at": "2026-02-08T13:53:18.007705Z", "verification": {"verified": true, "answer": 8952, "timestamp": "2026-02-08T13:53:18.037843Z"}, "problem_hash": "4532eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 430}, "timestamp": "2026-02-12T07:30:22.520Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "no", "K18": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4d8c55", "alias": "sequence_count_fib_divisible_v1_397696148_1244", "problem": "Let $x$ and $y$ be positive integers such that $xy = 144400$. Define $\\text{upper}$ to be the minimum value of $x + y$ over all such pairs. Let $S$ be the set of all integers $t$ such that $15 \\leq t \\leq 57$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 5$, and $t = 9a + 6b$. Let $d$ be the largest prime number $n$ such that $2 \\leq n \\leq |S|$. Determine the number of positive integers $n$ with $1 \\leq n \\leq \\text{upper}$ such that $d$ divides the $n$th Fibonacci number.", "answer": 108, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(144400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": 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=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=5)), Geq(left=Var(name='t'), right=Const(value=15)), Leq(left=Var(name='t'), right=Const(value=57)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), IsPrime(Var(\"n\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW", "B3"], "recipe_id": "2a7052", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.036, "created_at": "2026-02-08T12:26:17.671223Z", "verification": {"verified": true, "answer": 108, "timestamp": "2026-02-08T12:26:17.707384Z"}, "problem_hash": "7c202a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 563}, "timestamp": "2026-02-12T05:14:20.980Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6b4a92", "alias": "nt_gcd_compute_v1_1526740231_455", "problem": "Let $a = 452718$ and $b = 840762$. Let $d = \\gcd(a, b)$. Compute the remainder when $$d^2 + d \\sum_{k=1}^{6} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor$$ is divided by $90196$.", "answer": 72422, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"a\": Const(452718),\n \"b\": Const(840762),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(40),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))), Ref(\"result\")), Ref(\"_c\")), modulus=Const(90196)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2"], "recipe_id": "598070", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K2"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:32:34.280495Z", "verification": {"verified": true, "answer": 72422, "timestamp": "2026-02-08T11:32:34.281717Z"}, "problem_hash": "ead2b9", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 72382, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 119, "completion_tokens": 2434}, "timestamp": "2026-02-14T16:13:20.660Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 500}, "timestamp": "2026-02-12T04:18:01.115Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "COUNT_DIVISOR_COUNT": "no", "K17": "no", "L3b": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "5fe781", "alias": "diophantine_product_count_v1_865884756_437", "problem": "Let $p_1 = 3$ and $n_1 = p_1^3$. Let $w = \\omega(n_1)$, the number of distinct prime factors of $n_1$. Let $p = 29$ and $q = 47$, and define $n = pq$. Let $e = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $k = 840e$ and $u = 70w$. Compute the number of positive integers $x$ such that $1 \\leq x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"p1\": Const(3),\n \"n1\": Pow(Ref(\"p1\"), Const(3)),\n \"w\": SmallOmega(n=Ref(name='n1')),\n \"p\": Const(29),\n \"q\": Const(47),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"k\": Mul(Const(840), Ref(\"e\")),\n \"upper\": Mul(Const(70), Ref(\"w\")),\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": "K13", "lemma_paths": ["LIOUVILLE_ONE", "OMEGA_ONE"], "recipe_id": "a0a156", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K13", "LIOUVILLE_ONE", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.111, "created_at": "2026-02-08T15:23:09.613418Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T15:23:09.724728Z"}, "problem_hash": "3d4ea7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "OMEGA_ONE": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3c": "no", "V3": "no", "V7": "no"}, "split": "valid"} +{"id": "482137", "alias": "comb_count_surjections_v1_168721529_57", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4\\}$. Define $n = |S|$. Let $k = 3$, and let $R = k! \\cdot S(n, k)$, where $S(n, k)$ is the Stirling number of the second kind.\n\nCompute the remainder when $44121 \\cdot R$ is divided by $98620$.", "answer": 3656, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(4)))),\n \"k\": Const(3),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(98620)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:47:27.895943Z", "verification": {"verified": true, "answer": 3656, "timestamp": "2026-02-08T12:47:27.898059Z"}, "problem_hash": "3f0958", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3656, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 216, "completion_tokens": 6943}, "timestamp": "2026-02-08T20:59:38.978Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 59556, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 627}, "timestamp": "2026-02-09T12:34:36.383Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 3656, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 4324}, "timestamp": "2026-02-09T22:52:05.791Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 362}, "timestamp": "2026-02-12T05:36:27.242Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -5.32, "mid": -1.91, "hi": 1.66}, "split": "valid"} +{"id": "9729e8", "alias": "nt_count_gcd_equals_v1_124444284_3685", "problem": "Let $ k = 270 $, $ d = 10 $, and $ U = 6000 $. Let $ C $ be the number of positive integers $ n \\le U $ such that $ \\gcd(n, k) = d $. Let $ S = \\sum_{i=1}^{89} i $. Compute the remainder when $ C^2 + 24 \\cdot C + S $ is divided by $ 73893 $. Find the value of this remainder.", "answer": 25819, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24),\n \"upper\": Const(6000),\n \"k\": Const(270),\n \"d\": 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\")), Ref(\"d\"))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Const(89), expr=Var(\"k\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Ref(\"_n\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(73893)),\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"], "recipe_id": "609463", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["SUM_ARITHMETIC"], "num_lemmas": 1, "generation_time": 0.489, "created_at": "2026-02-08T05:32:39.618043Z", "verification": {"verified": true, "answer": 25819, "timestamp": "2026-02-08T05:32:40.106980Z"}, "problem_hash": "e3d744", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25819, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 745}, "timestamp": "2026-02-12T10:27:25.390Z"}, {"id": 8, "model": "mathstral", "answer": 67365, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 956}, "timestamp": "2026-02-14T19:35:01.085Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 210, "completion_tokens": 668}, "timestamp": "2026-02-11T22:47:23.120Z"}], "solution_status": 1, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K15": "no", "K16": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "a55ea8", "alias": "diophantine_fbi2_count_v1_124444284_7935", "problem": "Let $m = 15$. Let $S$ be the set of all integers $t$ such that $9 \\leq t \\leq 84$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 28$, $1 \\leq b \\leq 4$, and $t = 2a + 7b$. Let $n$ be the number of elements in $S$. Let $k = \\sum_{j=1}^{m} j$. Define $T$ as the set of all integers $d$ such that $4 \\leq d \\leq 69$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq n$. Let $r$ be the number of elements in $T$. Compute the remainder when $44121r$ is divided by $91456$.", "answer": 31265, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(15),\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=28)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=84)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"k\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(4)), Leq(Var(\"d\"), Const(69)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(91456)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/K2", "SUM_ARITHMETIC"], "recipe_id": "f7bf37", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.024, "created_at": "2026-02-08T09:27:11.650019Z", "verification": {"verified": true, "answer": 31265, "timestamp": "2026-02-08T09:27:11.673706Z"}, "problem_hash": "267b8d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31265, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 227, "completion_tokens": 2680}, "timestamp": "2026-02-14T04:16:55.539Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 577}, "timestamp": "2026-02-12T02:56:56.415Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "K2": "ok_later", "K5": "no", "L3c": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "4f000f", "alias": "nt_count_divisors_in_range_v1_784195855_7261", "problem": "Let $n = 221760$. Compute the number of positive divisors $d$ of $n$ such that $139 \\leq d \\leq 22183$. Determine the value of this number.", "answer": 107, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(221760),\n \"a\": Const(139),\n \"b\": Const(22183),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "ONE_PHI_2"], "recipe_id": "9858be", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["LIN_FORM", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.322, "created_at": "2026-02-08T09:10:16.609261Z", "verification": {"verified": true, "answer": 107, "timestamp": "2026-02-08T09:10:16.931558Z"}, "problem_hash": "b143b2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 107, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 88, "completion_tokens": 5214}, "timestamp": "2026-02-14T01:23:22.481Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 453}, "timestamp": "2026-02-12T02:38:09.621Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_2": "ok", "COUNT_COPRIME_GRID": "no", "K16": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "be1079", "alias": "geo_count_lattice_rect_v1_655260480_3728", "problem": "Let $a = 223$ and $b = 370$. Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 223$ and $0 \\leq y \\leq 370$.", "answer": 83104, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(223),\n \"b\": Const(370),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T17:30:52.248769Z", "verification": {"verified": true, "answer": 83104, "timestamp": "2026-02-08T17:30:52.250516Z"}, "problem_hash": "714a74", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 82944, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 159, "completion_tokens": 172}, "timestamp": "2026-02-12T22:42:12.377Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4723a7", "alias": "nt_euler_phi_compute_v1_1520064083_2079", "problem": "Let $m = 12$ and $n = 5$. Define $N = 68121$ and let $r = \\phi(N)$, the number of positive integers at most $N$ that are relatively prime to $N$. Let $c$ be the number of positive integers $k$ such that $1 \\le k \\le n$ and $\\gcd(k, m) = 1$. Let $d_{\\text{max}}$ be the largest positive divisor of 238 that is at most 14. Compute $r + \\left(c^{r \\bmod d_{\\text{max}}} \\bmod 50907\\right)$.", "answer": 43849, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(12),\n \"_n\": Const(5),\n \"n\": Const(68121),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(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))))), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(14)), Divides(divisor=Var(\"d\"), dividend=Const(238))))))), modulus=Const(50907))),\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", "C4"], "recipe_id": "089193", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T04:30:33.854331Z", "verification": {"verified": true, "answer": 43849, "timestamp": "2026-02-08T04:30:33.856651Z"}, "problem_hash": "43e0fd", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 43849, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 249, "completion_tokens": 1277}, "timestamp": "2026-02-10T16:56:05.892Z"}, {"id": 8, "model": "mathstral", "answer": 50911, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 206, "completion_tokens": 654}, "timestamp": "2026-02-13T18:02:27.926Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 64997, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 248, "completion_tokens": 500}, "timestamp": "2026-02-11T20:53:47.982Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K17": "no", "K5": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "89cf5e", "alias": "geo_visible_lattice_v1_124444284_9731", "problem": "Let $n = 66$. A visible lattice point $(x, y)$ in the first quadrant satisfies $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Let $P$ be the number of such points. Compute the remainder when $44121 \\cdot P$ is divided by $79757$.", "answer": 57979, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(66),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(79757)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.812, "created_at": "2026-02-08T12:38:46.391035Z", "verification": {"verified": true, "answer": 57979, "timestamp": "2026-02-08T12:38:47.203181Z"}, "problem_hash": "90990e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9493, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 478}, "timestamp": "2026-02-12T05:28:04.700Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "51261a", "alias": "nt_num_divisors_compute_v1_784195855_1630", "problem": "Let $n_2 = 1$. Define $t$ to be the number of distinct prime factors of $n_2$. Let $n_1 = 71$ and define $m = \\lambda(n_1) + 1 + t$, where $\\lambda(n)$ denotes the Liouville function. Let $n$ be the sum of the largest integer $k$ such that $11^k$ divides $5137!$ and $m$. Compute the number of positive divisors of $n$.", "answer": 10, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(1),\n \"t\": SmallOmega(n=Ref(name='n2')),\n \"n1\": Const(71),\n \"m\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1), Ref(\"t\")),\n \"n\": Sum(MaxKDivides(target=Factorial(Const(5137)), base=Const(11)), 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": "V1", "lemma_paths": ["V1/LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "recipe_id": "4478fc", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "OMEGA_ZERO", "V1"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:10:54.385030Z", "verification": {"verified": true, "answer": 10, "timestamp": "2026-02-08T05:10:54.387977Z"}, "problem_hash": "4f49a4", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"OMEGA_ZERO": "ok", "V1": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K5": "same_pattern_wrong", "K13": "no", "K14": "no", "L3c": "no", "V7": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "57efae", "alias": "antilemma_product_of_sums_v1_1520064083_1496", "problem": "Let $m = 31$ and let $n$ be the number of prime numbers between $2$ and $9257$, inclusive. Let $j_0$ be the largest positive integer $j$ such that $j$ divides $n$. Determine the value of $$\\left( \\sum_{j=0}^{j_0} \\left[ \\binom{31}{j} \\text{ is odd} \\right] \\right) \\times \\left( \\sum_{k=1}^{17} k \\right),$$ where $[P]$ is $1$ if $P$ is true and $0$ otherwise.", "answer": 75888, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(31),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(9257)), IsPrime(Var(\"n\"))))),\n \"x\": Mul(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(\"_n\")))))), Eq(Mod(value=Binom(n=Ref(\"_m\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))), Summation(var=\"k\", start=Const(1), end=Const(17), expr=Var(\"k\"))),\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/MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "recipe_id": "3e376c", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T04:02:36.271605Z", "verification": {"verified": true, "answer": 75888, "timestamp": "2026-02-08T04:02:36.277014Z"}, "problem_hash": "aadace", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "PRODUCT_OF_SUMS": "ok", "MIN_PRIME_FACTOR": "ok_later", "LTE_DIFF": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no", "V5": "no", "V7": "no"}, "split": "valid"} +{"id": "c783b1", "alias": "comb_bell_compute_v1_50713871_57", "problem": "Let $n$ be the largest positive divisor of 88 that is at most 8. Let $B_n$ denote the $n$th Bell number, which counts the number of partitions of a set of $n$ elements. Find the remainder when $15003 \\cdot B_n$ is divided by 57022.", "answer": 15462, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\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(88))))),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(15003), Ref(\"result\")), modulus=Const(57022)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_bell_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T02:43:54.895166Z", "verification": {"verified": true, "answer": 15462, "timestamp": "2026-02-08T02:43:54.896736Z"}, "problem_hash": "d4a61a", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 182, "completion_tokens": 993}, "timestamp": "2026-02-08T19:45:47.328Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 178, "completion_tokens": 932}, "timestamp": "2026-02-09T19:28:25.960Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 8192}, "timestamp": "2026-02-09T23:56:27.674Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 4, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 403}, "timestamp": "2026-02-10T13:53:12.894Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 114, "completion_tokens": 1367}, "timestamp": "2026-02-09T23:30:29.075Z"}, {"id": 8, "model": "mathstral", "answer": 496, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 523}, "timestamp": "2026-02-11T02:56:44.649Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 179, "completion_tokens": 222}, "timestamp": "2026-02-11T19:40:14.053Z"}], "solution_status": 1, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K16": "no", "LTE_SUM": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "3c5258", "alias": "nt_count_divisors_in_range_v1_124444284_8434", "problem": "Let $a$ be the sum of the integers from 1 to 9. Let $b$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 23$, $1 \\leq j \\leq 68$, and $\\gcd(i, j) = 1$. Let $n = 55440$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 61, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(55440),\n \"a\": Summation(var=\"k\", start=Const(1), end=Const(9), expr=Var(\"k\")),\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(23)), right=IntegerRange(start=Const(1), end=Const(68))))),\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", "SUM_ARITHMETIC"], "recipe_id": "5912d6", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T09:42:35.229899Z", "verification": {"verified": true, "answer": 61, "timestamp": "2026-02-08T09:42:35.242333Z"}, "problem_hash": "bd4c4d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 143, "completion_tokens": 4180}, "timestamp": "2026-02-14T05:43:07.281Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 508}, "timestamp": "2026-02-12T03:06:34.124Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "SUM_ARITHMETIC": "ok", "K13": "no", "K17": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "200f58", "alias": "nt_max_prime_below_v1_798873815_106", "problem": "Let $a=69$ and $b=71$. Let\n$$u=\\sum_{d\\mid \\gcd(a,b)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $n=112$ and\n$$s=\\sum_{d\\mid n} \\mu(d).$$\n\nLet $U=21316$. Consider all integers $N$ such that\n\\begin{itemize}\n\\item $N$ is prime,\n\\item $N\\le U$, and\n\\item $N\\ge M$, where $M$ is the number of integers $m$ with $1\\le m\\le 22$ and\n$$m\\equiv \\left\\lfloor \\frac{m}{2} \\right\\rfloor \\pmod{11}.$$\n\\end{itemize}\nAssume this set of such primes $N$ is nonempty, and let $R$ be its maximum element.\n\nLet $c=2003+s$.\n\nConsider the set of all integers $k$ such that $2\\le k\\le 313$ and $k$ is prime, and assume this set is nonempty. Let $P$ be the maximum element of this set.\n\nDefine\n$$Q=\\bigl(R\\bmod(317u)\\bigr)+c\\cdot\\bigl(R\\bmod P\\bigr),$$\nwhere each remainder is taken to be the unique integer in its natural range of residues.\n\nFind the value of $Q$.\"", "answer": 58161, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(69),\n \"b\": Const(71),\n \"u\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(112),\n \"s\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(21316),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(22)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": Sum(Const(2003), Ref(\"s\")),\n \"Q\": Sum(Mod(value=Ref(\"result\"), modulus=Mul(Const(317), Ref(\"u\"))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(313)), IsPrime(Var(\"n\")))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/MOBIUS_COPRIME", "MOBIUS_SUM", "L3C"], "recipe_id": "aef845", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["L3C", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 2.403, "created_at": "2026-02-08T02:26:11.389662Z", "verification": {"verified": true, "answer": 58161, "timestamp": "2026-02-08T02:26:13.792509Z"}, "problem_hash": "4e9076", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 58161, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 431, "completion_tokens": 4684}, "timestamp": "2026-02-08T19:00:29.314Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 58161, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 427, "completion_tokens": 2402}, "timestamp": "2026-02-09T13:37:10.922Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 387, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:58:27.930Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 2023, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 371, "completion_tokens": 598}, "timestamp": "2026-02-08T20:31:42.735Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 58161, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 342, "completion_tokens": 3895}, "timestamp": "2026-02-08T23:42:27.144Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -4.95, "mid": -1.87, "hi": 1.4}, "split": "valid"} +{"id": "660c23", "alias": "nt_sum_gcd_range_mod_v1_124444284_10282", "problem": "Let $N$ be the largest positive divisor of $11346772$ that is at most $3364$. Let $k = 90$ and define\n$$\nS = \\sum_{n=1}^{N} \\gcd(n, k).\n$$\nLet $R$ be the remainder when $S$ is divided by $10613$. Let $b = |R| \\bmod{11}$.\n\nCompute the $b$-th Bell number, where the Bell numbers count the number of partitions of a set of size $b$.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(3364)), Divides(divisor=Var(\"d\"), dividend=Const(11346772))))),\n \"k\": Const(90),\n \"M\": Const(10613),\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=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.159, "created_at": "2026-02-08T12:56:24.008094Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T12:56:24.166911Z"}, "problem_hash": "6f12a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 408}, "timestamp": "2026-02-12T05:56:31.623Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "LTE_DIFF": "no", "MOD_ADD": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "210dfb", "alias": "modular_product_range_v1_784195855_2539", "problem": "Let $S$ be the set of all positive integers $n \\leq 21$ such that $10$ divides $n$ and $\\gcd(n, 21) = 1$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 15405625$. Define $U$ to be the set of all values $x + y$ where $(x, y) \\in T$. Let $m$ be the minimum element of $U$. Let $k$ be the number of elements in $S$. Define $p$ to be the product of all integers from 49 to $k$, inclusive. Let $r$ be the remainder when $p$ is divided by 10799. Compute\n$$\n\\sum_{n=1}^{r} \\phi(n) \\bmod 99215,\n$$\nwhere $\\phi$ denotes Euler's totient function.", "answer": 38299, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(10799),\n \"_n\": Const(21),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(49), 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(15405625)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(10), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Ref(\"_m\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(1)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(99215)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/C5", "ONE_PHI_1"], "recipe_id": "e5b2ec", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C5", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.305, "created_at": "2026-02-08T05:50:48.913197Z", "verification": {"verified": true, "answer": 38299, "timestamp": "2026-02-08T05:50:49.218327Z"}, "problem_hash": "51e5be", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "C5": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K15": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "b0c2e5", "alias": "diophantine_fbi2_count_v1_677425708_526", "problem": "Let $S_1$ be the set of all integers $t$ such that $11 \\le t \\le 268$ and there exist positive integers $a \\le 60$, $b \\le 4$ satisfying $t = 4a + 7b$. Let $k$ be the number of elements in $S_1$.\n\nLet $S_2$ be the set of all integers $t$ such that $14 \\le t \\le 156$ and there exist positive integers $a \\le 26$, $b \\le 7$ satisfying $t = 4a + 7b + 3$. Let $m$ be the number of elements in $S_2$.\n\nLet $D$ be the set of all integers $d$ such that $5 \\le d \\le m$, $d$ divides $k$, $3 \\le \\frac{k}{d} \\le n_{\\min}$, where $n_{\\min}$ is the smallest positive integer $n$ such that $3^{59}$ divides $n!$.\n\nLet $r$ be the number of elements in $D$.\n\nCompute $21025 - r$.", "answer": 21011, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(21025),\n \"_n\": Const(5),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=60)), 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=268)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=26)), 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=156)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b')), Const(value=3))))))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3)), Leq(Div(Ref(\"k\"), Var(\"d\")), MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(59)), domain='Z_{>0}')))))),\n \"Q\": Sub(Ref(\"_m\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIOUVILLE_MINUS_ONE", "lemma_paths": ["LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE", "LIN_FORM", "V5"], "recipe_id": "f1648d", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE", "V5"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T03:35:24.580490Z", "verification": {"verified": true, "answer": 21011, "timestamp": "2026-02-08T03:35:24.594472Z"}, "problem_hash": "d9c063", "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": 361, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:42:38.324Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 21011, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 357, "completion_tokens": 5062}, "timestamp": "2026-02-10T05:20:18.849Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok", "MOBIUS_SQUAREFREE": "ok", "V5": "ok", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "K16": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "41bf2b", "alias": "comb_sum_binomial_row_v1_1520064083_3712", "problem": "Let $A$ be the set of all ordered pairs $(k,j)$ of integers with $1\\le k\\le 4$ and $1\\le j\\le 8$. Let $S$ be the sum of all values of $k$ as $(k,j)$ ranges over $A$.\n\nLet $B$ be the set of all ordered pairs $(x,y)$ of positive integers such that\n$$xy = \\#\\{n\\in\\mathbb{Z} : 1\\le n\\le 77760 \\text{ and } 30 \\text{ divides the } n\\text{th Fibonacci number}\\},$$\nwhere $\\#\\{\\cdot\\}$ denotes the number of elements of a set. Let $T$ be the set of all values of $x+y$ as $(x,y)$ ranges over $B$, and assume $T$ is nonempty. Let $m$ be the minimum element of $T$.\n\nDefine\n$$n = \\frac{8S}{m}$$\nand\n$$Q = 2^n.$$\n\nCompute $Q$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8),\n \"_m\": Const(2),\n \"n\": Div(Mul(Ref(\"_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(9)))), expr=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\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(77760)), Divides(divisor=Const(30), dividend=Fibonacci(arg=Var(name='n'))))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))),\n \"result\": Pow(Ref(\"_m\"), Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/B3/SUM_INDEPENDENT", "SUM_ARITHMETIC"], "recipe_id": "a3bd50", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "SUM_ARITHMETIC", "SUM_INDEPENDENT"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T05:49:59.747189Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T05:49:59.751278Z"}, "problem_hash": "3d66cf", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 256, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 264, "completion_tokens": 3913}, "timestamp": "2026-02-12T14:41:24.328Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 335, "completion_tokens": 446}, "timestamp": "2026-02-11T23:08:40.120Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "SUM_ARITHMETIC": "ok", "B3": "ok_later", "SUM_INDEPENDENT": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "98155f", "alias": "algebra_vieta_sum_v1_2051736721_5395", "problem": "Let $P(x) = x^4 - 5x^3 - 23x^2 + 45x + m$, where $m$ is the largest positive divisor of $16002$ that is at most $126$. Find the sum of all real roots of the equation $P(x) = 0$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16002),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(4)), Mul(Const(-5), Pow(Var(\"x\"), Const(3))), Mul(Const(-23), Pow(Var(\"x\"), Const(2))), Mul(Const(45), Var(\"x\")), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(126)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\")))))), Const(0)))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.085, "created_at": "2026-02-08T18:31:45.046466Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T18:31:45.131439Z"}, "problem_hash": "9d0803", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 179, "completion_tokens": 318}, "timestamp": "2026-02-13T00:13:19.617Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K18": "no", "L3b": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "5f9b42", "alias": "nt_sum_gcd_range_mod_v1_151522320_1727", "problem": "Let $\\_m = 899$ and $\\_n = 59132$. Define $N$ to be the number of integers $t$ with $37 \\leq t \\leq 11215$ for which there exist positive integers $a \\leq 727$ and $b \\leq 275$ such that $t = 12a + 9b + 16$. Let $k$ be the number of positive integers $n$ with $1 \\leq n \\leq \\sum_{d \\mid \\_m} \\phi(d)$ that are relatively prime to $\\sum_{j=1}^5 j$, where $\\phi$ is Euler's totient function. Let $M = 10597$. Define $\\text{sum} = \\sum_{n=1}^{N} \\gcd(n, k)$. Let $\\text{result} = \\text{sum} \\bmod{M}$, and define $Q = |\\text{result}| \\bmod{\\_n}$. Determine the value of $Q$.", "answer": 7070, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(899),\n \"_n\": Const(59132),\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=727)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=275)), Geq(left=Var(name='t'), right=Const(value=37)), Leq(left=Var(name='t'), right=Const(value=11215)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=9), Var(name='b')), Const(value=16)))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d')))), Eq(GCD(a=Var(\"n\"), b=Summation(var=\"k\", start=Const(1), end=Const(5), expr=Var(\"k\"))), Const(1))))),\n \"M\": Const(10597),\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=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/C4", "K3/C4", "LIN_FORM"], "recipe_id": "5dfe1b", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "K3", "LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.172, "created_at": "2026-02-08T04:12:58.999977Z", "verification": {"verified": true, "answer": 7070, "timestamp": "2026-02-08T04:12:59.171629Z"}, "problem_hash": "efa8ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 567, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 333, "completion_tokens": 5200}, "timestamp": "2026-02-11T08:58:29.178Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 333, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:18:21.365Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 258, "completion_tokens": 5412}, "timestamp": "2026-02-11T23:54:09.166Z"}, {"id": 8, "model": "mathstral", "answer": 487, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 1588}, "timestamp": "2026-02-13T13:58:21.384Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 333, "completion_tokens": 673}, "timestamp": "2026-02-11T21:29:09.439Z"}], "solution_status": 1, "lemma_applicability": {"K3": "ok", "LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "6f2d68", "alias": "antilemma_coprime_grid_v1_1520064083_3585", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 144$ such that $\\gcd(i, j) = 1$. Let $d_1, d_2, \\dots, d_k$ be the positive divisors of $10379$ that are at most $97$. Compute the remainder when\n$$\n353702 \\cdot |x| \\bmod \\max\\{d_1, \\dots, d_k\\} + 329703 \\cdot \\left(|x|^2 + 1 \\bmod 101\\right) + 215534 \\cdot \\left(|x| + 16 \\bmod 103\\right)\n$$\nis divided by $1009091$.", "answer": 3975, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10379),\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(6)), right=IntegerRange(start=Const(1), end=Const(144))))),\n \"Q\": Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='x')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(97)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='x')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Const(16)), modulus=Const(103)))), modulus=Const(1009091)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR", "COUNT_COPRIME_GRID"], "recipe_id": "93c404", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:45:11.257357Z", "verification": {"verified": true, "answer": 3975, "timestamp": "2026-02-08T05:45:11.259286Z"}, "problem_hash": "83f89c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K15": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "valid"} +{"id": "47702c", "alias": "comb_count_permutations_fixed_v1_971394319_402", "problem": "Let $n$ be the number of integers $t$ with $5 \\leq t \\leq 17$ such that there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 4$, $1 \\leq b \\leq 3$, and $t = 2a + 3b$. Let $k$ be the number of positive integers $p$ such that there exists a positive integer $q$ with $p \\cdot q = 1323000$, $\\gcd(p, q) = 1$, and $p < q$. Define $\\text{result} = \\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements. Find the value of $\\text{result}$.", "answer": 330, "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=3)), 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=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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=1323000)), 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\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:03:56.874629Z", "verification": {"verified": true, "answer": 330, "timestamp": "2026-02-08T13:03:56.878497Z"}, "problem_hash": "99ac63", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 690}, "timestamp": "2026-02-12T06:05:49.644Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cdb782", "alias": "diophantine_fbi2_count_v1_548369836_174", "problem": "Let $m = 6$. Let $n$ be the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 7$ and $1 \\leq j \\leq 19$ such that $\\gcd(i,j) = \\phi(1)$, where $\\phi$ is Euler's totient function. Let $P$ be the set of all pairs of positive integers $(x,y)$ such that $x + y = 4$, and let $M$ be the maximum value of $xy$ over all such pairs. Compute the number of positive divisors $d$ of 480 such that $d \\geq M$, $d \\leq n$, $\\frac{480}{d} \\geq m$, and $\\frac{480}{d} \\leq 94$.", "answer": 14, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": 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(7)), right=IntegerRange(start=Const(1), end=Const(19))))),\n \"k\": Const(480),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\"))))), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(94))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["COUNT_COPRIME_GRID/B1", "ONE_PHI_1"], "recipe_id": "40f588", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "ONE_PHI_1", "V8"], "num_lemmas": 4, "generation_time": 0.094, "created_at": "2026-02-08T02:47:49.043232Z", "verification": {"verified": true, "answer": 14, "timestamp": "2026-02-08T02:47:49.137209Z"}, "problem_hash": "055ffe", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 287, "completion_tokens": 3676}, "timestamp": "2026-02-08T19:58:14.712Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 283, "completion_tokens": 1758}, "timestamp": "2026-02-09T20:38:53.070Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 238, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:57:38.209Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 229, "completion_tokens": 783}, "timestamp": "2026-02-09T03:06:17.941Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 1478}, "timestamp": "2026-02-09T09:51:38.121Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "ONE_PHI_1": "ok", "B1": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -6.8, "mid": -4.25, "hi": -1.31}, "split": "valid"} +{"id": "36ac45", "alias": "nt_min_with_divisor_count_v1_1520064083_3918", "problem": "Let $ n $ be a positive integer such that $ \\gcd(n, 12) = 1 $ and $ 1 \\le n \\le 16663 $. Let $ u $ be the number of such integers $ n $. Let $ d = 8 $. Let $ r $ be the smallest positive integer $ n \\le u $ such that $ n $ has exactly $ d $ positive divisors. Let $ c $ be the number of integers $ t $ with $ 14 \\le t \\le 40 $ for which there exist positive integers $ a $ and $ b $ such that $ 1 \\le a \\le 5 $, $ 1 \\le b \\le 2 $, and $ t = 4a + 10b $. Let $ Q $ be the remainder when\n$$\n353702 \\cdot (|r| \\bmod 97) + 329703 \\cdot \\left( (|r|^2 + 1) \\bmod 101 \\right) + 215534 \\cdot \\left( (|r| + c) \\bmod 103 \\right)\n$$\nis divided by $ 94868 $. Compute $ Q $. ", "answer": 11335, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(101),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(16663)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))),\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\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=14)), Leq(left=Var(name='t'), right=Const(value=40)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(94868)),\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", "C4"], "recipe_id": "615877", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.776, "created_at": "2026-02-08T05:58:54.587448Z", "verification": {"verified": true, "answer": 11335, "timestamp": "2026-02-08T05:58:55.363343Z"}, "problem_hash": "08d0c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 90532, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 2463}, "timestamp": "2026-02-12T17:31:53.022Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 374, "completion_tokens": 495}, "timestamp": "2026-02-11T23:24:38.473Z"}], "solution_status": 0, "lemma_applicability": {"C4": "ok", "LIN_FORM": "ok", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "MOD_SUB": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b79b11", "alias": "geo_count_lattice_triangle_v1_1820931509_406", "problem": "Let $A$ be the area of a triangle with vertices at $(0,0)$, $(169,8)$, and $(41,120)$, multiplied by 2. Let $B$ be the number of lattice points on the boundary of this triangle. Compute the value of $2584 - \\frac{A - B + 2}{2}$, and find the remainder when this value is divided by $71566$.", "answer": 64182, "graph": "graphs = [\n Graph(\n let={\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=169), Const(value=120)), Mul(Const(value=41), Sub(left=Const(value=0), right=Const(value=8))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=169)), b=Abs(arg=Const(value=8))), GCD(a=Abs(arg=Sub(left=Const(value=41), right=Const(value=169))), b=Abs(arg=Sub(left=Const(value=120), right=Const(value=8)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=41))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=120))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"_c\": Const(2584),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(71566)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.002, "created_at": "2026-02-08T11:34:54.180494Z", "verification": {"verified": true, "answer": 64182, "timestamp": "2026-02-08T11:34:54.182794Z"}, "problem_hash": "c0549d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 64182, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 131, "completion_tokens": 1742}, "timestamp": "2026-02-14T16:05:52.645Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 461}, "timestamp": "2026-02-12T04:17:25.360Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "f266ad", "alias": "comb_count_derangements_v1_1978505735_7098", "problem": "Let $m=7$. Let $n$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying\n\\[1\\le a\\le 2,\\quad 1\\le b\\le 4,\\quad 10\\le t\\le 28,\\quad t=6a+4b.\n\\]\nLet $n_2$ be the number of ordered pairs $(x_1,x_2)$ of positive odd integers such that\n\\[x_1+x_2=n.\n\\]\nDefine\n\\[c=\\sum_{k=0}^{n_2}(-1)^k\\binom{n_2}{k}.\n\\]\nLet $a'$ be the sum of $c$ and the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 5$ and $1\\le j\\le 5$ such that\n\\[i+j=m.\n\\]\nLet $b'=3$, and let\n\\[n_1=a'+b'.\n\\]\nDefine\n\\[e=\\sum_{k_1=0}^{n_1}(-1)^{k_1}\\binom{n_1}{k_1},\\qquad n=8+e.\n\\]\nFinally, let $Q$ be the number of derangements of $n$ objects, that is,\n\\[Q={!n}.\n\\]\nCompute $Q$.", "answer": 14833, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"n2\": 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 \"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 \"a\": Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(5))))), Ref(\"c\")),\n \"b\": Const(3),\n \"n1\": Sum(Ref(\"a\"), Ref(\"b\")),\n \"e\": Summation(var=\"k1\", start=Const(0), end=Ref(\"n1\"), expr=Mul(Pow(Const(-1), Var(\"k1\")), Binom(n=Ref(\"n1\"), k=Var(\"k1\")))),\n \"n\": Sum(Const(8), Ref(\"e\")),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1/BINOMIAL_ALTERNATING", "COUNT_SUM_EQUALS/BINOMIAL_ALTERNATING"], "recipe_id": "c02574", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "COUNT_SUM_EQUALS", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T20:02:30.621887Z", "verification": {"verified": true, "answer": 14833, "timestamp": "2026-02-08T20:02:30.636031Z"}, "problem_hash": "3f41c1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 412, "completion_tokens": 518}, "timestamp": "2026-02-13T01:15:56.850Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b6eba8", "alias": "sequence_lucas_compute_v1_124444284_3140", "problem": "Let $S$ be the set of all positive integers $t$ such that there exist integers $a$ and $b$ with $1 \\leq a \\leq 22$, $1 \\leq b \\leq 15$, $7 \\leq t \\leq 133$, and $t = 4a + 3b$. Let $N$ be the number of elements in $S$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = N$. Define $s(x, y) = x + y$ for each pair $(x, y) \\in T$. Let $n$ be the minimum value of $s(x, y)$ over all such pairs. Compute the $n$th Lucas number.", "answer": 39603, "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=22)), 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=7)), Leq(left=Var(name='t'), right=Const(value=133)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:16:05.802644Z", "verification": {"verified": true, "answer": 39603, "timestamp": "2026-02-08T05:16:05.804235Z"}, "problem_hash": "b000cd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 20633239, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 208, "completion_tokens": 4186}, "timestamp": "2026-02-12T05:50:44.632Z"}, {"id": 8, "model": "mathstral", "answer": 42, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 225, "completion_tokens": 1106}, "timestamp": "2026-02-14T10:31:40.661Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 598}, "timestamp": "2026-02-11T22:23:01.522Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "8ea83d", "alias": "algebra_poly_eval_v1_1520064083_8359", "problem": "Let $x = 6$. Compute the value of\n\\[\n\\frac{-35x^6 + 247x^5 + 650x^4 + 459x^3 + 27x^2 - 172x - 96}{1700}.\n\\]", "answer": 723, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(1700),\n \"x\": Const(6),\n \"result\": Div(Sum(Mul(Const(-35), Pow(Ref(\"x\"), Const(6))), Mul(Const(247), Pow(Ref(\"x\"), Const(5))), Mul(Const(650), Pow(Ref(\"x\"), Const(4))), Mul(Const(459), Pow(Ref(\"x\"), Const(3))), Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(9)))), Pow(Ref(\"x\"), Const(2))), Mul(Const(-172), Ref(\"x\")), Const(-96)), Ref(\"_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"], "recipe_id": "409d7d", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T10:09:35.276693Z", "verification": {"verified": true, "answer": 723, "timestamp": "2026-02-08T10:09:35.279516Z"}, "problem_hash": "e25ee2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 723, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 1096}, "timestamp": "2026-02-14T06:33:21.163Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 215}, "timestamp": "2026-02-12T03:12:00.343Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "1456ac", "alias": "modular_mod_compute_v1_124444284_3542", "problem": "Let $a$ be the number of elements in the Cartesian product of the sets $\\{1, 2, 3, 4\\}$ and $\\{1, 2, 3, 4, 5, 6\\}$. Compute the remainder when $a$ is divided by $60025$.", "answer": 24, "graph": "graphs = [\n Graph(\n let={\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"m\": Const(60025),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T05:26:46.193349Z", "verification": {"verified": true, "answer": 24, "timestamp": "2026-02-08T05:26:46.197020Z"}, "problem_hash": "62d464", "license": "CC BY 4.0", "llm_solvers": [{"id": 8, "model": "mathstral", "answer": 24, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 121, "completion_tokens": 321}, "timestamp": "2026-02-11T22:50:37.342Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 24, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 167, "completion_tokens": 170}, "timestamp": "2026-02-11T22:42:51.344Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "valid"} +{"id": "8c02a5", "alias": "antilemma_cartesian_v1_1918700295_424", "problem": "Compute the value of $Q = (21 \\times 37) - (15 \\times 21)$. Find the value of $Q$.", "answer": 462, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"_c\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T03:13:08.790526Z", "verification": {"verified": true, "answer": 462, "timestamp": "2026-02-08T03:13:08.792140Z"}, "problem_hash": "d6f7db", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 143}, "timestamp": "2026-02-10T13:25:50.681Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 129}, "timestamp": "2026-02-10T13:01:24.009Z"}, {"id": 8, "model": "mathstral", "answer": 462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 88, "completion_tokens": 137}, "timestamp": "2026-02-11T17:01:45.418Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 462, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 115}, "timestamp": "2026-02-11T19:24:16.687Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.81, "hi": -7.62}, "split": "valid"} +{"id": "8e085a", "alias": "nt_sum_divisors_range_v1_1431428450_1051", "problem": "Let $D$ be the largest positive divisor of $88623371$ that does not exceed $9409$. Compute the sum of the number of positive divisors of all positive integers $n \\leq D$.", "answer": 87563, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(9409),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(88623371))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.322, "created_at": "2026-02-08T13:52:44.957340Z", "verification": {"verified": true, "answer": 87563, "timestamp": "2026-02-08T13:52:45.279117Z"}, "problem_hash": "763830", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 303}, "timestamp": "2026-02-12T07:29:41.605Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f58fff", "alias": "antilemma_cartesian_v1_655260480_2923", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 10$ and $1 \\leq b \\leq 15$. Compute the remainder when $72343 \\cdot x$ is divided by $75850$.", "answer": 4900, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(15)))),\n \"_c\": Const(72343),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(75850)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:03:48.859367Z", "verification": {"verified": true, "answer": 4900, "timestamp": "2026-02-08T17:03:48.860135Z"}, "problem_hash": "4b580a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 340}, "timestamp": "2026-02-12T21:43:57.304Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dae675", "alias": "antilemma_cartesian_v1_1978505735_7713", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 11$ and $1 \\leq b \\leq 15$. Compute the remainder when $44121 \\cdot x$ is divided by 57811. Find the value of this remainder.", "answer": 53590, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(11)), right=IntegerRange(start=Const(1), end=Const(15)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(57811)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T20:24:13.619903Z", "verification": {"verified": true, "answer": 53590, "timestamp": "2026-02-08T20:24:13.620684Z"}, "problem_hash": "db74b4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 368}, "timestamp": "2026-02-13T01:22:24.686Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "be3003", "alias": "modular_min_modexp_v1_548369836_276", "problem": "Let $a = 5$ and $b = 16 \\times 21$. Let $m = 557$. Find the smallest positive integer $x$ such that\n$$\n5^x \\equiv b \\pmod{m}\n$$\nand $1 \\leq x \\leq 556$. Compute the value of $x$.", "answer": 461, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(5),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(21)))),\n \"m\": Const(557),\n \"upper\": Const(556),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "COUNT_COPRIME_GRID"], "num_lemmas": 2, "generation_time": 0.076, "created_at": "2026-02-08T02:50:20.576925Z", "verification": {"verified": true, "answer": 461, "timestamp": "2026-02-08T02:50:20.652831Z"}, "problem_hash": "1f3b59", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 461, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 5267}, "timestamp": "2026-02-08T20:17:39.613Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 183, "completion_tokens": 8192}, "timestamp": "2026-02-09T21:54:05.412Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 136, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:39:56.037Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 233, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 129, "completion_tokens": 448}, "timestamp": "2026-02-09T04:15:54.665Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 240, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 113, "completion_tokens": 6260}, "timestamp": "2026-02-09T11:42:04.325Z"}, {"id": 8, "model": "mathstral", "answer": 5, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 424}, "timestamp": "2026-02-11T04:17:15.680Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 580}, "timestamp": "2026-02-11T19:43:19.955Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.05, "mid": 2.79, "hi": 5.99}, "split": "valid"} +{"id": "9682aa", "alias": "geo_count_lattice_triangle_v1_151522320_2522", "problem": "Let $c = 196$. Let $n$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = c$.\n\nDefine $A = \\left| 120 \\cdot 171 + k \\cdot (-n) \\right|$, where $k$ is the number of integers $t$ in the interval $[25, 137]$ for which there exist positive integers $a \\in [1, 12]$ and $b \\in [1, 8]$ such that $t = 7a + 5b + 13$.\n\nLet $B$ be the sum\n$$\n\\gcd(120, 28) + \\gcd(|120 - 89|, |171 - 28|) + \\gcd(89, 171).\n$$\n\nLet $R = \\frac{A + 2 - B}{2}$.\n\nLet $Q$ be the remainder when\n$$\n\\left(\\text{the number of integers } t \\in [7, 2613] \\text{ for which there exist } a \\in [1, 414], b \\in [1, 319] \\text{ such that } t = 4a + 3b\\right) - R\n$$\nis divided by $51485$.\n\nCompute $Q$.", "answer": 45074, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(196),\n \"_m\": Const(51485),\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(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=120), Const(value=171)), Mul(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=12)), 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=25)), Leq(left=Var(name='t'), right=Const(value=137)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=5), Var(name='b')), Const(value=13)))))))), Sub(left=Const(value=0), right=Ref(name='_n'))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=120)), b=Abs(arg=Const(value=28))), GCD(a=Abs(arg=Sub(left=Const(value=89), right=Const(value=120))), b=Abs(arg=Sub(left=Const(value=171), right=Const(value=28)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=89))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=171))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Const(2)),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=414)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=319)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=2613)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "B3/LIN_FORM"], "recipe_id": "7a8a0a", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T04:51:07.252222Z", "verification": {"verified": true, "answer": 45074, "timestamp": "2026-02-08T04:51:07.263850Z"}, "problem_hash": "7eb90f", "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": 404, "completion_tokens": 8192}, "timestamp": "2026-02-11T22:09:57.206Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 45077, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 404, "completion_tokens": 5428}, "timestamp": "2026-02-11T22:10:31.532Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 45330, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 6509}, "timestamp": "2026-02-12T03:33:59.435Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 385, "completion_tokens": 843}, "timestamp": "2026-02-14T01:23:31.041Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 419, "completion_tokens": 560}, "timestamp": "2026-02-11T21:55:04.593Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "c58f17", "alias": "nt_euler_phi_compute_v1_1742523217_2985", "problem": "Let $n_1 = 1$. Define $f = \\Omega(n_1)$, the number of prime factors of $n_1$ counted with multiplicity. Let $a$ be the number of positive integers $k$ such that $1 \\leq k \\leq 198$ and $33$ divides $k$. Let $b = 245$. Define $s = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $n = 40401 \\cdot s$. Define $\\text{result} = \\phi(n)$, where $\\phi$ is Euler's totient function. Compute\n$$\n(50893 + f) \\cdot \\text{result} \\mod 85644.\n$$\nFind the value of this expression.", "answer": 29772, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(40401),\n \"n1\": Const(1),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(198)), Divides(divisor=Const(33), dividend=Var(\"k\"))), domain='positive_integers')),\n \"b\": Const(245),\n \"s\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Ref(\"_n\"), Ref(\"s\")),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Sum(Const(50893), Ref(\"f\")), Ref(\"result\")), modulus=Const(85644)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2/MOBIUS_COPRIME", "BIG_OMEGA_ZERO"], "recipe_id": "12fa33", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C2", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:29:42.195487Z", "verification": {"verified": true, "answer": 29772, "timestamp": "2026-02-08T05:29:42.199658Z"}, "problem_hash": "131030", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok_later", "K14": "no", "K17": "no", "LTE_SUM": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "4867a7", "alias": "algebra_quadratic_discriminant_v1_1125832087_392", "problem": "Let $m = 51$. Let $d_{\\text{min}}$ be the smallest integer $d \\geq 2$ that divides $6907543$. Define $c$ as the number of positive integers $n \\leq 51$ such that the sum of the decimal digits of $n$ is even. Let $a = -1$, $b = 0$, and define $\\text{result} = b^2 - 4ac$. Let $Q = (d_{\\text{min}} - \\text{result}) \\mod 67737$, where the modulo operation returns the unique remainder in the range $[0, 67736]$. Compute $Q$.", "answer": 67684, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(51),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(6907543))))),\n \"a\": Const(-1),\n \"b\": Const(0),\n \"c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"result\": Sub(Pow(Ref(\"b\"), Const(2)), Mul(Const(4), Ref(\"a\"), Ref(\"c\"))),\n \"Q\": Mod(value=Sub(Ref(\"_n\"), Ref(\"result\")), modulus=Const(67737)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["MIN_PRIME_FACTOR/L3B"], "recipe_id": "b1b960", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.036, "created_at": "2026-02-08T03:02:44.318621Z", "verification": {"verified": true, "answer": 67684, "timestamp": "2026-02-08T03:02:44.354148Z"}, "problem_hash": "41fe09", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 67690, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 1918}, "timestamp": "2026-02-10T12:34:27.802Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 67684, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 2239}, "timestamp": "2026-02-10T12:34:40.592Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 67690, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 188, "completion_tokens": 1675}, "timestamp": "2026-02-11T04:45:58.771Z"}, {"id": 8, "model": "mathstral", "answer": 56930, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 379}, "timestamp": "2026-02-11T12:59:17.523Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 372}, "timestamp": "2026-02-11T20:11:12.598Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "L3B": "ok_later", "C2": "no", "DS2": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "V1": "no"}, "irt_difficulty": {"lo": 0.02, "mid": 2.78, "hi": 5.99}, "split": "valid"} +{"id": "328a19", "alias": "nt_count_primes_v1_677425708_3744", "problem": "Let $m$ be the largest integer $k$ such that $d^k$ divides $10^{11} + 1^{11}$, where $d$ is the smallest integer $\\geq 2$ that divides $1859$. Let $r$ be the number of prime numbers $n$ such that $m \\leq n \\leq 77284$. Compute $32768 - r$.", "answer": 25174, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(77284),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Sum(Pow(Const(10), Const(11)), Pow(Const(1), Const(11))), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1859))))))), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"_c\": Const(32768),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/LTE_SUM"], "recipe_id": "cacb42", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 2.144, "created_at": "2026-02-08T05:55:09.143804Z", "verification": {"verified": true, "answer": 25174, "timestamp": "2026-02-08T05:55:11.287948Z"}, "problem_hash": "fbf090", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "LTE_SUM": "ok_later", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "736f68", "alias": "antilemma_cartesian_v1_1915831931_4092", "problem": "Compute the number of ordered pairs $(a,b)$ such that $a$ is an integer satisfying $1 \\le a \\le 31$ and $b$ is an integer satisfying $1 \\le b \\le 39$.", "answer": 1209, "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(39)))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:06:27.631159Z", "verification": {"verified": true, "answer": 1209, "timestamp": "2026-02-08T18:06:27.631935Z"}, "problem_hash": "c2201b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1209, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 148}, "timestamp": "2026-02-12T23:41:41.043Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "6de104", "alias": "geo_count_lattice_triangle_v1_1915831931_3174", "problem": "Let $A$ be the number of integers $t$ such that $18 \\leq t \\leq 228$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 22$, $1 \\leq b \\leq 10$, and $t = 4a + 14b$. Let $B$ be the number of integers $t_1$ such that $20 \\leq t_1 \\leq 19238$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 956$, $1 \\leq b \\leq 1463$, and $t_1 = 14a + 4b + 2$. Let $C$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = B$. Define\n$$\n\\text{area}_\\text{2x} = \\left| A \\cdot C - 7 \\cdot 49 \\right|.\n$$\nLet\n$$\n\\text{boundary} = \\gcd(100, 49) + \\gcd(|7 - 100|, |196 - 49|) + \\gcd(7, 196).\n$$\nCompute\n$$\n\\frac{\\text{area}_\\text{2x} + 2 - \\text{boundary}}{2}.\n$$", "answer": 9624, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(100),\n \"_m\": Const(196),\n \"_n\": Const(49),\n \"area_2x\": Abs(arg=Sum(Mul(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=22)), 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=18)), Leq(left=Var(name='t'), right=Const(value=228)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='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=CountOverSet(set=SolutionsSet(var=Var(name='t1'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=956)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1463)), Geq(left=Var(name='t1'), right=Const(value=20)), Leq(left=Var(name='t1'), right=Const(value=19238)), Eq(left=Var(name='t1'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=4), Var(name='b')), Const(value=2))))))))))), expr=Sum(Var(name='x'), Var(name='y'))))), Mul(Const(value=7), Sub(left=Const(value=0), right=Const(value=49))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Const(value=100)), b=Abs(arg=Ref(name='_n'))), GCD(a=Abs(arg=Sub(left=Const(value=7), right=Ref(name='_c'))), b=Abs(arg=Sub(left=Const(value=196), right=Const(value=49)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=7))), 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\"))), Const(2)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.02, "created_at": "2026-02-08T17:24:40.466492Z", "verification": {"verified": true, "answer": 9624, "timestamp": "2026-02-08T17:24:40.486772Z"}, "problem_hash": "e58897", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 420, "completion_tokens": 489}, "timestamp": "2026-02-12T22:38:46.866Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "55b9cb", "alias": "nt_sum_totient_over_divisors_v1_349078426_1471", "problem": "Let $n$ be the largest positive divisor of $62536343$ that does not exceed $7897$. Define $s = \\sum_{d \\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function. Compute $44121 \\cdot s \\bmod 56503$.", "answer": 26039, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7897),\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(62536343))))),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(56503)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:40:11.132318Z", "verification": {"verified": true, "answer": 26039, "timestamp": "2026-02-08T13:40:11.135062Z"}, "problem_hash": "607e17", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 384}, "timestamp": "2026-02-12T07:13:00.861Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "K17": "no", "K5": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ce5e2d", "alias": "nt_min_crt_v1_1080341949_39", "problem": "Let $m = 7$. Let $k$ be the number of integers $t$ such that $10 \\leq t \\leq 34$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 4$, and $t = 6a + 4b$. Let $a = 3$ and $b = 6$. Let $n$ be the smallest integer such that $1 \\leq n \\leq 77$, $n \\equiv a \\pmod{m}$, and $n \\equiv b \\pmod{k}$. Let $p$ be the largest prime number less than or equal to 12. Compute the Bell number $B_{|n| \\bmod p}$.\n\nFind the value of this Bell number.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"m\": Const(7),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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 \"a\": Const(3),\n \"b\": Const(6),\n \"upper\": Const(77),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(12)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM"], "recipe_id": "4b337f", "seed_template_id": "nt_min_crt_v1", "ending_id": "bell_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "LTE_DIFF", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.042, "created_at": "2026-02-08T13:09:40.183536Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T13:09:40.225502Z"}, "problem_hash": "873596", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 279, "completion_tokens": 844}, "timestamp": "2026-02-12T06:18:59.097Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "K14": "no", "K16": "no", "L3b": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cd4a5b", "alias": "comb_sum_binomial_mod_v1_677425708_2150", "problem": "Let $A$ be the set of ordered pairs $(k, j)$ where $76 \\leq k \\leq 179$ and $1 \\leq j \\leq 10$. For each $k$, let $c_k$ denote the number of integers $t$ with $30 \\leq t \\leq 855$ for which there exist positive integers $a \\leq 15$ and $b \\leq 60$ such that $t = 21a + 9b$. Let $S = \\sum_{(k,j) \\in A} \\binom{c_k}{k}$. Let $D$ be the set of positive integers $n \\leq 1195$ such that $5$ divides $n$ and $\\gcd(n, 6) = 1$. Let $s = |D|$. Let $r$ be the remainder when $\\frac{8 \\cdot S}{s}$ is divided by $10949$. Compute the remainder when $2 - r$ is divided by $77431$.", "answer": 74951, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Const(10949),\n \"sum\": Div(Mul(Const(8), SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(76), end=Const(179)), right=IntegerRange(start=Const(1), end=Const(10)))), 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=15)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=60)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=855)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))), k=Var(\"k\"))))), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1195)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(6)), Const(1)))))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_n\")),\n \"_c\": Const(2),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(77431)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/SUM_INDEPENDENT", "C5/SUM_INDEPENDENT"], "recipe_id": "d98d9d", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.028, "created_at": "2026-02-08T04:48:53.999830Z", "verification": {"verified": true, "answer": 74951, "timestamp": "2026-02-08T04:48:54.027812Z"}, "problem_hash": "120508", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:33:52.927Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 8192}, "timestamp": "2026-02-11T11:00:19.879Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 256, "completion_tokens": 7637}, "timestamp": "2026-02-12T03:35:15.095Z"}, {"id": 8, "model": "mathstral", "answer": 98304, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 293, "completion_tokens": 902}, "timestamp": "2026-02-14T01:25:03.299Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 519}, "timestamp": "2026-02-11T21:55:10.840Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok", "SUM_INDEPENDENT": "ok_later", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "MOD_SUB": "no", "V5": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "10c19c", "alias": "geo_visible_lattice_v1_1978505735_6032", "problem": "A visible lattice point $(x,y)$ is a point in the plane with integer coordinates such that $1 \\leq x, y \\leq 99$ and $\\gcd(x,y) = 1$. Let $N$ be the number of visible lattice points. Compute the remainder when $35546 \\cdot N$ is divided by $57527$.", "answer": 42125, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(99),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(35546),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(57527)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.196, "created_at": "2026-02-08T19:23:33.031749Z", "verification": {"verified": true, "answer": 42125, "timestamp": "2026-02-08T19:23:33.227959Z"}, "problem_hash": "a2b73a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 34999, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 517}, "timestamp": "2026-02-13T00:57:53.412Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f3b144", "alias": "antilemma_cartesian_v1_1978505735_3318", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 13$ and $1 \\leq b \\leq 16$. Compute $19044 - x$.", "answer": 18836, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(13)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"_c\": Const(19044),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T17:33:35.767364Z", "verification": {"verified": true, "answer": 18836, "timestamp": "2026-02-08T17:33:35.768399Z"}, "problem_hash": "a2e4fa", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 18836, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 133}, "timestamp": "2026-02-12T22:44:35.061Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "6c4c3d", "alias": "comb_catalan_compute_v1_1431428450_601", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Let $C_n$ denote the $n$-th Catalan number. Compute the remainder when $44121 \\cdot C_n$ is divided by $58747$.", "answer": 21658, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(58747)),\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"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:33:15.951887Z", "verification": {"verified": true, "answer": 21658, "timestamp": "2026-02-08T13:33:15.954501Z"}, "problem_hash": "989b6b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 435}, "timestamp": "2026-02-12T07:05:47.428Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "957f00", "alias": "antilemma_cartesian_v1_124444284_3775", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 18$ and $1 \\leq b \\leq 19$. Compute the remainder when $21703 \\cdot x$ is divided by 80211.", "answer": 43014, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"Q\": Mod(value=Mul(Const(21703), Ref(\"x\")), modulus=Const(80211)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T05:36:32.377194Z", "verification": {"verified": true, "answer": 43014, "timestamp": "2026-02-08T05:36:32.377692Z"}, "problem_hash": "d3eab1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 43014, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 103, "completion_tokens": 740}, "timestamp": "2026-02-12T11:09:49.500Z"}, {"id": 8, "model": "mathstral", "answer": 11, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 119, "completion_tokens": 427}, "timestamp": "2026-02-14T20:14:49.272Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 752}, "timestamp": "2026-02-11T22:51:18.636Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "f83891", "alias": "nt_count_gcd_equals_v1_971394319_1620", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ with $1 \\leq i \\leq 4$ and $1 \\leq j \\leq 177$ such that $\\gcd(i, j) = 1$. Compute the number of positive integers $n \\leq 20000$ such that $\\gcd(n, k) = 473$. Let $s$ be this count. Compute the sum $$\\sum_{i=0}^{\\lfloor \\log_{10} s \\rfloor} d_i (i+1)^2,$$ where $d_i$ is the $i$-th decimal digit of $s$ (starting from the units digit as $i=0$). Then add the smallest prime divisor of $2021$ to this sum.", "answer": 61, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(20000),\n \"k\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(177))))),\n \"d\": Const(473),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Ref(\"d\"))))),\n \"Q\": Sum(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)))), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(2021)))))),\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_COPRIME_GRID"], "recipe_id": "d62aa2", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 6.043, "created_at": "2026-02-08T13:47:06.354605Z", "verification": {"verified": true, "answer": 61, "timestamp": "2026-02-08T13:47:12.398039Z"}, "problem_hash": "bb6793", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 638}, "timestamp": "2026-02-12T07:26:02.236Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K17": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3fa05c", "alias": "nt_sum_divisors_compute_v1_784195855_5201", "problem": "Let $f = \\lambda(13^3) + 1$, where $\\lambda(n)$ is the Liouville function. Let $a = 5429$ and let $b$ be the largest prime number at most $17$. Define $e = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $r = \\sigma(59536)$, the sum of the positive divisors of $59536$. Compute the value of $Q$, where $Q$ is the remainder when $(44121 + f) \\cdot e \\cdot r$ is divided by $87250$.", "answer": 15283, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(13),\n \"n1\": Pow(Ref(\"p\"), Const(3)),\n \"f\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"a\": Const(5429),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(17)), IsPrime(Var(\"n\"))))),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(59536),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Mul(Mul(Sum(Const(44121), Ref(\"f\")), Ref(\"e\")), Ref(\"result\")), modulus=Const(87250)),\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", "LIOUVILLE_MINUS_ONE"], "recipe_id": "0de1a7", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T07:44:52.775064Z", "verification": {"verified": true, "answer": 15283, "timestamp": "2026-02-08T07:44:52.781472Z"}, "problem_hash": "ff82f6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_MINUS_ONE": "ok", "MAX_PRIME_BELOW": "ok", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K18": "no", "L3c": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "ef9d18", "alias": "sequence_lucas_compute_v1_1431428450_1236", "problem": "Let $t$ be an integer. Consider the set of all integers $t$ such that $30 \\leq t \\leq 306$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 27$, $1 \\leq b \\leq 3$, and $t = 9a + 21b$. Let $n$ be the number of elements in this set. Now consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = n$. Let $s$ be the minimum value of $x + y$ over all such pairs. Compute the $s$-th Lucas number. (The Lucas numbers are defined by $L_1 = 1$, $L_2 = 3$, and $L_k = L_{k-1} + L_{k-2}$ for $k \\geq 3$.)", "answer": 5778, "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=27)), 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=30)), Leq(left=Var(name='t'), right=Const(value=306)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\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 \"Q\": Ref(\"result\"),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T13:58:45.567565Z", "verification": {"verified": true, "answer": 5778, "timestamp": "2026-02-08T13:58:45.570483Z"}, "problem_hash": "1b1276", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 297, "completion_tokens": 560}, "timestamp": "2026-02-12T07:35:03.058Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ed5861", "alias": "sequence_lucas_compute_v1_1820931509_797", "problem": "Let $n$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = t$, where $t$ ranges over all integers from 10 to 142 inclusive that can be expressed as $3a + 7b$ for some integers $a$ and $b$ satisfying $1 \\le a \\le 31$ and $1 \\le b \\le 7$. Compute the $n$-th Lucas number.", "answer": 39603, "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=31)), 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=10)), Leq(left=Var(name='t'), right=Const(value=142)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "sequence_lucas_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T11:53:09.112383Z", "verification": {"verified": true, "answer": 39603, "timestamp": "2026-02-08T11:53:09.116519Z"}, "problem_hash": "378199", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 149, "completion_tokens": 3465}, "timestamp": "2026-02-14T20:52:39.008Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 448}, "timestamp": "2026-02-12T04:48:24.679Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "82b55e", "alias": "nt_count_gcd_equals_v1_1915831931_3332", "problem": "Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 57600$. Let\n$$\nd = \\sum_{k_1=1}^{5} \\phi(k_1) \\left\\lfloor \\frac{5}{k_1} \\right\\rfloor.\n$$\nLet $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 24336$ and $\\gcd(n, k) = d$. Compute the number of elements in $S$, and let $m$ be this number. Determine the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $m + 2$.", "answer": 540, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(57600),\n \"upper\": Const(24336),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"d\": Summation(var=\"k1\", start=Const(1), end=Const(5), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(5), Var(\"k1\"))))),\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\": 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", "K2"], "recipe_id": "f1ea07", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 4.436, "created_at": "2026-02-08T17:34:01.376634Z", "verification": {"verified": true, "answer": 540, "timestamp": "2026-02-08T17:34:05.812589Z"}, "problem_hash": "ec2104", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 271, "completion_tokens": 550}, "timestamp": "2026-02-12T22:49:25.441Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e80f05", "alias": "nt_count_primes_v1_865884756_304", "problem": "Let $n_{1}=420$ and define\n$$e=\\sum_{d\\mid n_{1}} \\mu(d),$$\nwhere $\\mu$ is the Möbius function.\n\nLet $n=19$ and define\n$$s=\\lambda(n)+1,$$\nwhere $\\lambda$ is the Liouville function.\n\nLet\n$$U=28657+e.$$\nLet $R$ be the number of primes $p$ with $2\\le p\\le U$.\n\nLet $c=27$. Let $q$ be the largest prime not exceeding $106$. Define\n\\[\nT = 353702\\cdot (R\\bmod 97)\n + (329703+s)\\cdot((R^{2}+1)\\bmod 101)\n + 215534\\cdot((R+c)\\bmod q).\n\\]\nLet $T_{1}$ be the remainder when $T$ is divided by $1009091$, and let $Q$ be the remainder when $T_{1}$ is divided by $50264$.\n\nCompute $Q$. ", "answer": 48684, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(50264),\n \"n1\": Const(420),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Const(19),\n \"s\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"upper\": Sum(Const(28657), Ref(\"e\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"upper\")), IsPrime(Var(\"n2\"))))),\n \"_c\": Const(27),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Sum(Const(329703), Ref(\"s\")), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Const(2)), Leq(Var(\"n3\"), Const(106)), IsPrime(Var(\"n3\")))))))), modulus=Const(1009091)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE", "MOBIUS_SUM"], "recipe_id": "16332f", "seed_template_id": "nt_count_primes_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.638, "created_at": "2026-02-08T15:18:34.037385Z", "verification": {"verified": true, "answer": 48684, "timestamp": "2026-02-08T15:18:34.675687Z"}, "problem_hash": "c1f104", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "K14": "no", "K17": "no", "L3b": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "66d5f0", "alias": "antilemma_product_of_sums_v1_677425708_3861", "problem": "Let $S_1$ be the sum of $i \\cdot j$ over all ordered pairs $(i, j)$ with $1 \\leq i \\leq 6$ and $1 \\leq j \\leq 5$. Let $S_2$ be the sum of all nonnegative integers $j \\leq 15$ for which $\\binom{15}{j}$ is odd. Let $x = S_1 \\cdot S_2$. Let $c$ be the smallest integer $d \\geq 2$ that divides 1070878368109133. Compute $x \\bmod 293 + c \\cdot (x \\bmod 337)$.", "answer": 56507, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(15),\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(6)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\n \"S2\": SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(15)), Eq(Mod(value=Binom(n=Ref(\"_n\"), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1070878368109133))))),\n \"Q\": Sum(Mod(value=Ref(\"x\"), modulus=Const(293)), Mul(Ref(\"_c\"), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "recipe_id": "529cb0", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:58:43.095146Z", "verification": {"verified": true, "answer": 56507, "timestamp": "2026-02-08T05:58:43.097186Z"}, "problem_hash": "44cab2", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "PRODUCT_OF_SUMS": "ok", "DS2": "no", "K13": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V5": "no"}, "split": "valid"} +{"id": "22fdb3", "alias": "nt_sum_divisors_compute_v1_124444284_1532", "problem": "Let $p_1$ be the largest prime number $n$ such that $2 \\le n \\le 17$. Define $f$ to be the remainder when $(p_1 - 1)! + 1$ is divided by $p_1$. Let $h$ be the remainder when $(2 - 1)! + 1$ is divided by $2$. Define $n = 71824 + h$ and let $\\sigma(n)$ denote the sum of all positive divisors of $n$. Compute the remainder when $(30136 + f) \\cdot \\sigma(n)$ is divided by $52979$.", "answer": 41788, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"p1\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(17)), IsPrime(Var(\"n\"))))),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p1\"), Const(1))), Const(1)), modulus=Ref(\"p1\")),\n \"p\": Const(2),\n \"h\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(71824), Ref(\"h\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Sum(Const(30136), Ref(\"f\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(52979)),\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/WILSON"], "recipe_id": "b30bd9", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T03:58:59.199261Z", "verification": {"verified": true, "answer": 41788, "timestamp": "2026-02-08T03:58:59.202300Z"}, "problem_hash": "8760c6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "WILSON": "ok_later", "COUNT_COPRIME_GRID": "no", "K13": "no", "K17": "no", "LTE_DIFF": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "ec5efe", "alias": "geo_visible_lattice_v1_2051736721_2098", "problem": "Let $n = 66$. Define a visible lattice point as an ordered pair $(x, y)$ of positive integers such that $1 \\le x, y \\le n$ and $\\gcd(x, y) = 1$. Let $r$ be the number of visible lattice points in the $n \\times n$ grid. Compute $60516 - r$.", "answer": 57861, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(66),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(60516),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.193, "created_at": "2026-02-08T16:28:56.452816Z", "verification": {"verified": true, "answer": 57861, "timestamp": "2026-02-08T16:28:56.645463Z"}, "problem_hash": "ce7deb", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 184, "completion_tokens": 381}, "timestamp": "2026-02-12T10:44:07.606Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "25314b", "alias": "geo_visible_lattice_v1_1248542787_77", "problem": "Let $n = 144$. A lattice point $(x, y)$ is called visible if $\\gcd(x, y) = 1$. Let $V$ be the number of lattice points $(x, y)$ with $1 \\leq x, y \\leq n$ that are visible. Compute the sum $\\sum_{k=1}^{V} \\tau(k)$, where $\\tau(k)$ denotes the number of positive divisors of $k$. Find the remainder when this sum is divided by $91581$. Compute this remainder.", "answer": 29955, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(144),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(34), Const(34)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(91581)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.427, "created_at": "2026-02-08T02:56:24.597793Z", "verification": {"verified": true, "answer": 29955, "timestamp": "2026-02-08T02:56:25.024522Z"}, "problem_hash": "fba584", "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": 227, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:05:26.492Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 227, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:14:45.121Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 8192}, "timestamp": "2026-02-09T00:17:31.694Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 8192}, "timestamp": "2026-02-10T15:33:35.020Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 155, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:34:39.640Z"}, {"id": 8, "model": "mathstral", "answer": 6723, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 530}, "timestamp": "2026-02-11T06:52:11.814Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 506}, "timestamp": "2026-02-11T19:53:09.815Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "7c204e", "alias": "nt_count_primes_v1_1742523217_2983", "problem": "Let $n_1 = 2183$. Define $v$ to be the remainder when the number of positive divisors of $n_1$ is divided by $2$. Let $p$ be the smallest integer $d \\geq 2$ that divides $323$. Let $q = 5$ and define $n = p \\cdot q$. Let $c$ be the remainder when the number of positive divisors of $n$ is divided by $2 + v$. Let $\\text{upper} = 47089$. Define $\\text{result}$ to be the number of prime numbers $n$ such that $2 \\leq n \\leq \\text{upper}$. Compute\n$$\n\\sum_{n=1}^{\\text{result}} \\phi(n) \\mod (94188 + c).\n$$\nFind the value of this expression.", "answer": 13802, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(2183),\n \"v\": Mod(value=NumDivisors(n=Ref(\"n1\")), modulus=Const(2)),\n \"p\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(323))))),\n \"q\": Const(5),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Sum(Const(2), Ref(\"v\"))),\n \"upper\": Const(47089),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Sum(Const(94188), Ref(\"c\"))),\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/DIVISOR_PARITY"], "recipe_id": "1ab205", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.968, "created_at": "2026-02-08T05:29:40.020955Z", "verification": {"verified": true, "answer": 13802, "timestamp": "2026-02-08T05:29:41.988628Z"}, "problem_hash": "e030bb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "DIVISOR_PARITY": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "V1": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "9f7054", "alias": "nt_count_squarefree_v1_1520064083_1233", "problem": "Let $n_1 = 1$ and $\\mu$ denote the Möbius function. Define $v = \\omega(n_1)$, where $\\omega(n)$ is the number of distinct prime factors of $n$. Let $n$ be the largest integer $k$ such that $17^k$ divides $6188!$. Define $u = \\mu(n)^2$. Let $\\text{upper} = (66564 + v) \\cdot u$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$ and $\\mu(n)^2 = 1$.", "answer": 40465, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"v\": SmallOmega(n=Ref(name='n1')),\n \"n\": MaxKDivides(target=Factorial(Const(6188)), base=Const(17)),\n \"u\": Pow(MoebiusMu(n=Ref(name='n')), Ref(\"_n\")),\n \"upper\": Mul(Sum(Const(66564), Ref(\"v\")), 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": "V1", "lemma_paths": ["V1/MOBIUS_SQUAREFREE", "OMEGA_ZERO"], "recipe_id": "bfdec5", "seed_template_id": "nt_count_squarefree_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["MOBIUS_SQUAREFREE", "OMEGA_ZERO", "V1"], "num_lemmas": 3, "generation_time": 8.921, "created_at": "2026-02-08T03:52:03.033629Z", "verification": {"verified": true, "answer": 40465, "timestamp": "2026-02-08T03:52:11.955029Z"}, "problem_hash": "79fee3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"OMEGA_ZERO": "ok", "V1": "ok", "MOBIUS_SQUAREFREE": "ok_later", "K5": "same_pattern_wrong", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "K13": "no", "K17": "no", "V7": "no"}, "split": "valid"} +{"id": "380bfe", "alias": "comb_factorial_compute_v1_1918700295_3852", "problem": "Let $c = 17$. Let $m$ be the maximum value of $xy$ over all ordered pairs $(x, y)$ of positive integers such that $x + y = 6$. Let $n = 14$. Define $S$ as the set of all positive integers $k$ such that $1 \\leq k \\leq \\sum_{i=1}^{c} i$, $m$ divides $k$, and $\\gcd(k, n) = 1$. Let $N$ be the number of elements in $S$. Compute $N!$.", "answer": 40320, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(17),\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(14),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Var(\"k\"))), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_n\")), Const(1))))),\n \"result\": Factorial(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/SUM_ARITHMETIC/C5"], "recipe_id": "97610c", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C5", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T09:00:26.995857Z", "verification": {"verified": true, "answer": 40320, "timestamp": "2026-02-08T09:00:26.999089Z"}, "problem_hash": "dc1201", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 40320, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 1055}, "timestamp": "2026-02-13T23:20:20.315Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 399}, "timestamp": "2026-02-12T02:24:51.255Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "C5": "ok_later", "SUM_ARITHMETIC": "ok_later", "K14": "no", "K16": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "5515f2", "alias": "antilemma_k2_v1_1353956133_86", "problem": "Let $m = 418$. Define\n$$\na = \\sum_{d \\mid m} \\phi(d),\n\\quad\nb = \\sum_{d \\mid a} \\phi(d),\n\\quad\nx = \\sum_{k=1}^{b} \\phi(k) \\left\\lfloor \\frac{418}{k} \\right\\rfloor.\n$$\nLet $Q$ be the remainder when $\\sum_{n=1}^{|x|} \\phi(n)$ is divided by $80685$.\n\nFind the value of $Q$.", "answer": 45288, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(418),\n \"_n\": Const(418),\n \"x\": Summation(var=\"k\", start=Const(1), end=SumOverDivisors(n=SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))), var='d', expr=EulerPhi(n=Var(name='d'))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"Q\": Mod(value=Summation(var=\"n\", start=Pow(Const(1), Const(0)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(80685)),\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_POW_ZERO", "K2"], "recipe_id": "fff36e", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "K2", "K3"], "num_lemmas": 3, "generation_time": 5.073, "created_at": "2026-02-08T11:18:01.459317Z", "verification": {"verified": true, "answer": 45288, "timestamp": "2026-02-08T11:18:06.532283Z"}, "problem_hash": "cd44d5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 157, "completion_tokens": 4050}, "timestamp": "2026-02-14T11:32:22.022Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 958}, "timestamp": "2026-02-12T03:46:28.086Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "K2": "ok", "K3": "ok", "K5": "no", "L3b": "no", "MOD_ADD": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "6d06aa", "alias": "geo_count_lattice_rect_v1_1520064083_8702", "problem": "Compute the number of lattice points $(x, y)$ such that $0 \\leq x \\leq 200$ and $0 \\leq y \\leq 147$.", "answer": 29748, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(200),\n \"b\": Const(147),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T10:20:02.560218Z", "verification": {"verified": true, "answer": 29748, "timestamp": "2026-02-08T10:20:02.560997Z"}, "problem_hash": "e31270", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 29748, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 81, "completion_tokens": 424}, "timestamp": "2026-02-14T07:05:07.189Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 29648, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 141, "completion_tokens": 199}, "timestamp": "2026-02-12T03:15:41.227Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6e6cfd", "alias": "geo_visible_lattice_v1_1520064083_6346", "problem": "Let $n = 196$. Define $r$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\le x, y \\le n$ and $\\gcd(x, y) = 1$. Compute the remainder when $71425 \\cdot r$ is divided by 80742.", "answer": 32185, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(196),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(71425),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(80742)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "generation_time": 1.356, "created_at": "2026-02-08T08:01:53.988693Z", "verification": {"verified": true, "answer": 32185, "timestamp": "2026-02-08T08:01:55.344582Z"}, "problem_hash": "c00763", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 26075, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 115, "completion_tokens": 5359}, "timestamp": "2026-02-13T14:17:52.362Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30918, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 494}, "timestamp": "2026-02-12T01:29:14.946Z"}], "solution_status": 0, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "d3a3fe", "alias": "antilemma_v8_lucas_1918700295_1769", "problem": "Let $S$ be the set of all positive integers $t$ such that $27 \\leq t \\leq 147$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 7$, $1 \\leq b \\leq 5$, and $t = 6a + 21b$. Let $m$ be the number of positive divisors $d$ of $|S|$ for which $\\mu(d) \\neq 0$, where $\\mu$ denotes the M\\\"obius function. Compute the number of integers $j$ such that $m \\leq j \\leq 54798$ and $\\binom{54798}{j}$ is odd. Find the value of this number.", "answer": 256, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54798),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), SumOverDivisors(n=CountOverSet(set=SolutionsSet(var=Var(name='t'), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=27)), Leq(left=Var(name='t'), right=Const(value=147)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"j\"), Ref(\"_n\")), Eq(Mod(value=Binom(n=Const(54798), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MOBIUS_SUM/V8", "V8"], "recipe_id": "d0a7de", "seed_template_id": "antilemma_v8_lucas", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_SUM", "V8"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:00:21.731819Z", "verification": {"verified": true, "answer": 256, "timestamp": "2026-02-08T06:00:21.733579Z"}, "problem_hash": "955303", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V8": "ok", "MOBIUS_SUM": "ok_later", "K16": "no", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "split": "valid"} +{"id": "75c5c8", "alias": "diophantine_fbi2_min_v1_48377204_333", "problem": "Let $T$ be the set of all integers $t$ such that $10 \\le t \\le 1070$ and $t = 4a + 6b$ for some integers $a, b$ with $1 \\le a \\le 197$ and $1 \\le b \\le 47$. Let $k = 36$. Define $u$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy$ equals the number of elements in $T$. Let $d$ be the smallest integer $d$ such that $2 \\le d \\le u$, $d$ divides $k$, and $\\frac{k}{d} \\ge 2$. Define $Q$ to be the remainder when $73005$ times $d$ is divided by $67478$. Compute $Q$.", "answer": 11054, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"k\": Const(36),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=197)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=47)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=1070)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_m\"))))),\n \"_c\": Const(73005),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(67478)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.007, "created_at": "2026-02-08T15:20:41.351125Z", "verification": {"verified": true, "answer": 11054, "timestamp": "2026-02-08T15:20:41.357855Z"}, "problem_hash": "d69e5b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 463}, "timestamp": "2026-02-12T08:23:53.809Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "DS2": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9d5cdb", "alias": "comb_binomial_compute_v1_677425708_551", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides the exponent of the highest power of 37 that divides $37^{667}$. Let $k$ be the number of integers $n$ with $1 \\leq n \\leq d$ such that $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $r = \\binom{13}{k}$. Compute the remainder when $56593 \\cdot r$ is divided by 93124.", "answer": 78380, "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=MaxKDivides(target=Pow(Const(37), Const(667)), base=Const(37)))))),\n \"n\": Const(13),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"_c\": Const(56593),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(93124)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["K14/MIN_PRIME_FACTOR/L3C"], "recipe_id": "97e4be", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K14", "L3C", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:35:52.800210Z", "verification": {"verified": true, "answer": 78380, "timestamp": "2026-02-08T03:35:52.803364Z"}, "problem_hash": "82d0ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 88380, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 2970}, "timestamp": "2026-02-08T20:45:19.249Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 78380, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 231, "completion_tokens": 2143}, "timestamp": "2026-02-10T05:41:05.613Z"}], "solution_status": 1, "lemma_applicability": {"K14": "ok", "L3C": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "C2": "no", "K5": "no", "MAX_VAL": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "823ebc", "alias": "modular_mod_compute_v1_1520064083_6042", "problem": "Let $S$ be the set of all ordered pairs $(a, b)$ of integers such that $1 \\leq a \\leq 61$ and $1 \\leq b \\leq 61$. Let $a$ be the number of elements in $S$. Let $m = 15129$. Compute the value of $(10939 \\cdot (a \\bmod m)) \\bmod{65037}$.", "answer": 55894, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(10939),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(61)), right=IntegerRange(start=Const(1), end=Const(61)))),\n \"m\": Const(15129),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(65037)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T07:49:39.168309Z", "verification": {"verified": true, "answer": 55894, "timestamp": "2026-02-08T07:49:39.170680Z"}, "problem_hash": "6ab46d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 55894, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 844}, "timestamp": "2026-02-13T12:53:26.079Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 336}, "timestamp": "2026-02-12T01:21:20.483Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "f4d018", "alias": "nt_count_divisible_and_v1_1353956133_62", "problem": "Let $n = 270$. Define $v = \\sum_{d \\mid n} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $a = 119 + v$. Let $b$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 118$ such that $\\gcd(i,j) = 1$. Define $m = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$. Let $d_1 = 6$ and $d_2 = 8m$. Determine the number of positive integers $n$ such that $n \\le 18384$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Compute the remainder when $37345$ times this count is divided by $61284$.", "answer": 47926, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(270),\n \"v\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Sum(Const(119), Ref(\"v\")),\n \"b\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), Const(1)), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(118))))),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(18384),\n \"d1\": Const(6),\n \"d2\": Mul(Const(8), Ref(\"m\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(37345),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61284)),\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/MOBIUS_COPRIME", "MOBIUS_SUM"], "recipe_id": "b769ac", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_COPRIME_GRID", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 4.704, "created_at": "2026-02-08T11:17:10.947008Z", "verification": {"verified": true, "answer": 47926, "timestamp": "2026-02-08T11:17:15.650683Z"}, "problem_hash": "ec4020", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MOBIUS_SUM": "ok", "MOBIUS_COPRIME": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K18": "no", "LTE_DIFF": "no"}, "split": "valid"} +{"id": "2eb9d5", "alias": "nt_count_intersection_v1_53965629_55", "problem": "Let $d_0$ be the smallest integer greater than or equal to 2 that divides 1037153. Let $N$ be the number of positive integers $n$ such that $1 \\leq n \\leq 35000$ and $d_0$ divides the $n$-th Fibonacci number. Let $T$ be the set of positive integers $n$ such that $1 \\leq n \\leq N$, $7$ divides $n$, and $\\gcd(n, 15) = 1$. Compute the value of\n\n$$\n|T| + \\left(2^{|T| \\bmod 16} \\bmod 58718\\right).\n$$", "answer": 8573, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(58718),\n \"N\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(35000)), Divides(divisor=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1037153))))), dividend=Fibonacci(arg=Var(name='n')))))),\n \"a\": Const(7),\n \"b\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=Const(16))), modulus=Ref(\"_n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_FIB_DIVISIBLE"], "recipe_id": "f5c873", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.372, "created_at": "2026-02-08T11:15:45.364677Z", "verification": {"verified": true, "answer": 8573, "timestamp": "2026-02-08T11:15:45.737062Z"}, "problem_hash": "3fc112", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 8573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 263, "completion_tokens": 4273}, "timestamp": "2026-02-09T11:23:53.385Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 8573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 259, "completion_tokens": 2294}, "timestamp": "2026-02-10T00:38:42.906Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 218, "completion_tokens": 8192}, "timestamp": "2026-02-10T01:00:41.938Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 486}, "timestamp": "2026-02-12T03:42:01.419Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -7.22, "mid": -2.87, "hi": 1.35}, "split": "valid"} +{"id": "f9d5d7", "alias": "modular_count_residue_v1_1520064083_690", "problem": "Let $c = 3$. Let $m$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 6$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the smallest divisor of $94987$ that is at least $m$. Let $k$ be the largest integer such that $n^k$ divides $271818611107^c$. Compute the number of integers $n'$ with $1 \\leq n' \\leq 68121$ such that $n' \\equiv 19 \\pmod{k}$.", "answer": 3243, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\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=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 \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(94987))))),\n \"upper\": Const(68121),\n \"m\": MaxKDivides(target=Pow(Const(271818611107), Ref(\"_c\")), base=Ref(\"_n\")),\n \"r\": Const(19),\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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/MIN_PRIME_FACTOR/K14"], "recipe_id": "b7dddf", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K14", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 5.063, "created_at": "2026-02-08T03:32:52.225333Z", "verification": {"verified": true, "answer": 3243, "timestamp": "2026-02-08T03:32:57.288792Z"}, "problem_hash": "433940", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K14": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_PRIMES": "no", "K17": "no", "K18": "no", "LTE_DIFF_P2": "no", "V7": "no"}, "split": "valid"} +{"id": "d04fb6", "alias": "comb_count_permutations_fixed_v1_153355830_1184", "problem": "Let $m = 7$ and define $n$ to be the largest integer $k$ such that $2^k$ divides $m^4 - 5^4$. Let $s$ be the smallest possible value of $x + y$ where $x$ and $y$ are positive integers such that $x \\cdot y = n$. Compute the value of\n$$\n\\binom{8}{s} \\cdot !(8 - s),\n$$\nwhere $!k$ denotes the number of derangements of $k$ elements.", "answer": 630, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": MaxKDivides(target=Sub(Pow(Ref(\"_m\"), Const(4)), Pow(Const(5), Const(4))), base=Const(2)),\n \"n\": Const(8),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF_P2", "lemma_paths": ["LTE_DIFF_P2/B3"], "recipe_id": "6dcda3", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LTE_DIFF_P2"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:10:50.871530Z", "verification": {"verified": true, "answer": 630, "timestamp": "2026-02-08T06:10:50.875406Z"}, "problem_hash": "063722", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF_P2": "ok", "B3": "ok_later", "K16": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "fd0f5b", "alias": "nt_sum_divisors_range_v1_1742523217_5624", "problem": "Let $A$ be the set of all integers $n$ such that $1 \\leq n \\leq 11175$. For each $n \\in A$, let $d(n)$ denote the number of positive divisors of $n$. Let $S$ be the sum of $d(n)$ over all $n \\in A$. Let $r = 11^{|S|} \\mod 99991$, taking the remainder in the range $[0, 99990]$. Let $p$ be the largest prime number less than or equal to $40$. Compute $r + p$.", "answer": 89886, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(11175),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(n=Const(2))), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Sum(ModExp(base=Const(11), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), Const(40)), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_2"], "recipe_id": "f8f6c5", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_2"], "num_lemmas": 2, "generation_time": 0.388, "created_at": "2026-02-08T11:07:26.311386Z", "verification": {"verified": true, "answer": 89886, "timestamp": "2026-02-08T11:07:26.699537Z"}, "problem_hash": "6501b3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_2": "ok", "C2": "no", "COUNT_PRIMES": "no", "K13": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "split": "valid"} +{"id": "a70ce1", "alias": "nt_num_divisors_compute_v1_717093673_89", "problem": "Let $n = 50400$, and let $d(n)$ denote the number of positive divisors of $n$. Let $Q$ be the remainder when $|d(n)|$ is divided by $95355$. Find the value of $Q$.", "answer": 108, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(50400),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"Q\": Mod(value=Abs(arg=Ref(name='result')), modulus=Const(95355)),\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/WILSON/LIOUVILLE_ONE", "ONE_PHI_2"], "recipe_id": "dad2e0", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LIOUVILLE_ONE", "MAX_DIVISOR", "ONE_PHI_2", "WILSON"], "num_lemmas": 4, "generation_time": 0.025, "created_at": "2026-02-08T15:10:56.108905Z", "verification": {"verified": true, "answer": 108, "timestamp": "2026-02-08T15:10:56.133570Z"}, "problem_hash": "c0fcdf", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 90, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 227}, "timestamp": "2026-02-12T07:52:09.815Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "ONE_PHI_2": "ok", "LIOUVILLE_ONE": "ok_later", "WILSON": "ok_later", "DS2": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ec6a50", "alias": "nt_count_divisible_and_v1_865884756_986", "problem": "Let $P$ be the number of prime numbers between $2$ and $82891$, inclusive.\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy=P$. For each such pair, form the sum $x+y$. Let $M$ be the minimum value among all these sums $x+y$.\n\nLet $d_1$ be the number of integers $n$ with $1\\le n\\le M$ such that $15$ divides the $n$th Fibonacci number.\n\nLet $d_2=12$. Let $N$ be the number of integers $k$ with $1\\le k\\le 131220$ such that $k$ is divisible by both $d_1$ and $d_2$.\n\nLet $C$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 238$, $1\\le b\\le 434$, $18\\le t\\le 5068$, and\n$$t = 14a + 4b.$$\n\nDefine\n$$Q \\equiv N^2 + 6N + C \\pmod{79804},$$\nwith $0\\le Q<79804$.\n\nFind the value of $Q$. ", "answer": 62951, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(79804),\n \"upper\": Const(131220),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Const(82891)), IsPrime(Var(\"n1\")))))))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Const(15), dividend=Fibonacci(arg=Var(name='n')))))),\n \"d2\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n2\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n2\"), modulus=Ref(\"d2\")), Const(0))))),\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=238)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=434)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=5068)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_m\")), Mul(Const(6), Ref(\"result\")), Ref(\"_c\")), modulus=Ref(\"_n\")),\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/B3/COUNT_FIB_DIVISIBLE", "LIN_FORM"], "recipe_id": "6fb953", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "quadratic_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 4, "generation_time": 4.419, "created_at": "2026-02-08T15:42:24.266870Z", "verification": {"verified": true, "answer": 62951, "timestamp": "2026-02-08T15:42:28.686103Z"}, "problem_hash": "82baf6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 402, "completion_tokens": 474}, "timestamp": "2026-02-12T09:01:38.561Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "B3": "ok_later", "COUNT_FIB_DIVISIBLE": "ok_later", "K17": "no", "K18": "no", "L3c": "no", "MOD_ADD": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "612d85", "alias": "antilemma_count_primes_v1_784195855_1204", "problem": "Let $f = \\sum_{d \\mid 1} \\mu(d)$. Let $a = 64$ and $b = 72$, and define $w = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$. Let $m$ be the smallest positive integer $d$ greater than 1 that divides 3523218343. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq m$. Compute $x + \\phi(|x| + f + w) + \\tau(|x| + 1)$, where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 482, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(1),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(64),\n \"b\": Const(72),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Const(2),\n \"x\": 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(3523218343)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Ref(\"f\"), Ref(\"w\"))), 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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES", "MOBIUS_COPRIME", "MOBIUS_SUM", "COUNT_PRIMES"], "recipe_id": "f19cfc", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 4, "generation_time": 0.004, "created_at": "2026-02-08T04:54:11.897585Z", "verification": {"verified": true, "answer": 482, "timestamp": "2026-02-08T04:54:11.901575Z"}, "problem_hash": "21f1a6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "C2": "no", "K15": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "db92a8", "alias": "nt_min_coprime_above_v1_48377204_2484", "problem": "Let $a$ and $b$ be positive integers such that $1 \\leq a \\leq 316$, $1 \\leq b \\leq 1635$, and let $t = 5a + 4b$. Let $S$ be the set of all integers $t$ satisfying $9 \\leq t \\leq 8120$. Define $N$ to be the number of elements in $S$. \n\nLet $T$ be the set of all integers $n$ such that $N < n \\leq 8187$ and $\\gcd(n, 77) = 1$. Define $m$ to be the minimum element of $T$. \n\nNow consider the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 705600$. Let $s$ be the minimum value of $x + y$ over all such pairs. \n\nCompute the remainder when $s - m$ is divided by $87952$.", "answer": 81531, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(87952),\n \"start\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=316)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1635)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=8120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"upper\": Const(8187),\n \"modulus\": Const(77),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Mod(value=Sub(MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(705600)))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "LIN_FORM"], "recipe_id": "70a683", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.016, "created_at": "2026-02-08T16:47:18.941818Z", "verification": {"verified": true, "answer": 81531, "timestamp": "2026-02-08T16:47:18.957579Z"}, "problem_hash": "c1afb0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 322, "completion_tokens": 612}, "timestamp": "2026-02-12T21:03:38.724Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3b6ef6", "alias": "nt_count_coprime_v1_151522320_268", "problem": "Let $n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n$$pq=72, \\quad \\gcd(p,q)=1, \\quad p n$ or $k < 0$. Compute the remainder when $n_0 \\cdot \\binom{n}{k}$ is divided by $94409$.", "answer": 43893, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(95758),\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=4)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=28)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"k\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-7), Var(\"x\")), Const(-690)), SumOverDivisors(n=GCD(a=Const(value=99), b=Const(value=33)), var='d', expr=MoebiusMu(n=Var(name='d')))))),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(94409)),\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", "VIETA_SUM", "LIN_FORM"], "recipe_id": "64e189", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T13:42:02.339226Z", "verification": {"verified": true, "answer": 43893, "timestamp": "2026-02-08T13:42:02.342444Z"}, "problem_hash": "24cd7d", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 43893, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 315, "completion_tokens": 1724}, "timestamp": "2026-02-09T17:06:31.531Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "VIETA_SUM": "ok", "COUNT_PRIMES": "no", "MAX_PRIME_BELOW": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "3ae6fd", "alias": "antilemma_cartesian_v1_1248542787_290", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $1 \\leq a \\leq 19$ and $1 \\leq b \\leq 32$. Determine the value of the smallest positive integer $k$ for which the $k$-th Fibonacci number is divisible by $|x| + 2$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(19)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T03:02:55.944708Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T03:02:55.945331Z"}, "problem_hash": "a87135", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 1996}, "timestamp": "2026-02-09T02:22:55.848Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 2149}, "timestamp": "2026-02-09T14:44:21.476Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 133, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:59:58.645Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 60, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 130, "completion_tokens": 410}, "timestamp": "2026-02-12T00:34:49.282Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 115, "completion_tokens": 1336}, "timestamp": "2026-02-11T03:22:52.271Z"}, {"id": 8, "model": "mathstral", "answer": 20, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 129, "completion_tokens": 672}, "timestamp": "2026-02-11T12:12:09.551Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 15, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 173, "completion_tokens": 321}, "timestamp": "2026-02-11T20:08:08.438Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -6.57, "mid": -4.18, "hi": -1.28}, "split": "valid"} +{"id": "dfa29d", "alias": "nt_min_coprime_above_v1_1439011603_747", "problem": "Let $d$ be a positive divisor of $16904192$ such that $1 \\leq d \\leq 4096$. Let $D$ be the maximum value of $d$.\n\nLet $n$ be an integer satisfying $D < n \\leq 4394$ and $\\gcd(n, 288) = 1$. Let $N$ be the smallest such $n$.\n\nCompute $38416 - N$.", "answer": 34319, "graph": "graphs = [\n Graph(\n let={\n \"start\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(4096)), Divides(divisor=Var(\"d\"), dividend=Const(16904192))))),\n \"upper\": Const(4394),\n \"modulus\": Const(288),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": Const(38416),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.049, "created_at": "2026-02-08T15:41:18.281029Z", "verification": {"verified": true, "answer": 34319, "timestamp": "2026-02-08T15:41:18.330097Z"}, "problem_hash": "05c60f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 356}, "timestamp": "2026-02-12T08:55:14.468Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fc2823", "alias": "antilemma_coprime_grid_v1_1918700295_758", "problem": "Let $n = 6675$, and let $d_1$ be the largest positive divisor of $n$ that is at most $75$. Define $u$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $d_1$, where $\\mu$ is the M\\\"obius function. Let $p = 31$ and $q = 3$, and define $s = \\mu(pq)^{2 + u}$. Let $x$ be the number of ordered pairs $(i, j)$ of positive integers with $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 183$ such that $\\gcd(i, j) = 1$. Compute the remainder when $28651 \\cdot s \\cdot x$ is divided by $53294$.", "answer": 50220, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6675),\n \"n1\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(75)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"u\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(31),\n \"q\": Const(3),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"s\": Pow(MoebiusMu(n=Ref(name='n')), Sum(Const(2), Ref(\"u\"))),\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(10)), right=IntegerRange(start=Const(1), end=Const(183))))),\n \"_c\": Mul(Const(28651), Ref(\"s\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(53294)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MAX_DIVISOR/MOBIUS_SUM", "MOBIUS_SQUAREFREE", "COUNT_COPRIME_GRID"], "recipe_id": "5390da", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "MAX_DIVISOR", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 5, "generation_time": 0.013, "created_at": "2026-02-08T03:24:36.141358Z", "verification": {"verified": true, "answer": 50220, "timestamp": "2026-02-08T03:24:36.154223Z"}, "problem_hash": "a66b9e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_DIVISOR": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok_later", "COUNT_INTEGER_RANGE": "no", "K18": "no", "MOD_ADD": "no", "V7": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "3ad8a9", "alias": "antilemma_cartesian_v1_124444284_10086", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ where $a$ is an integer from $1$ to $32$ and $b$ is an integer from $1$ to $38$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|x| + 2$.", "answer": 168, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(32)), right=IntegerRange(start=Const(1), end=Const(38)))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='x')), Const(value=2))),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T12:49:16.419891Z", "verification": {"verified": true, "answer": 168, "timestamp": "2026-02-08T12:49:16.420614Z"}, "problem_hash": "520f02", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 177, "completion_tokens": 366}, "timestamp": "2026-02-12T05:40:59.987Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5f56ef", "alias": "nt_sum_totient_over_divisors_v1_1520064083_318", "problem": "Let $M$ be the maximum value of $xy$ over all ordered pairs $(x,y)$ of positive integers such that $x+y=34$. Let $n_2$ be the number of positive integers $k$ with $1\\le k\\le 22831$ such that $M$ divides $k$.\n\nLet $c=\\mu(n_2)^2$, where $\\mu$ is the Möbius function. Let $n_1=27$ and\n\\[w=\\sum_{d\\mid n_1} \\varphi(d) - n_1,\\]\nwhere $\\varphi$ is Euler's totient function. Define\n\\[n=17271c+w.\n\\]\nFinally, let\n\\[Q=\\sum_{d\\mid n} \\varphi(d).\n\\]\n\nCompute $Q$.", "answer": 17271, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n2\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(22831)), 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(34)))), expr=Mul(Var(\"x\"), Var(\"y\")))), dividend=Var(\"k\"))), domain='positive_integers')),\n \"c\": Pow(MoebiusMu(n=Ref(name='n2')), Ref(\"_n\")),\n \"n1\": Const(27),\n \"w\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"n\": Sum(Mul(Const(17271), Ref(\"c\")), 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": "B1", "lemma_paths": ["B1/C2/MOBIUS_SQUAREFREE", "EULER_TOTIENT_SUM"], "recipe_id": "f26262", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["B1", "C2", "EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.015, "created_at": "2026-02-08T03:14:37.704811Z", "verification": {"verified": true, "answer": 17271, "timestamp": "2026-02-08T03:14:37.720252Z"}, "problem_hash": "27bb77", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "EULER_TOTIENT_SUM": "ok", "C2": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_COPRIME_GRID": "no", "K5": "no", "V3": "no", "V7": "no", "V8": "no"}, "split": "valid"} +{"id": "4c2d44", "alias": "nt_count_divisible_and_v1_2051736721_1651", "problem": "Let $d$ be the smallest integer greater than or equal to 2 that divides 735. Let $p$ and $q$ be positive integers such that $pq = 60$, $\\gcd(p, q) = 1$, and $p < q$. Let $d_1$ be the number of such integers $p$. Let $d_2 = \\sum_{k=1}^{d} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $N$ be the number of positive integers $n$ with $1 \\leq n \\leq 41148$ such that $n$ is divisible by both $d_1$ and $d_2$. Let $m = 11$. Compute the Bell number of the remainder when $N$ is divided by $m$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11),\n \"_n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(735))))),\n \"upper\": Const(41148),\n \"d1\": 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=60)), 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 \"d2\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(3), Var(\"k\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\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": "COUNT_COPRIME_GRID", "lemma_paths": ["MIN_PRIME_FACTOR/K2", "COPRIME_PAIRS"], "recipe_id": "11a66c", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_COPRIME_GRID", "K2", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 13.959, "created_at": "2026-02-08T16:08:30.010583Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T16:08:43.969963Z"}, "problem_hash": "ee610d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 298, "completion_tokens": 566}, "timestamp": "2026-02-12T09:55:14.540Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "K2": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF_P2": "no", "V3": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "47c122", "alias": "nt_count_coprime_v1_151522320_126", "problem": "Let $k = 31$ and let $\\text{result}$ be the number of integers $n$ such that $1 \\leq n \\leq 13924$ and $\\gcd(n, k) = 1$. Let $A = 353702 \\cdot (\\text{result} \\bmod 97)$, let $B = 329703 \\cdot \\left( (\\text{result}^2 + 1) \\bmod d_1 \\right)$ where $d_1$ is the number of primes between 2 and 547 inclusive, and let $C = 215534 \\cdot \\left( \\text{result} \\bmod 8 \\right)$ where the modulus is taken modulo $d_2$, and $d_2$ is the number of integers $t$ with $8 \\leq t \\leq 112$ such that $t = 2a + 3b + 3$ for some positive integers $a \\leq 17$, $b \\leq 25$. Compute the remainder when $A + B + C$ is divided by $53839$.", "answer": 49971, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(53839),\n \"_n\": Const(2),\n \"upper\": Const(13924),\n \"k\": Const(31),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Ref(\"_n\")), Const(1)), modulus=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(547)), IsPrime(Var(\"n\"))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Const(8)), 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=17)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=25)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=112)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=3))))))))))), modulus=Const(1009091)), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES", "LIN_FORM"], "recipe_id": "031271", "seed_template_id": "nt_count_coprime_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 2, "generation_time": 1.496, "created_at": "2026-02-08T02:59:46.859111Z", "verification": {"verified": true, "answer": 49971, "timestamp": "2026-02-08T02:59:48.355025Z"}, "problem_hash": "72e9dc", "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": 352, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:29:10.006Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 34651, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 356, "completion_tokens": 6424}, "timestamp": "2026-02-08T23:29:13.458Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 35114, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 3548}, "timestamp": "2026-02-11T02:31:30.141Z"}, {"id": 8, "model": "mathstral", "answer": 7082, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 319, "completion_tokens": 1558}, "timestamp": "2026-02-11T11:54:27.250Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 357, "completion_tokens": 411}, "timestamp": "2026-02-11T20:06:42.176Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "LIN_FORM": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "K17": "no", "K5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "234fd1", "alias": "antilemma_v1_legendre_784195855_4488", "problem": "Let $\\mathcal{T}$ be the set of all integers $t$ such that $5 \\leq t \\leq 19$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 3$, and $t = 2a + 3b$. Let $m = 2$ and let $N$ be the number of elements in $\\mathcal{T}$. Let $\\mathcal{P}$ be the set of all prime numbers $n$ such that $m \\leq n \\leq N$. Let $p$ be the largest element of $\\mathcal{P}$. Determine the largest integer $k$ such that $p^k$ divides $75114!$. Compute this value of $k$.", "answer": 6258, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(75114),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=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=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=5)), Leq(left=Var(name='t'), right=Const(value=19)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "757adb", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T07:08:29.973921Z", "verification": {"verified": true, "answer": 6258, "timestamp": "2026-02-08T07:08:29.975465Z"}, "problem_hash": "b57158", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_COPRIME_GRID": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "e74d3e", "alias": "nt_min_coprime_above_v1_168721529_1662", "problem": "Let $A$ be the number of integers $t$ with $21 \\leq t \\leq 159$ that can be expressed as $9a + 12b$ for positive integers $a \\leq 11$ and $b \\leq 5$. Let $u = \\lambda(A) + 1 + \\omega(1)$, where $\\lambda$ is the Liouville function and $\\omega(n)$ is the number of distinct prime factors of $n$. Let $M$ be the number of integers $t$ with $18 \\leq t \\leq 874$ that can be expressed as $10a + 8b$ for positive integers $a \\leq 41$ and $b \\leq 58$. Find the smallest integer $n$ such that $n > 61504$, $n \\leq 61931 + u$, and $\\gcd(n, M) = 1$.", "answer": 61505, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(1),\n \"m\": SmallOmega(n=Ref(name='n1')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=21)), Leq(left=Var(name='t'), right=Const(value=159)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=12), Var(name='b'))))))))),\n \"u\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1), Ref(\"m\")),\n \"start\": Const(61504),\n \"upper\": Sum(Const(61931), Ref(\"u\")),\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=41)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=58)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=874)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "recipe_id": "687ccd", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "LIOUVILLE_MINUS_ONE", "OMEGA_ZERO"], "num_lemmas": 3, "generation_time": 0.082, "created_at": "2026-02-08T13:49:41.912785Z", "verification": {"verified": true, "answer": 61505, "timestamp": "2026-02-08T13:49:41.995257Z"}, "problem_hash": "23f0ed", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 61505, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 309, "completion_tokens": 2733}, "timestamp": "2026-02-09T20:03:01.992Z"}], "solution_status": 2, "lemma_applicability": {"LIN_FORM": "ok", "OMEGA_ZERO": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K13": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "25a869", "alias": "diophantine_fbi2_min_v1_1440796553_271", "problem": "Let $k = 180$ and let $u = \\sum_{i=1}^{19} i$. Define $d$ to be the smallest integer such that $6 \\leq d \\leq u$, $d$ divides $k$, and $\\frac{k}{d} \\geq 2$. Let $n = 2$. Let $t$ be the number of integers that can be expressed in the form $7a + 4b$ where $a$ and $b$ are positive integers with $1 \\leq a \\leq 13$, $1 \\leq b \\leq 12$, and $11 \\leq 7a + 4b \\leq 139$. Compute $d^n + 19d + t$.", "answer": 261, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"k\": Const(180),\n \"upper\": Summation(var=\"k\", start=Const(1), end=Const(19), expr=Var(\"k\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(6)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(2))))),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(19), 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=13)), 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=11)), Leq(left=Var(name='t'), right=Const(value=139)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=4), Var(name='b')))))))))),\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", "SUM_ARITHMETIC"], "recipe_id": "6c30da", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T11:42:04.558288Z", "verification": {"verified": true, "answer": 261, "timestamp": "2026-02-08T11:42:04.569441Z"}, "problem_hash": "36cd5a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 261, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 5797}, "timestamp": "2026-02-14T17:43:26.521Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 390}, "timestamp": "2026-02-12T04:27:44.286Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "SUM_ARITHMETIC": "ok", "K14": "no", "LTE_DIFF": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "89ebb9", "alias": "modular_mod_compute_v1_1874849503_101", "problem": "Let $n = 26$. Let $m$ be the sum of all integers $k$ such that $k$ is divisible by $n$, $1 \\leq k \\leq s$, and $s$ is the minimum possible value of $x + y$ over all pairs of positive integers $(x, y)$ satisfying $xy = 24336$. Compute the remainder when $-51076$ is divided by $m$.", "answer": 1652, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(26),\n \"a\": Const(-51076),\n \"m\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(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(24336)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"_n\")), Const(0))))),\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": ["B3/SUM_DIVISIBLE", "ONE_PHI_1"], "recipe_id": "2be27c", "seed_template_id": "modular_mod_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "ONE_PHI_1", "SUM_DIVISIBLE"], "num_lemmas": 4, "generation_time": 0.021, "created_at": "2026-02-08T12:48:35.028814Z", "verification": {"verified": true, "answer": 1652, "timestamp": "2026-02-08T12:48:35.049763Z"}, "problem_hash": "68d1aa", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1652, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 205, "completion_tokens": 621}, "timestamp": "2026-02-09T13:49:32.248Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 1652, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 1380}, "timestamp": "2026-02-10T03:01:59.811Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "answer": 1652, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 156, "completion_tokens": 6693}, "timestamp": "2026-02-10T03:40:10.541Z"}], "solution_status": 2, "lemma_applicability": {"B3": "ok", "ONE_PHI_1": "ok", "SUM_DIVISIBLE": "ok_later", "K15": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -6.87, "hi": -3.73}, "split": "valid"} +{"id": "bab6f7", "alias": "antilemma_v1_legendre_1520064083_4002", "problem": "Let $p = 7$, $g$ be the largest prime number $n$ such that $2 \\le n \\le 13$, and $m$ be the number of ordered pairs $(i,j)$ with $1 \\le i \\le 2$ and $1 \\le j \\le 6$ such that $\\gcd(i,j) = 1$. Let $a = g \\cdot m$ and $b = g \\cdot 5$. Define $w = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the Möbius function. Let $k = 2 \\cdot \\Omega(p) + w$, where $\\Omega(p)$ is the number of prime factors of $p$ counted with multiplicity. Compute the largest integer $x$ such that $k^x$ divides $1810!$.", "answer": 1805, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"p\": Const(7),\n \"e\": BigOmega(n=Ref(name='p')),\n \"g\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(13)), IsPrime(Var(\"n\"))))),\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(2)), right=IntegerRange(start=Const(1), end=Const(6))))),\n \"n\": Const(5),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"w\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"_n\": Sum(Mul(Ref(\"_m\"), Ref(\"e\")), Ref(\"w\")),\n \"x\": MaxKDivides(target=Factorial(Const(1810)), base=Ref(\"_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": ["COUNT_COPRIME_GRID/MOBIUS_COPRIME", "MAX_PRIME_BELOW/MOBIUS_COPRIME", "BIG_OMEGA_ONE", "V1"], "recipe_id": "56363f", "seed_template_id": "antilemma_v1_legendre", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MOBIUS_COPRIME", "V1"], "num_lemmas": 5, "generation_time": 0.002, "created_at": "2026-02-08T06:01:05.951501Z", "verification": {"verified": true, "answer": 1805, "timestamp": "2026-02-08T06:01:05.953878Z"}, "problem_hash": "3c2b4e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "V1": "ok", "MOBIUS_COPRIME": "ok_later", "K5": "same_pattern_wrong", "COUNT_PRIMES": "no", "DS2": "no", "K13": "no", "V5": "no", "V7": "no"}, "split": "valid"} +{"id": "70a9ef", "alias": "nt_lcm_compute_v1_1439011603_3147", "problem": "Let $a = 1896$. Let $b$ be the number of elements in the Cartesian product of the sets $\\{1, 2, \\dots, 31\\}$ and $\\{1, 2, \\dots, 39\\}$. Compute the remainder when $97315 \\times \\mathrm{lcm}(a, b)$ is divided by $95902$.", "answer": 87530, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(95902),\n \"a\": Const(1896),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(39)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(97315), 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"], "recipe_id": "409d7d", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T17:17:25.907368Z", "verification": {"verified": true, "answer": 87530, "timestamp": "2026-02-08T17:17:25.909105Z"}, "problem_hash": "63561b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 187, "completion_tokens": 511}, "timestamp": "2026-02-12T22:17:27.734Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "K13": "no", "K14": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f6f6bf", "alias": "comb_sum_binomial_row_v1_1742523217_1796", "problem": "Let $m = 36$. Consider the set of all ordered pairs $(x,y)$ of positive integers such that $xy = m$. Let $n$ be the minimum value of $x + y$ over all such pairs. 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$. Let $r = |T|^n$. Compute the remainder when $\\sum_{k=\\phi(2)}^{|r|} \\phi(k)$ is divided by $65172$.", "answer": 16604, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(36),\n \"_n\": 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\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\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=Summation(var=\"n\", start=EulerPhi(n=Ref(\"_n\")), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Const(65172)),\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", "ONE_PHI_2", "B3"], "recipe_id": "39ffd6", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "COPRIME_PAIRS", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.196, "created_at": "2026-02-08T04:15:26.674316Z", "verification": {"verified": true, "answer": 16604, "timestamp": "2026-02-08T04:15:26.870415Z"}, "problem_hash": "6c4245", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B3": "ok", "COPRIME_PAIRS": "ok", "ONE_PHI_2": "ok", "C2": "no", "COUNT_PRIMES": "no", "K15": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "f6da79", "alias": "comb_sum_binomial_row_v1_1742523217_2904", "problem": "Let $c = 144$ and $m = 9$. Let $s$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = 144$. Define $\\alpha$ to be the number of positive integers $n \\le s$ such that $9$ divides the $n$-th Fibonacci number. Define $\\beta$ to be the number of integers $t$ with $5 \\le t \\le 17$ that can be written in the form $3a + 2b$ for integers $a, b$ satisfying $1 \\le a \\le 3$ and $1 \\le b \\le 4$. Compute $\\alpha^\\beta$.", "answer": 2048, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(144),\n \"_m\": Const(9),\n \"_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\")), Ref(\"_c\")))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=17)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"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": "B3", "lemma_paths": ["B3/COUNT_FIB_DIVISIBLE/LIN_FORM"], "recipe_id": "953448", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_FIB_DIVISIBLE", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:27:16.143631Z", "verification": {"verified": true, "answer": 2048, "timestamp": "2026-02-08T05:27:16.147199Z"}, "problem_hash": "308134", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2048, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 199, "completion_tokens": 1217}, "timestamp": "2026-02-12T09:01:09.175Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 485}, "timestamp": "2026-02-14T18:15:08.590Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8192, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 260, "completion_tokens": 742}, "timestamp": "2026-02-11T22:40:05.672Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "LIN_FORM": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "906c27", "alias": "nt_count_digit_sum_v1_1431428450_827", "problem": "Let $N = 53695$ and $U = 110224$. Let $S$ be the Cartesian product of the sets $\\{1, 2, 3\\}$ and $\\{1, 2, 3, 4, 5, 6\\}$, and let $T$ be the number of elements in $S$. Let $R$ be the number of positive integers $n \\leq U$ such that the sum of the decimal digits of $n$ is $T$. Compute the remainder when $52076 \\cdot R$ is divided by $N$.", "answer": 51232, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(53695),\n \"upper\": Const(110224),\n \"target_sum\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(6)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n \"Q\": Mod(value=Mul(Const(52076), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 7.369, "created_at": "2026-02-08T13:43:06.505635Z", "verification": {"verified": true, "answer": 51232, "timestamp": "2026-02-08T13:43:13.874527Z"}, "problem_hash": "83436a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 330}, "timestamp": "2026-02-12T07:17:52.336Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "15b104", "alias": "nt_sum_divisors_mod_v1_784195855_3984", "problem": "Let $p = 3$ and $q = 19$. Define $n_2 = pq$ and $w = \\mu(n_2)^2$, where $\\mu$ is the Möbius function. Let $h = \\lambda(29) + 1$, where $\\lambda$ is the Liouville function. Let $n$ be the number of positive integers $k$ such that $1 \\leq k \\leq 359$ and $\\gcd(k, 12) = 1$, plus $h$. Let $M = 11681 \\cdot w$ and let $\\sigma = \\sum_{d \\mid n} d$. Let $r$ be the remainder when $\\sigma$ is divided by $M$. Compute $2209 - r$.", "answer": 1849, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(3),\n \"q\": Const(19),\n \"n2\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"w\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": Const(29),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(359)), Eq(GCD(a=Var(\"n\"), b=Const(12)), Const(1))))), Ref(\"h\")),\n \"M\": Mul(Const(11681), Ref(\"w\")),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Sub(Const(2209), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "recipe_id": "29c141", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C4", "LIOUVILLE_MINUS_ONE", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:43:46.421777Z", "verification": {"verified": true, "answer": 1849, "timestamp": "2026-02-08T06:43:46.425428Z"}, "problem_hash": "a15ee7", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "MOBIUS_SQUAREFREE": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K5": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "V5": "no"}, "split": "valid"} +{"id": "72f474", "alias": "sequence_fibonacci_compute_v1_153355830_2133", "problem": "Let $m$ be the largest prime number between $2$ and $4$, inclusive. Let $n = \\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{m}{k} \\right\\rfloor$, where $\\phi(k)$ is Euler's totient function. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(3),\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\": Summation(var=\"k\", start=Const(1), end=Ref(\"_c\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_m\"), Var(\"k\"))))),\n \"n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k\")),\n \"result\": Fibonacci(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/K2/SUM_ARITHMETIC"], "recipe_id": "b74e1d", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:56:07.297363Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T06:56:07.299462Z"}, "problem_hash": "9a0e6d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 8, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 161, "completion_tokens": 517}, "timestamp": "2026-02-13T05:39:21.940Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 8, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 325}, "timestamp": "2026-02-12T00:36:33.004Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "K2": "ok_later", "SUM_ARITHMETIC": "ok_later", "DS2": "no", "K14": "no", "L3c": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "503e88", "alias": "nt_count_with_divisor_count_v1_1742523217_3150", "problem": "Let $S$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x + y = 6$. Let $T$ be the set of all products $xy$ where $(x,y) \\in S$. Let $n_0$ be the maximum element of $T$. Let $m = 4$ and $n = n_0$. Let $d$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 120$, $\\gcd(p,q) = 1$, and $p < q$. Let $f = \\sum_{d' \\mid \\gcd(m,n)} \\mu(d')$, where $\\mu$ denotes the M\\\"obius function. Determine the number of positive integers $n$ such that $f \\leq n \\leq 45150$ and $n$ has exactly $d$ positive divisors.", "answer": 10946, "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\")), Const(6)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(45150),\n \"div_count\": 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 \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Ref(name='_m'), b=Ref(name='_n')), var='d', expr=MoebiusMu(n=Var(name='d')))), 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": "B1", "lemma_paths": ["B1/COPRIME_PAIRS/MOBIUS_COPRIME"], "recipe_id": "9affca", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 2.755, "created_at": "2026-02-08T05:40:55.782090Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T05:40:58.536745Z"}, "problem_hash": "8957eb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok_later", "MOBIUS_COPRIME": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "V5": "no", "V8": "no"}, "split": "valid"} +{"id": "d91abf", "alias": "nt_count_divisors_in_range_v1_1978505735_2722", "problem": "Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 1800$, $\\gcd(p, q) = 1$, and $p < q$. Let $b$ be the number of integers $t$ in the range $17 \\le t \\le 2343$ for which there exist positive integers $a'$ and $b'$ such that $1 \\le a' \\le 209$, $1 \\le b' \\le 291$, and $t = 7a' + 3b' + 7$. Let $n = 83160$. Determine the number of positive divisors $d$ of $n$ such that $a \\le d \\le b$. Compute the remainder when $83939$ times this number is divided by $67120$.", "answer": 20719, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(83939),\n \"n\": Const(83160),\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=1800)), 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\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=209)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=291)), Geq(left=Var(name='t'), right=Const(value=17)), Leq(left=Var(name='t'), right=Const(value=2343)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=7)))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(67120)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.065, "created_at": "2026-02-08T17:07:44.329886Z", "verification": {"verified": true, "answer": 20719, "timestamp": "2026-02-08T17:07:44.394541Z"}, "problem_hash": "0bba41", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 612}, "timestamp": "2026-02-12T21:55:03.453Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K16": "no", "L3c": "no", "LTE_SUM": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3a573d", "alias": "comb_catalan_compute_v1_971394319_1260", "problem": "Let $n$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Define the value of the $n$-th Catalan number as $\\text{result}$. Let $c = 33489$. Compute $c - \\text{result}$.", "answer": 16693, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": Const(33489),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T13:34:03.138097Z", "verification": {"verified": true, "answer": 16693, "timestamp": "2026-02-08T13:34:03.140623Z"}, "problem_hash": "08ad1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 373}, "timestamp": "2026-02-12T07:04:03.485Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "206a46", "alias": "diophantine_product_count_v1_1874849503_1020", "problem": "Let $k = 480$ and let $U = 460$.\n\nLet $N$ be the number of integers $x$ with $1 \\le x \\le U$ such that $x$ divides $k$ and $\\dfrac{k}{x} \\le U$.\n\nLet $Q$ be the remainder when $71757 \\cdot N$ is divided by $68654$.\n\nFind the value of $Q$.", "answer": 68266, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(480),\n \"upper\": Const(460),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Const(71757), Ref(\"result\")), modulus=Const(68654)),\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/L3B/V1", "C3/B3"], "recipe_id": "a41013", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["B3", "C3", "L3B", "LIN_FORM", "V1"], "num_lemmas": 5, "generation_time": 0.15, "created_at": "2026-02-08T13:30:28.712675Z", "verification": {"verified": true, "answer": 68266, "timestamp": "2026-02-08T13:30:28.862805Z"}, "problem_hash": "5733f9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 68266, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 1710}, "timestamp": "2026-02-09T23:58:46.200Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 10117, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 440}, "timestamp": "2026-02-11T21:11:22.591Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "LIN_FORM": "ok", "B3": "ok_later", "L3B": "ok_later", "V1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "L3c": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "valid"} +{"id": "a0ab9f", "alias": "antilemma_cartesian_v1_124444284_8723", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2, \\dots, 23\\}$ and $\\{1, 2, \\dots, 46\\}$. Let $C = 46667$. Compute the remainder when $C$ times the number of elements in $S$ is divided by $81010$.", "answer": 38596, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(46)))),\n \"_c\": Const(46667),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"x\")), modulus=Const(81010)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T11:52:49.108473Z", "verification": {"verified": true, "answer": 38596, "timestamp": "2026-02-08T11:52:49.109289Z"}, "problem_hash": "8eabb2", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38596, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 118, "completion_tokens": 1691}, "timestamp": "2026-02-14T20:18:50.765Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 59866, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 293}, "timestamp": "2026-02-12T04:44:12.006Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "3f6d84", "alias": "modular_inverse_v1_865884756_6378", "problem": "Let $m$ be the smallest divisor of $722227702454681$ that is at least $2$. Let $S$ be the set of all real numbers $x$ such that $x^2 - 928x + 59271 = 0$. Define $U$ to be the sum of all elements in $S$. Let $T$ be the set of all positive integers $x_1$ such that $1 \\leq x_1 \\leq U$ and $905x_1 \\equiv 1 \\pmod{m}$. Let $r$ be the smallest element of $T$. Compute $$\\sum_{n=1}^{|r|} \\tau(n),$$ where $\\tau(n)$ denotes the number of positive divisors of $n$. Determine the value of this sum.", "answer": 4373, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"a\": Const(905),\n \"m\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=Const(722227702454681))))),\n \"upper\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_n\")), Mul(Const(-928), Var(\"x\")), Const(59271)), Const(0)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=And(Geq(Var(\"x1\"), Const(1)), Leq(Var(\"x1\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x1\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Summation(var=\"n\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "recipe_id": "0aafd1", "seed_template_id": "modular_inverse_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.038, "created_at": "2026-02-08T19:10:10.693732Z", "verification": {"verified": true, "answer": 4373, "timestamp": "2026-02-08T19:10:10.731260Z"}, "problem_hash": "62965e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 288, "completion_tokens": 463}, "timestamp": "2026-02-13T00:50:14.012Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "VIETA_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9197ca", "alias": "nt_count_gcd_equals_v1_971394319_1335", "problem": "Let $k$ be the largest positive divisor of $200254$ that does not exceed $446$. Let $u = 16384$. Define $T$ as the set of all positive integers $n$ such that $1 \\leq n \\leq u$ and $\\gcd(n, k) = 446$. Let $r$ be the number of elements in $T$. Compute the remainder when $11897 \\cdot r$ is divided by $95164$. Determine the value of this remainder.", "answer": 47636, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(16384),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(446)), Divides(divisor=Var(\"d\"), dividend=Const(200254))))),\n \"d\": Const(446),\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(11897), Ref(\"result\")), modulus=Const(95164)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 1.526, "created_at": "2026-02-08T13:37:12.482657Z", "verification": {"verified": true, "answer": 47636, "timestamp": "2026-02-08T13:37:14.008292Z"}, "problem_hash": "feca4e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 224, "completion_tokens": 358}, "timestamp": "2026-02-12T07:10:57.158Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "112f45", "alias": "nt_count_divisible_and_v1_1742523217_2700", "problem": "Let $a = 432$ and $b = 245$. Define $m = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $p = 47$ and $q = 79$, and define $n = p \\cdot q$. Define $f = \\sum_{d \\mid n} \\mu(d)$. Let $d_1$ be the number of integers $t$ with $5 \\le t \\le 15$ such that there exist integers $a$ and $b$ with $1 \\le a \\le 3$, $1 \\le b \\le 3$, and $t = 2a + 3b$. Let $d_2 = 12m + f$. Let $\\text{result}$ be the number of positive integers $n$ with $1 \\le n \\le 168948$ such that $n$ is divisible by both $d_1$ and $d_2$. Find the remainder when $67441 \\cdot \\text{result}$ is divided by $63973$.", "answer": 26182, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(432),\n \"b\": Const(245),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(47),\n \"q\": Const(79),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"f\": SumOverDivisors(n=Ref(name='n'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": Const(168948),\n \"d1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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 \"d2\": Sum(Mul(Const(12), Ref(\"m\")), Ref(\"f\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(67441),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63973)),\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", "MOBIUS_SUM", "LIN_FORM"], "recipe_id": "94857c", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MOBIUS_COPRIME", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 9.05, "created_at": "2026-02-08T04:55:03.872246Z", "verification": {"verified": true, "answer": 26182, "timestamp": "2026-02-08T04:55:12.922711Z"}, "problem_hash": "b2c8f9", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MOBIUS_COPRIME": "ok", "MOBIUS_SUM": "ok", "DS2": "no", "K17": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "split": "valid"} +{"id": "1d0222", "alias": "antilemma_product_of_sums_v1_1248542787_357", "problem": "Let $S$ be the set of all ordered pairs $(k, j)$ with $1 \\leq k \\leq 14$ and $1 \\leq j \\leq 5$. Define $T$ to be the subset of $S$ consisting of those pairs for which $\\sum_{d \\mid \\gcd(7,11)} \\mu(d) > 0$. Let $S_1$ be the sum of all $k$-values in $T$. Let $P$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 64$, and let $s_{\\min}$ be the minimum value of $x + y$ over all such pairs. Define $S_2 = \\sum_{k=1}^{s_{\\min}} k$. Let $x = S_1 \\cdot S_2$. Compute the remainder when $\\sum_{n=2}^{x} \\phi(n)$ is divided by $89890$.", "answer": 77980, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(89890),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"k\"), Var(\"_j\")]), condition=SumOverDivisors(n=GCD(a=Const(value=7), b=Const(value=11)), var='d', expr=MoebiusMu(n=Var(name='d'))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(14)), right=IntegerRange(start=Const(1), end=Const(5)))), expr=Var(\"k\"))),\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\")), Const(64)))), expr=Sum(Var(\"x\"), Var(\"y\")))), expr=Var(\"k\")),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Abs(arg=Ref(name='x')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/SUM_ARITHMETIC", "MOBIUS_COPRIME", "PRODUCT_OF_SUMS", "ONE_PHI_2"], "recipe_id": "2f3464", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MOBIUS_COPRIME", "ONE_PHI_2", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 5, "generation_time": 3.667, "created_at": "2026-02-08T03:04:54.396515Z", "verification": {"verified": true, "answer": 77980, "timestamp": "2026-02-08T03:04:58.063904Z"}, "problem_hash": "32ae0d", "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-09T03:16:05.672Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 15520, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 318, "completion_tokens": 4996}, "timestamp": "2026-02-09T15:31:06.561Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 274, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:06:09.562Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "DS2": "no", "L3b": "no", "MOD_SUB": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "b1fe9e", "alias": "nt_gcd_compute_v1_809748730_475", "problem": "Let $m = 2$. Let $n$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 7836$. Let $g = \\gcd(109688, 205665)$. Let $c$ be the largest prime number in the interval $[m, n]$. Compute the remainder when $c \\cdot g$ is divided by $50034$.", "answer": 19505, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(7836))))),\n \"a\": Const(109688),\n \"b\": Const(205665),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50034)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/MAX_PRIME_BELOW"], "recipe_id": "4a6ee5", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "affine_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T11:32:30.344452Z", "verification": {"verified": true, "answer": 19505, "timestamp": "2026-02-08T11:32:30.346376Z"}, "problem_hash": "35289b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19505, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 1948}, "timestamp": "2026-02-14T15:35:09.781Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 343, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 590}, "timestamp": "2026-02-12T04:15:12.749Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "MAX_PRIME_BELOW": "ok_later", "K13": "no", "K14": "no", "L3c": "no", "MOD_ADD": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "6fea29", "alias": "algebra_poly_eval_v1_458359167_5239", "problem": "Let $n$ be the number of integers $t$ with $9 \\le t \\le 34$ for which there exist positive integers $a$ and $b$ such that $1 \\le a \\le 10$, $1 \\le b \\le 2$, and $t = 2a + 7b$. Let $k_{\\text{max}}$ be the largest integer $k$ such that $3^k \\le 43$. Compute $k_{\\text{max}} \\cdot n^3 + 8n^2 - 3n + 6$.", "answer": 27146, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(43),\n \"_m\": Const(3),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(3), expr=Var(\"k\")),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), 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=34)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"result\": Sum(Mul(MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(3), Var(\"k\")), Ref(\"_c\")))), Pow(Ref(\"n\"), Ref(\"_m\"))), Mul(Const(8), Pow(Ref(\"n\"), Const(2))), Mul(Const(-3), Ref(\"n\")), Ref(\"_n\")),\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/LIN_FORM", "MAX_VAL"], "recipe_id": "519e5a", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_VAL", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T12:21:06.241772Z", "verification": {"verified": true, "answer": 27146, "timestamp": "2026-02-08T12:21:06.247537Z"}, "problem_hash": "91a015", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 229, "completion_tokens": 386}, "timestamp": "2026-02-12T05:10:58.413Z"}], "solution_status": 0, "lemma_applicability": {"MAX_VAL": "ok", "SUM_ARITHMETIC": "ok", "LIN_FORM": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "70cf95", "alias": "modular_sum_quadratic_residues_v1_168721529_822", "problem": "Let $m$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, \\dots, 439\\}$. Let $n = 2$. Define $A$ to be the set of all positive integers $n$ such that $n \\ge 1$, $n \\le m$, $n$ is divisible by 2, and $\\gcd(n, 15) = 1$. Let $B$ be the set of all prime numbers $n$ such that $n \\ge 2$ and $n$ is at most the number of elements in $A$. Let $p$ be the largest element in $B$. Define $r = \\frac{p(p-1)}{4}$. Find the value of the Bell number $B_k$, where $k$ is the remainder when $|r|$ is divided by 11.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(439)))),\n \"_n\": Const(2),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_m\")), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1)))))), IsPrime(Var(\"n\"))))),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=Const(11))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["COUNT_CARTESIAN/C5/MAX_PRIME_BELOW"], "recipe_id": "d4bd64", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "COUNT_CARTESIAN", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 4, "generation_time": 0.014, "created_at": "2026-02-08T13:18:55.932164Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T13:18:55.945841Z"}, "problem_hash": "4a52c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 309, "completion_tokens": 1382}, "timestamp": "2026-02-09T09:36:54.795Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 203, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 250, "completion_tokens": 540}, "timestamp": "2026-02-09T22:07:38.373Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 295, "completion_tokens": 462}, "timestamp": "2026-02-12T06:31:32.776Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C5": "ok_later", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "K13": "no", "K14": "no", "K16": "no", "V5": "no"}, "irt_difficulty": {"lo": -8.01, "mid": -4.81, "hi": -1.54}, "split": "valid"} +{"id": "2a580c", "alias": "antilemma_cartesian_v1_798873815_102", "problem": "Let $S$ be the Cartesian product of the set $\\{1, 2, \\ldots, 15\\}$ and the set $\\{1, 2, \\ldots, 16\\}$. Let $x$ be the number of elements in $S$. Compute the remainder when $45103 \\cdot x$ is divided by $94258$.", "answer": 79308, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"Q\": Mod(value=Mul(Const(45103), Ref(\"x\")), modulus=Const(94258)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T02:26:11.361129Z", "verification": {"verified": true, "answer": 79308, "timestamp": "2026-02-08T02:26:11.361524Z"}, "problem_hash": "bfee13", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 79308, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 191, "completion_tokens": 966}, "timestamp": "2026-02-08T18:59:54.323Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 79308, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 187, "completion_tokens": 823}, "timestamp": "2026-02-09T13:33:41.644Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 142, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:54:03.895Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 73208, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 133, "completion_tokens": 493}, "timestamp": "2026-02-08T20:29:01.245Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 79308, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 120, "completion_tokens": 675}, "timestamp": "2026-02-08T23:36:05.478Z"}, {"id": 8, "model": "mathstral", "answer": 36000, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 134, "completion_tokens": 452}, "timestamp": "2026-02-10T20:21:04.595Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 49796, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 287}, "timestamp": "2026-02-11T19:31:57.832Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -4.9, "mid": -1.86, "hi": 1.4}, "split": "valid"} +{"id": "6ce42a", "alias": "nt_count_divisible_and_v1_124444284_9604", "problem": "Let $S$ be the set of all ordered pairs $(a, b)$ where $a$ is an integer from 1 to 95 and $b$ is an integer from 1 to 96. The size of $S$ is denoted by $N$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq N$, $n$ is divisible by 10, and $n$ is divisible by 15.", "answer": 304, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(95)), right=IntegerRange(start=Const(1), end=Const(96)))),\n \"d1\": Const(10),\n \"d2\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.317, "created_at": "2026-02-08T12:34:48.285753Z", "verification": {"verified": true, "answer": 304, "timestamp": "2026-02-08T12:34:48.602974Z"}, "problem_hash": "6934c2", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 304, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 599}, "timestamp": "2026-02-12T05:23:11.524Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "bc84d3", "alias": "algebra_vieta_sum_v1_1125832087_2343", "problem": "Let $f(x) = -x^2 + 4x + k$, where $k$ is the number of integers $n$ with $1 \\leq n \\leq 118$ such that the sum of the decimal digits of $n$ is odd. Determine the sum of all real roots of the equation $f(x) = 0$, and denote this sum by $s$. \n\nLet $t$ be an integer satisfying $18 \\leq t \\leq 114$. Let $N$ be the number of such $t$ that can be expressed as $t = 4a + 14b$ for positive integers $a$ and $b$ with $1 \\leq a \\leq 11$ and $1 \\leq b \\leq 5$. \n\nCompute $s^2 + N \\cdot s + 81$.", "answer": 269, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Mul(Const(-1), Pow(Var(\"x\"), Const(2))), Mul(Const(4), Var(\"x\")), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(118)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(1)))))), Const(0)))),\n \"_c\": Const(81),\n \"Q\": Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=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=18)), Leq(left=Var(name='t'), right=Const(value=114)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))), Ref(\"result\")), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "L3B"], "recipe_id": "d0b12b", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T04:34:06.857277Z", "verification": {"verified": true, "answer": 269, "timestamp": "2026-02-08T04:34:06.866841Z"}, "problem_hash": "002ad5", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 269, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 294, "completion_tokens": 2546}, "timestamp": "2026-02-10T17:05:50.780Z"}, {"id": 8, "model": "mathstral", "answer": 197, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 247, "completion_tokens": 898}, "timestamp": "2026-02-13T18:55:30.673Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 290, "completion_tokens": 603}, "timestamp": "2026-02-11T20:56:39.422Z"}], "solution_status": 1, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "6c73ed", "alias": "algebra_poly_eval_v1_1440796553_733", "problem": "Let $z$ be the smallest integer $d \\geq 2$ that divides the number of prime numbers $n$ in the range $2 \\leq n \\leq 24223$. Let $P$ be the set of all ordered pairs $(x,y)$ of positive integers such that $xy = 4$. Let $s$ be the minimum value of $x + y$ over all pairs $(x,y) \\in P$. Compute the value of\n$$\n8 \\cdot z^s + z^3 - 3 \\cdot z^2 - 3 \\cdot z + 2.\n$$", "answer": 5037, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(3),\n \"_n\": Const(2),\n \"z\": 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(2)), Leq(Var(\"n\"), Const(24223)), IsPrime(Var(\"n\"))))))))),\n \"result\": Sum(Mul(Const(8), Pow(Ref(\"z\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))))), Pow(Ref(\"z\"), Ref(\"_m\")), Mul(Const(-3), Pow(Ref(\"z\"), Ref(\"_n\"))), Mul(Const(-3), Ref(\"z\")), Const(2)),\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/MIN_PRIME_FACTOR", "B3"], "recipe_id": "f1b240", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.009, "created_at": "2026-02-08T11:56:46.824378Z", "verification": {"verified": true, "answer": 5037, "timestamp": "2026-02-08T11:56:46.833031Z"}, "problem_hash": "3b8c36", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 641, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 2818}, "timestamp": "2026-02-14T20:46:08.416Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 298}, "timestamp": "2026-02-12T04:47:46.578Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "K14": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "a3f5a5", "alias": "diophantine_fbi2_min_v1_1742523217_2827", "problem": "Let $\\mathcal{S}$ be the set of all ordered pairs of positive integers $(i, j)$ such that $i + j = 66$ and $1 \\leq i, j \\leq 66$. Let $k = 55$. Let $t$ be the number of elements in $\\mathcal{S}$. Let $\\mathcal{P}$ be the set of all positive integers $p$ for which there exists a positive integer $q > p$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Let $u = |\\mathcal{P}|$. Define $v = \\sum_{k=1}^{u} \\varphi(55) \\left\\lfloor \\frac{2}{k} \\right\\rfloor$. Let $d$ be the smallest positive integer such that $d \\geq v$, $d \\leq t$, $d$ divides $55$, and $\\frac{55}{d} \\geq 7$. Find the value of $d$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66),\n \"k\": Const(55),\n \"upper\": 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(66)), right=IntegerRange(start=Const(1), end=Const(66))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), 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=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'))))))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(2), Var(\"k\")))))), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(7))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["COPRIME_PAIRS/K2", "COUNT_SUM_EQUALS"], "recipe_id": "eec52a", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_SUM_EQUALS", "K14", "K2"], "num_lemmas": 4, "generation_time": 0.092, "created_at": "2026-02-08T05:24:27.124329Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T05:24:27.216071Z"}, "problem_hash": "913b0b", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 5442}, "timestamp": "2026-02-12T08:26:45.204Z"}, {"id": 8, "model": "mathstral", "answer": 55, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 276, "completion_tokens": 649}, "timestamp": "2026-02-14T17:29:46.001Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 11, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 318, "completion_tokens": 526}, "timestamp": "2026-02-11T22:36:34.006Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_SUM_EQUALS": "ok", "K2": "ok_later", "K16": "no", "K18": "no", "L3c": "no", "MAX_PRIME_BELOW": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "7b5bfd", "alias": "nt_sum_totient_over_divisors_v1_1742523217_2732", "problem": "Let $N = 85278$. Let $\\lambda(n)$ denote the Liouville function, and define $m = \\lambda(361)$. Let $w = \\sum_{d\\mid 1} \\mu(d)$, where $\\mu$ is the M\\\"obius function. Let $p$ be the largest prime number at most $6780$, and define $n = p \\cdot m$. Let $r = \\sum_{d\\mid n} \\phi(d)$, where $\\phi$ is Euler's totient function. Find the remainder when $54809 \\cdot r$ is divided by $N \\cdot w$.", "answer": 79243, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(85278),\n \"n2\": Const(361),\n \"m\": LiouvilleLambda(n=Ref(name='n2')),\n \"n1\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(6780)), IsPrime(Var(\"n\"))))), Ref(\"m\")),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Mul(Const(54809), Ref(\"result\")), modulus=Mul(Ref(\"_n\"), 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/LIOUVILLE_ONE", "MOBIUS_SUM"], "recipe_id": "fbb61c", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:19:25.626281Z", "verification": {"verified": true, "answer": 79243, "timestamp": "2026-02-08T05:19:25.627979Z"}, "problem_hash": "3e0d08", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MOBIUS_SUM": "ok", "LIOUVILLE_ONE": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "K16": "no", "LTE_SUM": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "7113b0", "alias": "antilemma_sum_primes_v1_784195855_18", "problem": "Let $m = 2$. Let $n$ be the largest prime number such that $m \\leq n \\leq k$, where $k$ is the largest integer for which $11^k$ divides $33!$. Let $x$ be the sum of all prime numbers less than or equal to $n$ and greater than or equal to $2$. Compute $x$.", "answer": 5, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MaxKDivides(target=Factorial(Const(33)), base=Const(11))), IsPrime(Var(\"n\"))))),\n \"x\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V1", "lemma_paths": ["V1/MAX_PRIME_BELOW/SUM_PRIMES", "SUM_PRIMES"], "recipe_id": "4a49d8", "seed_template_id": "antilemma_sum_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_PRIMES", "V1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:54:14.987314Z", "verification": {"verified": true, "answer": 5, "timestamp": "2026-02-08T02:54:14.989362Z"}, "problem_hash": "0a1178", "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": 195, "completion_tokens": 639}, "timestamp": "2026-02-08T20:03:14.292Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 5, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 384}, "timestamp": "2026-02-08T21:17:26.162Z"}], "solution_status": 2, "lemma_applicability": {"SUM_PRIMES": "ok", "V1": "ok", "MAX_PRIME_BELOW": "ok_later", "K5": "same_pattern_wrong", "C2": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "a475c2", "alias": "comb_sum_binomial_row_v1_1439011603_2737", "problem": "Let $n$ be the largest positive integer $d$ such that $1 \\leq d \\leq 10$ and $d$ divides $110$. Compute $2^n$.", "answer": 1024, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(110),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(10)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:55:45.756994Z", "verification": {"verified": true, "answer": 1024, "timestamp": "2026-02-08T16:55:45.758710Z"}, "problem_hash": "d86a1b", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1024, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 144, "completion_tokens": 178}, "timestamp": "2026-02-12T21:32:19.546Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "K16": "no", "K17": "no", "K5": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "75411b", "alias": "nt_sum_divisors_range_v1_2051736721_924", "problem": "Let $d$ be a positive divisor of $100370000$ that is at most $10000$. Define $N$ to be the largest such $d$. Compute the sum of the number of positive divisors of each integer $n$ from $1$ to $N$, inclusive. Let this sum be $S$. Find the remainder when $93173 \\cdot S$ is divided by $73808$.", "answer": 49220, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(93173),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(10000)), Divides(divisor=Var(\"d\"), dividend=Const(100370000))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(73808)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.761, "created_at": "2026-02-08T15:45:39.144523Z", "verification": {"verified": true, "answer": 49220, "timestamp": "2026-02-08T15:45:39.905841Z"}, "problem_hash": "fbbcfc", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 569}, "timestamp": "2026-02-12T09:05:06.296Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "MOD_SUB": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4e6bf2", "alias": "comb_count_derangements_v1_48377204_3029", "problem": "Let $m = 9$. Define $n'$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $m$. Let $n$ be the largest prime number less than or equal to $n'$ and at least 2. Compute the subfactorial of $n$.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(2)), Leq(Var(\"n1\"), Ref(\"_n\")), IsPrime(Var(\"n1\"))))),\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": "K3", "lemma_paths": ["K3/MAX_PRIME_BELOW"], "recipe_id": "d8e8cc", "seed_template_id": "comb_count_derangements_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:08:27.040709Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T17:08:27.043315Z"}, "problem_hash": "2bbad1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 5040, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 166, "completion_tokens": 257}, "timestamp": "2026-02-12T21:56:54.535Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MAX_PRIME_BELOW": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "LTE_SUM": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4130cd", "alias": "antilemma_cartesian_v1_809748730_1762", "problem": "Compute the number of ordered pairs $(a, b)$ such that $a$ is an integer satisfying $1 \\leq a \\leq 25$ and $b$ is an integer satisfying $1 \\leq b \\leq 32$.", "answer": 800, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(25)), right=IntegerRange(start=Const(1), end=Const(32)))),\n \"Q\": Ref(\"x\"),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T12:41:19.588394Z", "verification": {"verified": true, "answer": 800, "timestamp": "2026-02-08T12:41:19.588791Z"}, "problem_hash": "816840", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 800, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 170}, "timestamp": "2026-02-12T05:29:12.759Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "fbae2b", "alias": "nt_count_primes_v1_784195855_2675", "problem": "Let $m = 110$ and $n = 66968$. Define $U = 77284$. Let $r$ be the number of prime numbers $p$ such that $2 \\leq p \\leq U$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = \\sum_{d \\mid m} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $P$ be the set of all products $xy$ where $(x, y) \\in S$. Let $M$ be the maximum element of $P$. Compute the remainder when $M - r$ is divided by $n$. ", "answer": 62399, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(110),\n \"_n\": Const(66968),\n \"upper\": Const(77284),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"upper\")), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=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\")), SumOverDivisors(n=Ref(name='_m'), var='d', expr=EulerPhi(n=Var(name='d')))))), 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": "K3", "lemma_paths": ["K3/B1"], "recipe_id": "fd7b28", "seed_template_id": "nt_count_primes_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "K3"], "num_lemmas": 2, "generation_time": 1.889, "created_at": "2026-02-08T05:55:46.238984Z", "verification": {"verified": true, "answer": 62399, "timestamp": "2026-02-08T05:55:48.127792Z"}, "problem_hash": "f87ff0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 62443, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 1737}, "timestamp": "2026-02-12T16:59:39.042Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 498}, "timestamp": "2026-02-11T23:21:57.305Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "B1": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "K5": "no", "MOD_SUB": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "10f890", "alias": "diophantine_product_count_v1_124444284_8196", "problem": "Let $T$ be the set of all positive integers $t$ such that $5 \\le t \\le 2526$ and there exist positive integers $a$, $b$ with $1 \\le a \\le 1020$, $1 \\le b \\le 162$, satisfying $t = 2a + 3b$. Let $K$ be the number of positive integers $k$ such that $1 \\le k \\le |T|$ and $6$ divides $k$. Define $S$ to be the set of all positive integers $x$ such that $1 \\le x \\le 155$, $x$ divides $K$, and $\\frac{K}{x} \\le 155$. Compute the number of elements in $S$, and let this value be $N$. Find the remainder when $49106 \\cdot N$ is divided by $90993$.", "answer": 72190, "graph": "graphs = [\n Graph(\n let={\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=1020)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=162)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=2526)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))), Divides(divisor=Const(6), dividend=Var(\"k\"))), domain='positive_integers')),\n \"upper\": Const(155),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Mod(value=Mul(Const(49106), Ref(\"result\")), modulus=Const(90993)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/C2"], "recipe_id": "03e7fc", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.009, "created_at": "2026-02-08T09:35:47.148869Z", "verification": {"verified": true, "answer": 72190, "timestamp": "2026-02-08T09:35:47.157731Z"}, "problem_hash": "0d872d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 72190, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 234, "completion_tokens": 3301}, "timestamp": "2026-02-14T05:07:54.696Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 306, "completion_tokens": 541}, "timestamp": "2026-02-12T03:02:58.762Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "C2": "ok_later", "K14": "no", "K16": "no", "K5": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8f394a", "alias": "nt_count_divisible_v1_1520064083_88", "problem": "Let $n$ be a positive integer. Define $N = 37249$. Consider the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and $n$ is divisible by 12. Let $A$ be the number of elements in this set. \n\nNow, let $B$ be the smallest divisor $d \\geq 2$ of 4360092637. Let $C$ be the number of positive integers $n \\leq 14002$ such that the sum of the decimal digits of $n$ is even. Let $R = A \\bmod 397$.\n\nCompute the remainder when \n$$\nA \\bmod B + C \\cdot R\n$$ \nis divided by 66366.", "answer": 18973, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(397),\n \"upper\": Const(37249),\n \"divisor\": Const(12),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(4360092637)))))), Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(14002)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(66366)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "L3B"], "recipe_id": "375a5a", "seed_template_id": "nt_count_divisible_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3B", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 1.187, "created_at": "2026-02-08T02:58:58.411795Z", "verification": {"verified": true, "answer": 18973, "timestamp": "2026-02-08T02:58:59.598556Z"}, "problem_hash": "1e31fa", "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": 273, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:21:45.425Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 273, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:28:43.795Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21985, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 2472}, "timestamp": "2026-02-10T22:48:43.055Z"}, {"id": 8, "model": "mathstral", "answer": 4978, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 240, "completion_tokens": 700}, "timestamp": "2026-02-11T09:26:09.968Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 467}, "timestamp": "2026-02-11T20:01:15.489Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "MIN_PRIME_FACTOR": "ok", "K14": "no", "K16": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "268e20", "alias": "nt_count_coprime_and_v1_1439011603_2767", "problem": "Let $A$ be the set of positive integers $n_1$ with $1 \\le n_1 \\le 105108$ such that $24$ divides the $n_1$-th Fibonacci number. Let $N$ be the number of elements in $A$. Define $B$ to be the set of integers $n$ with $2 \\le n \\le N$ such that $n$ is prime. Let $\\text{upper}$ be the maximum element of $B$. Let $k_1$ be the number of integers $n_2$ with $1 \\le n_2 \\le 131$ such that $n_2 \\equiv \\left\\lfloor \\frac{n_2}{2} \\right\\rfloor \\pmod{11}$. Let $k_2 = 13$. Compute the number of positive integers $n_3$ with $1 \\le n_3 \\le \\text{upper}$ such that $\\gcd(n_3, k_1) = 1$ and $\\gcd(n_3, k_2) = 1$.", "answer": 7346, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(105108)), Divides(divisor=Const(24), dividend=Fibonacci(arg=Var(name='n1'))))))), IsPrime(Var(\"n\"))))),\n \"k1\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Const(131)), Congruent(a=Var(name='n2'), b=Floor(arg=Div(left=Var(name='n2'), right=Const(value=2))), modulus=Const(value=11))))),\n \"k2\": Const(13),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n3\"), condition=And(Geq(Var(\"n3\"), Const(1)), Leq(Var(\"n3\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n3\"), b=Ref(\"k1\")), Const(1)), Eq(GCD(a=Var(\"n3\"), 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_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/MAX_PRIME_BELOW", "L3C"], "recipe_id": "8ba5f1", "seed_template_id": "nt_count_coprime_and_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3C", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 2.873, "created_at": "2026-02-08T16:57:44.158642Z", "verification": {"verified": true, "answer": 7346, "timestamp": "2026-02-08T16:57:47.031356Z"}, "problem_hash": "28621f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 343, "completion_tokens": 486}, "timestamp": "2026-02-12T21:32:35.802Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "L3C": "ok", "MAX_PRIME_BELOW": "ok_later", "K18": "no", "L3b": "no", "V5": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ced87c", "alias": "comb_catalan_compute_v1_151522320_706", "problem": "Let $N$ be the number of integers $t$ such that $11 \\leq t \\leq 6126$ and $t = 4a + 7b$ for some positive integers $a$ and $b$ with $1 \\leq a \\leq 1150$ and $1 \\leq b \\leq 218$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = N$. Let $R = C_{10}$, where $C_n$ denotes the $n$th Catalan number. Compute the remainder when $c \\cdot R$ is divided by $83271$.", "answer": 82610, "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=1150)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=218)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=6126)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"n\": Const(10),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(83271)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/COMB1"], "recipe_id": "3b3567", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T03:27:52.517707Z", "verification": {"verified": true, "answer": 82610, "timestamp": "2026-02-08T03:27:52.521803Z"}, "problem_hash": "0d262e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 8192}, "timestamp": "2026-02-10T14:33:50.116Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 82610, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 265, "completion_tokens": 7409}, "timestamp": "2026-02-10T13:35:54.964Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 217, "completion_tokens": 981}, "timestamp": "2026-02-12T16:11:01.940Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 693}, "timestamp": "2026-02-11T20:53:51.292Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.52, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "51f03b", "alias": "diophantine_product_count_v1_865884756_4144", "problem": "Let $m$ be the number of integers $n$ with $1\\le n\\le 7217$ such that $\\gcd(n,15)=1$.\n\nLet $k$ be the smallest possible value of $x+y$, where $x$ and $y$ are positive integers satisfying $xy=396900$.\n\nLet $u$ be the sum of all integers $r$ such that\n$$r^2-125r+m=0.$$\nLet $U$ be the greatest prime number $p$ with $2\\le p\\le u$.\n\nLet $N$ be the number of integers $d$ with $1\\le d\\le U$ such that $d$ divides $k$ and $\\dfrac{k}{d}\\le U$.\n\nCompute $N$. ", "answer": 18, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(15),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(7217)), Eq(GCD(a=Var(\"n\"), b=Ref(\"_c\")), Const(1))))),\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(396900)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), SumOverSet(set=SolutionsSet(var=Var(\"x1\"), condition=Eq(Sum(Pow(Var(\"x1\"), Const(2)), Mul(Const(-125), Var(\"x1\")), Ref(\"_m\")), Const(0))))), IsPrime(Var(\"n1\"))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x2\"), condition=And(Geq(Var(\"x2\"), Const(1)), Leq(Var(\"x2\"), Ref(\"upper\")), Divides(divisor=Var(\"x2\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x2\")), Ref(\"upper\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/VIETA_SUM/MAX_PRIME_BELOW", "B3"], "recipe_id": "8d2515", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C4", "MAX_PRIME_BELOW", "VIETA_SUM"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T17:45:55.233323Z", "verification": {"verified": true, "answer": 18, "timestamp": "2026-02-08T17:45:55.245465Z"}, "problem_hash": "d93c4a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 584}, "timestamp": "2026-02-12T23:11:09.035Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "C4": "ok", "MAX_PRIME_BELOW": "ok_later", "VIETA_SUM": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K15": "no", "K5": "no", "LTE_DIFF_P2": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "314244", "alias": "nt_count_phi_equals_v1_1915831931_4193", "problem": "Let $k = 328$ and let $S$ be the set of all integers $n$ such that $1 \\leq n \\leq 3364$ and $\\phi(n) = k$. Let $r = |S|$. Let $P$ be the set of all prime numbers $n_1$ such that $2 \\leq n_1 \\leq 100$, and let $M = \\max(P)$ and $m = \\min\\{d \\geq 2 \\mid d \\text{ divides } 1071509\\}$. Compute the remainder when\n$$\n353702 \\cdot (r \\bmod M) + 329703 \\cdot \\left( (r^2) \\bmod m \\right) + 215534 \\cdot \\left( (r \\bmod 16) \\bmod 103 \\right)\n$$\nis divided by $86685$.", "answer": 57068, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(100),\n \"_n\": Const(2),\n \"upper\": Const(3364),\n \"k\": Const(328),\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(16),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_n\")), Leq(Var(\"n1\"), Ref(\"_m\")), IsPrime(Var(\"n1\"))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1071509))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(86685)),\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"], "recipe_id": "d42f47", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "crt_mix_3", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.224, "created_at": "2026-02-08T18:10:54.190614Z", "verification": {"verified": true, "answer": 57068, "timestamp": "2026-02-08T18:10:54.415014Z"}, "problem_hash": "bb4d60", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 548}, "timestamp": "2026-02-12T23:49:31.321Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "K5": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b02fd9", "alias": "antilemma_k2_v1_865884756_4124", "problem": "Compute $$\\sum_{k=1}^{100} \\phi(k) \\left\\lfloor \\frac{100}{k} \\right\\rfloor.$$", "answer": 5050, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(100),\n \"x\": Summation(var=\"k\", start=Pow(Const(45), Sub(Const(30), Const(30))), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(100), Var(\"k\"))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "IDENTITY_POW_ZERO", "lemma_paths": ["IDENTITY_POW_ZERO", "IDENTITY_SUB_SELF", "K2"], "recipe_id": "fe633d", "seed_template_id": "antilemma_k2_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["IDENTITY_POW_ZERO", "IDENTITY_SUB_SELF", "K2"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T17:45:40.155806Z", "verification": {"verified": true, "answer": 5050, "timestamp": "2026-02-08T17:45:40.157663Z"}, "problem_hash": "384439", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 139, "completion_tokens": 600}, "timestamp": "2026-02-12T23:02:35.262Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_POW_ZERO": "ok", "IDENTITY_SUB_SELF": "ok", "K2": "ok", "DS2": "no", "K13": "no", "K18": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e3e6cc", "alias": "antilemma_v1_legendre_784195855_5163", "problem": "Let $x$ be the largest integer $k$ such that $p^k$ divides $84337!$, where $p$ is the largest prime number satisfying $2 \\le p \\le 11$. Let $c$ be the smallest divisor of $1037153$ that is greater than or equal to $2$. Compute the remainder when $c - x$ is divided by $64265$.", "answer": 55846, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64265),\n \"_n\": Const(84337),\n \"x\": MaxKDivides(target=Factorial(Ref(\"_n\")), base=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\")))))),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(1037153))))),\n \"Q\": Mod(value=Sub(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": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW/V1", "V1"], "recipe_id": "9d5aca", "seed_template_id": "antilemma_v1_legendre", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.001, "created_at": "2026-02-08T07:42:31.126382Z", "verification": {"verified": true, "answer": 55846, "timestamp": "2026-02-08T07:42:31.127872Z"}, "problem_hash": "db095b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "V1": "ok", "K5": "same_pattern_wrong", "DS2": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "fe7a8f", "alias": "antilemma_cartesian_v1_1520064083_9665", "problem": "Let $A$ be the set of all ordered pairs $(i,j)$ such that $1 \\leq i \\leq 10$ and $1 \\leq j \\leq 16$. Let $x$ be the number of elements in $A$. Compute the remainder when $44121 \\cdot x$ is divided by $90568$.", "answer": 85624, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(10)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(90568)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T10:57:26.375698Z", "verification": {"verified": true, "answer": 85624, "timestamp": "2026-02-08T10:57:26.376338Z"}, "problem_hash": "9b0783", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 85624, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 732}, "timestamp": "2026-02-14T09:30:03.579Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 292}, "timestamp": "2026-02-12T03:32:12.606Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "d94d1a", "alias": "nt_count_divisible_and_v1_458359167_865", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 61740$, $n \\equiv a \\pmod{12}$, and $n \\equiv 0 \\pmod{18}$, where $a$ is defined as follows. Let $T$ be the set of all positive integers from $1$ to $21$ inclusive that are divisible by $21$. Then $a = \\sum_{d \\mid \\sum T} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Compute the remainder when $38296$ times the number of such $n$ is divided by $76817$.", "answer": 75922, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(61740),\n \"d1\": Const(12),\n \"d2\": Const(18),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), SumOverDivisors(n=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=21)), Eq(left=Mod(value=Var(name='n'), modulus=Const(value=21)), right=Const(value=0))))), var='d', expr=MoebiusMu(n=Var(name='d')))), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(38296),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(76817)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["SUM_DIVISIBLE/MOBIUS_SUM"], "recipe_id": "88064c", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MOBIUS_SUM", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 2.475, "created_at": "2026-02-08T04:07:58.137344Z", "verification": {"verified": true, "answer": 75922, "timestamp": "2026-02-08T04:08:00.612161Z"}, "problem_hash": "caed81", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "MOBIUS_SUM": "ok_later", "COUNT_PRIMES": "no", "K14": "no", "K17": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no"}, "split": "valid"} +{"id": "0d816c", "alias": "antilemma_sum_factor_cartesian_v1_677425708_2340", "problem": "Let $N=54660$.\n\nLet $x$ be the sum of all products $ij$ over all ordered pairs $(i,j)$ of integers with $1\\le i\\le 18$ and $1\\le j\\le 10$.\n\nLet $K$ be the number of integers $t$ for which there exist integers $a$ and $b$ with $1\\le a\\le 337$, $1\\le b\\le 99$, $27\\le t\\le 4101$, and\n$$t=6a+21b.$$\n\nLet $c$ be the greatest integer $d$ with $1\\le d\\le 33$ such that $d$ divides $K$.\n\nLet $Q$ be the remainder when $c-x$ is divided by $N$.\n\nFind the value of $Q$.", "answer": 42153, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(54660),\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(19)), 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\"), Const(33)), 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=337)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=99)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=4101)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=6), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))))))),\n \"Q\": Mod(value=Sub(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": "LIN_FORM", "lemma_paths": ["LIN_FORM/MAX_DIVISOR", "SUM_FACTOR_CARTESIAN"], "recipe_id": "484833", "seed_template_id": "antilemma_sum_factor_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_DIVISOR", "SUM_FACTOR_CARTESIAN"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T05:00:13.671152Z", "verification": {"verified": true, "answer": 42153, "timestamp": "2026-02-08T05:00:13.676485Z"}, "problem_hash": "7fa393", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "SUM_FACTOR_CARTESIAN": "ok", "MAX_DIVISOR": "ok_later", "C2": "no", "K5": "no", "MAX_VAL": "no", "MOD_SUB": "no", "V3": "no"}, "split": "valid"} +{"id": "4a83b2", "alias": "comb_binomial_compute_v1_1918700295_3165", "problem": "Let $n$ be the smallest prime divisor of $71383$ that is at least $2$. Compute $\\binom{n}{6}$. Let $p$ be the number of prime numbers less than or equal to $66947$. Find the remainder when $p \\cdot \\binom{n}{6}$ is divided by $89304$.", "answer": 16524, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66947),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(71383))))),\n \"k\": Const(6),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(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(89304)),\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", "MIN_PRIME_FACTOR"], "recipe_id": "f1c9d3", "seed_template_id": "comb_binomial_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T08:26:42.212166Z", "verification": {"verified": true, "answer": 16524, "timestamp": "2026-02-08T08:26:42.222584Z"}, "problem_hash": "ae159e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 14808, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 115, "completion_tokens": 2172}, "timestamp": "2026-02-13T18:32:07.811Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 182, "completion_tokens": 408}, "timestamp": "2026-02-12T01:54:14.594Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_FACTORIAL": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "0068fb", "alias": "nt_sum_phi_v1_784195855_8412", "problem": "Let $N$ be the largest positive divisor of 367800 that is less than or equal to 600. Compute the sum of $\\phi(n)$ for all positive integers $n \\leq N$. Multiply this sum by 25802 and find the remainder when the product is divided by 86629.", "answer": 794, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(600),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(367800))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"_c\": Const(25802),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(86629)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.03, "created_at": "2026-02-08T16:04:32.156520Z", "verification": {"verified": true, "answer": 794, "timestamp": "2026-02-08T16:04:32.186129Z"}, "problem_hash": "c6e5ef", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 178, "completion_tokens": 492}, "timestamp": "2026-02-12T09:52:50.459Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "K17": "no", "LTE_DIFF_P2": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a95658", "alias": "antilemma_k2_v1_865884756_555", "problem": "Let\n$$S = \\sum_{k=1}^{94} k.$$\nLet $T$ be the sum of Euler's totient function over all positive divisors of $S$:\n$$T = \\sum_{d \\mid S} \\varphi(d).$$\nLet\n$$X = \\sum_{k=1}^{369} \\varphi(k) \\left\\lfloor \\frac{369}{k} \\right\\rfloor.$$\nLet\n$$Q \\equiv T - X \\pmod{92412},$$\nwhere $0 \\le Q < 92412$.\n\nFind the value of $Q$. ", "answer": 28612, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(94),\n \"_m\": Const(92412),\n \"_n\": Const(369),\n \"x\": Summation(var=\"k\", start=Const(1), end=Const(369), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\"))))),\n \"Q\": Mod(value=Sub(SumOverDivisors(n=Summation(expr=Var(name='k1'), var='k1', start=Const(value=1), end=Ref(name='_c')), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"x\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["SUM_ARITHMETIC/K3", "K2"], "recipe_id": "aaaeeb", "seed_template_id": "antilemma_k2_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "K2", "K3", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.012, "created_at": "2026-02-08T15:30:43.753555Z", "verification": {"verified": true, "answer": 28612, "timestamp": "2026-02-08T15:30:43.765419Z"}, "problem_hash": "c65464", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 453}, "timestamp": "2026-02-12T08:35:43.764Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "SUM_ARITHMETIC": "ok", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "K5": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d36806", "alias": "comb_count_partitions_v1_124444284_5320", "problem": "Let $S$ be the set of all integers $t$ such that there exist positive integers $a$ and $b$ with $1 \\le a \\le 25$, $1 \\le b \\le 140$, $27 \\le t \\le 1365$, and $t = 21a + 6b$. Let $n$ be the minimum value of $x + y$ where $x$ and $y$ are positive integers such that $xy$ equals the number of elements in $S$. Let $r$ be the number of integer partitions of $n$. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $r + 2$.", "answer": 1224, "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=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=140)), Geq(left=Var(name='t'), right=Const(value=27)), Leq(left=Var(name='t'), right=Const(value=1365)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=21), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\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\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\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/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:32:44.394923Z", "verification": {"verified": true, "answer": 1224, "timestamp": "2026-02-08T06:32:44.397180Z"}, "problem_hash": "49d5bc", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 82206, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 6101}, "timestamp": "2026-02-13T01:22:52.484Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 259, "completion_tokens": 628}, "timestamp": "2026-02-12T00:11:00.397Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "K14": "no", "K18": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "6a815d", "alias": "diophantine_product_count_v1_48377204_2271", "problem": "Let $ k $ be the number of ordered pairs $ (i,j) $ where $ i $ is an integer from $ 1 $ to $ 15 $, inclusive, and $ j $ is an integer from $ 1 $ to $ 16 $, inclusive. Let $ u = 211 $. Define $ r $ to be the number of positive integers $ x \\leq u $ such that $ x $ divides $ k $ and $ \\frac{k}{x} \\leq u $. Compute the remainder when $ 18156 \\cdot r $ is divided by $ 58111 $.", "answer": 36253, "graph": "graphs = [\n Graph(\n let={\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(15)), right=IntegerRange(start=Const(1), end=Const(16)))),\n \"upper\": Const(211),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"_c\": Const(18156),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(58111)),\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"], "recipe_id": "409d7d", "seed_template_id": "diophantine_product_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T16:42:06.738611Z", "verification": {"verified": true, "answer": 36253, "timestamp": "2026-02-08T16:42:06.755808Z"}, "problem_hash": "96b934", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 30998, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 475}, "timestamp": "2026-02-12T20:49:55.421Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "5a2e84", "alias": "comb_binomial_compute_v1_865884756_2327", "problem": "Let $m = 60733$ and $n = 44121$. Let $n'$ be the sum of the number of odd binomial coefficients $\\binom{145}{j}$ for $0 \\leq j \\leq 145$ and the sum $\\sum_{k=1}^{3} \\phi(k) \\left\\lfloor \\frac{3}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $k = 8$. Compute the remainder when $n \\cdot \\binom{n'}{k}$ is divided by $m$.", "answer": 36690, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(60733),\n \"_n\": Const(44121),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(145)), Eq(Mod(value=Binom(n=Const(145), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Summation(var=\"k1\", start=Const(1), end=Const(3), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Const(3), Var(\"k1\")))))),\n \"k\": Const(8),\n \"result\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/V8"], "recipe_id": "c69745", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K2", "V8"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T16:42:37.367836Z", "verification": {"verified": true, "answer": 36690, "timestamp": "2026-02-08T16:42:37.374200Z"}, "problem_hash": "e5292d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 509}, "timestamp": "2026-02-12T20:46:56.858Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "V8": "ok_later", "K16": "no", "K17": "no", "L3c": "no", "MOD_ADD": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9cb90a", "alias": "nt_count_coprime_v1_168721529_1247", "problem": "Let $\\_n$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that\n\\[\n pq = 216, \\quad \\gcd(p,q) = 1, \\quad p < q.\n\\]\nLet $k = 24$ and $\\text{upper} = 72361$. Let $\\text{result}$ be the number of integers $n$ with $1 \\le n \\le \\text{upper}$ and $\\gcd(n,k) = 1$.\n\nLet $\\_c$ be the sum\n\\[\n\\sum_{r=1}^{M} r,\n\\]\nwhere $M$ is the number of integers $n$ with $2 \\le n \\le 757$ such that $n$ is prime.\n\nDefine\n\\[\nQ \\equiv \\text{result}^{\\_n} + 43\\,\\text{result} + \\_c \\pmod{50689},\n\\]\nwith $0 \\le Q < 50689$.\n\nFind the value of $Q$.", "answer": 46767, "graph": "graphs = [\n Graph(\n let={\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=216)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"upper\": Const(72361),\n \"k\": Const(24),\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\": Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(757)), IsPrime(Var(\"n\"))))), expr=Var(\"k\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Const(43), Ref(\"result\")), Ref(\"_c\")), modulus=Const(50689)),\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/SUM_ARITHMETIC", "COUNT_PRIMES/SUM_ARITHMETIC"], "recipe_id": "914cb9", "seed_template_id": "nt_count_coprime_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 10.511, "created_at": "2026-02-08T13:33:04.460060Z", "verification": {"verified": true, "answer": 46767, "timestamp": "2026-02-08T13:33:14.971167Z"}, "problem_hash": "ed68cb", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 47767, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 338, "completion_tokens": 4297}, "timestamp": "2026-02-09T15:00:27.919Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 46767, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 334, "completion_tokens": 4015}, "timestamp": "2026-02-11T07:50:40.636Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 46285, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 280, "completion_tokens": 657}, "timestamp": "2026-02-10T04:15:18.711Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 344, "completion_tokens": 515}, "timestamp": "2026-02-12T07:00:33.423Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok", "SUM_ARITHMETIC": "ok_later", "DS2": "no", "K13": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -2.28, "mid": 1.1, "hi": 4.69}, "split": "valid"} +{"id": "8f9006", "alias": "geo_count_lattice_rect_v1_1431428450_1436", "problem": "Let $a = 256$ and $b = 187$. Define $r$ to be the number of lattice points $(x, y)$ with $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Compute the remainder when\n$$\n\\sum_{n=1}^{r} \\tau(n)\n$$\nis divided by $97649$.", "answer": 40342, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(256),\n \"b\": Const(187),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Summation(var=\"n\", start=Div(Const(27), Const(27)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(97649)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T14:06:18.136862Z", "verification": {"verified": true, "answer": 40342, "timestamp": "2026-02-08T14:06:18.139122Z"}, "problem_hash": "9a6c18", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 585}, "timestamp": "2026-02-12T07:46:54.501Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d436e3", "alias": "nt_count_divisors_in_range_v1_48377204_921", "problem": "Let $n = 20160$, $a = 14$, and $b = 59 \\times 114$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$. Let $r$ be this count. Compute the remainder when $5^r + 36864$ is divided by $99991$.", "answer": 66130, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(20160),\n \"a\": Const(14),\n \"b\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(59)), right=IntegerRange(start=Const(1), end=Const(114)))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Const(36864)),\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"], "recipe_id": "409d7d", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.063, "created_at": "2026-02-08T15:45:35.035021Z", "verification": {"verified": true, "answer": 66130, "timestamp": "2026-02-08T15:45:35.098169Z"}, "problem_hash": "7828c3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 193, "completion_tokens": 495}, "timestamp": "2026-02-12T09:09:38.165Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_PRIMES": "no", "COUNT_SUM_EQUALS": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7e2171", "alias": "diophantine_fbi2_min_v1_677425708_3368", "problem": "Let $m$ be the number of prime numbers between 2 and 11, inclusive. Let $k$ be the minimum value of $x + y$ over all ordered pairs of positive integers $(x, y)$ such that $xy = 32400$. Let $u$ be the number of integers $t$ with $18 \\leq t \\leq 780$ for which there exist positive integers $a \\leq 10$ and $b \\leq 85$ such that $t = 10a + 8b$. Find the smallest integer $d \\geq 2$ such that $d \\leq u$, $d$ divides $k$, and $k/d \\geq m$. Compute the remainder when $53985$ times this value of $d$ is divided by $50662$.", "answer": 6646, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_c\")), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))),\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(32400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=85)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=780)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=8), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"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\")), Ref(\"_m\"))))),\n \"Q\": Mod(value=Mul(Const(53985), Ref(\"result\")), modulus=Const(50662)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/LIN_FORM", "B3"], "recipe_id": "c20eb1", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.017, "created_at": "2026-02-08T05:40:37.163004Z", "verification": {"verified": true, "answer": 6646, "timestamp": "2026-02-08T05:40:37.180033Z"}, "problem_hash": "83c3bf", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 6646, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 2925}, "timestamp": "2026-02-12T12:21:30.457Z"}, {"id": 8, "model": "mathstral", "answer": 11271, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 474}, "timestamp": "2026-02-14T20:54:43.625Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 535}, "timestamp": "2026-02-11T22:56:21.474Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "COUNT_PRIMES": "ok", "LIN_FORM": "ok_later", "K13": "no", "MOD_MUL": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "0e58c7", "alias": "nt_sum_gcd_range_mod_v1_655260480_810", "problem": "Let $k$ be the largest positive integer at most $90$ that divides $8730$. Let $S = \\sum_{n=1}^{9409} \\gcd(n, k)$. Compute the remainder when $S$ is divided by $11353$, and then find the remainder when this result is multiplied by $27935$ and divided by $76358$.", "answer": 7200, "graph": "graphs = [\n Graph(\n let={\n \"N\": Const(9409),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(90)), Divides(divisor=Var(\"d\"), dividend=Const(8730))))),\n \"M\": Const(11353),\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\": Const(27935),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(76358)),\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"], "recipe_id": "51757e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.442, "created_at": "2026-02-08T15:37:35.516815Z", "verification": {"verified": true, "answer": 7200, "timestamp": "2026-02-08T15:37:35.958879Z"}, "problem_hash": "bbda35", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 502}, "timestamp": "2026-02-12T08:51:23.444Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "LTE_SUM": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "d418f2", "alias": "antilemma_cartesian_v1_1918700295_4480", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ where $a$ is an integer from 1 to 31, inclusive, and $b$ is an integer from 1 to 44, inclusive. Compute the remainder when $44121 \\cdot x$ is divided by 76616.", "answer": 37484, "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(44)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(76616)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T09:24:08.122251Z", "verification": {"verified": true, "answer": 37484, "timestamp": "2026-02-08T09:24:08.122563Z"}, "problem_hash": "38f78e", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37484, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 111, "completion_tokens": 1009}, "timestamp": "2026-02-14T04:02:34.542Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 286}, "timestamp": "2026-02-12T02:55:29.478Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "a102e7", "alias": "modular_mod_compute_v1_1820931509_654", "problem": "Let $a = 27556$ and $m = 50176$. Define $r$ to be the remainder when $a$ is divided by $m$. Let $c$ be the largest prime number $n$ such that $2 \\leq n \\leq d_{\\max}$, where $d_{\\max}$ is the largest positive divisor of $17897020$ that is at most $4220$. Compute the remainder when $c \\cdot r$ is divided by $50208$.", "answer": 27244, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(27556),\n \"m\": Const(50176),\n \"result\": Mod(value=Ref(\"a\"), modulus=Ref(\"m\")),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(4220)), Divides(divisor=Var(\"d\"), dividend=Const(17897020)))))), IsPrime(Var(\"n\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50208)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR/MAX_PRIME_BELOW"], "recipe_id": "7f3d8b", "seed_template_id": "modular_mod_compute_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T11:49:00.869358Z", "verification": {"verified": true, "answer": 27244, "timestamp": "2026-02-08T11:49:00.872120Z"}, "problem_hash": "c39c71", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22964, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 148, "completion_tokens": 4020}, "timestamp": "2026-02-14T18:52:45.703Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 331}, "timestamp": "2026-02-12T04:35:27.160Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "MAX_PRIME_BELOW": "ok_later", "LTE_SUM": "no", "MAX_VAL": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "40f862", "alias": "comb_binomial_compute_v1_717093673_3078", "problem": "Let $n$ be the largest positive integer at most $16$ that divides $272$. Let $k$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p < q$, $pq = 420$, and $\\gcd(p, q) = 1$. Compute the remainder when $20923$ times $\\binom{n}{k}$ is divided by $86553$.", "answer": 12627, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86553),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(16)), Divides(divisor=Var(\"d\"), dividend=Const(272))))),\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=420)), 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 \"_c\": Const(20923),\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", "MAX_DIVISOR"], "recipe_id": "9ff333", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T17:21:55.301276Z", "verification": {"verified": true, "answer": 12627, "timestamp": "2026-02-08T17:21:55.305475Z"}, "problem_hash": "a8edfd", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 626}, "timestamp": "2026-02-12T22:22:46.070Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "L3b": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "55b014", "alias": "nt_gcd_compute_v1_1248542787_901", "problem": "Let $p = 19$ and $q = 83$. Define $n = pq$ and $f = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $a_1$ be the number of positive integers $m$ such that $1 \\leq m \\leq 1169$, $7$ divides $m$, and $\\gcd(m, 10) = 1$. Let $b_1 = 166$. Define $m = \\sum_{d \\mid \\gcd(a_1, b_1)} \\mu(d)$, where $\\mu$ is the M\\\"{o}bius function. Let $a = 129558$ and $b = 302302 \\cdot m$. Define $g = \\gcd(a, b)$ and $Q = (76747 \\cdot g) \\bmod (92652 \\cdot f)$.\n\nFind the value of $Q$.", "answer": 48598, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"q\": Const(83),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"f\": LiouvilleLambda(n=Ref(name='n')),\n \"a1\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1169)), Divides(divisor=Const(7), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"b1\": Const(166),\n \"m\": SumOverDivisors(n=GCD(a=Ref(name='a1'), b=Ref(name='b1')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"a\": Const(129558),\n \"b\": Mul(Const(302302), Ref(\"m\")),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(76747),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Mul(Const(92652), Ref(\"f\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MOBIUS_COPRIME", "LIOUVILLE_ONE"], "recipe_id": "88b950", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["C5", "LIOUVILLE_ONE", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T03:28:43.469616Z", "verification": {"verified": true, "answer": 48598, "timestamp": "2026-02-08T03:28:43.473792Z"}, "problem_hash": "56d765", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 60842, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 8192}, "timestamp": "2026-02-09T09:48:16.137Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 48598, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 312, "completion_tokens": 2078}, "timestamp": "2026-02-09T22:44:22.408Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 8192}, "timestamp": "2026-02-09T22:41:45.082Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "LIOUVILLE_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "L3c": "no", "LTE_DIFF_P2": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -2.47, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "0603e3", "alias": "sequence_count_fib_divisible_v1_784195855_1273", "problem": "Let $u$ be the number of positive integers $k$ between $1$ and $52514$ inclusive that are divisible by $121$. Define $T$ as the set of all positive integers $n$ between $1$ and $u$ inclusive such that the $n$-th Fibonacci number is divisible by $16$. Let $r$ be the number of elements in $T$. Let $$c = \\sum_{k=1}^{6} \\phi(k) \\left\\lfloor \\frac{6}{k} \\right\\rfloor.$$ Compute the remainder when $c - r$ is divided by $56330$.", "answer": 56315, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(52514)), Divides(divisor=Const(121), dividend=Var(\"k\"))), domain='positive_integers')),\n \"d\": Const(16),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"_c\": Summation(var=\"k\", start=Const(1), end=Ref(\"_n\"), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Const(56330)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2", "C2"], "recipe_id": "af5e13", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "K2"], "num_lemmas": 2, "generation_time": 0.039, "created_at": "2026-02-08T04:57:11.714740Z", "verification": {"verified": true, "answer": 56315, "timestamp": "2026-02-08T04:57:11.754060Z"}, "problem_hash": "6be3eb", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 56315, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 243, "completion_tokens": 1788}, "timestamp": "2026-02-11T22:33:16.280Z"}, {"id": 8, "model": "mathstral", "answer": 56318, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 714}, "timestamp": "2026-02-14T04:29:58.119Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 243, "completion_tokens": 577}, "timestamp": "2026-02-11T22:06:22.102Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "K2": "ok", "COUNT_SUM_EQUALS": "no", "K16": "no", "K17": "no", "LTE_DIFF_P2": "no", "V3": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "62e9b0", "alias": "nt_sum_gcd_range_mod_v1_1742523217_1603", "problem": "Let $n_1 = 1$. Define $w$ to be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$, where $\\mu$ denotes the Möbius function. Let $p = 19$ and $q = 11w$. Define $n = pq$. Let $c = \\mu(n)^2$. Let $N$ be the largest positive divisor of $4970614$ that is at most $2222$. Define $k = 240c$. Compute the sum $\\sum_{m=1}^{N} \\gcd(m, k)$, and let $M = 11197$. Find the remainder when this sum is divided by $M$.", "answer": 8706, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(240),\n \"n1\": Const(1),\n \"w\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"p\": Const(19),\n \"q\": Mul(Const(11), Ref(\"w\")),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"c\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"N\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(2222)), Divides(divisor=Var(\"d\"), dividend=Const(4970614))))),\n \"k\": Mul(Ref(\"_n\"), Ref(\"c\")),\n \"M\": Const(11197),\n \"sum\": Summation(var=\"n\", start=Const(1), end=Ref(\"N\"), expr=GCD(a=Var(\"n\"), b=Ref(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"M\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "MOBIUS_SUM", "MAX_DIVISOR"], "recipe_id": "e78b9e", "seed_template_id": "nt_sum_gcd_range_mod_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["MAX_DIVISOR", "MOBIUS_SQUAREFREE", "MOBIUS_SUM"], "num_lemmas": 3, "generation_time": 0.104, "created_at": "2026-02-08T04:04:28.815369Z", "verification": {"verified": true, "answer": 8706, "timestamp": "2026-02-08T04:04:28.919577Z"}, "problem_hash": "ceb447", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_DIVISOR": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_SUM": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "b8a436", "alias": "modular_product_range_v1_458359167_1532", "problem": "Let $ P $ be the product of all integers from $ 100 $ to $ 461 $, inclusive. Define $ r = P \\bmod 11579 $. Let $ A = \\sum_{d \\mid 251} \\phi(d) $, where $ \\phi $ is Euler's totient function, and let $ B $ be the largest prime number less than or equal to $ 398 $. Compute the remainder when\n$$\n(r \\bmod A) + 3001 \\cdot (r \\bmod B)\n$$\nis divided by $ 56848 $.", "answer": 7057, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(56848),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(100), end=Const(461)),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(11579)),\n \"_c\": Const(3001),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=SumOverDivisors(n=Const(value=251), var='d', expr=EulerPhi(n=Var(name='d')))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(398)), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "K3"], "recipe_id": "bb3987", "seed_template_id": "modular_product_range_v1", "ending_id": "two_moduli", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.01, "created_at": "2026-02-08T04:42:11.168363Z", "verification": {"verified": true, "answer": 7057, "timestamp": "2026-02-08T04:42:11.178563Z"}, "problem_hash": "53bd42", "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": 230, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:52:10.779Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 230, "completion_tokens": 8192}, "timestamp": "2026-02-11T21:53:00.528Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 165, "completion_tokens": 4713}, "timestamp": "2026-02-12T02:43:29.735Z"}, {"id": 8, "model": "mathstral", "answer": 42, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 476}, "timestamp": "2026-02-13T23:15:34.806Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 503}, "timestamp": "2026-02-11T21:45:29.097Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "MAX_PRIME_BELOW": "ok", "K17": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "64d5a4", "alias": "comb_sum_binomial_row_v1_238844314_891", "problem": "Let $n$ be the number of integers $t$ such that $7 \\leq t \\leq 20$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 5$, satisfying $t = 5a + 2b$. Let $S$ be the set of all positive integers $p$ such that there exists a positive integer $q > p$ with $pq = 108$ and $\\gcd(p, q) = 1$. Let $m$ be the number of elements in $S$. Define $r = m^n$. Let $k$ be the smallest positive integer such that the $k$-th Fibonacci number is divisible by $r + 2$. Compute $k$.", "answer": 36, "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=7)), Leq(left=Var(name='t'), right=Const(value=20)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\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=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'))))))), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:42:58.831111Z", "verification": {"verified": true, "answer": 36, "timestamp": "2026-02-08T13:42:58.835030Z"}, "problem_hash": "4858f3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 685}, "timestamp": "2026-02-12T07:23:06.536Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MAX_VAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bcf4ee", "alias": "nt_sum_divisors_range_v1_1440796553_319", "problem": "Let $S$ be the set of all integers $n$ such that $n \\geq \\sum_{d \\mid \\gcd(13,17)} \\mu(d)$, $n \\leq 99285$, and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $T$ be the set of all positive integers $n$ such that $n \\leq |S|$. Define $Q = \\sum_{n = \\varphi(2)}^{|T|} \\varphi(n) \\mod 86255$, where $\\varphi$ denotes Euler's totient function. Find the value of $Q$.", "answer": 46367, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(86255),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), SumOverDivisors(n=GCD(a=Const(value=13), b=Const(value=17)), var='d', expr=MoebiusMu(n=Var(name='d')))), Leq(Var(\"n\"), Const(99285)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(2)), end=Abs(arg=Ref(name='result')), expr=EulerPhi(n=Var(\"n\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "ONE_PHI_2", "L3C"], "recipe_id": "410cef", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3C", "MOBIUS_COPRIME", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 4.622, "created_at": "2026-02-08T11:43:39.637058Z", "verification": {"verified": true, "answer": 46367, "timestamp": "2026-02-08T11:43:44.259493Z"}, "problem_hash": "deac3a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"L3C": "ok", "MOBIUS_COPRIME": "ok", "ONE_PHI_2": "ok", "K15": "no", "MOD_SUB": "no", "V5": "no", "V7": "no", "V8": "no"}, "split": "valid"} +{"id": "6d394a", "alias": "diophantine_fbi2_min_v1_717093673_855", "problem": "Let $T$ be the set of all positive integers $t$ such that $26 \\le t \\le 2337$ and there exist positive integers $a$, $b$ with $1 \\le a \\le 153$, $1 \\le b \\le 518$, and $t = 5a + 3b + 18$. Let $M$ be the number of elements in $T$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = M$. Define $k = \\min\\{x + y \\mid (x, y) \\in S\\}$. Let $d$ be the smallest integer such that $4 \\le d \\le 106$, $d$ divides $k$, and $k/d \\ge 7$. Find the value of $d$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=153)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=518)), Geq(left=Var(name='t'), right=Const(value=26)), Leq(left=Var(name='t'), right=Const(value=2337)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=18))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"upper\": Const(106),\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(7))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "K14", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "K14", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.034, "created_at": "2026-02-08T15:43:33.363416Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T15:43:33.397284Z"}, "problem_hash": "8060d0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 291, "completion_tokens": 488}, "timestamp": "2026-02-12T09:02:25.361Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "DS2": "no", "K17": "no", "K5": "no", "L3b": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "39363a", "alias": "nt_sum_divisors_range_v1_865884756_96", "problem": "Let $n = 47089$. Consider the set of all ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 18818$. Let $k$ be the number of elements in this set. Define $S$ as the sum of the number of positive divisors of each integer from 1 to $k$, inclusive. Let $d_i$ denote the $i$-th digit of $S$ (starting from the units digit as $i=0$). Compute $$\\sum_{i=0}^{\\lfloor \\log_{10} S \\rfloor} d_i \\cdot (i + c)^2 + n,$$ where $c = \\sum_{d \\mid \\gcd(12,25)} \\mu(d)$, and $\\mu$ denotes the Möbius function. Find the value of this expression.", "answer": 47473, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(47089),\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(18818))))),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=NumDivisors(n=Var(\"n\")))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), Const(2)))), Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "COMB1"], "recipe_id": "083dc7", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "MOBIUS_COPRIME"], "num_lemmas": 2, "generation_time": 0.334, "created_at": "2026-02-08T15:10:56.198909Z", "verification": {"verified": true, "answer": 47473, "timestamp": "2026-02-08T15:10:56.533216Z"}, "problem_hash": "1a3ba7", "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": 300, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:59:43.644Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "MOBIUS_COPRIME": "ok", "K15": "no", "K16": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -1.99, "mid": 4.0, "hi": 10.0}, "split": "valid"} +{"id": "b0dc2a", "alias": "comb_sum_binomial_mod_v1_1440796553_383", "problem": "Let $m = 6$. Let $n$ be the number of positive integers at most $1269$ that are divisible by $9$ and relatively prime to $10$. Define $s = \\sum_{k=n}^{310} \\binom{414}{k}$, and let $r$ be the remainder when $s$ is divided by $10859$. Let $c$ be the number of positive integers at most $15366$ that are divisible by $m$. Compute the remainder when $c \\cdot r$ is divided by $61288$.", "answer": 14299, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(6),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(1269)), Divides(divisor=Const(9), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"sum\": Summation(var=\"k\", start=Ref(\"_n\"), end=Const(310), expr=Binom(n=Const(414), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10859)),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(15366)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61288)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["C2", "C5/C2"], "recipe_id": "1e829f", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": "affine_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C2", "C5"], "num_lemmas": 2, "generation_time": 0.031, "created_at": "2026-02-08T11:45:35.705941Z", "verification": {"verified": true, "answer": 14299, "timestamp": "2026-02-08T11:45:35.737339Z"}, "problem_hash": "cf199d", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 162, "completion_tokens": 4686}, "timestamp": "2026-02-14T18:20:34.288Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 235, "completion_tokens": 611}, "timestamp": "2026-02-12T04:32:08.331Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "C5": "ok", "COUNT_SUM_EQUALS": "no", "DS2": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "20b12f", "alias": "nt_num_divisors_compute_v1_1742523217_3840", "problem": "Let $p_1$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 24$, $\\gcd(p, q) = 1$, and $p < q$. Let $n_1 = p_1^k$, where $k$ is the largest prime number between $2$ and $3$, inclusive. Let $h = \\lambda(n_1) + 1$, where $\\lambda(n)$ is the Liouville function. Let $p = 2$ and let $u$ be the remainder when $(p-1)! + 1$ is divided by $p$. Define $n = 30276 + h + u$. Let $d$ be the number of positive divisors of $n$. Compute the remainder when $32033 \\cdot d$ is divided by $80297$.", "answer": 61921, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(80297),\n \"p1\": 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 \"n1\": Pow(Ref(\"p1\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(3)), IsPrime(Var(\"n\")))))),\n \"h\": Sum(LiouvilleLambda(n=Ref(name='n1')), Const(1)),\n \"p\": Const(2),\n \"u\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(Const(30276), Ref(\"h\"), Ref(\"u\")),\n \"result\": NumDivisors(n=Ref(\"n\")),\n \"_c\": Const(32033),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIOUVILLE_MINUS_ONE", "COPRIME_PAIRS/LIOUVILLE_MINUS_ONE", "WILSON"], "recipe_id": "2b4cb0", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "LIOUVILLE_MINUS_ONE", "MAX_PRIME_BELOW", "WILSON"], "num_lemmas": 4, "generation_time": 0.005, "created_at": "2026-02-08T06:06:53.518265Z", "verification": {"verified": true, "answer": 61921, "timestamp": "2026-02-08T06:06:53.523439Z"}, "problem_hash": "c06b39", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MAX_PRIME_BELOW": "ok", "WILSON": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "K15": "no", "L3c": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V8": "no"}, "split": "valid"} +{"id": "5f16d2", "alias": "nt_count_gcd_equals_v1_865884756_5425", "problem": "Let $S$ be the set of all integers $t$ such that $24 \\le t \\le 10844$ and $t = 14a + 10b$ for some positive integers $a \\le 211$ and $b \\le 789$. Let $k$ be the number of positive integers $n \\le 955$ such that the sum of the decimal digits of $n$ is even. Compute the number of positive integers $n_1$ such that $1 \\le n_1 \\le |S|$ and $\\gcd(n_1, k) = 53$.", "answer": 68, "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=211)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=789)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=10844)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(955)), Eq(Mod(value=DigitSum(Var(\"n\")), modulus=Const(2)), Const(0))))),\n \"d\": Const(53),\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(\"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", "L3B"], "recipe_id": "f85b0e", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["L3B", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.388, "created_at": "2026-02-08T18:35:49.411373Z", "verification": {"verified": true, "answer": 68, "timestamp": "2026-02-08T18:35:49.799228Z"}, "problem_hash": "a6f777", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 244, "completion_tokens": 546}, "timestamp": "2026-02-13T00:18:14.792Z"}], "solution_status": 0, "lemma_applicability": {"L3B": "ok", "LIN_FORM": "ok", "C2": "no", "K13": "no", "K18": "no", "LTE_SUM": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "89e671", "alias": "modular_mod_compute_v1_1248542787_162", "problem": "Let $d=2$ and $m_0=2$. Let $N$ be the number of integers $n$ with $1\\le n\\le 489$ such that\n\\[n\\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}.\n\\]\n\nLet $a=-66$ and $M=52441$. Define $r$ by\n\\[r\\equiv a\\pmod{M},\\quad 0\\le r p$ such that $pq = 24$ and $\\gcd(p, q) = 1$. Compute the value of $11^n + 2 \\cdot 11^3 + 11^k + 7 \\cdot 11 - 4$.", "answer": 17497, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(4)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_m\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"x\": Const(11),\n \"result\": Sum(Pow(Ref(\"x\"), Ref(\"_n\")), Mul(Const(2), Pow(Ref(\"x\"), Const(3))), Pow(Ref(\"x\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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')))))))), Mul(Const(7), Ref(\"x\")), Const(-4)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/COPRIME_PAIRS"], "recipe_id": "2e4c91", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "B3", "COPRIME_PAIRS"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T06:25:53.941758Z", "verification": {"verified": true, "answer": 17497, "timestamp": "2026-02-08T06:25:53.949731Z"}, "problem_hash": "65d401", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17497, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 196, "completion_tokens": 936}, "timestamp": "2026-02-12T23:53:04.214Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 261, "completion_tokens": 613}, "timestamp": "2026-02-12T00:02:14.353Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "COPRIME_PAIRS": "ok_later", "C2": "no", "K14": "no", "K15": "no", "K5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "f0af81", "alias": "nt_count_primes_v1_865884756_521", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 82$, $2$ divides $n$, and $\\gcd(n, 15) = 1$. Let $k = |A|$ be the number of elements in $A$. Compute the exponent of the largest power of $2$ that divides $k!$. Let $d$ be the smallest divisor of $3823963$ that is at least $2$, and let $e$ be the largest power of $2$ dividing $k!$. Find the number of prime numbers $p$ such that $e \\leq p \\leq 32400$.", "answer": 3476, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(82)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(15)), Const(1))))),\n \"upper\": Const(32400),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), MaxKDivides(target=Factorial(Ref(\"_n\")), base=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(3823963))))))), Leq(Var(\"n1\"), Ref(\"upper\")), IsPrime(Var(\"n1\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C5", "lemma_paths": ["C5/MIN_PRIME_FACTOR/V1"], "recipe_id": "57644d", "seed_template_id": "nt_count_primes_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C5", "MIN_PRIME_FACTOR", "V1"], "num_lemmas": 3, "generation_time": 0.775, "created_at": "2026-02-08T15:29:11.824687Z", "verification": {"verified": true, "answer": 3476, "timestamp": "2026-02-08T15:29:12.599583Z"}, "problem_hash": "adf29e", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok_later", "V1": "ok_later", "C2": "no", "K13": "no", "K17": "no", "LTE_DIFF": "no", "V7": "no"}, "split": "valid"} +{"id": "ef38d0", "alias": "sequence_fibonacci_compute_v1_784195855_1560", "problem": "Let $A$ be the set of positive integers $n$ such that $1 \\leq n \\leq 15$, $3$ divides $n$, and $\\gcd(n, 14) = 1$. Let $C$ be the number of elements in $A$. Let $B$ be the set of all ordered pairs $(k, j)$ of positive integers such that $1 \\leq k \\leq 6$ and $1 \\leq j \\leq 8$. Let $S$ be the sum of $\\phi(k) \\cdot \\left\\lfloor \\frac{6}{k} \\right\\rfloor$ over all pairs $(k, j)$ in $B$. Let $n = \\frac{C \\cdot S}{24}$. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 10946, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(24),\n \"n\": Div(Mul(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(15)), Divides(divisor=Const(3), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(14)), Const(1))))), 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(8)))), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(6), Var(\"k\"))))))), Ref(\"_m\")),\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": "C5", "lemma_paths": ["C5/SUM_INDEPENDENT", "K2"], "recipe_id": "365d2b", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "K2", "SUM_INDEPENDENT"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:08:09.259357Z", "verification": {"verified": true, "answer": 10946, "timestamp": "2026-02-08T05:08:09.261763Z"}, "problem_hash": "2a9888", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 10946, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 331, "completion_tokens": 1333}, "timestamp": "2026-02-11T22:57:05.863Z"}, {"id": 8, "model": "mathstral", "answer": 1597, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 277, "completion_tokens": 1342}, "timestamp": "2026-02-14T07:37:11.223Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 715}, "timestamp": "2026-02-11T22:16:32.558Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "K2": "ok", "SUM_INDEPENDENT": "ok_later", "K15": "no", "L3c": "no", "LTE_SUM": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "b28427", "alias": "nt_count_divisible_and_v1_784195855_4946", "problem": "Let $v = \\sum_{d\\mid 343} \\phi(d) - 343$, where $\\phi$ is Euler's totient function. Let $n = 13^2 \\cdot 97 \\cdot 11$ and let $h = \\mu(n)^2$, where $\\mu$ is the M\\\"obius function. Let $\\text{upper} = 101544 + v$, $d_1 = 6 + h$, and $d_2 = 8$. Let $\\text{result}$ be the number of positive integers $n$ such that $1 \\leq n \\leq \\text{upper}$, $n$ is divisible by $d_1$, and $n$ is divisible by $d_2$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x,y)$ such that $x + y = 160$. Compute the remainder when $\\text{result}^2 + 20 \\cdot \\text{result} + c$ is divided by $59629$.", "answer": 44052, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(343),\n \"v\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\n \"p\": Const(13),\n \"q\": Const(97),\n \"r\": Const(11),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"h\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Sum(Const(101544), Ref(\"v\")),\n \"d1\": Sum(Const(6), Ref(\"h\")),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_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(160)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(20), Ref(\"result\")), Ref(\"_c\")), modulus=Const(59629)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MOBIUS_SQUAREFREE", "EULER_TOTIENT_SUM"], "recipe_id": "87e21b", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B1", "EULER_TOTIENT_SUM", "MOBIUS_SQUAREFREE"], "num_lemmas": 3, "generation_time": 10.754, "created_at": "2026-02-08T07:31:56.575286Z", "verification": {"verified": true, "answer": 44052, "timestamp": "2026-02-08T07:32:07.329718Z"}, "problem_hash": "57d54a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"B1": "ok", "EULER_TOTIENT_SUM": "ok", "MOBIUS_SQUAREFREE": "ok", "C2": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no"}, "split": "valid"} +{"id": "e19bcb", "alias": "modular_min_linear_v1_655260480_2044", "problem": "Let $a = 8496$ and let $b$ be the largest positive divisor of $41557356$ that is at most $6444$. Let $m = 74844$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq m$ and\n$$\n8496x \\equiv b \\pmod{74844}.\n$$", "answer": 1930, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(8496),\n \"b\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(6444)), Divides(divisor=Var(\"d\"), dividend=Const(41557356))))),\n \"m\": Const(74844),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"m\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_linear_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 3.159, "created_at": "2026-02-08T16:32:36.640633Z", "verification": {"verified": true, "answer": 1930, "timestamp": "2026-02-08T16:32:39.799316Z"}, "problem_hash": "4efc6c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 198, "completion_tokens": 592}, "timestamp": "2026-02-12T10:54:13.006Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K16": "no", "K5": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "840f2c", "alias": "sequence_count_fib_divisible_v1_124444284_7138", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of positive integers with $1 \\leq a \\leq 7$ and $1 \\leq b \\leq 131$. Let $N$ be the number of positive integers $n \\leq |S|$ such that $17$ divides the $n$-th Fibonacci number $F_n$. Compute $N$.", "answer": 101, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(131)))),\n \"d\": Const(17),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.049, "created_at": "2026-02-08T08:52:33.857640Z", "verification": {"verified": true, "answer": 101, "timestamp": "2026-02-08T08:52:33.906578Z"}, "problem_hash": "2e7734", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 101, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 126, "completion_tokens": 865}, "timestamp": "2026-02-13T22:11:27.845Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 366}, "timestamp": "2026-02-12T02:17:09.318Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K14": "no", "K15": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "304026", "alias": "modular_sum_quadratic_residues_v1_153355830_1192", "problem": "Let $m = 5$ and let $n = \\sum_{k=1}^{m} k$. Let $p = 673$ and define $r = \\frac{p(p-1)}{4}$. Let $A$ be the set of all positive integers $p$ such that there exists an integer $q$ with $pq = 18$, $\\gcd(p,q) = 1$, and $p < q$. Let $\\alpha = |A|$. Compute the value of $$\n\\left( r + \\left( \\alpha + (r \\bmod n) \\right) \\bmod 87375 \\right) \\bmod 87375.$$", "answer": 26201, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(5),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Ref(\"_m\"), expr=Var(\"k\")),\n \"p\": Const(673),\n \"result\": Div(Mul(Ref(\"p\"), Sub(Ref(\"p\"), Const(1))), Const(4)),\n \"Q\": Mod(value=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=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(\"result\"), modulus=Ref(\"_n\"))), modulus=Const(87375))), modulus=Const(87375)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_ARITHMETIC/COPRIME_PAIRS"], "recipe_id": "c6fbdb", "seed_template_id": "modular_sum_quadratic_residues_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T06:11:00.400265Z", "verification": {"verified": true, "answer": 26201, "timestamp": "2026-02-08T06:11:00.404542Z"}, "problem_hash": "024900", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 25700, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 1325}, "timestamp": "2026-02-12T21:36:46.415Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 26590, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 421}, "timestamp": "2026-02-11T23:46:53.699Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "COPRIME_PAIRS": "ok_later", "DS2": "no", "K14": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "fb71ca", "alias": "nt_gcd_compute_v1_677425708_2784", "problem": "Let $p = 19$ and define $f \\equiv (p-1)! + 1 \\pmod{p}$. Let $n$ be the sum of $f$ and the number of positive integers $k \\leq 2816$ that are divisible by $128$. Define $m$ as the sum of Euler's totient function $\\phi(d)$ over all positive divisors $d$ of $n$, minus $n$ itself. Let $a = 432579 + m$ and $b = 803361$. Find the value of $\\gcd(a, b)$.", "answer": 61797, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(128),\n \"p\": Const(19),\n \"f\": Mod(value=Sum(Factorial(Sub(Ref(\"p\"), Const(1))), Const(1)), modulus=Ref(\"p\")),\n \"n\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(2816)), Divides(divisor=Ref(\"_n\"), dividend=Var(\"k\"))), domain='positive_integers')), Ref(\"f\")),\n \"m\": Sub(SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n\")),\n \"a\": Sum(Const(432579), Ref(\"m\")),\n \"b\": Const(803361),\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/WILSON/EULER_TOTIENT_SUM"], "recipe_id": "ad8adb", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["C2", "EULER_TOTIENT_SUM", "WILSON"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T05:15:50.877357Z", "verification": {"verified": true, "answer": 61797, "timestamp": "2026-02-08T05:15:50.881006Z"}, "problem_hash": "cb9f28", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C2": "ok", "EULER_TOTIENT_SUM": "ok_later", "WILSON": "ok_later", "LTE_SUM": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "c53fdc", "alias": "nt_count_phi_equals_v1_124444284_8475", "problem": "Let $A$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 32400$. Define $s_1$ to be the minimum value of $x + y$ over all such pairs. \n\nLet $B$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 640000$. Define $s_2$ to be the minimum value of $x + y$ over all such pairs. \n\nLet $k$ be the number of positive integers $n$ such that $1 \\leq n \\leq s_1$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. \n\nLet $R$ be the number of positive integers $n$ such that $1 \\leq n \\leq s_2$ and $\\phi(n) = k$. \n\nCompute the remainder when $44121 \\cdot R$ is divided by $81586$.", "answer": 15783, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(44121),\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(32400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(81586),\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(640000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"k\": 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 \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(EulerPhi(n=Var(\"n\")), Ref(\"k\"))))),\n \"Q\": Mod(value=Mul(Ref(\"_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": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.188, "created_at": "2026-02-08T09:43:42.680877Z", "verification": {"verified": true, "answer": 15783, "timestamp": "2026-02-08T09:43:42.868698Z"}, "problem_hash": "7bfabe", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 15783, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 4944}, "timestamp": "2026-02-14T05:47:31.744Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 329, "completion_tokens": 740}, "timestamp": "2026-02-12T03:07:08.205Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "K14": "no", "K15": "no", "L3c": "no", "MAX_VAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "79798e", "alias": "modular_product_range_v1_458359167_3193", "problem": "Let $n = 117$. Let $d_{\\text{max}}$ be the largest positive divisor of $15327$ that is less than or equal to $n$. Define $$ P = \\prod_{i=17}^{d_{\\text{max}}} i. $$ Compute the remainder when $P$ is divided by $10903$.", "answer": 4909, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(117),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Const(17), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(15327)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10903)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T07:02:32.033356Z", "verification": {"verified": true, "answer": 4909, "timestamp": "2026-02-08T07:02:32.037439Z"}, "problem_hash": "7a9e94", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 9796, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 116, "completion_tokens": 7709}, "timestamp": "2026-02-13T16:15:06.870Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 607}, "timestamp": "2026-02-12T01:40:20.574Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K15": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "9374b9", "alias": "diophantine_fbi2_min_v1_458359167_5502", "problem": "Let $n = 7$ and let $s = \\sum_{k=1}^{8} k$. Let $k$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $s$. Compute the smallest positive integer $d$ such that $d \\geq 7$, $d \\leq 46$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"k\": SumOverDivisors(n=Summation(expr=Var(name='k'), var='k', start=Const(value=1), end=Const(value=8)), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"upper\": Const(46),\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 },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["SUM_ARITHMETIC/K3"], "recipe_id": "7bbb8e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K3", "MAX_PRIME_BELOW", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.076, "created_at": "2026-02-08T12:34:17.941720Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T12:34:18.018139Z"}, "problem_hash": "b75f7c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 195, "completion_tokens": 320}, "timestamp": "2026-02-12T05:19:39.997Z"}], "solution_status": 0, "lemma_applicability": {"SUM_ARITHMETIC": "ok", "K3": "ok_later", "C2": "no", "K15": "no", "K18": "no", "K5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a14e9e", "alias": "diophantine_fbi2_count_v1_1978505735_599", "problem": "Let $m = 16$ and $n = 15$. Define $k$ to be the sum of all integers from 1 to $n$, inclusive. Let $S$ be the set of all integers $d$ such that $3 \\leq d \\leq 52$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 54$. Let $r$ be the number of elements in $S$. Compute $r + 2^{r \\bmod t} \\bmod 77485$, where $t$ is the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 16$ and $1 \\leq j \\leq 16$ such that $i + j = m$. Determine the value of this expression.", "answer": 1034, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(16),\n \"_n\": Const(15),\n \"k\": Summation(var=\"k1\", start=Const(1), end=Ref(\"_n\"), expr=Var(\"k1\")),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), Const(52)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(54))))),\n \"Q\": Sum(Ref(\"result\"), Mod(value=Pow(Const(2), Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(16)), right=IntegerRange(start=Const(1), end=Const(16))))))), modulus=Const(77485))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["COUNT_SUM_EQUALS", "SUM_ARITHMETIC"], "recipe_id": "44e2ba", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_SUM_EQUALS", "SUM_ARITHMETIC", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.101, "created_at": "2026-02-08T15:28:16.143762Z", "verification": {"verified": true, "answer": 1034, "timestamp": "2026-02-08T15:28:16.245040Z"}, "problem_hash": "a899d4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 465}, "timestamp": "2026-02-12T08:30:35.149Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_SUM_EQUALS": "ok", "SUM_ARITHMETIC": "ok", "COUNT_INTEGER_RANGE": "no", "K13": "no", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "638e58", "alias": "antilemma_product_of_sums_v1_784195855_5257", "problem": "Let $A$ be the sum of all values of $j$ for which $0 \\leq j \\leq 31$ and $\\binom{31}{j}$ is odd. Let $B$ be the sum of all prime numbers $n$ such that $2 \\leq n \\leq 6$. Define $x = A \\cdot B$. Compute the value of $x + \\phi(|x| + 1) + \\tau(|x| + 1)$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 13816, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(2),\n \"x\": Mul(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=Ref(\"_n\")), Const(1))))), Summation(var=\"k\", start=Const(1), end=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(6)), IsPrime(Var(\"n\"))))), expr=Var(\"k\"))),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/SUM_ARITHMETIC", "PRODUCT_OF_SUMS", "ONE_PHI_1"], "recipe_id": "4051b5", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "ONE_PHI_1", "PRODUCT_OF_SUMS", "SUM_ARITHMETIC"], "num_lemmas": 4, "generation_time": 0.003, "created_at": "2026-02-08T07:48:24.008426Z", "verification": {"verified": true, "answer": 13816, "timestamp": "2026-02-08T07:48:24.011616Z"}, "problem_hash": "917d4a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "PRODUCT_OF_SUMS": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MAX_VAL": "no", "POLY_PADIC_VAL_CONST": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "d44afc", "alias": "diophantine_fbi2_min_v1_1978505735_2626", "problem": "Let $k$ be the largest positive divisor of $1332$ that is at most $36$. Determine the smallest integer $d_1$ such that $5 \\leq d_1 \\leq 46$, $d_1$ divides $k$, and $\\frac{k}{d_1} \\geq 3$.", "answer": 6, "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(36)), Divides(divisor=Var(\"d\"), dividend=Const(1332))))),\n \"upper\": Const(46),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Ref(\"_n\")), Leq(Var(\"d1\"), Ref(\"upper\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(3))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T17:02:04.544377Z", "verification": {"verified": true, "answer": 6, "timestamp": "2026-02-08T17:02:04.557588Z"}, "problem_hash": "fd8677", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 12, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 175, "completion_tokens": 341}, "timestamp": "2026-02-12T21:45:50.930Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e99cbb", "alias": "nt_count_phi_equals_v1_1440796553_705", "problem": "Let $k = 168$. Define $u$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $1936$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq u$ and $\\phi(n) = k$. Let $s$ be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 49$. Compute $r + 2^{r \\bmod s}$.", "answer": 4108, "graph": "graphs = [\n Graph(\n let={\n \"upper\": SumOverDivisors(n=Const(value=1936), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"k\": Const(168),\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(Ref(\"result\"), Mod(value=Pow(Const(2), 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\")), Const(49)))), expr=Sum(Var(\"x\"), Var(\"y\")))))), modulus=Const(76311))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K3"], "recipe_id": "f79c1a", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": "mod_exp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "K3"], "num_lemmas": 2, "generation_time": 0.131, "created_at": "2026-02-08T11:55:39.132413Z", "verification": {"verified": true, "answer": 4108, "timestamp": "2026-02-08T11:55:39.263734Z"}, "problem_hash": "3beb1c", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2059, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 158, "completion_tokens": 5916}, "timestamp": "2026-02-14T20:46:57.500Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 220, "completion_tokens": 443}, "timestamp": "2026-02-12T04:47:29.277Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K3": "ok", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "L3c": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "427268", "alias": "algebra_quadratic_discriminant_v1_397696148_1726", "problem": "Let $m$ be the smallest prime divisor of $175$. Let $c$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 1800$, $\\gcd(p, q) = 1$, and $p < q$. Compute the value of\n$$\n(-8)^2 - (-5) \\cdot c \\cdot \\left| \\left\\{ (i,j) \\in \\{1,2,3,4\\} \\times \\{1,2,3,4,5\\} : i + j = m \\right\\} \\right|.\n$$", "answer": 144, "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(175))))),\n \"_n\": Const(2),\n \"a\": Const(-5),\n \"b\": Const(-8),\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=1800)), 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\": Sub(Pow(Ref(\"b\"), Ref(\"_n\")), Mul(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(Sum(Var(\"i\"), Var(\"j\")), Ref(\"_m\")), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(5))))), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_SUM_EQUALS", "COPRIME_PAIRS"], "recipe_id": "1f8649", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_SUM_EQUALS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.02, "created_at": "2026-02-08T12:43:31.637839Z", "verification": {"verified": true, "answer": 144, "timestamp": "2026-02-08T12:43:31.657926Z"}, "problem_hash": "c50ac1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 555}, "timestamp": "2026-02-12T05:35:16.843Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_SUM_EQUALS": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "de8430", "alias": "modular_modexp_compute_v1_50713871_84", "problem": "Let $n = 2$. Define $a$ to be the smallest divisor $d$ of $224939$ such that $d \\geq n$. Let $g = \\gcd(11, 13)$. Define $s = \\sum_{d \\mid g} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $e = \\sum_{k = s}^{71} k$. Define $m = 67081$. Compute the value of $a^e \\bmod m$.", "answer": 23311, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(224939))))),\n \"e\": Summation(var=\"k\", start=SumOverDivisors(n=GCD(a=Const(value=11), b=Const(value=13)), var='d', expr=MoebiusMu(n=Var(name='d'))), end=Const(71), expr=Var(\"k\")),\n \"m\": Const(67081),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "recipe_id": "140ad5", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "SUM_ARITHMETIC"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:44:50.681286Z", "verification": {"verified": true, "answer": 23311, "timestamp": "2026-02-08T02:44:50.682921Z"}, "problem_hash": "224aaa", "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": 226, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:48:24.156Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 23311, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 222, "completion_tokens": 4462}, "timestamp": "2026-02-09T19:52:57.390Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 8192}, "timestamp": "2026-02-10T00:30:57.383Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23311, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 3958}, "timestamp": "2026-02-10T00:00:07.728Z"}], "solution_status": 1, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "SUM_ARITHMETIC": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "LTE_DIFF_P2": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -2.59, "mid": 0.79, "hi": 3.59}, "split": "valid"} +{"id": "0260be", "alias": "algebra_poly_eval_v1_784195855_7538", "problem": "Let $C = 90225$ and $t = 23$. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 205800$, $\\gcd(p, q) = 1$, and $p < q$. Let $A$ be the number of elements in $S$. Define $X = 32t^2 + 2t + 8$. Let $Y = t^3 \\cdot A + X$. Let $T$ be the set of all integers $t'$ such that $8 \\leq t' \\leq 42$ and there exist integers $a$, $b$ with $1 \\leq a \\leq 3$, $1 \\leq b \\leq 9$, and $t' = 5a + 3b$. Let $B$ be the number of elements in $T$. Let $r = \\frac{Y}{B}$. Compute the remainder when $13409 \\cdot r$ is divided by $90225$.", "answer": 22181, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90225),\n \"t\": Const(23),\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=205800)), 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(\"t\"), Const(3))), Mul(Const(32), Pow(Ref(\"t\"), Const(2))), Mul(Const(2), Ref(\"t\")), Const(8)), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=9)), Geq(left=Var(name='t'), right=Const(value=8)), Leq(left=Var(name='t'), right=Const(value=42)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))),\n \"_c\": Const(13409),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T09:23:18.396237Z", "verification": {"verified": true, "answer": 22181, "timestamp": "2026-02-08T09:23:18.401091Z"}, "problem_hash": "a9a514", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 22181, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 269, "completion_tokens": 4183}, "timestamp": "2026-02-14T03:33:06.472Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 342, "completion_tokens": 551}, "timestamp": "2026-02-12T02:51:33.187Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "MAX_PRIME_BELOW": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "65061b", "alias": "nt_sum_divisors_compute_v1_124444284_1249", "problem": "Let $q$ be the largest prime number $n$ such that $2 \\le n \\le K$ and $7^K \\le 263245037851692$, where $K$ is the largest integer $k$ satisfying $7^k \\le 263245037851692$.\n\nLet $N_2=(5q)^2$, and let $m$ be the remainder when the number of positive divisors of $N_2$ is divided by $2$.\n\nLet $p$ be the sum of all integers $n$ with $1 \\le n \\le 67$ and $n \\equiv 0 \\pmod{67}$. Define $N_1=p^2$ and let $t$ be the Liouville function $\\lambda(N_1)$.\n\nLet $n=59049\\,mt$, and let $R$ be the sum of all positive divisors of $n$.\n\nCompute $R$.", "answer": 88573, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(2),\n \"_m\": Const(59049),\n \"_n\": Const(2),\n \"p1\": Const(5),\n \"q\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"k\"), condition=Leq(Pow(Const(7), Var(\"k\")), Const(263245037851692))))), IsPrime(Var(\"n\"))))),\n \"n2\": Pow(Mul(Ref(\"p1\"), Ref(\"q\")), Const(2)),\n \"m\": Mod(value=NumDivisors(n=Ref(\"n2\")), modulus=Ref(\"_n\")),\n \"p\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(67)), Eq(Mod(value=Var(\"n\"), modulus=Const(67)), Const(0))))),\n \"n1\": Pow(Ref(\"p\"), Ref(\"_c\")),\n \"t\": LiouvilleLambda(n=Ref(name='n1')),\n \"n\": Mul(Ref(\"_m\"), Ref(\"m\"), Ref(\"t\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_VAL", "lemma_paths": ["MAX_VAL/MAX_PRIME_BELOW/DIVISOR_PARITY", "SUM_DIVISIBLE/LIOUVILLE_ONE"], "recipe_id": "c702a7", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["DIVISOR_PARITY", "LIOUVILLE_ONE", "MAX_PRIME_BELOW", "MAX_VAL", "SUM_DIVISIBLE"], "num_lemmas": 5, "generation_time": 0.004, "created_at": "2026-02-08T03:47:00.917536Z", "verification": {"verified": true, "answer": 88573, "timestamp": "2026-02-08T03:47:00.921995Z"}, "problem_hash": "7bae09", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 88573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 309, "completion_tokens": 1109}, "timestamp": "2026-02-10T05:01:30.529Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 88573, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 313, "completion_tokens": 1308}, "timestamp": "2026-02-09T11:22:08.253Z"}], "solution_status": 2, "lemma_applicability": {"MAX_VAL": "ok", "SUM_DIVISIBLE": "ok", "DIVISOR_PARITY": "ok_later", "LIOUVILLE_ONE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "K16": "same_pattern_wrong", "COUNT_COPRIME_GRID": "no", "K13": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.39, "hi": 1.21}, "split": "valid"} +{"id": "506ef2", "alias": "geo_visible_lattice_v1_1918700295_4042", "problem": "Let $n = 128$. Define $r$ to be the number of ordered pairs $(x, y)$ of positive integers such that $1 \\leq x, y \\leq n$ and $\\gcd(x, y) = 1$. Compute $$\\sum_{k=1}^{r} \\tau(k),$$ where $\\tau(k)$ denotes the number of positive divisors of $k$.", "answer": 94086, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(128),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Summation(var=\"n\", start=Div(Const(66), Const(66)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": "NT", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "IDENTITY_DIV_SELF", "lemma_paths": ["IDENTITY_DIV_SELF"], "recipe_id": "b48fad", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["IDENTITY_DIV_SELF"], "num_lemmas": 1, "generation_time": 0.747, "created_at": "2026-02-08T09:06:09.193257Z", "verification": {"verified": true, "answer": 94086, "timestamp": "2026-02-08T09:06:09.940345Z"}, "problem_hash": "134491", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 127, "completion_tokens": 8192}, "timestamp": "2026-02-14T00:39:31.901Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 583}, "timestamp": "2026-02-12T02:33:37.124Z"}], "solution_status": 0, "lemma_applicability": {"IDENTITY_DIV_SELF": "ok"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "512fe8", "alias": "diophantine_product_count_v1_124444284_1395", "problem": "Let $k = 240$ and $u = 207$. Compute the number of positive integers $x$ such that $x \\geq \\phi(1)$, $x \\leq u$, $x$ divides $k$, and $\\frac{k}{x} \\leq u$. Let this number be $r$. Let $p$ be the largest prime number less than or equal to $11$. Compute the Bell number $B_{r \\bmod p}$, that is, the number of partitions of a set of $r \\bmod p$ elements. Determine the value of this Bell number.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(240),\n \"upper\": Const(207),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), EulerPhi(n=Const(1))), Leq(Var(\"x\"), Ref(\"upper\")), Divides(divisor=Var(\"x\"), dividend=Ref(\"k\")), Leq(Div(Ref(\"k\"), Var(\"x\")), Ref(\"upper\"))))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(11)), IsPrime(Var(\"n\"))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MAX_PRIME_BELOW", "ONE_PHI_1"], "recipe_id": "c1b986", "seed_template_id": "diophantine_product_count_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "MIN_PRIME_FACTOR", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.083, "created_at": "2026-02-08T03:51:48.263670Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T03:51:48.346401Z"}, "problem_hash": "d10b71", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "ONE_PHI_1": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "K16": "no", "K5": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "e71b67", "alias": "antilemma_cartesian_v1_1520064083_7201", "problem": "Compute the value of $20164 - ab$, where $a = 26$ and $b = 37$.", "answer": 19202, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(26)), right=IntegerRange(start=Const(1), end=Const(37)))),\n \"Q\": Sub(Const(20164), Ref(\"x\")),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T08:50:34.435995Z", "verification": {"verified": true, "answer": 19202, "timestamp": "2026-02-08T08:50:34.436456Z"}, "problem_hash": "ef5832", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 19202, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 71, "completion_tokens": 218}, "timestamp": "2026-02-13T21:58:32.657Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 132, "completion_tokens": 199}, "timestamp": "2026-02-12T02:15:38.579Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "681f89", "alias": "nt_sum_over_divisible_v1_151522320_8", "problem": "Let $g = 18$, $m_1 = 13$, and let $n_1$ be the smallest divisor of $45$ that is at least $2$. Define $a = g \\cdot m_1$ and $b = g \\cdot n_1$. Let $h = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $n = 41^2 \\cdot 19 \\cdot 13$ and let $m = \\mu(n)^2$. Define $U = 8192 + m$. Let $D$ be the number of integers $t$ such that $24 \\leq t \\leq 618$ and there exist positive integers $a$, $b$ with $1 \\leq a \\leq 22$, $1 \\leq b \\leq 32$, such that $t = 15a + 9b$. Let $R$ be the sum of all positive integers $n$ such that $1 \\leq n \\leq U$ and $n$ is divisible by $D$. Find the remainder when $44121 \\cdot R$ is divided by $89839$.", "answer": 48416, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(8192),\n \"g\": Const(18),\n \"m1\": Const(13),\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(45))))),\n \"a\": Mul(Ref(\"g\"), Ref(\"m1\")),\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(41),\n \"q\": Const(19),\n \"r\": Const(13),\n \"n\": Mul(Pow(Ref(\"p\"), Const(2)), Ref(\"q\"), Ref(\"r\")),\n \"m\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"upper\": Sum(Ref(\"_n\"), Ref(\"m\")),\n \"divisor\": 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=22)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=32)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=618)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=15), Var(name='a')), Mul(Const(value=9), Var(name='b'))))))))), Ref(\"h\")),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(89839)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR/MOBIUS_COPRIME", "LIN_FORM/MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "recipe_id": "009042", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.261, "created_at": "2026-02-08T02:55:18.501559Z", "verification": {"verified": true, "answer": 48416, "timestamp": "2026-02-08T02:55:18.762061Z"}, "problem_hash": "013df0", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 48416, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 379, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:01:56.884Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 39082, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 379, "completion_tokens": 3356}, "timestamp": "2026-02-08T21:11:27.115Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_SQUAREFREE": "ok", "MOBIUS_COPRIME": "ok_later", "L3c": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.53, "mid": 1.08, "hi": 4.69}, "split": "valid"} +{"id": "062795", "alias": "comb_count_partitions_v1_48377204_1861", "problem": "Let $S$ be the set of all integers $t$ such that $18 \\leq t \\leq 762$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 24$, $1 \\leq b \\leq 57$, and $t = 8a + 10b$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = |S|$. Define $n$ to be the minimum value of $x + y$ over all pairs $(x, y) \\in T$. Let $p(n)$ denote the number of integer partitions of $n$. Compute the remainder when $44121 \\cdot p(n)$ is divided by $71959$.", "answer": 61765, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=24)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=57)), Geq(left=Var(name='t'), right=Const(value=18)), Leq(left=Var(name='t'), right=Const(value=762)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=10), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Partition(arg=Ref(name='n')),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(71959)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T16:27:44.526244Z", "verification": {"verified": true, "answer": 61765, "timestamp": "2026-02-08T16:27:44.531369Z"}, "problem_hash": "c3fae7", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 465}, "timestamp": "2026-02-12T10:46:10.894Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2cae5f", "alias": "nt_count_digit_sum_v1_677425708_2759", "problem": "Let $N$ be the number of positive integers $n$ such that $1 \\le n \\le 261121$ and the sum of the decimal digits of $n$ is $23$. Let $Q = 5^{|N|} \\bmod 99991 + \\sum_{k=1}^{16} \\phi(k) \\left\\lfloor \\frac{16}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function and $a \\bmod m$ denotes the remainder when $a$ is divided by $m$. Find the value of $Q$.", "answer": 14996, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\n \"upper\": Const(261121),\n \"target_sum\": 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 \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Summation(var=\"k\", start=Const(1), end=Const(16), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_n\"), Var(\"k\")))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2"], "recipe_id": "2ff82f", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": "two_stage_modexp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K2"], "num_lemmas": 1, "generation_time": 15.843, "created_at": "2026-02-08T05:14:43.173856Z", "verification": {"verified": true, "answer": 14996, "timestamp": "2026-02-08T05:14:59.016714Z"}, "problem_hash": "5c526f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 137, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 171, "completion_tokens": 6783}, "timestamp": "2026-02-12T06:32:47.079Z"}, {"id": 8, "model": "mathstral", "answer": 41, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 704}, "timestamp": "2026-02-14T11:58:56.395Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 238, "completion_tokens": 582}, "timestamp": "2026-02-11T22:26:36.411Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K18": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "3d0729", "alias": "nt_max_prime_below_v1_458359167_3195", "problem": "Let $p$ be the largest prime number not exceeding 83160. Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 70$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{5}$. Let $k$ be the number of elements in $S$. Compute the value of $p + \\left(2^k \\bmod 91150\\right)$.", "answer": 83169, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70),\n \"upper\": Const(83160),\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\": 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\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=5))))))), modulus=Const(91150))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C"], "recipe_id": "dee4e2", "seed_template_id": "nt_max_prime_below_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["L3C"], "num_lemmas": 1, "generation_time": 2.106, "created_at": "2026-02-08T07:02:32.077018Z", "verification": {"verified": true, "answer": 83169, "timestamp": "2026-02-08T07:02:34.182978Z"}, "problem_hash": "44b911", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 99543, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 146, "completion_tokens": 2255}, "timestamp": "2026-02-13T16:12:43.516Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 447}, "timestamp": "2026-02-12T01:40:20.571Z"}], "solution_status": 0, "lemma_applicability": {"L3C": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_PRIMES": "no", "K15": "no", "MOD_SUB": "no", "V7": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "d63ded", "alias": "diophantine_fbi2_min_v1_458359167_2970", "problem": "Let $k = 36$, $a = 6$, $b = 2$, and $\\text{upper} = 46$. Consider the set of all integers $d$ such that $d \\geq 7$, $d \\leq 46$, $d$ divides $k$, and $\\frac{k}{d} \\geq 3$. Compute the minimum value of $d$ in this set.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(36),\n \"a\": Const(6),\n \"b\": Const(2),\n \"upper\": Const(46),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(7)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(3))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "SUM_DIVISIBLE", "lemma_paths": ["COMB1/SUM_ARITHMETIC", "V5/SUM_ARITHMETIC"], "recipe_id": "b1a899", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "SUM_ARITHMETIC", "SUM_DIVISIBLE", "V5"], "num_lemmas": 4, "generation_time": 0.744, "created_at": "2026-02-08T06:52:17.462618Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T06:52:18.206830Z"}, "problem_hash": "ea2002", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 314}, "timestamp": "2026-02-12T00:35:36.497Z"}], "solution_status": 2, "lemma_applicability": {"COMB1": "ok", "V5": "ok", "SUM_ARITHMETIC": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "MOD_ADD": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "da7cf1", "alias": "nt_sum_divisors_compute_v1_784195855_2299", "problem": "Let $n = 32761$. Compute the sum of the positive divisors of $n$. Let $c$ be the number of positive integers $k$ such that $k$ is at most the sum of all positive multiples of $127$ that are at most $254$, and $\\gcd(k, 10) = 1$. Compute the remainder when $\\left(\\text{sum of divisors of } n\\right)^2 + 13 \\cdot \\left(\\text{sum of divisors of } n\\right) + c$ is divided by $69497$.", "answer": 57024, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(13),\n \"_n\": Const(2),\n \"n\": Const(32761),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(254)), Eq(Mod(value=Var(\"n\"), modulus=Const(127)), Const(0)))))), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_n\")), Mul(Ref(\"_m\"), Ref(\"result\")), Ref(\"_c\")), modulus=Const(69497)),\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/C4"], "recipe_id": "53a1bc", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["C4", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T05:38:38.808337Z", "verification": {"verified": true, "answer": 57024, "timestamp": "2026-02-08T05:38:38.810451Z"}, "problem_hash": "b41f1f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 57024, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 1745}, "timestamp": "2026-02-12T12:13:23.906Z"}, {"id": 8, "model": "mathstral", "answer": 53, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 192, "completion_tokens": 557}, "timestamp": "2026-02-14T20:48:40.787Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 233, "completion_tokens": 430}, "timestamp": "2026-02-11T22:55:30.764Z"}], "solution_status": 1, "lemma_applicability": {"SUM_DIVISIBLE": "ok", "C4": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "DS2": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.22, "hi": 4.76}, "split": "valid"} +{"id": "34b213", "alias": "nt_count_divisors_in_range_v1_1520064083_7026", "problem": "Let $n = 221760$. Let $S$ be the set of all nonnegative integers $j$ such that $0 \\leq j \\leq 209$ and the binomial coefficient $\\binom{209}{j}$ is odd. Let $m$ be the number of elements in $S$. Define $a$ to be the number of positive integers $n$ such that $1 \\leq n \\leq m$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Let $b = 2642$. Compute the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 73, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n\": Const(221760),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(209)), Eq(Mod(value=Binom(n=Const(209), k=Var(\"j\")), modulus=Ref(\"_n\")), Const(1))), domain='nonnegative_integers'))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11))))),\n \"b\": Const(2642),\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": "ONE_PHI_1", "lemma_paths": ["V8/L3C"], "recipe_id": "e9b731", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["L3C", "ONE_PHI_1", "V8"], "num_lemmas": 3, "generation_time": 0.068, "created_at": "2026-02-08T08:43:08.937434Z", "verification": {"verified": true, "answer": 73, "timestamp": "2026-02-08T08:43:09.005817Z"}, "problem_hash": "5a1a73", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 127, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 191, "completion_tokens": 4369}, "timestamp": "2026-02-13T20:57:11.103Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 604}, "timestamp": "2026-02-12T02:07:51.345Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "L3C": "ok_later", "C2": "no", "DS2": "no", "K15": "no", "K16": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "c85772", "alias": "comb_catalan_compute_v1_1978505735_1750", "problem": "Let $N$ be the number of elements in the Cartesian product of the sets $\\{1, 2\\}$ and $\\{1, 2, 3, 4, 5\\}$. Let $C$ be the $N$-th Catalan number. Compute the remainder when\n$$\n\\sum_{n_1=1}^{|C|} \\tau(n_1)\n$$\nis divided by $70089$, where $\\tau(n_1)$ denotes the number of positive divisors of $n_1$.", "answer": 25817, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(70089),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Summation(var=\"n1\", start=Const(1), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n1\"))), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "NT", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T16:23:14.653016Z", "verification": {"verified": true, "answer": 25817, "timestamp": "2026-02-08T16:23:14.655966Z"}, "problem_hash": "1bdc4c", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 423}, "timestamp": "2026-02-12T10:33:28.780Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a29b29", "alias": "comb_count_derangements_v1_397696148_46", "problem": "Let $A$ be the set of all integers $t$ such that $33 \\le t \\le 804$ and there exist integers $a$ and $b$ with $1 \\le a \\le 46$, $1 \\le b \\le 12$, and\n$$t = 12a + 21b.$$\nLet $|A|$ denote the number of elements of $A$.\n\nLet $B$ be the set of all integers $t$ such that $5 \\le t \\le 14$ and there exist integers $a$ and $b$ with $1 \\le a \\le 2$, $1 \\le b \\le 4$, and\n$$t = 3a + 2b.$$\nLet $|B|$ denote the number of elements of $B$.\n\nLet $C$ be the set of all integers $n$ such that\n$$1 \\le n \\le |A|$$\nand $|B|$ divides the $n$th Fibonacci number $F_n$, where $F_1 = F_2 = 1$ and $F_{k+2} = F_{k+1} + F_k$ for all integers $k \\ge 1$. Let $|C|$ denote the number of elements of $C$.\n\nLet $D$ be the number of derangements of $8$ distinct objects (that is, the number of permutations of $8$ elements in which no element appears in its original position).\n\nLet\n$$Q \\equiv |C| - D \\pmod{67712},$$\nwhere $0 \\le Q < 67712$.\n\nCompute $Q$. ", "answer": 52919, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(67712),\n \"n\": Const(8),\n \"result\": Subfactorial(arg=Ref(name='n')),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), EulerPhi(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=46)), 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=33)), Leq(left=Var(name='t'), right=Const(value=804)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=12), Var(name='a')), Mul(Const(value=21), Var(name='b')))))))))), Divides(divisor=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2)), 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=14)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))), dividend=Fibonacci(arg=Var(name='n')))))), Ref(\"result\")), modulus=Ref(\"_n\")),\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/COUNT_FIB_DIVISIBLE", "ONE_PHI_1"], "recipe_id": "bb3aa4", "seed_template_id": "comb_count_derangements_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T11:16:46.334293Z", "verification": {"verified": true, "answer": 52919, "timestamp": "2026-02-08T11:16:46.349201Z"}, "problem_hash": "ea5990", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "COUNT_FIB_DIVISIBLE": "ok_later", "K13": "no", "L3c": "no", "LTE_DIFF_P2": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "split": "valid"} +{"id": "cc78fd", "alias": "nt_count_coprime_v1_677425708_1125", "problem": "Let $S$ be the set of all positive integers $n$ such that $1 \\leq n \\leq 65536$ and $\\gcd(n, 4) = 1$. Compute the remainder when $2401 - |S|$ is divided by $65437$.", "answer": 35070, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(65536),\n \"k\": Const(4),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"k\")), Const(1))))),\n \"Q\": Mod(value=Sub(Const(2401), Ref(\"result\")), modulus=Const(65437)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/C3"], "recipe_id": "ccc297", "seed_template_id": "nt_count_coprime_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C3"], "num_lemmas": 1, "generation_time": 7.103, "created_at": "2026-02-08T04:00:17.601779Z", "verification": {"verified": true, "answer": 35070, "timestamp": "2026-02-08T04:00:24.705226Z"}, "problem_hash": "1ecb88", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 35070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 651}, "timestamp": "2026-02-09T15:57:21.298Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 35070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 524}, "timestamp": "2026-02-10T15:01:15.762Z"}, {"id": 8, "model": "mathstral", "answer": 45070, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 124, "completion_tokens": 328}, "timestamp": "2026-02-11T20:36:32.851Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 35070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 169, "completion_tokens": 283}, "timestamp": "2026-02-11T20:19:10.768Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "K14": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "cac18b", "alias": "nt_min_coprime_above_v1_397696148_1581", "problem": "Let $s = 1936$ and let $d_{\\min}$ be the smallest divisor of $14687919293$ that is at least $2$. Let $r$ be the smallest integer $n$ such that $n > s$, $n \\leq d_{\\min}$, and $\\gcd(n, 495) = 1$. Let $c$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 46$. Find the remainder when $c - r$ is divided by $78586$.", "answer": 77178, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(78586),\n \"start\": Const(1936),\n \"upper\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(14687919293))))),\n \"modulus\": Const(495),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"_c\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(46)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1", "MIN_PRIME_FACTOR"], "recipe_id": "58e2b8", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.067, "created_at": "2026-02-08T12:39:14.973861Z", "verification": {"verified": true, "answer": 77178, "timestamp": "2026-02-08T12:39:15.040845Z"}, "problem_hash": "0fc181", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 239, "completion_tokens": 412}, "timestamp": "2026-02-12T05:26:41.497Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "MOD_SUB": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b60b77", "alias": "algebra_poly_eval_v1_1918700295_2472", "problem": "Let $m = 4$. 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 = 24$. Let $d_0$ be the number of elements in $A$. Let $b$ be the smallest divisor of $8452891$ that is at least $d_0$. Let $B$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y = m$. Define $M$ to be the maximum value of $xy$ over all such pairs. Compute $M \\cdot b^2 + 5b + 9$. Let $Q$ be the remainder when this value is multiplied by $44121$ and then divided by $99383$. Find the value of $Q$.", "answer": 23187, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(44121),\n \"b\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=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(8452891))))),\n \"result\": Sum(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(\"_m\")))), expr=Mul(Var(\"x\"), Var(\"y\")))), Pow(Ref(\"b\"), Const(2))), Mul(Const(5), Ref(\"b\")), Const(9)),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Const(99383)),\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/MIN_PRIME_FACTOR", "B1"], "recipe_id": "071fda", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COPRIME_PAIRS", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T07:54:39.103284Z", "verification": {"verified": true, "answer": 23187, "timestamp": "2026-02-08T07:54:39.110242Z"}, "problem_hash": "e4e69f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 44338, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 234, "completion_tokens": 1733}, "timestamp": "2026-02-13T13:43:51.619Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 484}, "timestamp": "2026-02-12T01:25:52.135Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COPRIME_PAIRS": "ok", "MIN_PRIME_FACTOR": "ok_later", "DS2": "no", "K17": "no", "MOD_SUB": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "ef1c5d", "alias": "diophantine_fbi2_min_v1_1520064083_6358", "problem": "Let $k$ be the largest positive divisor of $134280$ that does not exceed $360$. Let $\\text{result}$ be the smallest positive integer $d$ such that $6 \\le d \\le 370$, $d$ divides $k$, and $\\frac{k}{d} \\ge 3$.\n\nCompute the Bell number of $|\\text{result}|$ modulo $11$. That is, compute $B_{|\\text{result}| \\mod 11}$, where $B_m$ denotes the $m$-th Bell number.", "answer": 203, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(360)), Divides(divisor=Var(\"d\"), dividend=Const(134280))))),\n \"upper\": Const(370),\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\")), 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": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.089, "created_at": "2026-02-08T08:02:20.150214Z", "verification": {"verified": true, "answer": 203, "timestamp": "2026-02-08T08:02:20.239311Z"}, "problem_hash": "b9f858", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 5, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 160, "completion_tokens": 1091}, "timestamp": "2026-02-13T14:17:40.794Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 362}, "timestamp": "2026-02-12T01:29:22.122Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K15": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "020132", "alias": "antilemma_count_primes_v1_677425708_387", "problem": "Let $n_1$ be the maximum value of $xy$ over all positive integers $x$ and $y$ such that $x + y = 10$. Let $e = \\lambda(n_1)$, where $\\lambda(n)$ is the Liouville function. Let $p = 47$ and $q = 59$, and define $n = pq$. Let $h$ be the remainder when $\\tau(n)$, the number of positive divisors of $n$, is divided by $2$. Let $x$ be the number of prime numbers $n$ such that $2 \\leq n \\leq 1607$. Define $Q = x + \\phi(|x| + e) + \\tau(|x| + 1 + h)$, where $\\phi$ is Euler's totient function and $\\tau$ counts the number of positive divisors. Find the value of $Q$.", "answer": 383, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(1607),\n \"_m\": Const(2),\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(10)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"e\": LiouvilleLambda(n=Ref(name='n1')),\n \"p\": Const(47),\n \"q\": Const(59),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"h\": Mod(value=NumDivisors(n=Ref(\"n\")), modulus=Ref(\"_m\")),\n \"_n\": Const(2),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_c\")), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Ref(\"e\"))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Const(1), Ref(\"h\")))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "B1/LIOUVILLE_ONE", "DIVISOR_PARITY", "COUNT_PRIMES"], "recipe_id": "9379c5", "seed_template_id": "antilemma_count_primes_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["B1", "COUNT_PRIMES", "DIVISOR_PARITY", "LIOUVILLE_ONE", "MAX_PRIME_BELOW"], "num_lemmas": 5, "generation_time": 0.004, "created_at": "2026-02-08T03:16:19.923164Z", "verification": {"verified": true, "answer": 383, "timestamp": "2026-02-08T03:16:19.927102Z"}, "problem_hash": "57905c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 306, "completion_tokens": 8192}, "timestamp": "2026-02-08T20:31:24.602Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 8192}, "timestamp": "2026-02-10T03:08:16.568Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "COUNT_PRIMES": "ok", "DIVISOR_PARITY": "ok", "MAX_PRIME_BELOW": "ok", "LIOUVILLE_ONE": "ok_later", "K18": "no", "K5": "no", "L3c": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "8d68dd", "alias": "geo_count_lattice_rect_v1_124444284_7417", "problem": "Let $a = 77$ and $b = 124$. Let $L$ be the number of lattice points in the rectangle $[0, a] \\times [0, b]$, including the boundary. Compute the remainder when $44121 \\cdot L$ is divided by $88853$.", "answer": 42377, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(77),\n \"b\": Const(124),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(88853)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T09:06:41.396748Z", "verification": {"verified": true, "answer": 42377, "timestamp": "2026-02-08T09:06:41.397255Z"}, "problem_hash": "a1bbbd", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 42377, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 110, "completion_tokens": 878}, "timestamp": "2026-02-14T00:32:27.475Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 173, "completion_tokens": 336}, "timestamp": "2026-02-12T02:32:59.548Z"}], "solution_status": 1, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "843f5f", "alias": "nt_min_coprime_above_v1_717093673_906", "problem": "Let $d$ be a positive integer divisor of $15832341$ such that $1 \\leq d \\leq 3969$. Let $S$ be the set of all such divisors $d$, and let $m$ be the maximum element of $S$. Now consider the set of integers $n$ such that $m < n \\leq 4248$ and $\\gcd(n, 269) = 1$. Compute the smallest such integer $n$.", "answer": 3970, "graph": "graphs = [\n Graph(\n let={\n \"start\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(3969)), Divides(divisor=Var(\"d\"), dividend=Const(15832341))))),\n \"upper\": Const(4248),\n \"modulus\": Const(269),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.046, "created_at": "2026-02-08T15:44:57.085191Z", "verification": {"verified": true, "answer": 3970, "timestamp": "2026-02-08T15:44:57.131368Z"}, "problem_hash": "5e4ced", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 545}, "timestamp": "2026-02-12T09:02:54.234Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "L3b": "no", "MAX_VAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "433b6d", "alias": "comb_binomial_compute_v1_1918700295_956", "problem": "Let $n_0$ be the number of positive integers $n$ such that $1 \\le n \\le 10$ and $\\gcd(n, 21) = 1$. Let $n = 16$, and let $k$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = n_0$. Compute the remainder when $$\\sum_{i=\\phi(1)}^{|\\binom{n}{k}|} \\tau(i)$$ is divided by $97393$, where $\\phi$ is Euler's totient function and $\\tau(i)$ is the number of positive divisors of $i$. Determine the value of this remainder.", "answer": 11301, "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(10)), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1))))),\n \"n\": Const(16),\n \"k\": 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\": Binom(n=Ref(\"n\"), k=Ref(\"k\")),\n \"Q\": Mod(value=Summation(var=\"n\", start=EulerPhi(n=Const(1)), end=Abs(arg=Ref(name='result')), expr=NumDivisors(n=Var(\"n\"))), modulus=Const(97393)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/B1", "ONE_PHI_1"], "recipe_id": "673b37", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "C4", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T05:24:29.856428Z", "verification": {"verified": true, "answer": 11301, "timestamp": "2026-02-08T05:24:29.858713Z"}, "problem_hash": "868be0", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "ONE_PHI_1": "ok", "B1": "ok_later", "COUNT_PRIMES": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "569f17", "alias": "modular_count_residue_v1_655260480_245", "problem": "Let $m$ be the largest positive integer $d$ with $1 \\leq d \\leq 21$ that divides 483. Let $\\text{result}$ be the number of positive integers $n$ with $1 \\leq n \\leq 83160$ such that $n \\equiv 7 \\pmod{m}$. Compute the remainder when $29059 \\cdot \\text{result}$ is divided by $53075$.", "answer": 7040, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(83160),\n \"m\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(21)), Divides(divisor=Var(\"d\"), dividend=Const(483))))),\n \"r\": 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(\"m\")), Ref(\"r\"))))),\n \"Q\": Mod(value=Mul(Const(29059), Ref(\"result\")), modulus=Const(53075)),\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"], "recipe_id": "51757e", "seed_template_id": "modular_count_residue_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 6.428, "created_at": "2026-02-08T15:19:10.363406Z", "verification": {"verified": true, "answer": 7040, "timestamp": "2026-02-08T15:19:16.791884Z"}, "problem_hash": "60a637", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 40044, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 394}, "timestamp": "2026-02-12T08:10:36.485Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "DS2": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3c80b5", "alias": "antilemma_sum_equals_v1_784195855_2892", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\le i \\le 16$ and $1 \\le j \\le 16$ such that $i + j = 16$. Let $c$ be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = 4036$. Compute $c - x$.", "answer": 2003, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(16),\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(16)), right=IntegerRange(start=Const(1), end=Const(16))))),\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(4036))))),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "436c32", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.013, "created_at": "2026-02-08T06:06:29.541671Z", "verification": {"verified": true, "answer": 2003, "timestamp": "2026-02-08T06:06:29.555008Z"}, "problem_hash": "5ccdd0", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2003, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 140, "completion_tokens": 638}, "timestamp": "2026-02-12T19:45:33.438Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 2002, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 201, "completion_tokens": 461}, "timestamp": "2026-02-11T23:36:43.728Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "f41ec7", "alias": "nt_sum_divisors_compute_v1_238844314_803", "problem": "Let $ n = 35344 $ and let $ r $ be the sum of all positive divisors of $ n $. Let $ T $ be the set of all positive integers $ p $ for which there exists a positive integer $ q $ such that $ p \\cdot q = 3716052469748426417610 $, $ \\gcd(p, q) = 1 $, and $ p < q $. Let $ c $ be the number of elements in $ T $. Compute the remainder when $ c - r $ is divided by 65017.", "answer": 62115, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(65017),\n \"n\": Const(35344),\n \"result\": SumDivisors(n=Ref(\"n\")),\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=3716052469748426417610)), 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=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"], "recipe_id": "c90628", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.004, "created_at": "2026-02-08T13:37:23.196243Z", "verification": {"verified": true, "answer": 62115, "timestamp": "2026-02-08T13:37:23.200411Z"}, "problem_hash": "460fea", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 236, "completion_tokens": 599}, "timestamp": "2026-02-12T07:08:53.206Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "L3b": "no", "MAX_VAL": "no", "MOD_ADD": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "02fd81", "alias": "nt_sum_divisors_compute_v1_784195855_3453", "problem": "Let $m = 4$ and $n = 21349$. Let $n_2$ be the largest integer $k$ such that $5^k$ divides $5^m$. Let $f$ be the number of distinct prime factors of $n_2$. Let $p$ be the largest prime number less than or equal to 10. Let $n_1 = p^{3f}$. Let $u$ be the number of distinct prime factors of $n_1$. Let $n = 64516$. Compute the sum of all positive divisors of $n$. Multiply this sum by $n \\cdot u$, where the first $n$ is $21349$, and then find the remainder when the result is divided by $97450$. Compute this remainder.", "answer": 66351, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(21349),\n \"n2\": MaxKDivides(target=Pow(Const(5), Ref(\"_m\")), base=Const(5)),\n \"f\": SmallOmega(n=Ref(name='n2')),\n \"p\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(10)), IsPrime(Var(\"n\"))))),\n \"n1\": Pow(Ref(\"p\"), Mul(Const(3), Ref(\"f\"))),\n \"u\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(64516),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Mul(Ref(\"_n\"), Ref(\"u\")),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(97450)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/OMEGA_ONE", "K14/OMEGA_ONE"], "recipe_id": "262fd0", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["K14", "MAX_PRIME_BELOW", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T06:27:16.824840Z", "verification": {"verified": true, "answer": 66351, "timestamp": "2026-02-08T06:27:16.830349Z"}, "problem_hash": "053f98", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"K14": "ok", "MAX_PRIME_BELOW": "ok", "OMEGA_ONE": "ok_later", "COUNT_COPRIME_GRID": "no", "K15": "no", "MOD_MUL": "no", "V7": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "972d68", "alias": "diophantine_fbi2_count_v1_655260480_1541", "problem": "Let $k = 60$ and $n = 3$. Determine the number of positive integers $d$ such that $3 \\leq d \\leq \\max\\{d_1 : 1 \\leq d_1 \\leq 57 \\text{ and } d_1 \\mid 3819\\}$, $d \\mid 60$, and $3 \\leq \\frac{60}{d} \\leq 57$. Let $r$ be this count. Compute the remainder when $44121 \\cdot r$ is divided by 51740. Find the value of this remainder.", "answer": 42528, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"k\": Const(60),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(3)), Leq(Var(\"d\"), MaxOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(1)), Leq(Var(\"d1\"), Const(57)), Divides(divisor=Var(\"d1\"), dividend=Const(3819)))))), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(57))))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(51740)),\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"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.009, "created_at": "2026-02-08T16:12:35.729454Z", "verification": {"verified": true, "answer": 42528, "timestamp": "2026-02-08T16:12:35.738475Z"}, "problem_hash": "f07ee5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 377}, "timestamp": "2026-02-12T10:07:15.471Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "L3b": "no", "MOD_MUL": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "863d72", "alias": "comb_count_permutations_fixed_v1_865884756_1000", "problem": "Let $n$ be the number of integers $t$ with $10 \\leq t \\leq 30$ such that $t = 4a + 6b$ for some integers $a$ and $b$ satisfying $1 \\leq a \\leq 3$ and $1 \\leq b \\leq 3$. Let $k$ be the sum of $\\phi(k_1) \\cdot \\left\\lfloor \\frac{2}{k_1} \\right\\rfloor$ over all positive integers $k_1$ that are less than or equal to the number of unordered pairs $(p, q)$ of positive integers such that $p < q$, $pq = 24$, and $\\gcd(p, q) = 1$. Compute the value of $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ objects.", "answer": 22260, "graph": "graphs = [\n Graph(\n let={\n \"_n\": 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=3)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=30)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"k\": Summation(var=\"k1\", 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=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'))))))), expr=Mul(EulerPhi(n=Var(\"k1\")), Floor(Div(Ref(\"_n\"), Var(\"k1\"))))),\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": "K2", "lemma_paths": ["COPRIME_PAIRS/K2", "LIN_FORM"], "recipe_id": "506c9b", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T15:43:19.122478Z", "verification": {"verified": true, "answer": 22260, "timestamp": "2026-02-08T15:43:19.134227Z"}, "problem_hash": "7e2bb9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 300, "completion_tokens": 504}, "timestamp": "2026-02-12T09:01:48.504Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "K2": "ok_later", "COUNT_PRIMES": "no", "K13": "no", "L3b": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2f79d4", "alias": "nt_count_with_divisor_count_v1_48377204_1309", "problem": "Let $N = 6765$. Let $d_{\\text{max}}$ be the largest positive divisor of $45873465$ that is at most $N$. Determine the number of positive integers $n$ such that $1 \\leq n \\leq d_{\\text{max}}$ and $n$ has exactly $8$ positive divisors.", "answer": 1408, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(6765),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(45873465))))),\n \"div_count\": Const(8),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.282, "created_at": "2026-02-08T16:01:35.085479Z", "verification": {"verified": true, "answer": 1408, "timestamp": "2026-02-08T16:01:35.367640Z"}, "problem_hash": "dd1814", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 180, "completion_tokens": 435}, "timestamp": "2026-02-12T09:45:09.936Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "K15": "no", "K18": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "9176b6", "alias": "nt_count_intersection_v1_48377204_2996", "problem": "Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 6250000$. Let $N$ be the minimum value of $x + y$ over all pairs in $S$. Let $a$ be the largest prime number at most $7$. Let $b$ be the number of integers $t$ such that $7 \\leq t \\leq 22$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 2$, $1 \\leq b \\leq 6$, and $t = 5a + 2b$. Let $\\text{result}$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq N$, $a$ divides $n_1$, and $\\gcd(n_1, b) = 1$. Find the value of $17161 - \\text{result}$.", "answer": 16923, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\n \"N\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(6250000)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\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=2)), 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=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n1\")), Eq(GCD(a=Var(\"n1\"), b=Ref(\"b\")), Const(1))))),\n \"_c\": Const(17161),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "LIN_FORM", "B3"], "recipe_id": "f0dad2", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.36, "created_at": "2026-02-08T17:07:21.301206Z", "verification": {"verified": true, "answer": 16923, "timestamp": "2026-02-08T17:07:21.660985Z"}, "problem_hash": "d21086", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 310, "completion_tokens": 856}, "timestamp": "2026-02-12T21:48:18.858Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "LIN_FORM": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "K13": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "165390", "alias": "comb_factorial_compute_v1_784195855_2450", "problem": "Let $n$ be the largest prime number less than or equal to the sum of all prime numbers between 2 and 5, inclusive. Compute the remainder when $93585 \\times n!$ is divided by 66101.", "answer": 37765, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66101),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(5)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\"))))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Const(93585), 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_PRIMES", "lemma_paths": ["SUM_PRIMES/MAX_PRIME_BELOW"], "recipe_id": "e7e4f9", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_PRIME_BELOW", "SUM_PRIMES"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T05:45:11.926481Z", "verification": {"verified": true, "answer": 37765, "timestamp": "2026-02-08T05:45:11.929176Z"}, "problem_hash": "70c01f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37765, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 95, "completion_tokens": 1234}, "timestamp": "2026-02-12T14:42:35.668Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 400, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 156, "completion_tokens": 329}, "timestamp": "2026-02-11T23:08:48.500Z"}], "solution_status": 1, "lemma_applicability": {"SUM_PRIMES": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "L3b": "no", "L3c": "no", "MOD_FACTORIAL": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "505a33", "alias": "antilemma_product_of_sums_v1_151522320_1555", "problem": "Let $S$ be the set of all primes $n$ such that $2 \\leq n \\leq 128$. Let $m = 2$. Let $T$ be the set of integers $j$ such that $0 \\leq j \\leq |S|$ and $\\binom{31}{j} \\equiv 1 \\pmod{2}$. Compute the sum of all elements in $T$. Let this sum be $S_1$. Let $U$ be the set of all ordered pairs $(k, j)$ where $k$ is an integer with $1 \\leq k \\leq 6$ and $j$ is an integer with $1 \\leq j \\leq 2$. Let $S_2$ be the sum of all values of $k$ over all pairs $(k, j)$ in $U$. Compute $S_1 \\cdot S_2$.", "answer": 20832, "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\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(128)), IsPrime(Var(\"n\")))))), IsPrime(Var(\"n\")))))), Eq(Mod(value=Binom(n=Const(31), k=Var(\"j\")), modulus=Ref(\"_n\")), 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(6)), right=IntegerRange(start=Const(1), end=Const(2)))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/COUNT_PRIMES", "PRODUCT_OF_SUMS"], "recipe_id": "4c267c", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MAX_PRIME_BELOW", "PRODUCT_OF_SUMS"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T04:05:33.878596Z", "verification": {"verified": true, "answer": 20832, "timestamp": "2026-02-08T04:05:33.885017Z"}, "problem_hash": "bf233a", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_PRIMES": "ok_later", "K13": "no", "K14": "no", "V1": "no", "V3": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "006caf", "alias": "comb_count_surjections_v1_1915831931_3004", "problem": "Let $n_0 = 14$. Consider the set of all ordered pairs $(x_{11}, x_{21})$ of positive odd integers such that $x_{11} + x_{21} = n_0$. Let $s$ be the number of elements in this set. Now consider the set of all ordered triples $(x_1, x_2, x_3)$ of positive odd integers such that $x_1 + x_2 + x_3 = s$. Let $n$ be the number of such triples. Let $k = 5$ and define $r = 5! \\cdot S(n, 5)$, where $S(n, 5)$ is the number of ways to partition a set of $n$ elements into 5 nonempty subsets. Let $t_0$ be the number of integers $t$ with $10 \\leq t \\leq 34$ such that $t = 4a + 6b$ for some integers $a, b$ with $1 \\leq a \\leq 4$ and $1 \\leq b \\leq 3$. Compute the Bell number $B_{|r| \\mod t_0}$.", "answer": 877, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(14),\n \"n\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\"), Var(\"x3\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsPositive(arg=Var(name='x3')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), IsOdd(arg=Var(name='x3')), Eq(Sum(Var(\"x1\"), Var(\"x2\"), Var(\"x3\")), CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x11\"), Var(\"x21\")]), condition=And(IsPositive(arg=Var(name='x11')), IsPositive(arg=Var(name='x21')), IsOdd(arg=Var(name='x11')), IsOdd(arg=Var(name='x21')), Eq(Sum(Var(\"x11\"), Var(\"x21\")), Ref(\"_n\"))))))))),\n \"k\": Const(5),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"Q\": Bell(Mod(value=Abs(arg=Ref(name='result')), modulus=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=4)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=10)), Leq(left=Var(name='t'), right=Const(value=34)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "COMB1/COMB1"], "recipe_id": "d9876e", "seed_template_id": "comb_count_surjections_v1", "ending_id": "bell_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T17:17:45.540569Z", "verification": {"verified": true, "answer": 877, "timestamp": "2026-02-08T17:17:45.546744Z"}, "problem_hash": "e1d32d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 360, "completion_tokens": 598}, "timestamp": "2026-02-12T22:20:07.781Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "37f22e", "alias": "nt_max_prime_below_v1_1520064083_2167", "problem": "Let $n_1$ be the smallest positive integer $n$ such that $3^{110}$ divides $n!$. Let $h = \\mu(n_1)^2$, where $\\mu$ is the M\\\"obius function. Define $p = 7$, $q = 41 + h$, and $n = p \\cdot q$. Let $e = \\lambda(n)$, where $\\lambda$ is the Liouville function. Let $M = 77284 \\cdot e$. Determine the value of the largest prime number $n$ such that $2 \\leq n \\leq M$.", "answer": 77279, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(41),\n \"n1\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=Geq(MaxKDivides(target=Factorial(Var(\"n\")), base=Const(3)), Const(110)), domain='Z_{>0}')),\n \"h\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"p\": Const(7),\n \"q\": Sum(Ref(\"_n\"), Ref(\"h\")),\n \"n\": Mul(Ref(\"p\"), Ref(\"q\")),\n \"e\": LiouvilleLambda(n=Ref(name='n')),\n \"upper\": Mul(Const(77284), 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": "V5", "lemma_paths": ["V5/MOBIUS_SQUAREFREE", "LIOUVILLE_ONE"], "recipe_id": "702f1f", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["LIOUVILLE_ONE", "MOBIUS_SQUAREFREE", "V5"], "num_lemmas": 3, "generation_time": 5.693, "created_at": "2026-02-08T04:32:29.825518Z", "verification": {"verified": true, "answer": 77279, "timestamp": "2026-02-08T04:32:35.518875Z"}, "problem_hash": "daf34c", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIOUVILLE_ONE": "ok", "V5": "ok", "MOBIUS_SQUAREFREE": "ok_later", "COUNT_PRIMES": "no", "K5": "no", "L3b": "no", "V3": "no", "V7": "no"}, "split": "valid"} +{"id": "f2543c", "alias": "antilemma_product_of_sums_v1_784195855_62", "problem": "Let $S_1$ be the sum of all products $i \\cdot j$ where $i$ ranges from 1 to 7 and $j$ ranges from 1 to 3.\n\nLet $S_2$ be the sum of all integers $j$ such that $0 \\leq j \\leq 31$ and $\\binom{31}{j}$ is odd.\n\nDefine $x = S_1 \\cdot S_2$.\n\nLet $T$ be the set of all integers $t$ such that $11 \\leq t \\leq 4209$ and there exist positive integers $a \\leq 970$, $b \\leq 47$ satisfying $t = 4a + 7b$. Let $c$ be the number of elements in $T$.\n\nCompute the remainder when $x^2 + 28x + c$ is divided by 99219.", "answer": 66854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(28),\n \"_n\": Const(31),\n \"S1\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Const(1), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(7)), right=IntegerRange(start=Const(1), end=Const(3)))), expr=Mul(Var(\"i\"), Var(\"j\")))),\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=Const(31), k=Var(\"j\")), modulus=Const(2)), Const(1))))),\n \"x\": Mul(Ref(\"S1\"), Ref(\"S2\")),\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=970)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=47)), Geq(left=Var(name='t'), right=Const(value=11)), Leq(left=Var(name='t'), right=Const(value=4209)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=7), Var(name='b'))))))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Ref(\"_m\"), Ref(\"x\")), Ref(\"_c\")), modulus=Const(99219)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "PRODUCT_OF_SUMS"], "recipe_id": "66513e", "seed_template_id": "antilemma_product_of_sums_v1", "ending_id": "quadratic_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["LIN_FORM", "PRODUCT_OF_SUMS"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T02:56:34.330811Z", "verification": {"verified": true, "answer": 66854, "timestamp": "2026-02-08T02:56:34.333062Z"}, "problem_hash": "7d2eed", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 66872, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 309, "completion_tokens": 3963}, "timestamp": "2026-02-08T22:26:46.498Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "PRODUCT_OF_SUMS": "ok", "COUNT_COPRIME_GRID": "no", "LTE_DIFF_P2": "no", "LTE_SUM": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 0.63, "mid": 5.32, "hi": 10.0}, "split": "valid"} +{"id": "be7d32", "alias": "nt_count_with_divisor_count_v1_784195855_6366", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 58081$ and the number of positive divisors of $n$ is exactly 15. Let $A$ be the number of such integers $n$.\n\nLet $B$ be the number of positive integers $j$ such that $1 \\leq j \\leq 1369$ and $j^3 \\leq 2565726409$.\n\nCompute the remainder when $5^{|A|} + B$ is divided by 99991.", "answer": 59707, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(58081),\n \"div_count\": Const(15),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(NumDivisors(n=Var(\"n\")), Ref(\"div_count\"))))),\n \"Q\": Sum(ModExp(base=Const(5), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(Var(\"j\"), Const(1369)), Leq(Pow(Var(\"j\"), Const(3)), Const(2565726409))), domain='positive_integers'))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3"], "recipe_id": "a5efb3", "seed_template_id": "nt_count_with_divisor_count_v1", "ending_id": "two_stage_modexp", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C3"], "num_lemmas": 1, "generation_time": 16.034, "created_at": "2026-02-08T08:36:18.854425Z", "verification": {"verified": true, "answer": 59707, "timestamp": "2026-02-08T08:36:34.887979Z"}, "problem_hash": "83fdee", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 59707, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 155, "completion_tokens": 4119}, "timestamp": "2026-02-13T20:03:13.188Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 228, "completion_tokens": 543}, "timestamp": "2026-02-12T02:02:11.219Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "MOD_FACTORIAL": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b18bd6", "alias": "comb_sum_binomial_mod_v1_124444284_5417", "problem": "Let $m = 11617$ and $n = 409$. Let $S$ be the set of all integers $d$ such that $d \\ge 2$ and $d$ divides $8020005991$. Let $p$ be the smallest prime number such that $p \\ge 2$ and $p \\le \\min(S)$. Define $\\sigma$ to be the number of integers $k$ satisfying $136 \\le k \\le p$ and such that $k$ is prime. Compute\n$$\n\\sum_{k=136}^{\\sigma} \\binom{n}{k}.\n$$\nLet $r$ be the remainder when this sum is divided by $m$. Let $Q = 78400 - r$. Find the value of $Q$.", "answer": 72065, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(11617),\n \"_n\": Const(409),\n \"sum\": Summation(var=\"k\", start=Const(136), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(8020005991)))))), IsPrime(Var(\"n\"))))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Ref(\"_m\")),\n \"_c\": Const(78400),\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/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.021, "created_at": "2026-02-08T06:34:52.856392Z", "verification": {"verified": true, "answer": 72065, "timestamp": "2026-02-08T06:34:52.876906Z"}, "problem_hash": "fbc9f5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 78400, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 205, "completion_tokens": 3338}, "timestamp": "2026-02-13T02:18:12.815Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 285, "completion_tokens": 367}, "timestamp": "2026-02-12T00:16:27.185Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "DS2": "no", "K13": "no", "K15": "no", "MAX_PRIME_BELOW": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "6c211d", "alias": "geo_count_lattice_rect_v1_784195855_9400", "problem": "Let $a = 128$ and $b = 324$. Define $S$ as the set of all lattice points $(x, y)$ with $0 \\leq x \\leq a$ and $0 \\leq y \\leq b$. Let $r$ be the number of elements in $S$. Compute the remainder when $44187 \\cdot r$ is divided by $59936$.", "answer": 38087, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(128),\n \"b\": Const(324),\n \"result\": LatticePointsRect(a=Ref(name='a'), b=Ref(name='b')),\n \"_c\": Const(44187),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(59936)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_count_lattice_rect_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.001, "created_at": "2026-02-08T16:47:25.517564Z", "verification": {"verified": true, "answer": 38087, "timestamp": "2026-02-08T16:47:25.518489Z"}, "problem_hash": "ae29a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 274}, "timestamp": "2026-02-12T20:59:29.866Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f8b447", "alias": "modular_modexp_compute_v1_865884756_487", "problem": "Let $S$ be the set of all ordered pairs $(x_1, y_1)$ of positive integers such that $x_1 y_1 = 2500$. For each such pair, compute $x_1 + y_1$, and let $T$ be the set of all such sums. Let $d_{\\text{min}}$ be the minimum value in $T$. Compute $\\sum_{d \\mid d_{\\text{min}}} \\phi(d)$, where $\\phi$ denotes Euler's totient function. Let $U$ be the set of all ordered pairs $(x, y)$ of positive integers such that $x + y$ equals this sum. For each such pair, compute $xy$, and let $m$ be the maximum value of $xy$ over all such pairs. Define $a = 47$ and $m = 48841$. Compute $a^m \\bmod 48841$. Find the value of this result.", "answer": 21438, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(47),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), SumOverDivisors(n=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=2500)))), expr=Sum(Var(name='x1'), Var(name='y1')))), var='d', expr=EulerPhi(n=Var(name='d')))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(48841),\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": "B3", "lemma_paths": ["B3/K3/B1"], "recipe_id": "e20a9d", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "B3", "K3"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T15:25:48.793976Z", "verification": {"verified": true, "answer": 21438, "timestamp": "2026-02-08T15:25:48.798526Z"}, "problem_hash": "7d20a3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 313, "completion_tokens": 494}, "timestamp": "2026-02-12T08:27:16.548Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "B1": "ok_later", "K3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K13": "no", "K16": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "7a5cfd", "alias": "nt_sum_totient_over_divisors_v1_1520064083_624", "problem": "Let $m = 150$ and let $n$ be the largest integer such that $7^n$ divides $\\binom{150}{60}$. Define $N = 3298405373425259607612126134261475101689362001024197807662624517517639999039318430122489705670876658586191836853742515309796994372961355114600256703073105446567663412240797298429510469622379684047677320627272316853312544849439294149072316235192852913943993269545876245371820851194149985895112626887105465598514543051811148346637181128888656458006145788379647701072094435487919824999644248566817941905406544442294272 \\times 56793525161155202816571568684417748713714735423455699439036840876061183961106779848519450541221971148846197521860802533035113199779295201587377250136812215017674718082126461770355461634050680679156132804153181503055887000364898773073092113457321052463507377298567903628104742808774016858979559762609087064772686791803998245073019771910512062420558963022665219796685791653320162074198581663533280205630289549117345098452637017993218315108083185745849299369869406261184884477584111005849246726342702338805147376039690353946173661365810114758356482903386460932770616537562312978533168059564108322081973806621584578293519638446087651249924211114075563600410818100745784412088864984362966072239799284145676843124905437474506168286373828763782582637592920855941872213367094899638272$, and let $k$ be the largest integer such that $n^k$ divides $N$. Compute $\\sum_{d \\mid k} \\phi(d)$.", "answer": 3954, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(150),\n \"_n\": MaxKDivides(target=Binom(n=Ref(\"_m\"), k=Const(60)), base=Const(7)),\n \"n\": MaxKDivides(target=Mul(Const(3298405373425259607612126134261475101689362001024197807662624517517639999039318430122489705670876658586191836853742515309796994372961355114600256703073105446567663412240797298429510469622379684047677320627272316853312544849439294149072316235192852913943993269545876245371820851194149985895112626887105465598514543051811148346637181128888656458006145788379647701072094435487919824999644248566817941905406544442294272), Const(56793525161155202816571568684417748713714735423455699439036840876061183961106779848519450541221971148846197521860802533035113199779295201587377250136812215017674718082126461770355461634050680679156132804153181503055887000364898773073092113457321052463507377298567903628104742808774016858979559762609087064772686791803998245073019771910512062420558963022665219796685791653320162074198581663533280205630289549117345098452637017993218315108083185745849299369869406261184884477584111005849246726342702338805147376039690353946173661365810114758356482903386460932770616537562312978533168059564108322081973806621584578293519638446087651249924211114075563600410818100745784412088864984362966072239799284145676843124905437474506168286373828763782582637592920855941872213367094899638272)), base=Ref(\"_n\")),\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": "V7", "lemma_paths": ["V7/K13"], "recipe_id": "a3c267", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["K13", "V7"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T03:30:05.594899Z", "verification": {"verified": true, "answer": 3954, "timestamp": "2026-02-08T03:30:05.596320Z"}, "problem_hash": "ddbbcb", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"V7": "ok", "K13": "ok_later", "K14": "no", "K16": "no", "K17": "no", "K5": "no", "MOD_SUB": "no"}, "split": "valid"} +{"id": "f4dd61", "alias": "comb_factorial_compute_v1_784195855_10343", "problem": "Let $m = 847$ and $n = 87818$. Let $d$ be the smallest divisor of $m$ that is at least $2$. Define $\\text{result} = d!$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 4937284$, and let $c$ be the minimum value of $x + y$ over all such pairs. Let $Q$ be the remainder when $c - \\text{result}$ is divided by $n$. Find $Q$.", "answer": 87222, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(847),\n \"_n\": Const(87818),\n \"n\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_m\"))))),\n \"result\": Factorial(Ref(\"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(4937284)))), 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": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "MIN_PRIME_FACTOR"], "recipe_id": "58c683", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:34:48.539705Z", "verification": {"verified": true, "answer": 87222, "timestamp": "2026-02-08T17:34:48.542226Z"}, "problem_hash": "7c7240", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 633}, "timestamp": "2026-02-12T23:07:45.952Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "no", "DS2": "no", "K18": "no", "MAX_PRIME_BELOW": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "4609af", "alias": "nt_count_gcd_equals_v1_865884756_6492", "problem": "Let $k$ be the number of prime numbers $n$ such that $2 \\leq n \\leq d_{\\min}$, where $d_{\\min}$ is the smallest divisor of $44270751694343$ that is at least 2. Let $u = 36864$ and $d = 15$. Compute the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq u$ and $\\gcd(n_1, k) = d$.", "answer": 1966, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"upper\": Const(36864),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_n\")), Leq(Var(\"n\"), MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Divides(divisor=Var(\"d1\"), dividend=Const(44270751694343)))))), IsPrime(Var(\"n\"))))),\n \"d\": Const(15),\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(\"k\")), Ref(\"d\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["MIN_PRIME_FACTOR/COUNT_PRIMES"], "recipe_id": "56ea03", "seed_template_id": "nt_count_gcd_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 7.702, "created_at": "2026-02-08T19:13:40.911725Z", "verification": {"verified": true, "answer": 1966, "timestamp": "2026-02-08T19:13:48.614209Z"}, "problem_hash": "e5661d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 492}, "timestamp": "2026-02-13T00:52:27.638Z"}], "solution_status": 0, "lemma_applicability": {"MIN_PRIME_FACTOR": "ok", "COUNT_PRIMES": "ok_later", "COUNT_DIVISOR_COUNT": "no", "DS2": "no", "MOD_SUB": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dbf4ea", "alias": "nt_count_phi_equals_v1_124444284_6649", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of positive integers such that $1 \\le a \\le 64$ and $1 \\le b \\le 64$. Define $\\ell$ to be the number of elements in $S$. Let $T$ be the set of all positive integers $n$ such that $1 \\le n \\le \\ell$ and $\\phi(n) = 1620$. Compute the number of elements in $T$.", "answer": 11, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(64)), right=IntegerRange(start=Const(1), end=Const(64)))),\n \"k\": Const(1620),\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": "C4", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.563, "created_at": "2026-02-08T08:34:25.544346Z", "verification": {"verified": true, "answer": 11, "timestamp": "2026-02-08T08:34:26.107616Z"}, "problem_hash": "f7ae5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 7, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 147, "completion_tokens": 8146}, "timestamp": "2026-02-13T19:42:39.543Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 209, "completion_tokens": 562}, "timestamp": "2026-02-12T01:59:51.984Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_PRIMES": "no", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "9ccae4", "alias": "antilemma_cartesian_v1_1439011603_280", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 30$ and $1 \\leq b \\leq 45$. Compute the remainder when $44121 \\cdot x$ is divided by $52642$.", "answer": 25248, "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(45)))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"x\")), modulus=Const(52642)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T15:23:39.622060Z", "verification": {"verified": true, "answer": 25248, "timestamp": "2026-02-08T15:23:39.623061Z"}, "problem_hash": "153a1d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 167, "completion_tokens": 408}, "timestamp": "2026-02-12T08:21:00.865Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "dcb2c6", "alias": "nt_euler_phi_compute_v1_1125832087_1998", "problem": "Let $p=19$, and let $t$ be the number of prime factors of $p$, counted with multiplicity. Define $a=13t$.\n\nLet $N$ be the number of integers $u$ such that there exist integers $v$ and $w$ satisfying\n\\[\n1\\le v\\le 69,\\quad 1\\le w\\le 593,\\quad 7\\le u\\le 1531,\\quad u = 5v + 2w.\n\\]\n\nConsider all ordered pairs $(x,y)$ of positive integers such that $xy = N$. For each such pair, form the sum $x+y$. Let $b$ be the minimum value of $x+y$ over all these pairs.\n\nLet\n\\[\nE = \\sum_{d\\mid \\gcd(a,b)} \\mu(d),\n\\]\nwhere $\\mu$ is the Möbius function. Define $n = 64516 + E$.\n\nCompute $\\varphi(n)$, where $\\varphi$ is Euler's totient function.", "answer": 32004, "graph": "graphs = [\n Graph(\n let={\n \"p\": Const(19),\n \"t\": BigOmega(n=Ref(name='p')),\n \"a\": Mul(Const(13), Ref(\"t\")),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=69)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=593)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=1531)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Sum(Const(64516), 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": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3/MOBIUS_COPRIME", "BIG_OMEGA_ONE"], "recipe_id": "e1d7f2", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "BIG_OMEGA_ONE", "LIN_FORM", "MOBIUS_COPRIME"], "num_lemmas": 4, "generation_time": 0.006, "created_at": "2026-02-08T04:16:48.613291Z", "verification": {"verified": true, "answer": 32004, "timestamp": "2026-02-08T04:16:48.619459Z"}, "problem_hash": "2a367f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ONE": "ok", "LIN_FORM": "ok", "B3": "ok_later", "MOBIUS_COPRIME": "ok_later", "DS2": "no", "K18": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V7": "no"}, "split": "valid"} +{"id": "9fa472", "alias": "diophantine_fbi2_min_v1_458359167_688", "problem": "Let $k$ be the number of integers $t$ for which there exist integers $a$ and $b$ satisfying $1\\le a\\le 14$, $1\\le b\\le 6$, $14\\le t\\le 164$, and\n$$t = 10a + 4b.$$\nLet $\\text{upper}=82$. Let $r$ be the smallest integer $d$ such that $2\\le d\\le \\text{upper}$, $d$ divides $k$, and $\\dfrac{k}{d} \\ge 5$.\nLet $m=29$ and $n=101$. Define\n\\[\nQ \\equiv 353702\\cdot (|r| \\bmod D) + 329703\\cdot\\Big(\\big(r^2 + \\sum_{d\\mid \\gcd(12,25)} \\mu(d)\\big) \\bmod n\\Big) + 215534\\cdot\\big((|r|+m) \\bmod 103\\big) \\pmod{1009091},\n\\]\nwhere $D$ is the smallest integer $d\\ge2$ such that $d$ divides $10497573673$, and $\\mu$ denotes the Möbius function. Finally, let $Q$ be reduced modulo $74578$.\n\nFind the remainder when $Q$ is divided by $100000$.", "answer": 69809, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(29),\n \"_n\": Const(101),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=14)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=6)), Geq(left=Var(name='t'), right=Const(value=14)), Leq(left=Var(name='t'), right=Const(value=164)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=4), Var(name='b'))))))))),\n \"upper\": Const(82),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Ref(\"upper\")), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5))))),\n \"Q\": 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(10497573673))))))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), SumOverDivisors(n=GCD(a=Const(value=12), b=Const(value=25)), var='d', expr=MoebiusMu(n=Var(name='d')))), modulus=Ref(\"_n\"))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Ref(\"_m\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Const(74578)),\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", "MOBIUS_COPRIME", "LIN_FORM"], "recipe_id": "7d2b71", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": "crt_mix_3", "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T03:30:22.388817Z", "verification": {"verified": true, "answer": 69809, "timestamp": "2026-02-08T03:30:22.399978Z"}, "problem_hash": "71851d", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "MOBIUS_COPRIME": "ok", "COUNT_COPRIME_GRID": "no", "K17": "no", "K5": "no", "L3c": "no", "V5": "no"}, "split": "valid"} +{"id": "ef40ff", "alias": "nt_sum_divisors_mod_v1_124444284_7413", "problem": "Let $S$ be the set of all integers $t$ such that $9 \\leq t \\leq 8114$ and there exist positive integers $a$ and $b$ with $1 \\leq a \\leq 2139$, $1 \\leq b \\leq 548$, and $t = 2a + 7b$. Let $N$ be the number of elements in $S$. Let $n$ be the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = N$. Let $\\sigma(n)$ denote the sum of the positive divisors of $n$. Compute the remainder when $71457 \\cdot \\sigma(n)$ is divided by $81712$.", "answer": 38898, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(81712),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=2139)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=548)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=8114)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=7), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"M\": Const(11149),\n \"sigma\": SumDivisors(n=Ref(\"n\")),\n \"result\": Mod(value=Ref(\"sigma\"), modulus=Ref(\"M\")),\n \"Q\": Mod(value=Mul(Const(71457), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_sum_divisors_mod_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T09:06:40.582649Z", "verification": {"verified": true, "answer": 38898, "timestamp": "2026-02-08T09:06:40.589129Z"}, "problem_hash": "dc8d56", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 38898, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 200, "completion_tokens": 4788}, "timestamp": "2026-02-14T00:35:23.142Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 649}, "timestamp": "2026-02-12T02:33:00.973Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "COUNT_PRIMES": "no", "K18": "no", "MOD_FACTORIAL": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "9d8efd", "alias": "nt_sum_over_divisible_v1_1439011603_2160", "problem": "Let the upper limit be $32041$. Define the divisor as the largest positive integer $d$ with $1 \\leq d \\leq 134$ that divides $18626$. Let the result be the sum of all positive integers $n$ with $1 \\leq n \\leq 32041$ such that $n$ is divisible by this divisor. Compute the remainder when $69673$ times the result is divided by $63893$.", "answer": 1541, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(32041),\n \"divisor\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(134)), Divides(divisor=Var(\"d\"), dividend=Const(18626))))),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"divisor\")), Const(0))))),\n \"_c\": Const(69673),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(63893)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 2.082, "created_at": "2026-02-08T16:34:54.906121Z", "verification": {"verified": true, "answer": 1541, "timestamp": "2026-02-08T16:34:56.987842Z"}, "problem_hash": "0037b3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 211, "completion_tokens": 438}, "timestamp": "2026-02-12T11:05:55.745Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_DIVISOR_COUNT": "no", "K18": "no", "LTE_DIFF": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "0072ff", "alias": "antilemma_sum_equals_v1_784195855_4984", "problem": "Let $c=36$. Let $m$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1+x_2=c.$$\n\nLet $n$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 72$ and $1\\le j\\le 81$.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 17$ and $1\\le j\\le 18$ such that\n$$i+j=m.$$\n\nLet $Q$ be the number of ordered pairs $(x_1,x_2)$ of positive integers such that $x_1$ and $x_2$ are odd and\n$$x_1+x_2=n,$$\nminus $x$.\n\nCompute $Q$.", "answer": 2899, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(36),\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=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(72)), right=IntegerRange(start=Const(1), end=Const(81)))),\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(17)), right=IntegerRange(start=Const(1), end=Const(18))))),\n \"Q\": Sub(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Ref(\"_n\"))))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COUNT_CARTESIAN/COUNT_SUM_EQUALS", "COUNT_CARTESIAN/COMB1", "COUNT_SUM_EQUALS"], "recipe_id": "cae7bb", "seed_template_id": "antilemma_sum_equals_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "COUNT_SUM_EQUALS"], "num_lemmas": 3, "generation_time": 0.011, "created_at": "2026-02-08T07:32:41.561236Z", "verification": {"verified": true, "answer": 2899, "timestamp": "2026-02-08T07:32:41.572347Z"}, "problem_hash": "e4daaf", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 2899, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 242, "completion_tokens": 1088}, "timestamp": "2026-02-13T11:13:53.010Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 316, "completion_tokens": 715}, "timestamp": "2026-02-12T01:10:07.541Z"}], "solution_status": 1, "lemma_applicability": {"COMB1": "ok", "COUNT_CARTESIAN": "ok", "COUNT_SUM_EQUALS": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b33ae6", "alias": "sequence_count_fib_divisible_v1_349078426_1196", "problem": "Let $d_{\\text{max}}$ be the largest positive divisor of $357603$ that does not exceed $597$. Let $r$ be the number of positive integers $n$ such that $1 \\leq n \\leq d_{\\text{max}}$ and $20$ divides the $n$-th Fibonacci number. Compute the smallest positive integer $k$ such that the $k$-th Fibonacci number is divisible by $|r| + 2$.", "answer": 8, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(597),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(357603))))),\n \"d\": Const(20),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Divides(divisor=Ref(\"d\"), dividend=Fibonacci(arg=Var(name='n')))))),\n \"Q\": FibonacciEntryPoint(modulus=Sum(Abs(arg=Ref(name='result')), Const(value=2))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V5", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "sequence_count_fib_divisible_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "V5"], "num_lemmas": 2, "generation_time": 0.111, "created_at": "2026-02-08T13:30:35.351377Z", "verification": {"verified": true, "answer": 8, "timestamp": "2026-02-08T13:30:35.462769Z"}, "problem_hash": "31d077", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 359}, "timestamp": "2026-02-12T06:58:12.240Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "K14": "no", "LTE_SUM": "no", "MOD_ADD": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b016c1", "alias": "comb_catalan_compute_v1_397696148_2051", "problem": "Let $n$ be the number of elements in the Cartesian product $\\{1, 2\\} \\times \\{1, 2, 3, 4, 5\\}$. Let $C_n$ denote the $n$th Catalan number, defined by\n$$\nC_n = \\frac{1}{n+1} \\binom{2n}{n}.\n$$\nCompute the remainder when $1 - C_n$ is divided by $84865$.", "answer": 68070, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(84865),\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(5)))),\n \"result\": Catalan(Ref(\"n\")),\n \"_c\": Const(1),\n \"Q\": Mod(value=Sub(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_catalan_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T12:55:48.733961Z", "verification": {"verified": true, "answer": 68070, "timestamp": "2026-02-08T12:55:48.735868Z"}, "problem_hash": "e1a56f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 204, "completion_tokens": 268}, "timestamp": "2026-02-12T05:54:57.710Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "bed709", "alias": "comb_count_partitions_v1_1125832087_2293", "problem": "Let $m = 168$. Define $a$ to be the number of ordered pairs $(x_1, x_2)$ of positive odd integers such that $x_1 + x_2 = m$. Let $n_1 = 5 + \\binom{8}{0}$. Define $$c = \\sum_{k=0}^{6} (-1)^k \\binom{6}{k} \\quad \\text{and} \\quad e = \\sum_{k=0}^{n_1} (-1)^k \\binom{n_1}{k}.$$ Let $n = a + c + e$. Compute the number of integer partitions of $n$.", "answer": 53174, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(168),\n \"_n\": Const(8),\n \"n2\": Const(6),\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 \"u\": Const(5),\n \"n1\": Sum(Ref(\"u\"), Binom(n=Ref(\"_n\"), k=Const(0))),\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\": Sum(CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), 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\"))))))))), Ref(\"c\"), Ref(\"e\")),\n \"result\": Partition(arg=Ref(name='n')),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/COMB1/BINOMIAL_ALTERNATING", "ONE_BINOM_0"], "recipe_id": "2900ae", "seed_template_id": "comb_count_partitions_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 2, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "ONE_BINOM_0"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T04:30:10.825369Z", "verification": {"verified": true, "answer": 53174, "timestamp": "2026-02-08T04:30:10.829553Z"}, "problem_hash": "91002c", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-11T09:15:50.046Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 254, "completion_tokens": 8192}, "timestamp": "2026-02-10T16:47:57.637Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 23958455, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 1612}, "timestamp": "2026-02-12T00:42:42.528Z"}, {"id": 8, "model": "mathstral", "answer": 15, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 644}, "timestamp": "2026-02-13T17:13:43.214Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 245, "completion_tokens": 489}, "timestamp": "2026-02-11T21:32:18.814Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "ONE_BINOM_0": "ok", "BINOMIAL_ALTERNATING": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "733571", "alias": "nt_sum_phi_v1_1248542787_278", "problem": "Let $n = 63001$. Let $S$ be the set of all ordered pairs $(i,j)$ of positive integers such that $1 \\leq i \\leq 20$ and $1 \\leq j \\leq 20$. Let $T$ be the set of all positive integers $k$ such that $1 \\leq k \\leq |S|$. Compute the value of $n - \\sum_{k \\in T} \\phi(k)$, where $\\phi$ denotes Euler's totient function.", "answer": 14323, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(63001),\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(20)), right=IntegerRange(start=Const(1), end=Const(20)))),\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\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.024, "created_at": "2026-02-08T03:02:32.121802Z", "verification": {"verified": true, "answer": 14323, "timestamp": "2026-02-08T03:02:32.145455Z"}, "problem_hash": "41ac70", "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": 227, "completion_tokens": 8192}, "timestamp": "2026-02-09T02:20:23.081Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 8192}, "timestamp": "2026-02-09T14:40:59.476Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:28:32.606Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 23001, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 170, "completion_tokens": 502}, "timestamp": "2026-02-12T00:33:09.322Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 152, "completion_tokens": 8192}, "timestamp": "2026-02-11T03:25:18.556Z"}, {"id": 8, "model": "mathstral", "answer": 60121, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 172, "completion_tokens": 646}, "timestamp": "2026-02-11T12:11:14.430Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 216, "completion_tokens": 482}, "timestamp": "2026-02-11T20:08:01.874Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "LTE_DIFF": "no", "LTE_SUM": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "e11fe9", "alias": "comb_count_permutations_fixed_v1_865884756_114", "problem": "Let $m = 9$. Let $\\_n$ be the number of positive integers $n_1$ such that $1 \\leq n_1 \\leq 1044$ and $m$ divides the $n_1$-th Fibonacci number. Let $n$ be the number of positive integers $n_2$ such that $1 \\leq n_2 \\leq \\_n$ and $n_2 \\equiv \\left\\lfloor \\frac{n_2}{2} \\right\\rfloor \\pmod{11}$. Compute the number of derangements of $n$ elements.", "answer": 1854, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(9),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(1044)), Divides(divisor=Ref(\"_m\"), dividend=Fibonacci(arg=Var(name='n1')))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(1)), Leq(Var(\"n2\"), Ref(\"_n\")), Congruent(a=Var(name='n2'), b=Floor(arg=Div(left=Var(name='n2'), right=Const(value=2))), modulus=Const(value=11))))),\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": "COUNT_FIB_DIVISIBLE", "lemma_paths": ["COUNT_FIB_DIVISIBLE/L3C"], "recipe_id": "4dc414", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "L3C"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:11:06.094385Z", "verification": {"verified": true, "answer": 1854, "timestamp": "2026-02-08T15:11:06.100346Z"}, "problem_hash": "d2916e", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 1854, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 244, "completion_tokens": 2848}, "timestamp": "2026-02-10T04:14:18.539Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 652}, "timestamp": "2026-02-11T21:19:33.161Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "L3C": "ok_later", "COUNT_PRIMES": "no", "MAX_VAL": "no", "V5": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.62, "hi": 1.56}, "split": "valid"} +{"id": "82690d", "alias": "nt_count_intersection_v1_458359167_1167", "problem": "Let $p$ be the largest prime number such that $2 \\leq p \\leq 52$. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 79524$. Let $t$ be the minimum value of $x + y$ over all such pairs. Let $b$ be the number of positive integers $k$ such that $1 \\leq k \\leq t$ and $p$ divides $k$. Let $N = 20000$ and $a = 11$. Compute the number of positive integers $n$ such that $1 \\leq n \\leq N$, $a$ divides $n$, and $\\gcd(n, b) = 1$.", "answer": 606, "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(52)), IsPrime(Var(\"n\"))))),\n \"N\": Const(20000),\n \"a\": Const(11),\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(79524)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Ref(\"_n\"), 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(\"N\")), Divides(divisor=Ref(\"a\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"b\")), Const(1))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/C2", "B3/C2"], "recipe_id": "1b02bb", "seed_template_id": "nt_count_intersection_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "C2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 1.301, "created_at": "2026-02-08T04:25:50.498577Z", "verification": {"verified": true, "answer": 606, "timestamp": "2026-02-08T04:25:51.799194Z"}, "problem_hash": "ca9008", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 606, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 270, "completion_tokens": 1173}, "timestamp": "2026-02-10T16:28:43.719Z"}, {"id": 8, "model": "mathstral", "answer": 1678, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 223, "completion_tokens": 565}, "timestamp": "2026-02-13T14:51:47.038Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1441, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 265, "completion_tokens": 656}, "timestamp": "2026-02-11T20:45:56.598Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "C2": "ok_later", "K13": "no", "K15": "no", "MOD_MUL": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "0847de", "alias": "nt_num_divisors_compute_v1_1978505735_2548", "problem": "Let $A$ 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 p$, and $\\gcd(p, q) = 1$. Let $\\beta$ be the number of elements in $T$.\n\nCompute the value of\n\n$$\n\\frac{\\alpha \\cdot 21^4 - 125 \\cdot 21^3 - 796 \\cdot 21^2 + \\beta + 15035}{21}.\n$$", "answer": 4427, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"a\": Const(21),\n \"result\": Div(Sum(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=28)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=41)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=1113)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))), Pow(Ref(\"a\"), Const(4))), Mul(Const(-125), Pow(Ref(\"a\"), Const(3))), Mul(Const(-796), Pow(Ref(\"a\"), Ref(\"_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=102524725461743995410)), 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(15035)),\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", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T17:20:07.678449Z", "verification": {"verified": true, "answer": 4427, "timestamp": "2026-02-08T17:20:07.690338Z"}, "problem_hash": "2b237f", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 329, "completion_tokens": 547}, "timestamp": "2026-02-12T22:19:49.388Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "COUNT_DIVISOR_COUNT": "no", "K14": "no", "MOD_SUB": "no", "V5": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "33df08", "alias": "modular_product_range_v1_2051736721_804", "problem": "Let $n = 29$. Let $T$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 6682225$. Let $s$ be the minimum value of $x + y$ over all such pairs. Let $m$ be the number of positive integers $n$ such that $n \\leq s$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{11}$. Define $\\text{prod} = \\prod_{i=29}^{m} i$. Compute the remainder when $\\text{prod}$ is divided by $10457$.", "answer": 1250, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(29),\n \"prod\": MathProduct(expr=Var(\"i\"), var=\"i\", start=Ref(\"_n\"), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), MinOverSet(set=MapOverSet(set=SolutionsSet(var=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(6682225)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))),\n \"result\": Mod(value=Ref(\"prod\"), modulus=Const(10457)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3/L3C"], "recipe_id": "345f3b", "seed_template_id": "modular_product_range_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "L3C"], "num_lemmas": 2, "generation_time": 0.006, "created_at": "2026-02-08T15:41:22.720256Z", "verification": {"verified": true, "answer": 1250, "timestamp": "2026-02-08T15:41:22.726169Z"}, "problem_hash": "97282d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 373}, "timestamp": "2026-02-12T08:55:57.359Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "L3C": "ok_later", "C2": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "72ece8", "alias": "algebra_poly_eval_v1_1915831931_845", "problem": "Let $c = 4$. Compute the sum\n$$\n\\sum_{k=1}^{4} \\varphi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor,\n$$\nwhere $\\varphi(k)$ is Euler's totient function.\n\nLet $m = 25$. 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 $t$ be the number of elements in $P$.\n\nLet $r$ be the largest prime number $n$ such that $2 \\leq n \\leq 8$.\n\nCompute the value of\n$$\n4m^3 + 10m^t + \\left(\\sum_{k=1}^{4} \\varphi(k) \\left\\lfloor \\frac{c}{k} \\right\\rfloor\\right) m + r.\n$$", "answer": 69007, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(4),\n \"_m\": Const(2),\n \"_n\": Summation(var=\"k\", start=Const(1), end=Const(4), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Ref(\"_c\"), Var(\"k\"))))),\n \"m\": Const(25),\n \"result\": Sum(Mul(Const(4), Pow(Ref(\"m\"), Const(3))), Mul(Const(10), 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=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(\"m\")), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Ref(\"_m\")), Leq(Var(\"n\"), Const(8)), IsPrime(Var(\"n\")))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/COPRIME_PAIRS", "MAX_PRIME_BELOW"], "recipe_id": "653990", "seed_template_id": "algebra_poly_eval_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "K2", "MAX_PRIME_BELOW"], "num_lemmas": 3, "generation_time": 0.007, "created_at": "2026-02-08T15:42:49.803015Z", "verification": {"verified": true, "answer": 69007, "timestamp": "2026-02-08T15:42:49.809889Z"}, "problem_hash": "6a0fa3", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9828187, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 321, "completion_tokens": 596}, "timestamp": "2026-02-12T08:58:16.921Z"}], "solution_status": 0, "lemma_applicability": {"K2": "ok", "MAX_PRIME_BELOW": "ok", "COPRIME_PAIRS": "ok_later", "COUNT_PRIMES": "no", "DS2": "no", "L3c": "no", "LTE_SUM": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "ff4bc4", "alias": "diophantine_sum_product_min_v1_1742523217_5330", "problem": "Let $A$ be the set of all pairs of positive integers $(p, q)$ such that $p \\cdot q = 216$, $\\gcd(p, q) = 1$, and $p < q$. Let $m$ be the number of such pairs. Let $B$ be the set of all prime numbers $n$ such that $m \\leq n \\leq 79$. Define $N$ to be the number of elements in $B$. Let $S = 23$. Let $P$ be the number of integers $t$ with $8 \\leq t \\leq 91$ for which there exist positive integers $a \\leq 17$ and $b \\leq 8$ such that $t = 3a + 5b$. Determine the smallest positive integer $x \\leq N$ such that $x(S - x) = P$. Compute this value of $x$.", "answer": 4, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(79),\n \"_n\": 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(\"_m\")), IsPrime(Var(\"n\"))))),\n \"S\": Const(23),\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=17)), 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=8)), Leq(left=Var(name='t'), right=Const(value=91)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"_n\")), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/COUNT_PRIMES/LIN_FORM"], "recipe_id": "87b6ce", "seed_template_id": "diophantine_sum_product_min_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.008, "created_at": "2026-02-08T10:55:28.281073Z", "verification": {"verified": true, "answer": 4, "timestamp": "2026-02-08T10:55:28.289075Z"}, "problem_hash": "25edf5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 4, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 236, "completion_tokens": 3886}, "timestamp": "2026-02-14T09:39:50.440Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 300, "completion_tokens": 444}, "timestamp": "2026-02-12T03:32:48.861Z"}], "solution_status": 1, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_PRIMES": "ok_later", "LIN_FORM": "ok_later", "K14": "no", "K5": "no", "L3c": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "8d13be", "alias": "nt_sum_divisors_range_v1_124444284_1314", "problem": "Let $g = 16$, $m = 1$, and $n = 2$. Define $a = g \\cdot m$ and $b = g \\cdot n$. Let $h$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $\\gcd(a, b)$, where $\\mu$ is the Möbius function. Let $\\text{upper}$ be the number of positive integers $k$ such that $1 \\leq k \\leq 2650384$ and $484$ divides $k$. Define $\\text{result}$ to be the sum of $\\tau(n)$ for all positive integers $n$ from $1$ to $\\text{upper}$, where $\\tau(n)$ is the number of positive divisors of $n$. Let $u = \\Omega(1)$, where $\\Omega(n)$ counts the number of prime factors of $n$ with multiplicity. Compute the remainder when $$353702 \\cdot |\\text{result}| \\bmod 97 + 329703 \\cdot \\left(|\\text{result}|^2 + 1\\right) \\bmod 101 + 215534 \\cdot \\left(|\\text{result}| + 33\\right) \\bmod 103$$ is divided by $1009091$, and then compute the remainder when that result is divided by $54504 + h$. Report the final remainder.", "answer": 42428, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(97),\n \"n1\": Const(1),\n \"u\": BigOmega(n=Ref(name='n1')),\n \"g\": Const(16),\n \"m\": Const(1),\n \"n\": Const(2),\n \"a\": Mul(Ref(\"g\"), Ref(\"m\")),\n \"b\": Mul(Ref(\"g\"), Ref(\"n\")),\n \"h\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"upper\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(2650384)), Divides(divisor=Const(484), 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=NumDivisors(n=Var(\"n\")))),\n \"_c\": Const(33),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Ref(\"_n\"))), Mul(Sum(Const(329703), Ref(\"u\")), 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=Sum(Const(54504), Ref(\"h\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "MOBIUS_COPRIME", "lemma_paths": ["MOBIUS_COPRIME", "BIG_OMEGA_ZERO", "C2"], "recipe_id": "28293c", "seed_template_id": "nt_sum_divisors_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "C2", "MOBIUS_COPRIME"], "num_lemmas": 3, "generation_time": 0.197, "created_at": "2026-02-08T03:49:09.057526Z", "verification": {"verified": true, "answer": 42428, "timestamp": "2026-02-08T03:49:09.254207Z"}, "problem_hash": "7e8431", "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": 412, "completion_tokens": 8192}, "timestamp": "2026-02-10T06:06:20.161Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 412, "completion_tokens": 8192}, "timestamp": "2026-02-09T12:42:16.983Z"}], "solution_status": 0, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "C2": "ok", "MOBIUS_COPRIME": "ok", "COUNT_SUM_EQUALS": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "V1": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "8ee5c5", "alias": "nt_lcm_compute_v1_677425708_2316", "problem": "Let $m$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 62$. Let $n = 99695$. Let $a = 2356$. Define $b$ as\n$$\n\\sum_{k=1}^{62} \\varphi(k) \\left\\lfloor \\frac{s}{k} \\right\\rfloor,\n$$\nwhere $s$ is the minimum value of $x + y$ over all pairs of positive integers $(x, y)$ such that $xy = m$. Let $\\text{result} = \\text{lcm}(a, b)$. Compute the remainder when $99454 \\cdot \\text{result}$ is divided by $99695$.", "answer": 19357, "graph": "graphs = [\n Graph(\n let={\n \"_m\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(62)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"_n\": Const(99695),\n \"a\": Const(2356),\n \"b\": Summation(var=\"k\", start=Const(1), end=Const(62), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(MinOverSet(set=MapOverSet(set=SolutionsSet(var=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\")))), Var(\"k\"))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(99454), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B1", "lemma_paths": ["B1/B3/K2"], "recipe_id": "b865d9", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B1", "B3", "K2"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T04:59:55.127276Z", "verification": {"verified": true, "answer": 19357, "timestamp": "2026-02-08T04:59:55.129894Z"}, "problem_hash": "af0c16", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 19357, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 2596}, "timestamp": "2026-02-11T22:36:48.298Z"}, {"id": 8, "model": "mathstral", "answer": 47120, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 232, "completion_tokens": 478}, "timestamp": "2026-02-14T05:00:57.996Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 275, "completion_tokens": 593}, "timestamp": "2026-02-11T22:07:53.402Z"}], "solution_status": 1, "lemma_applicability": {"B1": "ok", "B3": "ok_later", "K2": "ok_later", "L3c": "no", "LTE_SUM": "no", "MOD_SUB": "no", "V3": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "13e5b6", "alias": "nt_gcd_compute_v1_151522320_871", "problem": "Let $a = 429000$ and $b = 804375$. Let $d = \\gcd(a, b)$. Let $k$ be the number of positive integers $n \\leq 133$ such that $7$ divides $n$ and $\\gcd(n, 30) = 1$. Compute the remainder when\n$$\n353702 \\cdot (d \\bmod 97) + 329703 \\cdot (d^2 + 1 \\bmod 101) + 215534 \\cdot \\left(d + \\sum_{j=1}^{k} j \\bmod 103\\right)\n$$\nis divided by $1009091$, and then find the remainder when that result is divided by $85360$.", "answer": 3919, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(85360),\n \"a\": Const(429000),\n \"b\": Const(804375),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mod(value=Sum(Mul(Const(353702), Mod(value=Abs(arg=Ref(name='result')), modulus=Const(97))), Mul(Const(329703), Mod(value=Sum(Pow(Abs(arg=Ref(name='result')), Const(2)), Const(1)), modulus=Const(101))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='result')), Summation(var=\"k\", start=Const(1), end=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(133)), Divides(divisor=Ref(\"_m\"), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(30)), Const(1))))), expr=Var(\"k\"))), modulus=Const(103)))), 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": "C5", "lemma_paths": ["C5/SUM_ARITHMETIC"], "recipe_id": "2201a4", "seed_template_id": "nt_gcd_compute_v1", "ending_id": "crt_mix_3", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "SUM_ARITHMETIC"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T03:37:04.638925Z", "verification": {"verified": true, "answer": 3919, "timestamp": "2026-02-08T03:37:04.644215Z"}, "problem_hash": "567955", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 3919, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 2596}, "timestamp": "2026-02-10T15:12:19.718Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 3919, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 272, "completion_tokens": 3886}, "timestamp": "2026-02-10T13:59:03.878Z"}, {"id": 8, "model": "mathstral", "answer": 72, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 870}, "timestamp": "2026-02-12T20:06:43.186Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 294, "completion_tokens": 406}, "timestamp": "2026-02-11T20:03:21.989Z"}], "solution_status": 1, "lemma_applicability": {"C5": "ok", "SUM_ARITHMETIC": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "255015", "alias": "nt_max_prime_below_v1_151522320_935", "problem": "Let $n_1$ be the maximum value of $k$ such that $3^k$ divides\n$$\n2^{\\max\\{p \\mid p \\text{ is prime and } 2 \\leq p \\leq 4\\}} + 1^3.\n$$\nLet $S$ be the set of all prime numbers $p$ such that $n_1 \\leq p \\leq 40320$. Compute the largest element of $S$.", "answer": 40289, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"upper\": Const(40320),\n \"result\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), MaxKDivides(target=Sum(Pow(Const(2), MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(4)), IsPrime(Var(\"n\")))))), Pow(Const(1), Const(3))), base=Ref(\"_n\"))), 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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LTE_SUM"], "recipe_id": "b69834", "seed_template_id": "nt_max_prime_below_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LTE_SUM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 2.755, "created_at": "2026-02-08T03:40:34.535132Z", "verification": {"verified": true, "answer": 40289, "timestamp": "2026-02-08T03:40:37.289928Z"}, "problem_hash": "bb00e6", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "LTE_SUM": "ok_later", "COUNT_COPRIME_GRID": "no", "MOD_FACTORIAL": "no", "V5": "no", "V8": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "22161e", "alias": "nt_sum_totient_over_divisors_v1_655260480_6022", "problem": "Let $n = 69714$. Compute $\\sum_{d \\mid n} \\phi(d)$, where the sum is over all positive divisors $d$ of $n$ and $\\phi$ denotes Euler's totient function. Let $S$ be the set of all positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $k$ be the number of elements in $S$. Find the remainder when $k$ minus the computed sum is divided by $77451$.", "answer": 7739, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(69714),\n \"result\": SumOverDivisors(n=Ref(name='n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Mod(value=Sub(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(\"result\")), modulus=Const(77451)),\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"], "recipe_id": "c90628", "seed_template_id": "nt_sum_totient_over_divisors_v1", "ending_id": "negation_mod", "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.003, "created_at": "2026-02-08T18:47:02.089968Z", "verification": {"verified": true, "answer": 7739, "timestamp": "2026-02-08T18:47:02.093070Z"}, "problem_hash": "d257d4", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 77441, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 242, "completion_tokens": 542}, "timestamp": "2026-02-13T00:31:26.728Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "K16": "no", "L3c": "no", "MOD_SUB": "no", "V1": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cef1ec", "alias": "nt_min_coprime_above_v1_898971024_431", "problem": "Let $S$ be the Cartesian product of the set $\\{1, 2, \\ldots, 18\\}$ and $\\{1, 2, \\ldots, 23\\}$. Let $m$ be the number of elements in $S$. Determine the smallest integer $n$ such that $15625 < n \\leq 16049$ and $\\gcd(n, m) = 1$. Compute $60000$ minus this value of $n$.", "answer": 44371, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60000),\n \"start\": Const(15625),\n \"upper\": Const(16049),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(18)), right=IntegerRange(start=Const(1), end=Const(23)))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Gt(Var(\"n\"), Ref(\"start\")), Leq(Var(\"n\"), Ref(\"upper\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"modulus\")), Const(1))))),\n \"Q\": Sub(Ref(\"_n\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.046, "created_at": "2026-02-08T15:27:06.792421Z", "verification": {"verified": true, "answer": 44371, "timestamp": "2026-02-08T15:27:06.838285Z"}, "problem_hash": "9575a5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 423}, "timestamp": "2026-02-12T08:33:38.666Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "DS2": "no", "K16": "no", "MOD_FACTORIAL": "no", "V3": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "876562", "alias": "antilemma_cartesian_v1_124444284_8465", "problem": "Let $x$ be the number of ordered pairs $(a,b)$ such that $a$ is an integer satisfying $1 \\leq a \\leq 23$ and $b$ is an integer satisfying $1 \\leq b \\leq 26$. Compute the remainder when $43529 \\cdot x$ is divided by $98913$.", "answer": 16223, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(23)), right=IntegerRange(start=Const(1), end=Const(26)))),\n \"Q\": Mod(value=Mul(Const(43529), Ref(\"x\")), modulus=Const(98913)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.0, "created_at": "2026-02-08T09:43:37.358183Z", "verification": {"verified": true, "answer": 16223, "timestamp": "2026-02-08T09:43:37.358667Z"}, "problem_hash": "b1542a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16223, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 116, "completion_tokens": 671}, "timestamp": "2026-02-14T05:46:05.000Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 317}, "timestamp": "2026-02-12T03:06:57.963Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e733db", "alias": "nt_num_divisors_compute_v1_124444284_9796", "problem": "Let $n$ be the number of ordered pairs $(i, j)$ such that $1 \\leq i \\leq 98$ and $1 \\leq j \\leq 98$. Compute the number of positive divisors of $n$.", "answer": 15, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(98)), right=IntegerRange(start=Const(1), end=Const(98)))),\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": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.121, "created_at": "2026-02-08T12:40:56.049108Z", "verification": {"verified": true, "answer": 15, "timestamp": "2026-02-08T12:40:56.169697Z"}, "problem_hash": "787a29", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 153, "completion_tokens": 211}, "timestamp": "2026-02-12T05:28:34.062Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K13": "no", "K17": "no", "V7": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "2db54e", "alias": "antilemma_cartesian_v1_1440796553_1149", "problem": "Compute the number of ordered pairs $(a,b)$ such that $1 \\le a \\le 12$ and $1 \\le b \\le 12$. Let this number be $x$. Compute $x + \\phi(x+1) + \\tau\\left(x + \\binom{6}{6}\\right)$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 260, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(12)), right=IntegerRange(start=Const(1), end=Const(12)))),\n \"Q\": Sum(Ref(\"x\"), EulerPhi(n=Sum(Abs(arg=Ref(name='x')), Const(1))), NumDivisors(n=Sum(Abs(arg=Ref(name='x')), Binom(n=Const(6), k=Const(6))))),\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"], "recipe_id": "f14704", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN", "ONE_BINOM_N"], "num_lemmas": 2, "generation_time": 0.001, "created_at": "2026-02-08T12:12:21.797010Z", "verification": {"verified": true, "answer": 260, "timestamp": "2026-02-08T12:12:21.797962Z"}, "problem_hash": "5011c4", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 260, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 137, "completion_tokens": 531}, "timestamp": "2026-02-14T23:02:37.355Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 203, "completion_tokens": 331}, "timestamp": "2026-02-12T05:01:24.346Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "ONE_BINOM_N": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "fb15f0", "alias": "nt_gcd_compute_v1_153355830_1375", "problem": "Let $e = \\sum_{d \\mid 21} \\phi(d) - 21$. Let $p$ be the number of integers $t$ with $7 \\leq t \\leq 27$ for which there exist positive integers $a \\leq 3$ and $b \\leq 6$ such that $t = 5a + 2b$. Let $n = p^3$ and let $v = \\lambda(n) + 1$, where $\\lambda$ denotes the Liouville function. Define $a = 159336 + e + v$ and $b = 358506$. Let $g = \\gcd(a, b)$. Compute the remainder when $11721 \\cdot g$ is divided by $61061$.", "answer": 21908, "graph": "graphs = [\n Graph(\n let={\n \"n1\": Const(21),\n \"e\": Sub(SumOverDivisors(n=Ref(name='n1'), var='d', expr=EulerPhi(n=Var(name='d'))), Ref(\"n1\")),\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=3)), 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=27)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"n\": Pow(Ref(\"p\"), Const(3)),\n \"v\": Sum(LiouvilleLambda(n=Ref(name='n')), Const(1)),\n \"a\": Sum(Const(159336), Ref(\"e\"), Ref(\"v\")),\n \"b\": Const(358506),\n \"result\": GCD(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(11721),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(61061)),\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", "EULER_TOTIENT_SUM"], "recipe_id": "466bdd", "seed_template_id": "nt_gcd_compute_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 2, "lemma_set": ["EULER_TOTIENT_SUM", "LIN_FORM", "LIOUVILLE_MINUS_ONE"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T06:22:23.884923Z", "verification": {"verified": true, "answer": 21908, "timestamp": "2026-02-08T06:22:23.889558Z"}, "problem_hash": "050bf3", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"EULER_TOTIENT_SUM": "ok", "LIN_FORM": "ok", "LIOUVILLE_MINUS_ONE": "ok_later", "C2": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no", "V3": "no"}, "split": "valid"} +{"id": "77d126", "alias": "nt_sum_phi_v1_2051736721_2692", "problem": "Let $A$ be the sum of $\\phi(n)$ for all positive integers $n \\leq 441$, where $\\phi$ is Euler's totient function. Let $B$ be the number of unordered pairs of coprime positive integers $(p, q)$ with $p < q$ and $pq = 3638250$. Compute the remainder when $B - A$ is divided by $60202$.", "answer": 992, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(60202),\n \"upper\": Const(441),\n \"result\": SumOverSet(set=MapOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")))), expr=EulerPhi(n=Var(\"n\")))),\n \"Q\": Mod(value=Sub(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=3638250)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))), Ref(\"result\")), 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"], "recipe_id": "c90628", "seed_template_id": "nt_sum_phi_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.049, "created_at": "2026-02-08T16:50:46.683745Z", "verification": {"verified": true, "answer": 992, "timestamp": "2026-02-08T16:50:46.732767Z"}, "problem_hash": "10aece", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 200, "completion_tokens": 501}, "timestamp": "2026-02-12T21:11:31.515Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "C2": "no", "K15": "no", "MOD_ADD": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6f6311", "alias": "antilemma_coprime_grid_v1_153355830_507", "problem": "Let $x$ be the number of ordered pairs $(i, j)$ of integers with $1 \\leq i \\leq 15$ and $1 \\leq j \\leq 15$ such that $\\gcd(i, j) = 1$. Let $P$ be the largest prime number at most 100, and let $D$ be the smallest divisor of 114651463 that is at least 2. Compute the value of\n\\[\n(353702 \\cdot (|x| \\bmod P) + 329703 \\cdot ((x^2) \\bmod 1) + 215534 \\cdot (|x| \\bmod 16)) \\bmod 1009091,\n\\]\nand then take the result modulo 88721.", "answer": 65259, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88721),\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(15)), right=IntegerRange(start=Const(1), end=Const(15))))),\n \"_c\": Const(16),\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\"), Const(100)), IsPrime(Var(\"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(114651463))))))), Mul(Const(215534), Mod(value=Sum(Abs(arg=Ref(name='x')), Ref(\"_c\")), modulus=Const(103)))), modulus=Const(1009091)), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MIN_PRIME_FACTOR", "lemma_paths": ["MIN_PRIME_FACTOR", "MAX_PRIME_BELOW", "COUNT_COPRIME_GRID"], "recipe_id": "da4215", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": "crt_mix_3", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T03:08:26.479072Z", "verification": {"verified": true, "answer": 65259, "timestamp": "2026-02-08T03:08:26.482302Z"}, "problem_hash": "b0ac6f", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "MAX_PRIME_BELOW": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_CARTESIAN": "no", "K15": "no", "K18": "no", "LTE_DIFF": "no", "V8": "no"}, "split": "valid"} +{"id": "4f64c5", "alias": "sequence_fibonacci_compute_v1_865884756_3164", "problem": "Let $c = 31$. Define $m$ to be the number of positive integers $k$ such that $1 \\leq k \\leq 1426$ and $c$ divides $k$. Define $n_1$ to be the number of positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $n$ be the number of integers $n_1$ with $1 \\leq n_1 \\leq m$ such that the sum of the decimal digits of $n_1$ is divisible by $n_1$. Compute the $n$-th Fibonacci number, where $F_1 = 1$, $F_2 = 1$, and $F_k = F_{k-1} + F_{k-2}$ for $k \\geq 3$.", "answer": 28657, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(31),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(1426)), Divides(divisor=Ref(\"_c\"), dividend=Var(\"k\"))), domain='positive_integers')),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"p\"), condition=And(IsPositive(arg=Var(name='p')), Exists(var=Var(name='q'), condition=And(Eq(left=Mul(Var(name='p'), Var(name='q')), right=Const(value=36)), Eq(left=GCD(a=Var(name='p'), b=Var(name='q')), right=Const(value=1)), Lt(left=Var(name='p'), right=Var(name='q'))))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Ref(\"_m\")), Eq(Mod(value=DigitSum(Var(\"n1\")), modulus=Ref(\"_n\")), Const(0))))),\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": "C2", "lemma_paths": ["C2/COPRIME_PAIRS/L3B"], "recipe_id": "f838bf", "seed_template_id": "sequence_fibonacci_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C2", "COPRIME_PAIRS", "L3B"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T17:12:25.734328Z", "verification": {"verified": true, "answer": 28657, "timestamp": "2026-02-08T17:12:25.737529Z"}, "problem_hash": "07227e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 1, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 301, "completion_tokens": 491}, "timestamp": "2026-02-12T22:00:31.700Z"}], "solution_status": 0, "lemma_applicability": {"C2": "ok", "COPRIME_PAIRS": "ok_later", "L3B": "ok_later", "K15": "no", "L3b": "no", "MAX_PRIME_BELOW": "no", "MOD_MUL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "c8acb4", "alias": "comb_count_permutations_fixed_v1_1080341949_111", "problem": "Let $n$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 2$, $1 \\le j \\le 6$, and $\\gcd(i,j) = 1$. Let $k$ be the number of ordered pairs $(i,j)$ of positive integers such that $1 \\le i \\le 5$, $1 \\le j \\le 5$, and $i + j = 7$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!m$ denotes the number of derangements of $m$ elements.", "answer": 5544, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(7),\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(6))))),\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(5)), right=IntegerRange(start=Const(1), end=Const(5))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_COPRIME_GRID", "lemma_paths": ["COUNT_COPRIME_GRID", "COUNT_SUM_EQUALS"], "recipe_id": "8791b6", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "COUNT_SUM_EQUALS"], "num_lemmas": 2, "generation_time": 0.022, "created_at": "2026-02-08T13:13:25.846730Z", "verification": {"verified": true, "answer": 5544, "timestamp": "2026-02-08T13:13:25.868621Z"}, "problem_hash": "9a48c9", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 237, "completion_tokens": 478}, "timestamp": "2026-02-12T06:19:44.506Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_SUM_EQUALS": "ok", "K13": "no", "K14": "no", "K15": "no", "LTE_DIFF": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e59dc2", "alias": "comb_sum_binomial_mod_v1_1915831931_4196", "problem": "Let $n = 155$. Let $d_{\\text{max}}$ be the largest positive divisor $d$ of $24335$ such that $d \\leq 155$. Compute the remainder when\n$$\n\\sum_{k=21}^{138} \\binom{d_{\\text{max}}}{k}\n$$\nis divided by $10477$. Then multiply this remainder by $44121$, and compute the remainder when the result is divided by $64429$.", "answer": 46273, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(155),\n \"sum\": Summation(var=\"k\", start=Const(21), end=Const(138), expr=Binom(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(24335))))), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(10477)),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(64429)),\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"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.019, "created_at": "2026-02-08T18:11:00.724833Z", "verification": {"verified": true, "answer": 46273, "timestamp": "2026-02-08T18:11:00.744297Z"}, "problem_hash": "0e1012", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 219, "completion_tokens": 468}, "timestamp": "2026-02-12T23:49:32.447Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K17": "no", "LTE_DIFF_P2": "no", "MAX_VAL": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b9f6a7", "alias": "nt_euler_phi_compute_v1_784195855_2790", "problem": "Let $n = 40804$. Consider the set of all positive integers $p$ for which there exists a positive integer $q$ such that $pq = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $s$ be the number of elements in this set. Define $n_2 = \\phi(s)$, where $\\phi$ denotes Euler's totient function. Let $c$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_2$, where $\\mu$ is the M\\\"obius function. Define $n_1 = \\phi(2) \\cdot c$. Let $e$ be the sum of $\\mu(d)$ over all positive divisors $d$ of $n_1$. Define $n = 40804 \\cdot e$. Determine the value of $\\phi(n)$.", "answer": 20200, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(40804),\n \"n2\": 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')))))))),\n \"c\": SumOverDivisors(n=Ref(name='n2'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Mul(EulerPhi(n=Const(2)), Ref(\"c\")),\n \"e\": SumOverDivisors(n=Ref(name='n1'), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n\": Mul(Ref(\"_n\"), 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": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS/ONE_PHI_2/MOBIUS_SUM"], "recipe_id": "875fcc", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["COPRIME_PAIRS", "MOBIUS_SUM", "ONE_PHI_2"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T06:02:57.770903Z", "verification": {"verified": true, "answer": 20200, "timestamp": "2026-02-08T06:02:57.773015Z"}, "problem_hash": "644e05", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COPRIME_PAIRS": "ok", "MOBIUS_SUM": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "K5": "no", "L3b": "no", "MAX_VAL": "no"}, "split": "valid"} +{"id": "603fd8", "alias": "nt_lcm_compute_v1_655260480_5527", "problem": "Let $a = \\sum_{k=1}^{41} \\phi(k) \\left\\lfloor \\frac{41}{k} \\right\\rfloor$, where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all ordered pairs $(x, y)$ of positive integers such that $xy = 438244$. Define $b$ to be the minimum value of $x + y$ over all pairs in $S$. Let $\\ell$ be the least common multiple of $a$ and $b$. Find the remainder when $2^{\\ell} + 44521$ is divided by $99991$.", "answer": 63632, "graph": "graphs = [\n Graph(\n let={\n \"a\": Summation(var=\"k\", start=Const(1), end=Const(41), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(41), Var(\"k\"))))),\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(438244)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(44521),\n \"Q\": Sum(ModExp(base=Const(2), exp=Abs(arg=Ref(name='result')), mod=Const(99991)), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "B3", "lemma_paths": ["B3", "K2"], "recipe_id": "f1ea07", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["B3", "K2"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T18:32:55.875324Z", "verification": {"verified": true, "answer": 63632, "timestamp": "2026-02-08T18:32:55.878991Z"}, "problem_hash": "d9f269", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 488}, "timestamp": "2026-02-13T00:12:12.444Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "K2": "ok", "COUNT_COPRIME_GRID": "no", "K14": "no", "MAX_PRIME_BELOW": "no", "MOD_ADD": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "afc9b0", "alias": "comb_count_surjections_v1_238844314_269", "problem": "Let $k$ be the number of ordered pairs $(i, j)$ where $i$ and $j$ are integers and $1 \\leq i \\leq 2$, $1 \\leq j \\leq 2$. Let $n = 6$. Define $S(n, k)$ to be the number of ways to partition a set of $n$ elements into $k$ nonempty subsets, and let $k!$ denote the factorial of $k$. Compute the remainder when $13967 \\cdot k! \\cdot S(6, k)$ is divided by $88958$.", "answer": 82768, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(88958),\n \"n\": Const(6),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(2)), right=IntegerRange(start=Const(1), end=Const(2)))),\n \"result\": Mul(Factorial(Ref(\"k\")), Stirling2(n=Ref(name='n'), k=Ref(name='k'))),\n \"_c\": Const(13967),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Ref(\"_n\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "comb_count_surjections_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:12:29.518195Z", "verification": {"verified": true, "answer": 82768, "timestamp": "2026-02-08T13:12:29.520161Z"}, "problem_hash": "42c29a", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 231, "completion_tokens": 388}, "timestamp": "2026-02-12T06:22:57.660Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "8e80e0", "alias": "nt_count_divisible_and_v1_1874849503_666", "problem": "Let $N$ be the number of positive integers $n\\le22440$ such that $n$ is divisible by both $6$ and $8$.\n\nLet\n$$Q=18721-N.$$\nCompute $Q$.", "answer": 17786, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(22440),\n \"d1\": Const(6),\n \"d2\": Const(8),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d1\")), Const(0)), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"d2\")), Const(0))))),\n \"_c\": Const(18721),\n \"Q\": Sub(Ref(\"_c\"), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C3", "lemma_paths": ["C3/SUM_DIVISIBLE/MIN_PRIME_FACTOR/K2"], "recipe_id": "6d75ad", "seed_template_id": "nt_count_divisible_and_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["C3", "K2", "MIN_PRIME_FACTOR", "SUM_DIVISIBLE"], "num_lemmas": 4, "generation_time": 12.45, "created_at": "2026-02-08T13:14:48.492428Z", "verification": {"verified": true, "answer": 17786, "timestamp": "2026-02-08T13:15:00.942614Z"}, "problem_hash": "07fe4f", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 17786, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 320}, "timestamp": "2026-02-09T19:35:56.728Z"}, {"id": 8, "model": "mathstral", "answer": 17785, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 113, "completion_tokens": 400}, "timestamp": "2026-02-11T21:11:47.481Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 17786, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 158, "completion_tokens": 252}, "timestamp": "2026-02-11T21:08:54.137Z"}], "solution_status": 1, "lemma_applicability": {"C3": "ok", "K2": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "SUM_DIVISIBLE": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "15b5c5", "alias": "modular_min_modexp_v1_124444284_4419", "problem": "Let $a = 13$, $b = 523$, and $m = 751$. Let $d$ be a positive divisor of $143625$ such that $1 \\leq d \\leq 375$, and let $u$ be the maximum possible value of $d$. Determine the smallest positive integer $x$ such that $1 \\leq x \\leq u$ and \\[ 13^x \\equiv 523 \\pmod{751}. \\] Compute the value of $x$.", "answer": 372, "graph": "graphs = [\n Graph(\n let={\n \"a\": Const(13),\n \"b\": Const(523),\n \"m\": Const(751),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(375)), Divides(divisor=Var(\"d\"), dividend=Const(143625))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(ModExp(base=Ref(\"a\"), exp=Var(\"x\"), mod=Ref(\"m\")), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "modular_min_modexp_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.342, "created_at": "2026-02-08T05:59:55.353483Z", "verification": {"verified": true, "answer": 372, "timestamp": "2026-02-08T05:59:55.695529Z"}, "problem_hash": "7c1148", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 347, "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 149, "completion_tokens": 5882}, "timestamp": "2026-02-12T18:19:01.851Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 221, "completion_tokens": 469}, "timestamp": "2026-02-11T23:28:34.920Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b1598d", "alias": "nt_min_phi_inverse_v1_2051736721_2544", "problem": "Let $k$ be the number of integers $t$ with $30 \\leq t \\leq 135$ for which there exist integers $a$ and $b$ such that $1 \\leq a \\leq 8$, $1 \\leq b \\leq 3$, and $t = 9a + 21b$. Let $r$ be the smallest positive integer $n \\leq 100$ such that $\\phi(n) = k$. Compute the value of $$\\left|\\left\\{ n_1 \\in \\mathbb{Z}^+ : 1 \\leq n_1 \\leq 38988 \\text{ and } 24 \\mid F_{n_1} \\right\\}\\right| - r,$$ where $F_{n_1}$ denotes the $n_1$-th Fibonacci number. Find the value of this expression.", "answer": 3214, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(24),\n \"upper\": Const(100),\n \"k\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=3)), Geq(left=Var(name='t'), right=Const(value=30)), Leq(left=Var(name='t'), right=Const(value=135)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=21), Var(name='b'))))))))),\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\": Sub(CountOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Const(1)), Leq(Var(\"n1\"), Const(38988)), Divides(divisor=Ref(\"_n\"), dividend=Fibonacci(arg=Var(name='n1')))))), 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", "LIN_FORM"], "recipe_id": "f10d02", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COUNT_FIB_DIVISIBLE", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.012, "created_at": "2026-02-08T16:47:11.383610Z", "verification": {"verified": true, "answer": 3214, "timestamp": "2026-02-08T16:47:11.395632Z"}, "problem_hash": "5eda5d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 292, "completion_tokens": 643}, "timestamp": "2026-02-12T21:02:23.279Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_FIB_DIVISIBLE": "ok", "LIN_FORM": "ok", "C2": "no", "COUNT_PRIMES": "no", "K17": "no", "L3b": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "e4d679", "alias": "comb_bell_compute_v1_2051736721_5874", "problem": "Let $B$ be the number of nonnegative integers $j$ such that $0 \\leq j \\leq 91557$ and $\\binom{91557}{j}$ is odd. Let $n = 9$ and let $R = B_9$, the 9th Bell number, which counts the number of partitions of a set of 9 elements. Compute the remainder when $B - R$ is divided by $63623$.", "answer": 42988, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(9),\n \"result\": Bell(Ref(\"n\")),\n \"Q\": Mod(value=Sub(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(91557)), Eq(Mod(value=Binom(n=Const(91557), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')), Ref(\"result\")), modulus=Const(63623)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8"], "recipe_id": "04a712", "seed_template_id": "comb_bell_compute_v1", "ending_id": "negation_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["V8"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T18:50:53.016946Z", "verification": {"verified": true, "answer": 42988, "timestamp": "2026-02-08T18:50:53.018085Z"}, "problem_hash": "ca1796", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 425}, "timestamp": "2026-02-13T00:35:35.079Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K16": "no", "V3": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "365f72", "alias": "nt_euler_phi_compute_v1_677425708_2042", "problem": "Let $n_0=2$ and $n_1=1$. Let $v$ be the number of prime factors of $n_1$, counted with multiplicity.\n\nFor each integer $u$ with $1\\le u\\le 9899$, consider the condition\n$$u\\equiv \\left\\lfloor \\frac{u}{2} \\right\\rfloor \\pmod{11}.$$\nLet $C$ be the set of all integers $u$ with $1\\le u\\le 9899$ that satisfy this condition, and let $N=|C|$. Let $D$ be the set of all integers $d$ with $d\\ge n_0$ such that $d$ divides $N$, and assume $D$ is nonempty. Let $M$ be the minimum element of $D$.\n\nLet $p$ be the largest prime number with\n$$2\\le p\\le M.$$\nLet $e$ be the number of prime factors of $p$, counted with multiplicity.\n\nLet $n=50625$ and let $\\varphi(n)$ denote the number of positive integers not exceeding $n$ that are relatively prime to $n$. Define\n$$Q\\equiv 19600e-\\varphi(n)\\pmod{74364+v},$$\nwhere the remainder $Q$ satisfies $0\\le Q<74364+v$.\n\nFind the value of $Q$.", "answer": 66964, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"n1\": Const(1),\n \"v\": BigOmega(n=Ref(name='n1')),\n \"p\": 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(\"_n\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(9899)), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=11)))))))))), IsPrime(Var(\"n\"))))),\n \"e\": BigOmega(n=Ref(name='p')),\n \"n\": Const(50625),\n \"result\": EulerPhi(n=Ref(\"n\")),\n \"Q\": Mod(value=Sub(Mul(Const(19600), Ref(\"e\")), Ref(\"result\")), modulus=Sum(Const(74364), Ref(\"v\"))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MIN_PRIME_FACTOR/MAX_PRIME_BELOW/BIG_OMEGA_ONE", "BIG_OMEGA_ZERO"], "recipe_id": "ed5fd6", "seed_template_id": "nt_euler_phi_compute_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "BIG_OMEGA_ZERO", "L3C", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 5, "generation_time": 0.007, "created_at": "2026-02-08T04:43:23.720232Z", "verification": {"verified": true, "answer": 66964, "timestamp": "2026-02-08T04:43:23.727406Z"}, "problem_hash": "7bd849", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 66964, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 416, "completion_tokens": 1721}, "timestamp": "2026-02-10T05:00:03.025Z"}], "solution_status": 2, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "L3C": "ok", "BIG_OMEGA_ONE": "ok_later", "MAX_PRIME_BELOW": "ok_later", "MIN_PRIME_FACTOR": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "MOD_FACTORIAL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -4.24, "hi": 1.53}, "split": "valid"} +{"id": "2380d9", "alias": "algebra_quadratic_discriminant_v1_865884756_915", "problem": "Let $n$ be a positive integer such that $1 \\leq n \\leq 4$ and $n \\equiv 0 \\pmod{4}$. The number of such integers $n$ is denoted by $k$. Compute the value of\n$$\n(-3)^{\\nu_5(6^5 - 1^5)} - 3 \\cdot (-8) \\cdot k,\n$$\nwhere $\\nu_5(m)$ denotes the largest exponent $k$ such that $5^k$ divides $m$. Express the result as an integer.", "answer": 105, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(5),\n \"a\": Const(3),\n \"b\": Const(-3),\n \"c\": Const(-8),\n \"result\": Sub(Pow(Ref(\"b\"), MaxKDivides(target=Sub(Pow(Const(6), Const(5)), Pow(Const(1), Ref(\"_n\"))), base=Const(5))), Mul(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))))), Ref(\"a\"), Ref(\"c\"))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "SUM_ARITHMETIC", "lemma_paths": ["SUM_DIVISIBLE", "LTE_DIFF"], "recipe_id": "a0e1d3", "seed_template_id": "algebra_quadratic_discriminant_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["LTE_DIFF", "SUM_ARITHMETIC", "SUM_DIVISIBLE"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T15:41:02.796792Z", "verification": {"verified": true, "answer": 105, "timestamp": "2026-02-08T15:41:02.811928Z"}, "problem_hash": "476e90", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LTE_DIFF": "ok", "SUM_DIVISIBLE": "ok", "K13": "no", "K14": "no", "K17": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "520697", "alias": "nt_min_crt_v1_124444284_516", "problem": "Let $n$ be a positive integer. Define $S$ as the set of all positive integers $n \\leq 3755$ such that $5$ divides $n$ and $\\gcd(n, 21) = 1$. Let $k$ be the largest integer such that $13^k$ divides $|S|!$. Let $T$ be the set of all positive integers $n \\leq k$ such that $n \\equiv 1 \\pmod{5}$ and $n \\equiv 1 \\pmod{7}$. Let $x$ be the smallest element of $T$. Let $c$ be the number of integers $t$ in the range $9 \\leq t \\leq 2041$ for which there exist positive integers $a \\leq 289$ and $b \\leq 177$ such that $t = 4a + 5b$. Compute\n$$\n\\sum_{i=0}^{\\lfloor \\log_{10} |x| \\rfloor} \\left( \\text{digit}_i(x) \\cdot (i+1)^2 \\right) + c.\n$$", "answer": 2022, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(13),\n \"m\": Const(5),\n \"k\": Const(7),\n \"a\": Const(1),\n \"b\": Const(1),\n \"upper\": MaxKDivides(target=Factorial(CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(3755)), Divides(divisor=Const(5), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(21)), Const(1)))))), base=Ref(\"_n\")),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"m\")), Ref(\"a\")), Eq(Mod(value=Var(\"n\"), modulus=Ref(\"k\")), Ref(\"b\"))))),\n \"_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=289)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=177)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=2041)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='result')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='result')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Const(2)))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM", "C5/V1"], "recipe_id": "1f2c2a", "seed_template_id": "nt_min_crt_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["C5", "LIN_FORM", "V1"], "num_lemmas": 3, "generation_time": 0.013, "created_at": "2026-02-08T03:20:27.239432Z", "verification": {"verified": true, "answer": 2022, "timestamp": "2026-02-08T03:20:27.252652Z"}, "problem_hash": "fdad99", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 2028, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 360, "completion_tokens": 3938}, "timestamp": "2026-02-09T18:45:28.716Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 2028, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 364, "completion_tokens": 3246}, "timestamp": "2026-02-09T02:54:39.079Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "LIN_FORM": "ok", "V1": "ok_later", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "LTE_SUM": "no", "MAX_PRIME_BELOW": "no", "V5": "no"}, "irt_difficulty": {"lo": 0.95, "mid": 5.47, "hi": 10.0}, "split": "valid"} +{"id": "33b516", "alias": "antilemma_cartesian_v1_1439011603_1879", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 17$ and $1 \\leq b \\leq 20$. Find the remainder when $x^2 + 4x + 225$ is divided by 73115.", "answer": 44070, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(17)), right=IntegerRange(start=Const(1), end=Const(20)))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"x\"), Const(2)), Mul(Const(4), Ref(\"x\")), Const(225)), modulus=Const(73115)),\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"], "recipe_id": "409d7d", "seed_template_id": "antilemma_cartesian_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.001, "created_at": "2026-02-08T16:20:37.980417Z", "verification": {"verified": true, "answer": 44070, "timestamp": "2026-02-08T16:20:37.981325Z"}, "problem_hash": "10a838", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 44070, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 171, "completion_tokens": 257}, "timestamp": "2026-02-12T10:28:48.795Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "COUNT_SUM_EQUALS": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "c3a4e4", "alias": "nt_count_divisors_in_range_v1_1470522791_174", "problem": "Let $n = 10080$. Let $a$ be the number of positive integers $p$ for which there exists a positive integer $q$ such that $p \\cdot q = 36$, $\\gcd(p, q) = 1$, and $p < q$. Let $b$ be the number of integers $t$ in the range $22 \\leq t \\leq 1028$ for which there exist integers $a$ and $b$ with $1 \\leq a \\leq 90$, $1 \\leq b \\leq 22$, and $t = 8a + 14b$. Determine the number of positive divisors $d$ of $n$ such that $a \\leq d \\leq b$.", "answer": 55, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(10080),\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=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 \"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=90)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=22)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=1028)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=8), Var(name='a')), Mul(Const(value=14), Var(name='b'))))))))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Divides(divisor=Var(\"d\"), dividend=Ref(\"n\")), Geq(Var(\"d\"), Ref(\"a\")), Leq(Var(\"d\"), Ref(\"b\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "COPRIME_PAIRS", "lemma_paths": ["COPRIME_PAIRS", "LIN_FORM"], "recipe_id": "67610e", "seed_template_id": "nt_count_divisors_in_range_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.014, "created_at": "2026-02-08T12:51:47.343451Z", "verification": {"verified": true, "answer": 55, "timestamp": "2026-02-08T12:51:47.357401Z"}, "problem_hash": "85c057", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 624}, "timestamp": "2026-02-12T05:50:57.624Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "LIN_FORM": "ok", "C2": "no", "K15": "no", "LTE_DIFF": "no", "MAX_VAL": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "676a8e", "alias": "geo_visible_lattice_v1_809748730_1418", "problem": "Let $n = 64$. Define a visible lattice point $(x,y)$ to be a point with integer coordinates such that $1 \\leq x, y \\leq n$ and $\\gcd(x,y) = 1$. Let $v$ be the number of visible lattice points. Find the remainder when $37652 \\cdot v$ is divided by $50843$.", "answer": 23193, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(64),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"_c\": Const(37652),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(50843)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.422, "created_at": "2026-02-08T12:25:28.570843Z", "verification": {"verified": true, "answer": 23193, "timestamp": "2026-02-08T12:25:28.993163Z"}, "problem_hash": "ca9f1e", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 189, "completion_tokens": 518}, "timestamp": "2026-02-12T05:14:51.212Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3eac79", "alias": "geo_count_lattice_triangle_v1_349078426_1059", "problem": "Let $A$ be twice the area of the triangle with vertices at $(111, 24)$, $(171, 128)$, and $(0, 0)$. Let $B$ be the sum of the number of lattice points on the interior of the sides of this triangle, computed as\n\\[\nB = \\gcd(111, 24) + \\gcd(171 - 111, 128 - 24) + \\gcd(171, 128 - d_{\\max}),\n\\]\nwhere $d_{\\max}$ is the largest positive divisor of $17792$ that is at most $128$. Compute the value of $\\frac{A + 2 - B}{2}$.", "answer": 5049, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(111),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=111), Const(value=128)), Mul(Const(value=171), Sub(left=Const(value=0), right=Const(value=24))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Ref(name='_n')), b=Abs(arg=Const(value=24))), GCD(a=Abs(arg=Sub(left=Const(value=171), right=Const(value=111))), b=Abs(arg=Sub(left=Const(value=128), right=Const(value=24)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=171))), b=Abs(arg=Sub(left=Const(value=0), right=MaxOverSet(set=SolutionsSet(var=Var(name='d'), condition=And(Geq(left=Var(name='d'), right=Const(value=1)), Leq(left=Var(name='d'), right=Const(value=128)), Divides(divisor=Var(name='d'), dividend=Const(value=17792))))))))),\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": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.005, "created_at": "2026-02-08T13:23:33.641782Z", "verification": {"verified": true, "answer": 5049, "timestamp": "2026-02-08T13:23:33.646931Z"}, "problem_hash": "667679", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 4916, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 685}, "timestamp": "2026-02-12T06:43:34.308Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K13": "no", "L3b": "no", "MOD_MUL": "no", "MOD_SUB": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "fe86a3", "alias": "nt_num_divisors_compute_v1_1915831931_2579", "problem": "Let $n$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 39$ and $1 \\leq b \\leq 39$. Compute the number of positive divisors of $n$.", "answer": 9, "graph": "graphs = [\n Graph(\n let={\n \"n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(39)), right=IntegerRange(start=Const(1), end=Const(39)))),\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_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T16:57:47.059563Z", "verification": {"verified": true, "answer": 9, "timestamp": "2026-02-08T16:57:47.061573Z"}, "problem_hash": "c21757", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 9, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 225}, "timestamp": "2026-02-12T21:37:02.383Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "K15": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "fa685b", "alias": "nt_sum_divisors_compute_v1_1440796553_42", "problem": "Let $n = 30976$. Define $p_1$ to be the number of integers $t$ such that $24 \\leq t \\leq 164$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 6$, $1 \\leq b \\leq 8$, and $t = 14a + 10b$. Let $h = \\Omega(p_1)$, where $\\Omega(m)$ denotes the number of prime factors of $m$ counted with multiplicity.\n\nDefine $p$ to be the number of integers $t$ such that $15 \\leq t \\leq 75$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 5$, $1 \\leq b \\leq 5$, and $t = 9a + 6b$. Let $f = \\Omega(p)$.\n\nLet $N = n \\cdot h \\cdot f$. Compute the sum of all positive divisors of $N$.", "answer": 67963, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(30976),\n \"p1\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=8)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=164)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=10), Var(name='b'))))))))),\n \"h\": BigOmega(n=Ref(name='p1')),\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=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=15)), Leq(left=Var(name='t'), right=Const(value=75)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=9), Var(name='a')), Mul(Const(value=6), Var(name='b'))))))))),\n \"f\": BigOmega(n=Ref(name='p')),\n \"n\": Mul(Ref(\"_n\"), Ref(\"h\"), Ref(\"f\")),\n \"result\": SumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/BIG_OMEGA_ONE"], "recipe_id": "73cfb1", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ONE", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.005, "created_at": "2026-02-08T11:12:54.296301Z", "verification": {"verified": true, "answer": 67963, "timestamp": "2026-02-08T11:12:54.300827Z"}, "problem_hash": "d12935", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "BIG_OMEGA_ONE": "ok_later", "K14": "no", "K17": "no", "L3b": "no", "MOD_FACTORIAL": "no", "V5": "no"}, "split": "valid"} +{"id": "defa55", "alias": "antilemma_sum_primes_v1_784195855_1158", "problem": "Consider all ordered pairs $(x,y)$ of positive integers such that $x+y=94$. For each such pair, form the product $xy$, and let $N$ be the largest possible value of $xy$ over all these pairs.\n\nLet $r$ 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 p$ such that $p \\cdot q = 378046562313420$ and $\\gcd(p, q) = 1$. Compute the remainder when $c - r$ is divided by $90524$.", "answer": 72909, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(90524),\n \"a\": Const(11),\n \"e\": Const(1156),\n \"m\": Const(33333),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\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=378046562313420)), 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=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"], "recipe_id": "c90628", "seed_template_id": "modular_modexp_compute_v1", "ending_id": "negation_mod", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COPRIME_PAIRS"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T13:51:59.130967Z", "verification": {"verified": true, "answer": 72909, "timestamp": "2026-02-08T13:51:59.132584Z"}, "problem_hash": "f70cb0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 222, "completion_tokens": 735}, "timestamp": "2026-02-12T07:28:33.602Z"}], "solution_status": 0, "lemma_applicability": {"COPRIME_PAIRS": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_DIVISOR_COUNT": "no", "K15": "no", "V8_SUM": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "64abdb", "alias": "nt_sum_over_divisible_v1_1915831931_2299", "problem": "Let $ A $ be the set of all integers $ t $ such that $ 22 \\leq t \\leq 6578 $ and there exist integers $ a $ and $ b $ satisfying $ 1 \\leq a \\leq 639 $, $ 1 \\leq b \\leq 1046 $, and $ t = 7a + 2b + 13 $. Let $ N $ be the number of elements in $ A $.\n\nLet $ B $ be the set of all ordered pairs of positive odd integers $ (x_1, x_2) $ such that $ x_1 + x_2 = 10 $. Let\n$$\ns = \\sum_{k=0}^{5} (-1)^k \\binom{|B|}{k}.\n$$\nLet $ S $ be the set of all positive integers $ n $ such that $ 1 \\leq n \\leq N $ and $ n \\equiv s \\pmod{49} $. \n\nCompute the remainder when $ 37837 \\cdot \\left( \\sum_{n \\in S} n \\right) $ is divided by $ 96359 $.", "answer": 70216, "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=639)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=1046)), Geq(left=Var(name='t'), right=Const(value=22)), Leq(left=Var(name='t'), right=Const(value=6578)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=7), Var(name='a')), Mul(Const(value=2), Var(name='b')), Const(value=13)))))))),\n \"divisor\": Const(49),\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(5), expr=Mul(Pow(Const(-1), Var(\"k\")), Binom(n=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), Const(10))))), k=Var(\"k\")))))))),\n \"Q\": Mod(value=Mul(Const(37837), Ref(\"result\")), modulus=Const(96359)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": null, "goal": "SUM", "evaluator_id": "sympy", "root_lemma": "COMB1", "lemma_paths": ["COMB1/BINOMIAL_ALTERNATING", "LIN_FORM"], "recipe_id": "ae56a2", "seed_template_id": "nt_sum_over_divisible_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["BINOMIAL_ALTERNATING", "COMB1", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.31, "created_at": "2026-02-08T16:43:27.926560Z", "verification": {"verified": true, "answer": 70216, "timestamp": "2026-02-08T16:43:28.236123Z"}, "problem_hash": "c24da0", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 354, "completion_tokens": 486}, "timestamp": "2026-02-12T20:48:19.039Z"}], "solution_status": 0, "lemma_applicability": {"COMB1": "ok", "LIN_FORM": "ok", "BINOMIAL_ALTERNATING": "ok_later", "C2": "no", "COUNT_CARTESIAN": "no", "COUNT_COPRIME_GRID": "no", "COUNT_SUM_EQUALS": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "f9c1e1", "alias": "comb_count_permutations_fixed_v1_784195855_3876", "problem": "Let $n = 9$ and $m = 3$. Let $s = \\sum_{k=1}^{m} \\phi(k) \\left\\lfloor \\frac{d_{\\min}}{k} \\right\\rfloor$, where $d_{\\min}$ is the smallest integer $d \\geq 2$ that divides $\\sum_{k=1}^{14} \\phi(k) \\left\\lfloor \\frac{14}{k} \\right\\rfloor$, and $\\phi$ denotes Euler's totient function. Let $k = s$. Compute $\\binom{n}{k} \\cdot !(n - k)$, where $!t$ denotes the number of derangements of $t$ elements. Let $R$ be this value. Find the remainder when $44121 \\cdot R$ is divided by 94235.", "answer": 61998, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"n\": Const(9),\n \"k\": 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=Summation(var=\"k\", start=Const(1), end=Const(14), expr=Mul(EulerPhi(n=Var(\"k\")), Floor(Div(Const(14), Var(\"k\"))))))))), Var(\"k\"))))),\n \"result\": Mul(Binom(n=Ref(\"n\"), k=Ref(\"k\")), Subfactorial(arg=Sub(left=Ref(name='n'), right=Ref(name='k')))),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(94235)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "K2", "lemma_paths": ["K2/MIN_PRIME_FACTOR/K2"], "recipe_id": "5eae08", "seed_template_id": "comb_count_permutations_fixed_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K2", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T06:40:51.289472Z", "verification": {"verified": true, "answer": 61998, "timestamp": "2026-02-08T06:40:51.292652Z"}, "problem_hash": "2280b8", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 61998, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 217, "completion_tokens": 1734}, "timestamp": "2026-02-13T03:09:21.023Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 287, "completion_tokens": 484}, "timestamp": "2026-02-12T00:21:14.230Z"}], "solution_status": 1, "lemma_applicability": {"K2": "ok", "MIN_PRIME_FACTOR": "ok_later", "K15": "no", "LTE_SUM": "no", "POLY_PADIC_VAL_CONST": "no", "V5": "no", "V7": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "60d37f", "alias": "geo_count_lattice_triangle_v1_677425708_3987", "problem": "Let $n$ be the number of integers $j$ with $0 \\leq j \\leq 86196$ such that $\\binom{86196}{j}$ is odd. Define $A = 2 \\times \\left| 128 \\cdot 196 + 66 \\cdot (0 - s) \\right|$, where $s$ is the number of integers $n$ with $1 \\leq n \\leq 413$ such that $\\gcd(n, 30) = 1$. Let $B$ be the sum\n$$\n\\gcd(|n|, 111) + \\gcd(|66 - 128|, |196 - 111|) + \\gcd(|0 - 66|, |0 - 196|).\n$$\nCompute $\\frac{A - B}{2}$.", "answer": 8880, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(0)), Leq(Var(\"j\"), Const(86196)), Eq(Mod(value=Binom(n=Const(86196), k=Var(\"j\")), modulus=Const(2)), Const(1))), domain='nonnegative_integers')),\n \"area_2x\": Abs(arg=Sum(Mul(Const(value=128), Const(value=196)), Mul(Const(value=66), Sub(left=Const(value=0), right=CountOverSet(set=SolutionsSet(var=Var(name='n'), condition=And(Geq(left=Var(name='n'), right=Const(value=1)), Leq(left=Var(name='n'), right=Const(value=413)), Eq(left=GCD(a=Var(name='n'), b=Const(value=30)), right=Const(value=1))))))))),\n \"boundary\": Sum(GCD(a=Abs(arg=Ref(name='_n')), b=Abs(arg=Const(value=111))), GCD(a=Abs(arg=Sub(left=Const(value=66), right=Const(value=128))), b=Abs(arg=Sub(left=Const(value=196), right=Const(value=111)))), GCD(a=Abs(arg=Sub(left=Const(value=0), right=Const(value=66))), b=Abs(arg=Sub(left=Const(value=0), right=Const(value=196))))),\n \"result\": Div(Sum(Ref(\"area_2x\"), Const(2), Mul(Const(-1), Ref(\"boundary\"))), Ref(\"_m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "V8", "lemma_paths": ["V8/C4"], "recipe_id": "b0f2f1", "seed_template_id": "geo_count_lattice_triangle_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "V8"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:07:35.133045Z", "verification": {"verified": true, "answer": 8880, "timestamp": "2026-02-08T06:07:35.143560Z"}, "problem_hash": "c3a08a", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17760, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 1818}, "timestamp": "2026-02-12T19:36:37.871Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 296, "completion_tokens": 811}, "timestamp": "2026-02-11T23:35:59.449Z"}], "solution_status": 0, "lemma_applicability": {"V8": "ok", "C4": "ok_later", "COUNT_DIVISOR_COUNT": "no", "L3c": "no", "LTE_SUM": "no", "MOD_ADD": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "294861", "alias": "v7_endings_v1_784195855_1496", "problem": "Let $m=2$ and $n=7$. Let $x$ be the number of integers $k$ with $0\\le k\\le 3903$ such that $7$ divides $\\binom{3903}{k}$.\n\nLet $A$ be the number of integers $r$ with $1\\le r\\le 5057$ and $\\gcd(r,10)=1$. Let $c$ be the largest integer $d$ such that $1\\le d\\le A$ and $d$ divides $4104667$.\n\nWrite $x$ in decimal notation, and let its digits (from units to highest place) be $d_0,d_1,\\dots,d_{L-1}$, where $L$ is the number of digits of $|x|$. Define\n\\[\nS = \\sum_{i=0}^{L-1} d_i\\,(i+1)^2.\n\\]\nFinally, let\n\\[\nQ = S + c.\n\\]\n\nCompute $Q$.", "answer": 2104, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(7),\n \"x\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(0)), Leq(Var(\"k\"), Const(3903)), Divides(divisor=Ref(\"_n\"), dividend=Binom(n=Const(3903), k=Var(\"k\")))))),\n \"_c\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(5057)), Eq(GCD(a=Var(\"n\"), b=Const(10)), Const(1)))))), Divides(divisor=Var(\"d\"), dividend=Const(4104667))))),\n \"Q\": Sum(Summation(var=\"i\", start=Const(0), end=Sub(NumDigits(x=Abs(arg=Ref(name='x')), base=None), Const(1)), expr=Mul(Digit(x=Abs(arg=Ref(name='x')), k=Var(name='i'), base=None), Pow(Sum(Var(\"i\"), Const(1)), Ref(\"_m\")))), Ref(\"_c\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "C4", "lemma_paths": ["C4/MAX_DIVISOR", "V7"], "recipe_id": "e2ed78", "seed_template_id": "v7_endings_v1", "ending_id": "digits_weighted_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "MAX_DIVISOR", "V7"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T05:03:00.384091Z", "verification": {"verified": true, "answer": 2104, "timestamp": "2026-02-08T05:03:00.387217Z"}, "problem_hash": "f32d10", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"C4": "ok", "V7": "ok", "MAX_DIVISOR": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_DIVISOR_COUNT": "no", "K13": "no", "MOD_FACTORIAL": "no", "V3": "no"}, "split": "valid"} +{"id": "4c932d", "alias": "nt_count_digit_sum_v1_168721529_725", "problem": "Let $t$ range over all integers expressible as $4a + 5b$ where $a$ and $b$ are positive integers with $1 \\leq a \\leq 25$ and $1 \\leq b \\leq 4$, and $9 \\leq t \\leq 120$. Let $n$ be the number of such values of $t$. Let $s$ 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 $m$ with $1 \\leq m \\leq 149769$ such that the sum of the decimal digits of $m$ is equal to $s$.", "answer": 8846, "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=25)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=4)), Geq(left=Var(name='t'), right=Const(value=9)), Leq(left=Var(name='t'), right=Const(value=120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"upper\": Const(149769),\n \"target_sum\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Ref(\"_n\")))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"upper\")), Eq(DigitSum(Var(\"n\")), Ref(\"target_sum\"))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3"], "recipe_id": "05313e", "seed_template_id": "nt_count_digit_sum_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 11.297, "created_at": "2026-02-08T13:14:53.706578Z", "verification": {"verified": true, "answer": 8846, "timestamp": "2026-02-08T13:15:05.003588Z"}, "problem_hash": "8b7c47", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 270, "completion_tokens": 8192}, "timestamp": "2026-02-09T08:25:15.361Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "score": 2, "correct": {"strict": false, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 266, "completion_tokens": 7717}, "timestamp": "2026-02-11T07:38:44.539Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 14976, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 213, "completion_tokens": 736}, "timestamp": "2026-02-09T20:47:40.050Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 258, "completion_tokens": 432}, "timestamp": "2026-02-12T06:24:13.003Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": 0.96, "mid": 5.48, "hi": 10.0}, "split": "valid"} +{"id": "a35471", "alias": "nt_num_divisors_compute_v1_865884756_7051", "problem": "Let $n_0 = 925$. Let $S$ be the set of all positive integers $d \\leq 25$ that divide $n_0$. Let $n$ be the largest element of $S$. Compute the number of positive divisors of $n$.", "answer": 3, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(925),\n \"n\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(25)), Divides(divisor=Var(\"d\"), dividend=Ref(\"_n\"))))),\n \"result\": NumDivisors(n=Ref(\"n\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_num_divisors_compute_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T19:36:10.624710Z", "verification": {"verified": true, "answer": 3, "timestamp": "2026-02-08T19:36:10.626232Z"}, "problem_hash": "945958", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 162, "completion_tokens": 450}, "timestamp": "2026-02-13T01:05:39.380Z"}], "solution_status": 2, "lemma_applicability": {"MAX_DIVISOR": "ok", "K17": "no", "MOD_ADD": "no", "MOD_MUL": "no", "V8": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "7962ea", "alias": "nt_min_with_divisor_count_v1_124444284_9000", "problem": "Let $D$ be the set of all positive integers $n$ such that $n \\leq 87025$ and $n$ has exactly four positive divisors. Let $r$ be the smallest element of $D$. Let $d_{\\min}$ be the smallest divisor of $101918191$ that is at least $2$. Let $A = 353702 \\times (|r| \\mod d_{\\min})$. Let $B = 329703 \\times \\left((r^2 + 1) \\mod 101\\right)$. Let $T$ be the set of all positive integers $t$ such that $7 \\leq t \\leq 115$ and $t = 4a + 3b$ for some integers $a$ and $b$ with $1 \\leq a \\leq 13$ and $1 \\leq b \\leq 21$. Let $c$ be the number of elements in $T$. Let $C = 215534 \\times \\left((|r| + 12) \\mod c\\right)$. Compute $A + B + C$, and let $Q$ be the remainder when this sum is divided by $1009091$. Find the value of $Q$.", "answer": 37197, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(101),\n \"upper\": Const(87025),\n \"div_count\": Const(4),\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\": Const(12),\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(101918191))))))), 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=CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=21)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=115)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=4), Var(name='a')), Mul(Const(value=3), Var(name='b')))))))))))), modulus=Const(1009091)),\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", "LIN_FORM"], "recipe_id": "e2ef0b", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": "crt_mix_3", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 4.094, "created_at": "2026-02-08T12:07:35.293029Z", "verification": {"verified": true, "answer": 37197, "timestamp": "2026-02-08T12:07:39.386688Z"}, "problem_hash": "d5a815", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 37197, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 302, "completion_tokens": 4751}, "timestamp": "2026-02-14T22:37:11.957Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 391, "completion_tokens": 484}, "timestamp": "2026-02-12T04:58:44.477Z"}], "solution_status": 1, "lemma_applicability": {"LIN_FORM": "ok", "MIN_PRIME_FACTOR": "ok", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "LTE_DIFF_P2": "no", "V1": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b930b1", "alias": "comb_factorial_compute_v1_153355830_1638", "problem": "Let $n = 7$. Define $m = 2$ and $N = 53954$. Let $P$ be the set of all prime numbers $n$ such that $2 \\leq n \\leq 1427$. Let $c$ be the smallest integer $d \\geq m$ that divides the number of elements in $P$. Compute the remainder when $c - n!$ is divided by $N$.", "answer": 48917, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(53954),\n \"n\": Const(7),\n \"result\": Factorial(Ref(\"n\")),\n \"_c\": MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Ref(\"_m\")), Divides(divisor=Var(\"d\"), dividend=CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(1427)), 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": "COUNT_PRIMES", "lemma_paths": ["COUNT_PRIMES/MIN_PRIME_FACTOR"], "recipe_id": "00491c", "seed_template_id": "comb_factorial_compute_v1", "ending_id": "negation_mod", "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_PRIMES", "MIN_PRIME_FACTOR"], "num_lemmas": 2, "generation_time": 0.002, "created_at": "2026-02-08T06:32:08.678046Z", "verification": {"verified": true, "answer": 48917, "timestamp": "2026-02-08T06:32:08.679747Z"}, "problem_hash": "90e9e1", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48917, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 136, "completion_tokens": 1153}, "timestamp": "2026-02-13T01:41:00.652Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 196, "completion_tokens": 505}, "timestamp": "2026-02-12T00:13:16.656Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_PRIMES": "ok", "MIN_PRIME_FACTOR": "ok_later", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "MOD_FACTORIAL": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "01e12e", "alias": "modular_inverse_v1_677425708_1171", "problem": "Let $m_1=2003$ and $n_1=317$. Consider the Cartesian product of the integer intervals $[1,4]$ and $[1,19]$; let $a$ be the number of ordered pairs in this product.\n\nLet $m=1361$ and let $u=1360$. Let $r$ be the smallest integer $x$ such that $1\\le x\\le u$ and\n$$ax\\equiv 1\\pmod m.$$\n\nLet $S$ be the set of all integers $x$ such that\n$$x^2-614x+4848=0,$$\nand let $T$ be the sum of all elements of $S$.\n\nConsider all ordered pairs $(x_1,x_2)$ of positive odd integers such that $x_1+x_2=T$. Let $b$ be the number of such ordered pairs. Let $c$ be the remainder when $r$ is divided by $b$, and let $d$ be the remainder when $r$ is divided by $n_1$.\n\nDefine\n$$Q\\equiv c+m_1d\\pmod{64596},$$\nwith $0\\le Q<64596$.\n\nFind the value of $Q$.", "answer": 7212, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2003),\n \"_n\": Const(317),\n \"a\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(4)), right=IntegerRange(start=Const(1), end=Const(19)))),\n \"m\": Const(1361),\n \"upper\": Const(1360),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"x\"), condition=And(Geq(Var(\"x\"), Const(1)), Leq(Var(\"x\"), Ref(\"upper\")), Eq(Mod(value=Mul(Ref(\"a\"), Var(\"x\")), modulus=Ref(\"m\")), Const(1))))),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x1\"), Var(\"x2\")]), condition=And(IsPositive(arg=Var(name='x1')), IsPositive(arg=Var(name='x2')), IsOdd(arg=Var(name='x1')), IsOdd(arg=Var(name='x2')), Eq(Sum(Var(\"x1\"), Var(\"x2\")), SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-614), Var(\"x\")), Const(4848)), Const(0))))))))), Mul(Ref(\"_m\"), Mod(value=Ref(\"result\"), modulus=Ref(\"_n\")))), modulus=Const(64596)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "VIETA_SUM", "lemma_paths": ["VIETA_SUM/COMB1", "COUNT_CARTESIAN"], "recipe_id": "b1b1c1", "seed_template_id": "modular_inverse_v1", "ending_id": "two_moduli", "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.085, "created_at": "2026-02-08T04:01:27.403370Z", "verification": {"verified": true, "answer": 7212, "timestamp": "2026-02-08T04:01:27.488572Z"}, "problem_hash": "206c79", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 7212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 379, "completion_tokens": 2146}, "timestamp": "2026-02-09T16:33:38.928Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 7212, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 379, "completion_tokens": 2047}, "timestamp": "2026-02-10T15:02:30.836Z"}, {"id": 8, "model": "mathstral", "answer": 3736, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 353, "completion_tokens": 445}, "timestamp": "2026-02-13T04:40:00.646Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 391, "completion_tokens": 568}, "timestamp": "2026-02-11T20:19:33.202Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "VIETA_SUM": "ok", "COMB1": "ok_later", "COUNT_SUM_EQUALS": "no", "POLY_PADIC_VAL_CONST": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -8.77, "mid": -3.87, "hi": 1.26}, "split": "valid"} +{"id": "d3d1e1", "alias": "nt_min_phi_inverse_v1_1820931509_460", "problem": "Let $k$ be the number of elements in the Cartesian product of the sets $\\{1,2,3\\}$ and $\\{1,2,3,4,5,6\\}$. Let $n$ be the smallest positive integer such that $1 \\leq n \\leq 60$ and $\\phi(n) = k$, where $\\phi$ denotes Euler's totient function. Compute the remainder when $29101 \\cdot n$ is divided by $53493$.", "answer": 17989, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(60),\n \"k\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(6)))),\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 \"_c\": Const(29101),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(53493)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_phi_inverse_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.017, "created_at": "2026-02-08T11:38:18.356450Z", "verification": {"verified": true, "answer": 17989, "timestamp": "2026-02-08T11:38:18.373420Z"}, "problem_hash": "eaddea", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 17989, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 145, "completion_tokens": 2266}, "timestamp": "2026-02-14T17:55:08.217Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 207, "completion_tokens": 353}, "timestamp": "2026-02-12T04:29:38.490Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_INTEGER_RANGE": "no", "K16": "no", "K18": "no", "LTE_DIFF": "no", "MOD_SUB": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "bc067c", "alias": "nt_sum_divisors_compute_v1_1116507919_302", "problem": "Let $a$ be the number of positive integers $n$ such that $1 \\leq n \\leq 66$ and $n \\equiv \\left\\lfloor \\frac{n}{2} \\right\\rfloor \\pmod{3}$. Let $b = 23$ and define $e = \\sum_{d \\mid \\gcd(a,b)} \\mu(d)$, where $\\mu$ denotes the M\\\"obius function. Let $s$ be the number of distinct prime factors of $29$, and let $n = 24025$. Define $\\sigma(n)$ to be the sum of the divisors of $n$. Let $c = 1009 \\cdot s$ and compute\n$$\nQ = \\left( \\sigma(n) \\bmod 199 + c \\cdot \\left( \\sigma(n) \\bmod (499 \\cdot e) \\right) \\right) \\bmod 78946.\n$$\nFind the value of $Q$.", "answer": 31449, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(66),\n \"a\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Congruent(a=Var(name='n'), b=Floor(arg=Div(left=Var(name='n'), right=Const(value=2))), modulus=Const(value=3))))),\n \"b\": Const(23),\n \"e\": SumOverDivisors(n=GCD(a=Ref(name='a'), b=Ref(name='b')), var='d', expr=MoebiusMu(n=Var(name='d'))),\n \"n1\": Const(29),\n \"s\": SmallOmega(n=Ref(name='n1')),\n \"n\": Const(24025),\n \"result\": SumDivisors(n=Ref(\"n\")),\n \"_c\": Mul(Const(1009), Ref(\"s\")),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=Const(199)), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=Mul(Const(499), Ref(\"e\"))))), modulus=Const(78946)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3C", "lemma_paths": ["L3C/MOBIUS_COPRIME", "OMEGA_ONE"], "recipe_id": "3ccab1", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["L3C", "MOBIUS_COPRIME", "OMEGA_ONE"], "num_lemmas": 3, "generation_time": 0.002, "created_at": "2026-02-08T02:30:43.815799Z", "verification": {"verified": true, "answer": 31449, "timestamp": "2026-02-08T02:30:43.818227Z"}, "problem_hash": "9a5cd1", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 31449, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 328, "completion_tokens": 1546}, "timestamp": "2026-02-08T19:21:31.571Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 31449, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 324, "completion_tokens": 1935}, "timestamp": "2026-02-09T15:31:55.399Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 281, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:19:24.202Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 31449, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 246, "completion_tokens": 1621}, "timestamp": "2026-02-09T19:12:14.028Z"}], "solution_status": 1, "lemma_applicability": {"L3C": "ok", "OMEGA_ONE": "ok", "MOBIUS_COPRIME": "ok_later", "C2": "no", "COUNT_PRIMES": "no", "K13": "no", "L3b": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -7.4, "mid": -2.91, "hi": 1.2}, "split": "valid"} +{"id": "3c5f91", "alias": "nt_lcm_compute_v1_1742523217_4415", "problem": "Let $a$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = 855625$.\n\nLet $b$ be the sum of all integers $x$ satisfying\n$$x^2 - 1627x + 52602 = 0.$$\nLet $L$ be the least common multiple of $a$ and $b$.\n\nLet $N$ be the number of integers $t$ for which there exist integers $u$ and $v$ with $1 \\le u \\le 29$, $1 \\le v \\le 165$, $16 \\le t \\le 1280$, and\n$$t = 10u + 6v.$$\n\nLet $c$ be the minimum value of $x+y$ over all ordered pairs $(x,y)$ of positive integers such that $xy = N$.\n\nLet\n$$R = L^2 + cL.$$\nLet $r$ be the remainder when $R$ is divided by $11$.\n\nLet $Q$ be the remainder when $R$ is divided by $65913$.\n\nFind the value of $Q$.", "answer": 24061, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(11),\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(855625)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"b\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1627), Var(\"x\")), Const(52602)), Const(0)))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Ref(\"_m\")), 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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=29)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=165)), Geq(left=Var(name='t'), right=Const(value=16)), Leq(left=Var(name='t'), right=Const(value=1280)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=10), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))), Ref(\"result\")), Ref(\"_n\")), modulus=Const(65913)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LIN_FORM", "lemma_paths": ["LIN_FORM/B3", "VIETA_SUM"], "recipe_id": "14ec9a", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.012, "created_at": "2026-02-08T07:17:06.802075Z", "verification": {"verified": true, "answer": 24061, "timestamp": "2026-02-08T07:17:06.814002Z"}, "problem_hash": "4a6828", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 24050, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 286, "completion_tokens": 4181}, "timestamp": "2026-02-13T09:17:17.572Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 371, "completion_tokens": 479}, "timestamp": "2026-02-12T00:57:20.398Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "VIETA_SUM": "ok", "B3": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_PRIMES": "no", "K5": "no", "V5": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b86382", "alias": "antilemma_cartesian_v1_865884756_791", "problem": "Let $x$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 28$ and $1 \\leq b \\leq 30$. Let $Q$ be the number of ordered pairs $(a, b)$ such that $1 \\leq a \\leq 37$ and $1 \\leq b \\leq 113$, minus $x$. Compute $Q$.", "answer": 3341, "graph": "graphs = [\n Graph(\n let={\n \"x\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(28)), right=IntegerRange(start=Const(1), end=Const(30)))),\n \"Q\": Sub(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(37)), right=IntegerRange(start=Const(1), end=Const(113)))), Ref(\"x\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "COMB", "secondary_domain": "GEOM", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN", "COUNT_CARTESIAN"], "recipe_id": "f9c395", "seed_template_id": "antilemma_cartesian_v1", "ending_id": "negation_mod", "olympiad_level": 2, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.002, "created_at": "2026-02-08T15:36:37.087284Z", "verification": {"verified": true, "answer": 3341, "timestamp": "2026-02-08T15:36:37.088954Z"}, "problem_hash": "e07ad1", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 3341, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 192, "completion_tokens": 242}, "timestamp": "2026-02-12T08:45:26.220Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "V7": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "dc864f", "alias": "comb_sum_binomial_row_v1_784195855_1793", "problem": "Let $m = 35$. Let $N$ be the number of positive integers $k$ such that $1 \\leq k \\leq 4218$ and $111$ divides $k$. Let $n$ be the number of positive integers $a$ such that $1 \\leq a \\leq N$, $a$ is even, and $\\gcd(a, m) = 1$. Compute $2^n$.", "answer": 16384, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(35),\n \"_n\": CountOverSet(set=SolutionsSet(var=Var(\"k\"), condition=And(Geq(Var(\"k\"), Const(1)), Leq(Var(\"k\"), Const(4218)), Divides(divisor=Const(111), dividend=Var(\"k\"))), domain='positive_integers')),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Ref(\"_n\")), Divides(divisor=Const(2), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Ref(\"_m\")), Const(1))))),\n \"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": "V5", "lemma_paths": ["C2/C5"], "recipe_id": "68dd2b", "seed_template_id": "comb_sum_binomial_row_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["C2", "C5", "V5"], "num_lemmas": 3, "generation_time": 0.018, "created_at": "2026-02-08T05:19:01.357108Z", "verification": {"verified": true, "answer": 16384, "timestamp": "2026-02-08T05:19:01.375298Z"}, "problem_hash": "419028", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 134, "completion_tokens": 809}, "timestamp": "2026-02-12T06:17:14.908Z"}, {"id": 8, "model": "mathstral", "answer": 16384, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 153, "completion_tokens": 622}, "timestamp": "2026-02-14T11:32:43.232Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 65536, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 197, "completion_tokens": 392}, "timestamp": "2026-02-11T22:25:38.573Z"}], "solution_status": 1, "lemma_applicability": {"C2": "ok", "C5": "ok_later", "DS2": "no", "K13": "no", "K5": "no", "MOD_FACTORIAL": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.34, "hi": -5.01}, "split": "valid"} +{"id": "9677c4", "alias": "comb_sum_binomial_mod_v1_1978505735_8301", "problem": "Let $c = 89273$ and $n = 145$. Let $d_{\\text{min}}$ be the smallest divisor of $9778129$ that is at least $2$. Define $s$ to be the minimum value of $x + y$ over all ordered pairs $(x, y)$ of positive integers such that $xy = 8100$. For each positive integer $k_1$ with $1 \\leq k_1 \\leq 33660$ and $s \\mid k_1$, let $f(k_1)$ be the number of such $k_1$. Let \n$$\nS = \\sum_{k = d_{\\text{min}}}^{145} \\binom{f(k)}{k}.\n$$\nLet $r$ be the remainder when $S$ is divided by $11597$. Compute the remainder when $89273 \\cdot r$ is divided by $78150$.", "answer": 61551, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(89273),\n \"_m\": Const(33660),\n \"_n\": Const(145),\n \"sum\": Summation(var=\"k\", start=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9778129))))), end=Ref(\"_n\"), expr=Binom(n=CountOverSet(set=SolutionsSet(var=Var(\"k1\"), condition=And(Geq(Var(\"k1\"), Const(1)), Leq(Var(\"k1\"), Ref(\"_m\")), 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(8100)))), expr=Sum(Var(\"x\"), Var(\"y\")))), dividend=Var(\"k1\"))), domain='positive_integers')), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11597)),\n \"Q\": Mod(value=Mul(Ref(\"_c\"), Ref(\"result\")), modulus=Const(78150)),\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/C2"], "recipe_id": "974108", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "C2", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.015, "created_at": "2026-02-08T20:47:07.943654Z", "verification": {"verified": true, "answer": 61551, "timestamp": "2026-02-08T20:47:07.958179Z"}, "problem_hash": "fabae5", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 323, "completion_tokens": 487}, "timestamp": "2026-02-13T01:28:58.545Z"}], "solution_status": 0, "lemma_applicability": {"B3": "ok", "MIN_PRIME_FACTOR": "ok", "C2": "ok_later", "K13": "no", "K5": "no", "LTE_SUM": "no", "V1": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "b79f54", "alias": "algebra_vieta_sum_v1_809748730_1346", "problem": "Let $A$ be the set of all real numbers $x$ satisfying\n$$\nx^4 - 20x^3 + 115x^2 - 60x - 756 = 0,\n$$\nwhere $115$ is the number of ordered pairs $(i,j)$ with $1 \\leq i \\leq 5$ and $1 \\leq j \\leq 23$. Compute $24964$ minus the sum of all elements of $A$.", "answer": 24944, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(2),\n \"result\": SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(4)), Mul(Const(-20), Pow(Var(\"x\"), Const(3))), Mul(CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(5)), right=IntegerRange(start=Const(1), end=Const(23)))), Pow(Var(\"x\"), Ref(\"_n\"))), Mul(Const(-60), Var(\"x\")), Const(-756)), Const(0)))),\n \"Q\": Sub(Const(24964), Ref(\"result\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "ALG", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "COUNT_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.011, "created_at": "2026-02-08T12:22:39.941434Z", "verification": {"verified": true, "answer": 24944, "timestamp": "2026-02-08T12:22:39.952230Z"}, "problem_hash": "db9d66", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 24944, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 214, "completion_tokens": 514}, "timestamp": "2026-02-12T05:09:04.202Z"}], "solution_status": 2, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_COPRIME_GRID": "no", "COUNT_INTEGER_RANGE": "no", "POLY_PADIC_VAL_CONST": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -8.44, "hi": -6.88}, "split": "valid"} +{"id": "0daaa7", "alias": "diophantine_fbi2_min_v1_1978505735_6787", "problem": "Let $k = 14$. Let $u$ be the largest positive divisor of 744 that is at most 24. Determine the value of the smallest positive integer $d_1$ such that $2 \\leq d_1 \\leq u$, $d_1$ divides $k$, and $\\frac{k}{d_1} \\geq 6$.", "answer": 2, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(14),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(24)), Divides(divisor=Var(\"d\"), dividend=Const(744))))),\n \"result\": MinOverSet(set=SolutionsSet(var=Var(\"d1\"), condition=And(Geq(Var(\"d1\"), Const(2)), Leq(Var(\"d1\"), Ref(\"upper\")), Divides(divisor=Var(\"d1\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d1\")), Const(6))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "EXTREMUM", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "diophantine_fbi2_min_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.016, "created_at": "2026-02-08T19:47:22.622624Z", "verification": {"verified": true, "answer": 2, "timestamp": "2026-02-08T19:47:22.638979Z"}, "problem_hash": "645601", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 1, "correct": {"strict": false, "boxed": false, "relaxed": true}, "usage": {"prompt_tokens": 183, "completion_tokens": 399}, "timestamp": "2026-02-13T01:12:50.289Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "K14": "no", "K15": "no", "K17": "no", "K18": "no", "V5": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "88ecc8", "alias": "nt_min_coprime_above_v1_865884756_4835", "problem": "Let $S$ be the set of all ordered pairs $(a,b)$ of positive integers such that $1 \\leq a \\leq 3$ and $1 \\leq b \\leq 149$. Let $m$ be the number of elements in $S$. Determine the smallest integer $n$ such that $37636 < n \\leq 38093$ and $\\gcd(n, m) = 1$. Compute $n$.", "answer": 37637, "graph": "graphs = [\n Graph(\n let={\n \"start\": Const(37636),\n \"upper\": Const(38093),\n \"modulus\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(3)), right=IntegerRange(start=Const(1), end=Const(149)))),\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_CARTESIAN", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_coprime_above_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "lemma_set": ["COUNT_CARTESIAN"], "num_lemmas": 1, "generation_time": 0.038, "created_at": "2026-02-08T18:09:55.677152Z", "verification": {"verified": true, "answer": 37637, "timestamp": "2026-02-08T18:09:55.715641Z"}, "problem_hash": "1e3aab", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 202, "completion_tokens": 391}, "timestamp": "2026-02-12T23:51:36.046Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "K16": "no", "K18": "no", "MOD_SUB": "no", "V1": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "49bf4e", "alias": "nt_lcm_compute_v1_1918700295_2695", "problem": "Let $T$ be the set of all integers $t$ such that $20 \\le t \\le 120$ and $t = 14a + 6b$ for some integers $a$ and $b$ with $1 \\le a \\le 3$ and $1 \\le b \\le 13$. Let $k$ be the largest integer such that $7^k$ divides $3219905755813179726837607^{|T|}$. Let $U$ be the set of all integers $t$ such that $5 \\le t \\le 1426$ and $t = 3a + 2b$ for some integers $a$ and $b$ with $1 \\le a \\le 390$ and $1 \\le b \\le 128$. Let $m = |U|$. Let $L$ be the least common multiple of $k$ and $m$. Compute the remainder when $L + \\phi(L + 1) + \\tau(L + 1)$ is divided by $75963$, where $\\phi(n)$ denotes Euler's totient function and $\\tau(n)$ denotes the number of positive divisors of $n$.", "answer": 27713, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7),\n \"_n\": Const(75963),\n \"a\": MaxKDivides(target=Pow(Const(3219905755813179726837607), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=13)), Geq(left=Var(name='t'), right=Const(value=20)), Leq(left=Var(name='t'), right=Const(value=120)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=14), Var(name='a')), Mul(Const(value=6), Var(name='b')))))))))), base=Ref(\"_m\")),\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=390)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=128)), Geq(left=Var(name='t'), right=Const(value=5)), Leq(left=Var(name='t'), right=Const(value=1426)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=3), Var(name='a')), Mul(Const(value=2), Var(name='b'))))))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=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)))), 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/K14", "ONE_PHI_1"], "recipe_id": "991ac6", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 7, "num_spawns": 0, "lemma_set": ["K14", "LIN_FORM", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.006, "created_at": "2026-02-08T08:09:51.367688Z", "verification": {"verified": true, "answer": 27713, "timestamp": "2026-02-08T08:09:51.373224Z"}, "problem_hash": "3f02e5", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"LIN_FORM": "ok", "ONE_PHI_1": "ok", "K14": "ok_later", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "DS2": "no", "L3c": "no", "LTE_SUM": "no"}, "split": "valid"} +{"id": "db4b0b", "alias": "antilemma_k3_v1_1520064083_10320", "problem": "Let $n = 91852$. Define $x$ to be the sum of $\\phi(d)$ over all positive divisors $d$ of $n$, where $\\phi$ denotes Euler's totient function. Let $S$ be the set of all real numbers $x$ such that $x^2 - 2x - 1088 = 0$. Let $m = 2$, and let $y$ be the number of elements in $S$. Let $z$ be the sum of $\\phi(d)$ over all positive divisors $d$ of $14$. Compute the value of $x + (y \\bmod z) \\bmod 70252$.", "answer": 95948, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(91852),\n \"x\": SumOverDivisors(n=Ref(name='_n'), var='d', expr=EulerPhi(n=Var(name='d'))),\n \"Q\": Sum(Ref(\"x\"), Mod(value=Pow(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Ref(\"_m\")), Mul(Const(-2), Var(\"x\")), Const(-1088)), Const(0)))), Mod(value=Ref(\"x\"), modulus=SumOverDivisors(n=Const(value=14), var='d', expr=EulerPhi(n=Var(name='d'))))), modulus=Const(70252))),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": "COMB", "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "K13", "lemma_paths": ["VIETA_SUM", "K3", "K3"], "recipe_id": "74ac61", "seed_template_id": "antilemma_k3_v1", "ending_id": "mod_exp", "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["K13", "K3", "VIETA_SUM"], "num_lemmas": 3, "generation_time": 0.003, "created_at": "2026-02-08T11:21:16.096403Z", "verification": {"verified": true, "answer": 95948, "timestamp": "2026-02-08T11:21:16.099144Z"}, "problem_hash": "802ab5", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 21602, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 186, "completion_tokens": 960}, "timestamp": "2026-02-14T12:05:01.591Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 253, "completion_tokens": 597}, "timestamp": "2026-02-12T03:51:22.089Z"}], "solution_status": 0, "lemma_applicability": {"K3": "ok", "VIETA_SUM": "ok", "C2": "no", "COUNT_COPRIME_GRID": "no", "K13": "no", "POLY_PADIC_VAL_CONST": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "b3c7dd", "alias": "comb_factorial_compute_v1_1978505735_4887", "problem": "Let $T$ be the set of integers $t$ such that $7 \\leq t \\leq 26$ and there exist integers $a$ and $b$ with $1 \\leq a \\leq 8$, $1 \\leq b \\leq 2$, and $t = 2a + 5b$. Let $m$ be the number of elements in $T$.\n\nConsider the set of all ordered pairs $(x, y)$ of positive integers such that $x \\cdot y = m$. Let $n$ be the minimum value of $x + y$ over all such pairs.\n\nLet $f = n!$ (the factorial of $n$). Compute the remainder when $44121 \\cdot f$ is divided by $63799$.", "answer": 51203, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(63799),\n \"_n\": Const(44121),\n \"n\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=8)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=26)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b')))))))))))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": Factorial(Ref(\"n\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\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/B3"], "recipe_id": "05313e", "seed_template_id": "comb_factorial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B3", "LIN_FORM"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T18:36:39.199236Z", "verification": {"verified": true, "answer": 51203, "timestamp": "2026-02-08T18:36:39.203293Z"}, "problem_hash": "c4b499", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 268, "completion_tokens": 870}, "timestamp": "2026-02-13T00:17:36.822Z"}], "solution_status": 0, "lemma_applicability": {"LIN_FORM": "ok", "B3": "ok_later", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "a753cf", "alias": "nt_min_with_divisor_count_v1_1915831931_3645", "problem": "Let $S$ be the Cartesian product of the sets $\\{1, 2, \\dots, 73\\}$ and $\\{1, 2, \\dots, 73\\}$. Let $N$ be the number of elements in $S$. Define $T$ as the set of all positive integers $n$ such that $1 \\leq n \\leq N$ and the number of positive divisors of $n$ is exactly 12. Compute the minimum element of $T$.", "answer": 60, "graph": "graphs = [\n Graph(\n let={\n \"upper\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(73)), right=IntegerRange(start=Const(1), end=Const(73)))),\n \"div_count\": Const(12),\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": "B3", "lemma_paths": ["COUNT_CARTESIAN"], "recipe_id": "409d7d", "seed_template_id": "nt_min_with_divisor_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B3", "COUNT_CARTESIAN"], "num_lemmas": 2, "generation_time": 0.492, "created_at": "2026-02-08T17:47:43.036207Z", "verification": {"verified": true, "answer": 60, "timestamp": "2026-02-08T17:47:43.527978Z"}, "problem_hash": "550e0d", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 6144, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 203, "completion_tokens": 385}, "timestamp": "2026-02-12T23:10:41.302Z"}], "solution_status": 0, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "COUNT_FIB_DIVISIBLE": "no", "K13": "no", "K14": "no", "K5": "no", "V8": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "26d9a1", "alias": "modular_modexp_compute_v1_238844314_78", "problem": "Let $a$ be the largest prime number less than or equal to 18. Let $e$ be the maximum value of $xy$ over all pairs of positive integers $(x, y)$ such that $x + y = 96$. Compute the remainder when $a^e$ is divided by 25200.", "answer": 15121, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(18),\n \"a\": MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Ref(\"_n\")), IsPrime(Var(\"n\"))))),\n \"e\": MaxOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Sum(Var(\"x\"), Var(\"y\")), Const(96)))), expr=Mul(Var(\"x\"), Var(\"y\")))),\n \"m\": Const(25200),\n \"result\": ModExp(base=Ref(\"a\"), exp=Ref(\"e\"), mod=Ref(\"m\")),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW", "B1"], "recipe_id": "7086d0", "seed_template_id": "modular_modexp_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["B1", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.004, "created_at": "2026-02-08T13:07:05.339492Z", "verification": {"verified": true, "answer": 15121, "timestamp": "2026-02-08T13:07:05.343432Z"}, "problem_hash": "69a640", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 387}, "timestamp": "2026-02-12T06:11:48.805Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "MAX_PRIME_BELOW": "ok", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "K5": "no", "MOD_MUL": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "10cefb", "alias": "nt_sum_divisors_compute_v1_153355830_372", "problem": "Let $n_1 = \\phi(1)$, where $\\phi$ is Euler's totient function, and let $f = \\Omega(n_1)$, where $\\Omega(k)$ is the number of prime factors of $k$ counted with multiplicity. Let $t = \\mu(66755)^2$, where $\\mu$ is the Möbius function. Define $n = 45369 + t + f$. Let $\\text{result}$ be the sum of the positive divisors of $n$. Compute the multiplicative order of $2$ modulo $2|\\text{result}| + 3$.", "answer": 16164, "graph": "graphs = [\n Graph(\n let={\n \"n2\": Const(66755),\n \"t\": Pow(MoebiusMu(n=Ref(name='n2')), Const(2)),\n \"n1\": EulerPhi(n=Const(1)),\n \"f\": BigOmega(n=Ref(name='n1')),\n \"n\": Sum(Const(45369), Ref(\"t\"), Ref(\"f\")),\n \"result\": SumDivisors(n=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": "MOBIUS_SQUAREFREE", "lemma_paths": ["MOBIUS_SQUAREFREE", "BIG_OMEGA_ZERO", "ONE_PHI_1"], "recipe_id": "ee4228", "seed_template_id": "nt_sum_divisors_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 2, "lemma_set": ["BIG_OMEGA_ZERO", "MOBIUS_SQUAREFREE", "ONE_PHI_1"], "num_lemmas": 3, "generation_time": 0.005, "created_at": "2026-02-08T03:03:28.104614Z", "verification": {"verified": true, "answer": 16164, "timestamp": "2026-02-08T03:03:28.109325Z"}, "problem_hash": "a81254", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"BIG_OMEGA_ZERO": "ok", "MOBIUS_SQUAREFREE": "ok", "ONE_PHI_1": "ok", "K15": "no", "L3b": "no", "LTE_DIFF": "no", "LTE_SUM": "no", "V8_SUM": "no"}, "split": "valid"} +{"id": "b8eb12", "alias": "algebra_vieta_sum_v1_153355830_1185", "problem": "Let $f(x) = x^4 + 8x^3 - 36x^2 - 128x + 320$. Let $r$ be the product of all real solutions to $f(x) = 0$. Let $T$ be the set of all ordered pairs $(x,y)$ of positive integers such that $x \\cdot y = 12250000$, and let $s$ be the minimum value of $x + y$ over all such pairs. Let $c$ be the largest positive integer $d$ such that $d \\leq s$ and $d$ divides 49091000. Compute the value of\n$$\n(r^2 + 22r + c) \\bmod 67604.\n$$", "answer": 48836, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(4),\n \"_n\": Const(3),\n \"result\": ProductOverSet(set=SolutionsSet(var=Var(name='x'), condition=Eq(left=Sum(Pow(base=Var(name='x'), exp=Ref(name='_m')), Mul(Const(value=8), Pow(base=Var(name='x'), exp=Ref(name='_n'))), Mul(Const(value=-36), Pow(base=Var(name='x'), exp=Const(value=2))), Mul(Const(value=-128), Var(name='x')), Const(value=320)), right=Const(value=0)))),\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(12250000)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Divides(divisor=Var(\"d\"), dividend=Const(49091000))))),\n \"Q\": Mod(value=Sum(Pow(Ref(\"result\"), Const(2)), Mul(Const(22), Ref(\"result\")), Ref(\"_c\")), modulus=Const(67604)),\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"], "recipe_id": "ae1934", "seed_template_id": "algebra_vieta_sum_v1", "ending_id": "quadratic_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "MAX_DIVISOR"], "num_lemmas": 2, "generation_time": 0.026, "created_at": "2026-02-08T06:10:50.899231Z", "verification": {"verified": true, "answer": 48836, "timestamp": "2026-02-08T06:10:50.925416Z"}, "problem_hash": "a85b5f", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 48836, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 201, "completion_tokens": 2620}, "timestamp": "2026-02-12T21:38:37.829Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 281, "completion_tokens": 584}, "timestamp": "2026-02-11T23:46:48.088Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_DIVISOR": "ok_later", "K16": "no", "K5": "no", "LTE_DIFF_P2": "no", "MOD_FACTORIAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "e5055e", "alias": "comb_sum_binomial_mod_v1_2051736721_1586", "problem": "Let $n = 204$. Let $d_{\\max}$ be the largest positive divisor $d$ of $29356$ such that $1 \\leq d \\leq 164$. Compute the remainder when $\\sum_{k=28}^{d_{\\max}} \\binom{n}{k}$ is divided by $11777$.", "answer": 10182, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(204),\n \"sum\": Summation(var=\"k\", start=Const(28), end=MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Const(164)), Divides(divisor=Var(\"d\"), dividend=Const(29356))))), expr=Binom(n=Ref(\"_n\"), k=Var(\"k\"))),\n \"result\": Mod(value=Ref(\"sum\"), modulus=Const(11777)),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "MAX_DIVISOR", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "comb_sum_binomial_mod_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR"], "num_lemmas": 1, "generation_time": 0.013, "created_at": "2026-02-08T16:06:45.072420Z", "verification": {"verified": true, "answer": 10182, "timestamp": "2026-02-08T16:06:45.085560Z"}, "problem_hash": "d2cb67", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 181, "completion_tokens": 789}, "timestamp": "2026-02-12T09:54:47.778Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_COPRIME_GRID": "no", "DS2": "no", "V3": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "cc18a5", "alias": "nt_sum_phi_v1_1116507919_318", "problem": "Let $n = 555$. Let $d_{\\text{max}}$ be the largest positive divisor of $312465$ that is at most $n$. Compute the sum $\\sum_{k=1}^{d_{\\text{max}}} \\phi(k)$, where $\\phi$ denotes Euler's totient function.", "answer": 93734, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(555),\n \"upper\": MaxOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(1)), Leq(Var(\"d\"), Ref(\"_n\")), Divides(divisor=Var(\"d\"), dividend=Const(312465))))),\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": "SUM_DIVISIBLE", "lemma_paths": ["MAX_DIVISOR"], "recipe_id": "51757e", "seed_template_id": "nt_sum_phi_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["MAX_DIVISOR", "SUM_DIVISIBLE"], "num_lemmas": 2, "generation_time": 0.044, "created_at": "2026-02-08T02:31:09.305787Z", "verification": {"verified": true, "answer": 93734, "timestamp": "2026-02-08T02:31:09.349705Z"}, "problem_hash": "1e3798", "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": 180, "completion_tokens": 8192}, "timestamp": "2026-02-08T19:23:03.095Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 93630, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 176, "completion_tokens": 7735}, "timestamp": "2026-02-09T15:42:09.395Z"}, {"id": 3, "model": "Qwen/Qwen3-235B-A22B-Thinking-2507", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 132, "completion_tokens": 8192}, "timestamp": "2026-02-09T19:32:53.143Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 72, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 125, "completion_tokens": 519}, "timestamp": "2026-02-10T13:16:15.844Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 93600, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 109, "completion_tokens": 4289}, "timestamp": "2026-02-09T19:24:32.956Z"}, {"id": 8, "model": "mathstral", "answer": 285, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 128, "completion_tokens": 931}, "timestamp": "2026-02-11T01:52:32.037Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 174, "completion_tokens": 256}, "timestamp": "2026-02-11T19:36:00.045Z"}], "solution_status": 0, "lemma_applicability": {"MAX_DIVISOR": "ok", "COUNT_PRIMES": "no", "K14": "no", "K15": "no", "POLY_PADIC_VAL_CONST": "no", "V1": "no"}, "irt_difficulty": {"lo": 2.29, "mid": 6.14, "hi": 10.0}, "split": "valid"} +{"id": "3d0a51", "alias": "diophantine_fbi2_count_v1_1520064083_4274", "problem": "Let $T$ be the set of all ordered pairs of positive integers $(x, y)$ such that $xy = 176400$. Let $k$ be the minimum value of $x + y$ over all such pairs. Let $A$ be the number of positive integers $d$ such that $2 \\leq d \\leq 91$, $d$ divides $k$, and $\\frac{k}{d}$ is an integer between $5$ and $94$, inclusive. Let $B$ be the sum of all solutions $x$ to the equation $x^2 - 1849x + 7380 = 0$. Compute $B - A$.", "answer": 1833, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(7380),\n \"_n\": Const(5),\n \"k\": MinOverSet(set=MapOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"x\"), Var(\"y\")]), condition=And(IsPositive(arg=Var(name='x')), IsPositive(arg=Var(name='y')), Eq(Mul(Var(\"x\"), Var(\"y\")), Const(176400)))), expr=Sum(Var(\"x\"), Var(\"y\")))),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(91)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Ref(\"_n\")), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(94))))),\n \"Q\": Sub(SumOverSet(set=SolutionsSet(var=Var(\"x\"), condition=Eq(Sum(Pow(Var(\"x\"), Const(2)), Mul(Const(-1849), Var(\"x\")), Ref(\"_m\")), Const(0)))), Ref(\"result\")),\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", "B3"], "recipe_id": "78fd73", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B3", "VIETA_SUM"], "num_lemmas": 2, "generation_time": 0.011, "created_at": "2026-02-08T06:11:02.560499Z", "verification": {"verified": true, "answer": 1833, "timestamp": "2026-02-08T06:11:02.571032Z"}, "problem_hash": "e76d50", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 1833, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 185, "completion_tokens": 1708}, "timestamp": "2026-02-12T21:19:40.476Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 252, "completion_tokens": 552}, "timestamp": "2026-02-11T23:45:04.384Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "VIETA_SUM": "ok", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "LTE_DIFF_P2": "no", "MAX_PRIME_BELOW": "no", "V3": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "b40812", "alias": "antilemma_coprime_grid_v1_1125832087_2127", "problem": "Let $F_n$ denote the $n$th Fibonacci number, defined by $F_1=1$, $F_2=1$, and $F_{n+2}=F_{n+1}+F_n$ for all integers $n\\ge1$.\n\nLet $M$ be the number of integers $n$ with $1\\le n\\le 45000$ such that $10$ divides $F_n$.\n\nLet $N$ be the number of integers $t$ such that $24\\le t\\le 231$ and there exist integers $a$ and $b$ with $1\\le a\\le 10$ and $1\\le b\\le 55$ satisfying\n$$t = 5a + 3b + 16.$$\n\nLet $K$ be the number of integers $k$ with $1\\le k\\le M$ such that $N$ divides $k$.\n\nLet\n$$S = \\sum_{d\\mid \\gcd(8,K)} \\mu(d),$$\nwhere $\\mu$ is the Möbius function, and let $T=\\varphi(S)$, where $\\varphi$ is Euler's totient function.\n\nLet $x$ be the number of ordered pairs $(i,j)$ of integers with $1\\le i\\le 20$ and $1\\le j\\le 62$ such that\n$$\\gcd(i,j) = T.$$\n\nCompute $x$. ", "answer": 829, "graph": "graphs = [\n Graph(\n let={\n \"_c\": Const(8),\n \"_m\": CountOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(1)), Leq(Var(\"n\"), Const(45000)), Divides(divisor=Const(10), dividend=Fibonacci(arg=Var(name='n')))))),\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=10)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=55)), Geq(left=Var(name='t'), right=Const(value=24)), Leq(left=Var(name='t'), right=Const(value=231)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=3), Var(name='b')), Const(value=16)))))))),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=SumOverDivisors(n=GCD(a=Ref(name='_c'), 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=Ref(name='_m')), Divides(divisor=Ref(name='_n'), dividend=Var(name='k')))))), var='d', expr=MoebiusMu(n=Var(name='d'))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(21)), right=IntegerRange(start=Const(1), end=Const(63))))),\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/LIN_FORM/C2/MOBIUS_COPRIME/ONE_PHI_1/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "374194", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 8, "num_spawns": 0, "lemma_set": ["C2", "COUNT_COPRIME_GRID", "COUNT_FIB_DIVISIBLE", "LIN_FORM", "MOBIUS_COPRIME", "ONE_PHI_1"], "num_lemmas": 6, "generation_time": 0.004, "created_at": "2026-02-08T04:21:43.773048Z", "verification": {"verified": true, "answer": 829, "timestamp": "2026-02-08T04:21:43.777077Z"}, "problem_hash": "4b80db", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "COUNT_FIB_DIVISIBLE": "ok", "C2": "ok_later", "LIN_FORM": "ok_later", "MOBIUS_COPRIME": "ok_later", "ONE_PHI_1": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_SUM_EQUALS": "no", "K16": "no", "K18": "no", "MOD_FACTORIAL": "no"}, "split": "valid"} +{"id": "ef5672", "alias": "nt_count_phi_equals_v1_151522320_2151", "problem": "Let $k = 612$ and $N$ be the number of positive integers $n \\leq 1849$ such that $\\phi(n) = k$. Compute the Bell number $B_r$, where $r = |N| \\mod 11$.", "answer": 4140, "graph": "graphs = [\n Graph(\n let={\n \"upper\": Const(1849),\n \"k\": Const(612),\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\": 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": "LIN_FORM", "lemma_paths": ["C4/COUNT_PRIMES"], "recipe_id": "be6d5a", "seed_template_id": "nt_count_phi_equals_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C4", "COUNT_PRIMES", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.713, "created_at": "2026-02-08T04:39:19.201958Z", "verification": {"verified": true, "answer": 4140, "timestamp": "2026-02-08T04:39:19.914743Z"}, "problem_hash": "b96dd8", "license": "CC BY 4.0", "llm_solvers": [{"id": 2, "model": "openai/gpt-oss-120b", "answer": 4140, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 165, "completion_tokens": 7995}, "timestamp": "2026-02-11T21:39:14.598Z"}, {"id": 8, "model": "mathstral", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 117, "completion_tokens": 477}, "timestamp": "2026-02-13T21:40:21.913Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 164, "completion_tokens": 556}, "timestamp": "2026-02-11T21:38:33.483Z"}], "solution_status": 1, "lemma_applicability": {"C4": "ok", "COUNT_PRIMES": "ok_later", "K15": "no", "L3c": "no", "LTE_DIFF": "no", "LTE_DIFF_P2": "no", "MOD_MUL": "no"}, "irt_difficulty": {"lo": -8.74, "mid": -2.52, "hi": 4.17}, "split": "valid"} +{"id": "137ede", "alias": "nt_lcm_compute_v1_458359167_2658", "problem": "Let $a=531$ and $b=2424$, and let $L$ be the least common multiple of $a$ and $b$.\n\nLet $d_0$ be the smallest integer $d\\ge2$ such that $d$ divides $9294017611$. Let $r_1$ be the remainder when $L$ is divided by $d_0$.\n\nLet $S$ be the set of integers $n$ with $1\\le n\\le 3832$ such that $8$ divides $n$ and $\\gcd(n,35)=1$. Let $k$ be the largest prime number $p$ such that $2\\le p\\le |S|$, where $|S|$ denotes the number of elements of $S$. Let $r_2$ be the remainder when $L$ is divided by $k$.\n\nLet $c=1009$, and let $Q$ be the remainder when $r_1+cr_2$ is divided by $76131$.\n\nFind the value of $Q$.", "answer": 72361, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(76131),\n \"a\": Const(531),\n \"b\": Const(2424),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"_c\": Const(1009),\n \"Q\": Mod(value=Sum(Mod(value=Ref(\"result\"), modulus=MinOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Divides(divisor=Var(\"d\"), dividend=Const(9294017611)))))), Mul(Ref(\"_c\"), Mod(value=Ref(\"result\"), modulus=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(3832)), Divides(divisor=Const(8), dividend=Var(\"n\")), Eq(GCD(a=Var(\"n\"), b=Const(35)), Const(1)))))), 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": "C5", "lemma_paths": ["C5/MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "recipe_id": "d9a22b", "seed_template_id": "nt_lcm_compute_v1", "ending_id": "two_moduli", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["C5", "MAX_PRIME_BELOW", "MIN_PRIME_FACTOR"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T06:42:26.319894Z", "verification": {"verified": true, "answer": 72361, "timestamp": "2026-02-08T06:42:26.323745Z"}, "problem_hash": "a94349", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 267, "completion_tokens": 8192}, "timestamp": "2026-02-13T03:24:54.741Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 344, "completion_tokens": 442}, "timestamp": "2026-02-12T00:22:36.684Z"}], "solution_status": 0, "lemma_applicability": {"C5": "ok", "MIN_PRIME_FACTOR": "ok", "MAX_PRIME_BELOW": "ok_later", "C2": "no", "COUNT_DIVISOR_COUNT": "no", "COUNT_FIB_DIVISIBLE": "no", "L3c": "no", "V3": "no"}, "irt_difficulty": {"lo": 1.22, "mid": 5.61, "hi": 10.0}, "split": "valid"} +{"id": "8a4734", "alias": "diophantine_fbi2_count_v1_1915831931_858", "problem": "Let $k = 720$. Determine the number of integers $d$ such that $2 \\leq d \\leq 122$, $d$ divides $k$, and $5 \\leq \\frac{k}{d} \\leq 125$.", "answer": 20, "graph": "graphs = [\n Graph(\n let={\n \"k\": Const(720),\n \"a\": Const(1),\n \"b\": Const(4),\n \"upper\": Const(121),\n \"result\": CountOverSet(set=SolutionsSet(var=Var(\"d\"), condition=And(Geq(Var(\"d\"), Const(2)), Leq(Var(\"d\"), Const(122)), Divides(divisor=Var(\"d\"), dividend=Ref(\"k\")), Geq(Div(Ref(\"k\"), Var(\"d\")), Const(5)), Leq(Div(Ref(\"k\"), Var(\"d\")), Const(125))))),\n },\n goal=Ref(\"result\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "C2", "lemma_paths": ["OMEGA_ONE", "B1/B3"], "recipe_id": "2bb35c", "seed_template_id": "diophantine_fbi2_count_v1", "ending_id": null, "olympiad_level": 4, "num_spawns": 0, "lemma_set": ["B1", "B3", "C2", "OMEGA_ONE"], "num_lemmas": 4, "generation_time": 0.62, "created_at": "2026-02-08T15:43:21.435071Z", "verification": {"verified": true, "answer": 20, "timestamp": "2026-02-08T15:43:22.054734Z"}, "problem_hash": "0586f6", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 160, "completion_tokens": 503}, "timestamp": "2026-02-12T09:03:17.599Z"}], "solution_status": 0, "lemma_applicability": {"B1": "ok", "OMEGA_ONE": "ok", "B3": "ok_later", "K15": "no", "K5": "no", "MAX_PRIME_BELOW": "no", "MAX_VAL": "no", "VAL_SUM_EQ": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "3677d3", "alias": "antilemma_coprime_grid_v1_151522320_1016", "problem": "Let $k$ be the largest integer such that $3^k$ divides $4^3-1^3$. Let\n$$m=\\varphi\\bigl(\\varphi(\\varphi(k))\\bigr),$$\nwhere $\\varphi$ denotes Euler's totient function.\n\nConsider all ordered pairs $(i,j)$ of integers with $1\\le i\\le 30$ and $1\\le j\\le 162$. Let $x$ be the number of such pairs that satisfy\n$$\\gcd(i,j)=m.$$\n\nCompute $x$.", "answer": 3168, "graph": "graphs = [\n Graph(\n let={\n \"_n\": Const(3),\n \"x\": CountOverSet(set=SolutionsSet(var=Tuple(elements=[Var(\"i\"), Var(\"j\")]), condition=Eq(GCD(a=Var(\"i\"), b=Var(\"j\")), EulerPhi(n=EulerPhi(n=EulerPhi(n=MaxKDivides(target=Sub(Pow(Const(4), Const(3)), Pow(Const(1), Const(3))), base=Ref(\"_n\")))))), domain=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(31)), right=IntegerRange(start=Const(1), end=Const(163))))),\n },\n goal=Ref(\"x\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "LTE_DIFF", "lemma_paths": ["LTE_DIFF/ONE_PHI_2/ONE_PHI_1/COUNT_COPRIME_GRID", "COUNT_COPRIME_GRID"], "recipe_id": "8ff896", "seed_template_id": "antilemma_coprime_grid_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COUNT_COPRIME_GRID", "LTE_DIFF", "ONE_PHI_1", "ONE_PHI_2"], "num_lemmas": 4, "generation_time": 0.002, "created_at": "2026-02-08T03:42:39.933279Z", "verification": {"verified": true, "answer": 3168, "timestamp": "2026-02-08T03:42:39.935398Z"}, "problem_hash": "259d8b", "license": "CC BY 4.0", "solution_status": null, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LTE_DIFF": "ok", "ONE_PHI_1": "ok_later", "ONE_PHI_2": "ok_later", "COUNT_CARTESIAN": "no", "COUNT_FIB_DIVISIBLE": "no", "COUNT_PRIMES": "no", "V1": "no", "V7": "no"}, "split": "valid"} +{"id": "5776b2", "alias": "nt_lcm_compute_v1_168721529_731", "problem": "Let $m = 2$, $n_0 = 3$, $p_1 = 29$, and $q_1 = 13$. Define\n$$n_1 = p_1^2(q_1 + 1).$$\nLet $w = (\\mu(n_1))^2$, where $\\mu$ is the Möbius function.\n\nLet $p = 2$, and let $q$ be defined as follows. Consider all prime numbers between $2$ and $21$, inclusive, and let $M$ be the greatest of these primes. Then\n$$q = M + w.$$\n\nLet $r = 13$ and define\n$$n = p^m \\cdot q \\cdot r.$$\nLet $s = (\\mu(n))^2$.\n\nLet $a = 735$. Consider all ordered pairs $(x,y)$ of positive integers such that $xy = 1988100$. For each such pair, form the sum $x + y$. Let $U$ be the smallest value among all such sums $x+y$.\n\nLet $t$ be the number of positive integers $j$ such that\n$$1 \\le j \\le U \\quad \\text{and} \\quad j^{n_0} \\le 22425768000.$$\nDefine\n$$b = t + s.$$\n\nLet $R$ be the least common multiple of $a$ and $b$.\n\nLet $Q$ be the remainder when $54909R$ is divided by $73370$.\n\nFind the value of $Q$.", "answer": 60550, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": Const(3),\n \"p1\": Const(29),\n \"q1\": Const(13),\n \"n1\": Mul(Pow(Ref(\"p1\"), Const(2)), Sum(Ref(\"q1\"), Const(1))),\n \"w\": Pow(MoebiusMu(n=Ref(name='n1')), Const(2)),\n \"p\": Const(2),\n \"q\": Sum(MaxOverSet(set=SolutionsSet(var=Var(\"n\"), condition=And(Geq(Var(\"n\"), Const(2)), Leq(Var(\"n\"), Const(21)), IsPrime(Var(\"n\"))))), Ref(\"w\")),\n \"r\": Const(13),\n \"n\": Mul(Pow(Ref(\"p\"), Ref(\"_m\")), Ref(\"q\"), Ref(\"r\")),\n \"s\": Pow(MoebiusMu(n=Ref(name='n')), Const(2)),\n \"a\": Const(735),\n \"b\": Sum(CountOverSet(set=SolutionsSet(var=Var(\"j\"), condition=And(Geq(Var(\"j\"), Const(1)), Leq(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\")), Const(1988100)))), expr=Sum(Var(\"x\"), Var(\"y\"))))), Leq(Pow(Var(\"j\"), Ref(\"_n\")), Const(22425768000))), domain='positive_integers')), Ref(\"s\")),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Const(54909), Ref(\"result\")), modulus=Const(73370)),\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", "B3/C3/MOBIUS_SQUAREFREE"], "recipe_id": "d84d36", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 2, "lemma_set": ["B3", "C3", "MAX_PRIME_BELOW", "MOBIUS_SQUAREFREE"], "num_lemmas": 4, "generation_time": 0.008, "created_at": "2026-02-08T13:15:12.606331Z", "verification": {"verified": true, "answer": 60550, "timestamp": "2026-02-08T13:15:12.614765Z"}, "problem_hash": "ea6c57", "license": "CC BY 4.0", "llm_solvers": [{"id": 1, "model": "openai/gpt-oss-20b", "answer": 60550, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 444, "completion_tokens": 6194}, "timestamp": "2026-02-09T08:36:05.747Z"}, {"id": 4, "model": "NousResearch/Hermes-4-405B", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 383, "completion_tokens": 761}, "timestamp": "2026-02-09T20:52:16.173Z"}], "solution_status": 1, "lemma_applicability": {"B3": "ok", "MAX_PRIME_BELOW": "ok", "C3": "ok_later", "MOBIUS_SQUAREFREE": "ok_later", "L3c": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "MOD_SUB": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -5.81, "mid": -1.95, "hi": 1.9}, "split": "valid"} +{"id": "e2be3e", "alias": "comb_catalan_compute_v1_1918700295_2762", "problem": "Let $N$ be the number of ordered pairs $(u,v)$ of integers such that $1\\le u\\le 64$ and $1\\le v\\le 72$. Let $n$ 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 2,\\quad 5\\le t\\le 16,\\quad t=2a+3b.\n$$\nLet $C_n$ be the $n$-th Catalan number.\n\nLet $M$ 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$$\nx_1+x_2=N.\n$$\nDefine\n$$\nQ\\equiv M-C_n\\pmod{51480},\n$$\nwhere $0\\le Q<51480$.\n\nFind the value of $Q$.", "answer": 36988, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(51480),\n \"_n\": CountOverSet(set=CartesianProduct(left=IntegerRange(start=Const(1), end=Const(64)), right=IntegerRange(start=Const(1), end=Const(72)))),\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=5)), Leq(left=Var(name='t'), right=Const(value=16)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=3), Var(name='b'))))))))),\n \"result\": Catalan(Ref(\"n\")),\n \"Q\": Mod(value=Sub(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(\"result\")), modulus=Ref(\"_m\")),\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/COMB1", "LIN_FORM"], "recipe_id": "824a4c", "seed_template_id": "comb_catalan_compute_v1", "ending_id": "negation_mod", "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["COMB1", "COUNT_CARTESIAN", "LIN_FORM"], "num_lemmas": 3, "generation_time": 0.004, "created_at": "2026-02-08T08:11:55.394606Z", "verification": {"verified": true, "answer": 36988, "timestamp": "2026-02-08T08:11:55.398740Z"}, "problem_hash": "b5d879", "license": "CC BY 4.0", "llm_solvers": [{"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 36988, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 251, "completion_tokens": 993}, "timestamp": "2026-02-13T15:44:21.518Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 334, "completion_tokens": 709}, "timestamp": "2026-02-12T01:38:09.958Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_CARTESIAN": "ok", "LIN_FORM": "ok", "COMB1": "ok_later", "C2": "no", "COUNT_COPRIME_GRID": "no", "V7": "no", "V8": "no", "V8_SUM": "no"}, "irt_difficulty": {"lo": -10.0, "mid": -3.01, "hi": 4.75}, "split": "valid"} +{"id": "489923", "alias": "geo_visible_lattice_v1_717093673_4076", "problem": "Let $n = 99$ and let $\\text{result}$ be the number of visible lattice points $(x, y)$ with $1 \\leq x, y \\leq n$, where a point is visible if $\\gcd(x, y) = 1$. Let $Q$ be the remainder when $44121 \\cdot \\text{result}$ is divided by $56255$. Find $Q$.", "answer": 17542, "graph": "graphs = [\n Graph(\n let={\n \"n\": Const(99),\n \"result\": VisibleLatticePoints(n=Ref(name='n')),\n \"Q\": Mod(value=Mul(Const(44121), Ref(\"result\")), modulus=Const(56255)),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "GEOM", "secondary_domain": null, "goal": "COUNT", "evaluator_id": "sympy", "root_lemma": "", "lemma_paths": [], "recipe_id": "", "seed_template_id": "geo_visible_lattice_v1", "ending_id": null, "olympiad_level": 3, "num_spawns": 0, "generation_time": 0.295, "created_at": "2026-02-08T18:01:59.174974Z", "verification": {"verified": true, "answer": 17542, "timestamp": "2026-02-08T18:01:59.470444Z"}, "problem_hash": "dedc89", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 40, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 194, "completion_tokens": 398}, "timestamp": "2026-02-12T23:36:44.397Z"}], "solution_status": 0, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "1acef8", "alias": "nt_lcm_compute_v1_153355830_268", "problem": "Let $ T $ be the set of all integers $ t $ such that $ 7 \\le t \\le 100 $ and there exist positive integers $ a $ and $ b $ with $ 1 \\le a \\le 14 $, $ 1 \\le b \\le 15 $, and $ t = 5a + 2b $. Let $ s = |T| $. Define $ P $ to be the set of all ordered pairs $ (x, y) $ of positive integers such that $ x + y = s $. Let $ a $ be the maximum value of $ x \\cdot y $ over all such pairs $ (x, y) \\in P $. Let $ b $ be the number of ordered pairs $ (i, j) $ with $ 1 \\le i \\le 17 $ and $ 1 \\le j \\le 81 $ such that $ \\gcd(i, j) = 1 $. Let $ L = \\operatorname{lcm}(a, b) $. Compute the remainder when $ 44121 \\cdot L $ is divided by $ 64742 $.", "answer": 53077, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(64742),\n \"_n\": Const(44121),\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\")), CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=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=15)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=100)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=5), Var(name='a')), Mul(Const(value=2), Var(name='b')))))))))))), expr=Mul(Var(\"x\"), Var(\"y\")))),\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(17)), right=IntegerRange(start=Const(1), end=Const(81))))),\n \"result\": LCM(a=Ref(\"a\"), b=Ref(\"b\")),\n \"Q\": Mod(value=Mul(Ref(\"_n\"), Ref(\"result\")), modulus=Ref(\"_m\")),\n },\n goal=Ref(\"Q\"),\n )\n]", "domain": "NT", "secondary_domain": null, "goal": "COMPUTE", "evaluator_id": "sympy", "root_lemma": "L3B", "lemma_paths": ["COUNT_COPRIME_GRID", "LIN_FORM/B1"], "recipe_id": "539abe", "seed_template_id": "nt_lcm_compute_v1", "ending_id": null, "olympiad_level": 6, "num_spawns": 0, "lemma_set": ["B1", "COUNT_COPRIME_GRID", "L3B", "LIN_FORM"], "num_lemmas": 4, "generation_time": 0.009, "created_at": "2026-02-08T03:00:05.457907Z", "verification": {"verified": true, "answer": 53077, "timestamp": "2026-02-08T03:00:05.467162Z"}, "problem_hash": "1c7dba", "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": 344, "completion_tokens": 8192}, "timestamp": "2026-02-10T12:26:16.764Z"}, {"id": 2, "model": "openai/gpt-oss-120b", "answer": 53077, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 344, "completion_tokens": 5717}, "timestamp": "2026-02-10T12:31:13.053Z"}, {"id": 5, "model": "deepseek-ai/DeepSeek-V3.2", "answer": 53077, "score": 3, "correct": {"strict": true, "boxed": true, "relaxed": true}, "usage": {"prompt_tokens": 278, "completion_tokens": 5512}, "timestamp": "2026-02-11T01:34:35.319Z"}, {"id": 8, "model": "mathstral", "answer": 0, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 302, "completion_tokens": 693}, "timestamp": "2026-02-11T11:21:37.558Z"}, {"id": 11, "model": "google/gemma-2-9b-it-fast", "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 345, "completion_tokens": 535}, "timestamp": "2026-02-11T20:05:22.996Z"}], "solution_status": 1, "lemma_applicability": {"COUNT_COPRIME_GRID": "ok", "LIN_FORM": "ok", "B1": "ok_later", "COUNT_INTEGER_RANGE": "no", "MAX_VAL": "no", "MOD_ADD": "no", "MOD_MUL": "no", "POLY_PADIC_VAL_CONST": "no"}, "irt_difficulty": {"lo": -2.64, "mid": 0.78, "hi": 3.59}, "split": "valid"} +{"id": "024a42", "alias": "comb_binomial_compute_v1_865884756_3108", "problem": "Let $m = 2$, and let $n_1$ be an integer satisfying $m \\leq n_1 \\leq 10$ and $n_1$ is prime. Let $n$ be the number of integers $t$ with $7 \\leq t \\leq 22$ for which there exist positive integers $a$ and $b$ such that $1 \\leq a \\leq 6$, $1 \\leq b \\leq 2$, and $t = 2a + 5b$. Let $k$ be the largest prime number $n_2$ such that $2 \\leq n_2 \\leq n$. Compute $\\binom{n}{k}$.", "answer": 792, "graph": "graphs = [\n Graph(\n let={\n \"_m\": Const(2),\n \"_n\": MaxOverSet(set=SolutionsSet(var=Var(\"n1\"), condition=And(Geq(Var(\"n1\"), Ref(\"_m\")), Leq(Var(\"n1\"), Const(10)), IsPrime(Var(\"n1\"))))),\n \"n\": CountOverSet(set=SolutionsSet(var=Var(\"t\"), condition=Exists(var=Var(name='a'), condition=Exists(var=Var(name='b'), condition=And(Geq(left=Var(name='a'), right=Const(value=1)), Leq(left=Var(name='a'), right=Const(value=6)), Geq(left=Var(name='b'), right=Const(value=1)), Leq(left=Var(name='b'), right=Const(value=2)), Geq(left=Var(name='t'), right=Const(value=7)), Leq(left=Var(name='t'), right=Const(value=22)), Eq(left=Var(name='t'), right=Sum(Mul(Const(value=2), Var(name='a')), Mul(Const(value=5), Var(name='b'))))))))),\n \"k\": MaxOverSet(set=SolutionsSet(var=Var(\"n2\"), condition=And(Geq(Var(\"n2\"), Const(2)), Leq(Var(\"n2\"), Ref(\"_n\")), IsPrime(Var(\"n2\"))))),\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": "MAX_PRIME_BELOW", "lemma_paths": ["MAX_PRIME_BELOW/LIN_FORM/MAX_PRIME_BELOW"], "recipe_id": "f30a9f", "seed_template_id": "comb_binomial_compute_v1", "ending_id": null, "olympiad_level": 5, "num_spawns": 0, "lemma_set": ["LIN_FORM", "MAX_PRIME_BELOW"], "num_lemmas": 2, "generation_time": 0.003, "created_at": "2026-02-08T17:10:47.753920Z", "verification": {"verified": true, "answer": 792, "timestamp": "2026-02-08T17:10:47.757266Z"}, "problem_hash": "46bf38", "license": "CC BY 4.0", "llm_solvers": [{"id": 11, "model": "google/gemma-2-9b-it-fast", "answer": 364, "score": 0, "correct": {"strict": false, "boxed": false, "relaxed": false}, "usage": {"prompt_tokens": 249, "completion_tokens": 458}, "timestamp": "2026-02-12T21:59:53.737Z"}], "solution_status": 0, "lemma_applicability": {"MAX_PRIME_BELOW": "ok", "LIN_FORM": "ok_later", "K15": "no", "K18": "no", "LTE_DIFF": "no", "MOD_FACTORIAL": "no", "V1": "no"}, "irt_difficulty": {"lo": -10.0, "mid": 0.0, "hi": 10.0}, "split": "valid"} +{"id": "6c3345", "alias": "antilemma_v8_lucas_548369836_246", "problem": "Let $N=98175$. For each integer $j$ with $0\\le j\\le N$, consider the binomial coefficient $\\binom{N}{j}$. Let $x$ be the number of integers $j$ with $0\\le j\\le N$ such that $\\binom{N}{j}$ is odd.\n\nLet $M$ be the number of positive integers $k$ with $1\\le k\\le 91091$ such that $49$ divides $k$. Let $D$ be the set of all integers $d$ with $2\\le d$ such that $d$ divides $M$, and let $m$ be the minimum element of $D$.\n\nLet $r$ be the remainder when $|x|$ is divided by $m$, so that $0\\le r