Let f(x) be a real valued function defined on: R→R such that f(x)=[x]2+[x+1]−3, where [x] denotes greatest integer less than or equal to x, then which of the following option(s) is/are correct?