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