跳到主要内容
求证数学Reasoncraft Mathematics
/
搜索我的学习台
  1. AIME
  2. 2004
AIME2004
AIME/AIME

2004 American Invitational Mathematics Examination

30 道题目

AIMEAIME IAIME IIEnglish problems

选择题目

点击题号切换,正文区一次只显示一道题

15 / 30
2004/AIME I/Q15iterationnumber theorysequences竞赛
For all positive integers $x$, let

$$f(x)=\begin{cases}1,&\text{if }x=1,\\ \frac{x}{10},&\text{if }x\text{ is divisible by }10,\\ x+1,&\text{otherwise},\end{cases}$$

and define a sequence as follows: $x_1=x$ and $x_{n+1}=f(x_n)$ for all positive integers $n$. Let $d(x)$ be the smallest $n$ such that $x_n=1$. (For example, $d(100)=3$ and $d(87)=7$.) Let $m$ be the number of positive integers $x$ such that $d(x)=20$. Find the sum of the distinct prime factors of $m$.
考场第一眼 / First look
从终点一逆向生成所有前驱,把路径长度条件变成有限二元串的禁忌。
练习