A sequence of real numbers a0,a1,... is said to be good if the following three conditions hold.
(i) The value of a0 is a positive integer.
(ii) For each non-negative integer i we have ai+1=2ai+1 or ai+1=ai+2ai
(iii) There exists a positive integer k such that ak=2014.Find the smallest positive integer n such that there exists a good sequence a0,a1,... of real numbers with the property that an=2014.Proposed by Wang Wei Hua, Hong Kong number theoryAPMOSequence