The given function is f(n) = [n/2]

 

It is observed that n has not been defined here.  If ‘n’ is assumed to be an element of set of Real Numbers R, we can proceed to discuss the ‘onto’ and ‘ one to one’ properties of the given function.

 

The domain of f is R, since n  R.  The range of f is n/2  R.  Each element of the range (co domain) is mapped to an element of the domain.  Hence the given function is ‘onto’ and  since each element of the range is mapped to an unique element of the  domain, it is one to one also.

                                                                          *****