Let be an integer sequence such that
where .
Find the sum of the first one hundred members.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This recursive sequence is cyclic with a period of 12.
It goes : 1,1,0,1,-1,0,-1,-1,0,-1,1,0
with a periodic sum of 0.
100 = 12 x 8 + 4, so
S(100) = 8 x 0 + S(4)
= 0 + (1+1+0+1)
= 3