Arithmetic Cycle – codegolf.stackexchange.com

Input:

Integer n which is >=0 or >=1 (f(0) is optional)

Output:

The n’th number in the sequence below, OR the sequence up to and including the n’th number.

Sequence:

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *