The sequence a1,a2,a3,… satisfies a1=1, and for all n≥2, it holds that
an={an−1+3ifn−1∈{a1,a2,…,,an−1};an−1+2otherwise.
Prove that for all positive integers n, we have
an<n⋅(1+2).Dominik Burek (Poland) (also known as [url=https://artofproblemsolving.com/community/user/100466]Burii)