|
Download tasks/smallmath-0050/instruction.md from HuggingFaceSwarms/SmallMath: direct link, hf CLI and curl.
- Browser
- Download file 924 Bytes
-
https://huggingface.co/datasets/HuggingFaceSwarms/SmallMath/resolve/main/tasks/smallmath-0050/instruction.md
- Command line
-
hf download hf://datasets/HuggingFaceSwarms/SmallMath/tasks/smallmath-0050/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/HuggingFaceSwarms/SmallMath/resolve/main/tasks/smallmath-0050/instruction.md
924 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: | |
| Define \(S\) to consist of all ordered pairs \((x, y)\) of nonnegative integers satisfying \(0 \leq x \leq 19\) and \(0 \leq y \leq 2\). How many permutations \((x_1, y_1)\), \((x_2, y_2)\), ..., \((x_{60}, y_{60})\) of the elements of \(S\) meet the following requirements? | |
| - \(y_1 = 2\) and \(y_{60} = 0\); - for every nonnegative integer \(1 \leq i \leq 59\), precisely one of these two conditions is satisfied: - \(x_i = x_{i+1}\) and \(|y_i - y_{i+1}| = 1\), - \(y_i = y_{i+1}\) and \(x_i - x_{i+1}\) is \(-1\) or \(19\). | |