How do you write the first five terms of the sequence #a_n=(1+(-1)^n)/n#?

1 Answer
Mar 8, 2017

The first five terms of the sequence are #{0,1,0,1/2,0}#

Explanation:

To find the first five terms of the sequence #a_n=(1+(-1)^n)/n#, put integer values of #n# from #1# to #5# and we get

#a_1=(1+(-1)^1)/1=0#

#a_2=(1+(-1)^2)/2=1#

#a_3=(1+(-1)^3)/3=0#

#a_4=(1+(-1)^4)/4=1/2#

#a_5=(1+(-1)^5)/5=0#

Hence, the first five terms are #{0,1,0,1/2,0}#