Easy
A sequence is shown.
Write a function that represents the nth term of the sequence, where .
By signing up, you accept PrepHub’sterms of serviceand dataprivacy policy.
By signing up, you accept PrepHub’sterms of serviceand dataprivacy policy.