You are on page 1of 1

Solve the problem given below.

Requirements:
● 1 input (any number from 1 - 20)
● Made with PHP
● Output should follow the ​sequence​ given
● Sequence​ should ​not ​be hard coded

Problem:​ Given a number ​n​ we need to find the ​sequence​ up to the nth term

Example:

You might also like