An infinite sequence of integers a1,a2,a3,... is given with a1=0 and further holds for every natural number n that an+1=an−n if an≥n and an+1=an+n if an<n .
(a) Prove that there are infinitely many numbers in the sequence equal to 0.
(b) Express in terms of k the ordinal number of the ke number from the sequence, which is equal to 0. recurrence relationSequencealgebra