For the sequence 0, 1, 2, 3 an is ____________
(a) ⌈n/2⌉+⌊n/2⌋
(b) ⌈n/2⌉+⌈n/2⌉
(c) ⌊n/2⌋+⌊n/2⌋
(d) ⌊n/2⌋
I have been asked this question during a job interview.
The doubt is from Sequences and Summations topic in portion Basic Structures: Sets, Functions, Sequences, Sums and Matrices of Discrete Mathematics