Problems(1)
For a positive integer m denote by S(m) and P(m) the sum and product, respectively, of the digits of m. Show that for each positive integer n, there exist positive integers a1,a2,…,an satisfying the following conditions: S(a_1) < S(a_2) < \cdots < S(a_n) \text{ and } S(a_i) = P(a_{i+1}) (i=1,2,\ldots,n). (We let an+1=a1.)Problem Committee of the Japan Mathematical Olympiad Foundation algebra