Is there a continuous function $F: R\to R$ such that $F$ is a surjection but not an injection, $F(Q)\subset Q$ and the restriction $F: Q\to Q$ is an injection, but not a surjection. Here $Q$ denotes the set of rational numbers. Thx for the reply!
Looking for some function
CodeGolf
- 1.8k
- 11
- 16