Difference between revisions of "2021 Fall AMC 12B Problems/Problem 5"
(→Solution 2 (Bash)) |
(→Solution 2 (Bash)) |
||
Line 71: | Line 71: | ||
\end{array}</cmath> | \end{array}</cmath> | ||
− | Although 13 terms are found in total, | + | Although 13 terms are found in total, two numbers have appeared twice respectively. Taken repetition into account, we have a total of <math>\boxed{\textbf{(C)}\ 11}</math> terms. |
~Wilhelm Z | ~Wilhelm Z |
Revision as of 09:05, 24 November 2021
Problem 5
Call a fraction , not necessarily in the simplest form, special if and are positive integers whose sum is . How many distinct integers can be written as the sum of two, not necessarily different, special fractions?
Solution 1
so the fraction is which is . We can just ignore the part and only care about . Now we just group as the integers and as the halves. We get from the integers group and from the halves group. These are both integers and we see that overlaps, so the answer is .
~lopkiloinm
Solution 2 (Bash)
Consider all the cases where , and construct the following table:
Let . Now, we list all the possible integers obtained from an addition of two values of :
Although 13 terms are found in total, two numbers have appeared twice respectively. Taken repetition into account, we have a total of terms.
~Wilhelm Z