Ameriprise interview question

one simple pattern question