2016 AMC 12B Problems/Problem 25: Difference between revisions
Zhuangzhuang (talk | contribs) |
Zhuangzhuang (talk | contribs) |
||
| Line 15: | Line 15: | ||
Now, <math>a_1a_2\cdots a_k=2^{\frac{(b_1+b_2+\cdots+b_k)}{19}}</math>, so we are looking for the least value of <math>k</math> so that | Now, <math>a_1a_2\cdots a_k=2^{\frac{(b_1+b_2+\cdots+b_k)}{19}}</math>, so we are looking for the least value of <math>k</math> so that | ||
<math>b_1+b_2+\cdots+b_k \equiv 0 \pmod{19}</math> | <math>b_1+b_2+\cdots+b_k \equiv 0 \pmod{19}</math>. Note that we can multiply all <math>b_i</math> by three for convenience, as the <math>b_i</math> are always integers, and it does not affect divisibility by <math>19</math>. | ||
. | |||
Now, for all even <math>k</math> the sum (adjusted by a factor of three) is <math>2^1+2^2+\cdots+2^k=2^{k+1}-2</math>. The smallest <math>k</math> for which this is a multiple of <math>19</math> is <math>k=18</math> by Fermat's Little Theorem, as it is seen with further testing that <math>2</math> is a primitive root <math>\pmod{19}</math>. | |||
Now, assume <math>k</math> is odd. Then the sum (again adjusted by a factor of three) is <math>2^1+2^2+\cdots+2^k+1=2^{k+1}-1</math>. The smallest <math>k</math> for which this is a multiple of <math>19</math> is <math>k=17</math>, by the same reasons. Thus, the minimal value of <math>k</math> is <math>\textbf{(A)} 19</math>. | |||
Revision as of 11:21, 21 February 2016
Problem
The sequence
is defined recursively by
,
, and
for
. What is the smallest positive integer
such that the product
is an integer?
Solution
Let
. Then
and
for all
. The characteristic polynomial of this linear recurrence is
, which has roots
and
. Therefore,
for constants to be determined
. Using the fact that
we can solve a pair of linear equations for
:
.
Thus
,
, and
.
Now,
, so we are looking for the least value of
so that
. Note that we can multiply all
by three for convenience, as the
are always integers, and it does not affect divisibility by
.
.
Now, for all even
the sum (adjusted by a factor of three) is
. The smallest
for which this is a multiple of
is
by Fermat's Little Theorem, as it is seen with further testing that
is a primitive root
.
Now, assume
is odd. Then the sum (again adjusted by a factor of three) is
. The smallest
for which this is a multiple of
is
, by the same reasons. Thus, the minimal value of
is
.