For positive integers $a$ and $k$, define the sequence $a_1,a_2,\ldots$ by \[a_1=a,\qquad\text{and}\qquad a_{n+1}=a_n+k\cdot\varrho(a_n)\qquad\text{for } n=1,2,\ldots\] where $\varrho(m)$ denotes the product of the decimal digits of $m$ (for example, $\varrho(413)=12$ and $\varrho(308)=0$). Prove that there are positive integers $a$ and $k$ for which the sequence $a_1,a_2,\ldots$ contains exactly $2009$ different numbers.
Problem
Source: Czech-Polish-Slovak Match, 2009
Tags: induction, algebra unsolved, algebra
27.08.2011 05:16
27.08.2011 12:36
Here is a somehow nasty solution: The beginning is natural, the end is just some boring calculation I would not have done without my computer.
01.03.2018 21:43
The above solution is wrong; here's my solution: For convenient, let $\ell =2005$. Choose $a_1=a=\underbrace{11...1}_{2\ell +2}$ and $k=4\underbrace{00...0}_{\ell}1$. We can see that $a_2=\underbrace{11...1}_{\ell}5\underbrace{11...1}_{\ell}2$ and more generally, $$a_{i+1}=\underbrace{11...1}_{\ell+1-i}\underbrace{55...5}_{i}\underbrace{11...1}_{\ell +1-i}\underbrace{22...2}_{i}$$for all $i\in \{ 1,2,...,\ell +1\}$. In particular, we ended with $a_{\ell +2}=\underbrace{55...5}_{\ell +1}\underbrace{22...2}_{\ell +1}$. Then, we've $a_{\ell +3}=\underbrace{55...5}_{\ell +1}\underbrace{22...2}_{\ell +1} +4\underbrace{00...0}_{\ell }1\underbrace{00...0}_{\ell +1}=4\underbrace{55...5}_{\ell}6\underbrace{22...2}_{\ell +1}$. Note that $\varrho (a_{\ell +3})=48\times 10^{\ell}$. And, lastly, $a_{\ell +4}=4\underbrace{55...5}_{\ell}6\underbrace{22...2}_{\ell +1} +192\underbrace{00...0}_{\ell -1}48\underbrace{00...0}_{\ell}=237\underbrace{55...5}_{\ell -2}610\underbrace{22...2}_{\ell }$. After this, the sequence is constant and don't give new different number. In conclusion, we get $\ell +4=2009$ different values, which is required by the problem, done.
06.03.2018 02:05
The Dark Lord your solution is really cool!