Writing this sequence of numbers in code

Printable View