SmallMath / tasks /smallmath-0196 /instruction.md
SmallMath dataset builder
Build SmallMath Harbor evaluation dataset
de0a028
|
Raw History Blame Contribute Delete
743 Bytes

Solve the following math problem.

Solve with your own reasoning and available tools. Do not look anything up online or call other models or services.

Write ONLY your final answer to /app/answer.txt (create /app if needed). The answer must be one exact number, such as an integer, fraction, or exact expression. Do not include units, words, variables, or a decimal approximation.

Problem:

Fix an integer $n\geq2$. A blackboard starts with $n$ copies of the number $1$. In each operation, two numbers $a,b$ on the blackboard, not both zero, are selected and replaced by $(a-b)^2/(a+b)$ and $4ab/(a+b)$. How many integers $n$ satisfying $2\leq n\leq10^{18}$ allow the number $n$ to occur on the blackboard after finitely many operations?