|
Download tasks/smallmath-0030/instruction.md from HuggingFaceSwarms/SmallMath: direct link, hf CLI and curl.
- Browser
- Download file 737 Bytes
-
https://huggingface.co/datasets/HuggingFaceSwarms/SmallMath/resolve/main/tasks/smallmath-0030/instruction.md
- Command line
-
hf download hf://datasets/HuggingFaceSwarms/SmallMath/tasks/smallmath-0030/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/HuggingFaceSwarms/SmallMath/resolve/main/tasks/smallmath-0030/instruction.md
737 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:
How many ordered 7-tuples $(a_1, a_2, a_3, \ldots, a_7)$ satisfy all of these conditions? - Each entry satisfies $a_k \in {1,2,3}$ for every $k.$ - The sum $a_1+a_2+a_3+a_4+a_5+a_6+a_7$ is divisible by $3.$ - The expression $a_1a_2 a_4 + a_2a_3a_5 + a_3a_4 a_6 + a_4 a_5 a_7 + a_5 a_6 a_1 + a_6 a_7 a_2 + a_7 a_1 a_3$ is divisible by $3.$