How can we tell if the function $f(n) = 2 \left\lfloor\frac n2\right\rfloor$ from $\mathbb{Z}$ to $\mathbb{Z}$ is onto? Thanks!
Asked
Active
Viewed 60 times
2
-
1Can we have $f(n)=1$? – André Nicolas Feb 11 '13 at 20:07
-
3Your $f(n)$ is always an even integer. – Julien Feb 11 '13 at 20:08
-
Plug in several consecutive values of $n$ and build intuition. Then try to formalize that intuition into a proof. – user7530 Feb 11 '13 at 20:08