Domanda di colloquio di Infosys

Code an arithmetic series using any programming language I know.