{"input":[{"id":"afe74111","content":"Problem:\nFor a given positive integer $N$, Henry writes the quotient of $ab$ divided by $N+1$ on the board for each integer pair $(a,b)$ where $1\\le a,b\\le N$. Find all $N$ such that the sum of the $N^2$ numbers Henry wrote on the board is $\\frac{N^3-N^2+2}{4}$.\n\nPlease reason step by step, and put your final answer within \\boxed{}.\n"}],"target":"3","id":0,"group_id":0,"subset_key":"Algebra","metadata":{"problem_id":"imo-bench-algebra-001","subcategory":"Operation","source":"IMO Shortlist 2021"}}
提示模板
提示模板:
Problem:
{question}
Please reason step by step, and put your final answer within \boxed{{}}.