Difference between revisions of "2014 AIME II Problems/Problem 7"
Kevin38017 (talk | contribs) (Created page with "==Problem== Let <math>f(x)=(x^2+3x+2)^{\cos(\pi x)}</math>. Find the sum of all positive integers <math>n</math> for which <cmath>\left |\sum_{k=1}^n\log_{10}f(k)\right|=1.</cm...") |
Kevin38017 (talk | contribs) |
||
Line 12: | Line 12: | ||
<cmath>\sum_{k=1}^n\log_{10}f(k)= \log_{10}(n+2)-\log_{10}2=\log_{10}\frac{n+2}{2}\ \ \ \text{if n is even}</cmath> | <cmath>\sum_{k=1}^n\log_{10}f(k)= \log_{10}(n+2)-\log_{10}2=\log_{10}\frac{n+2}{2}\ \ \ \text{if n is even}</cmath> | ||
<cmath>\sum_{k=1}^n\log_{10}f(k)= -\log_{10}(n+2)-\log_{10}2=-\log_{10}2(n+2)\ \ \ \text{if n is odd}</cmath> | <cmath>\sum_{k=1}^n\log_{10}f(k)= -\log_{10}(n+2)-\log_{10}2=-\log_{10}2(n+2)\ \ \ \text{if n is odd}</cmath> | ||
− | + | Setting each of the above quantities to <math>1</math> and <math>-1</math> and solving for <math>n</math>, | |
+ | we get possible values of <math>n=3</math> and <math>n=18</math> so our desired answer is <math>3+18=\boxed{021}</math> |
Revision as of 15:57, 27 March 2014
Problem
Let . Find the sum of all positive integers for which
Solution
Note that is when is odd and when is even. Also note that for all . Therefore Because of this, is a telescoping series of logs, and we have Setting each of the above quantities to and and solving for , we get possible values of and so our desired answer is