*
If f(x) is a real valued function discontinuous at all integral points lying on [0,n] and if $(f(x))^2$=1 for all x in [0,n], then number of functions f(x) are:?
*
According to me, only these two cases are possible since the question says that f(x) can only take the value 1or -1 both at integral and non integral points. But the answer given is $(2/3).3^n$.
What am I missing here??
