Take a test Sign in 中文
← Exercise 957 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 957
The sequence $(a_n)$ has $a_0=1$, $a_1=\sqrt[7]2$, and $a_n=a_{n-1}a_{n-2}^2$ for $n\ge2$. What is the smallest positive integer $k$ such that $a_1a_2\cdots a_k$ is an integer?
← Back to Problem 957
Solution
  1. Write $a_n=2^{b_n/7}$: $b_0=0$, $b_1=1$, $b_n=b_{n-1}+2b_{n-2}$, so $b_n=\frac{2^n-(-1)^n}3$. The product $a_1\cdots a_k$ is an integer exactly when $7\mid s_k=b_1+\cdots+b_k=\frac{2^{k+1}-2+[k\text{ odd}]}3$.
  2. $k$ odd: $7\mid2^{k+1}-1$, i.e.\ $3\mid k+1$: $k=5$. $k$ even: $7\mid2^k-1$: $k=6$.
  3. So $k=\boxed{5}$ (indeed $s_5=1+1+3+5+11=21$).
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year