Skip to main content
3 of 9
deleted 4 characters in body
Jada
  • 3
  • 2

two variable continuous function which results in an integer if and only if arguments are integer

I am looking for functions $f(x,y)$, real arguments, continuous, with the following properties:

  1. $f(m,n) = r$, where $r$ is integer $> 0$ if and only if $m,n$ are integers > 0

  2. $f(m,n) \le f(r,s)$ if and only if $m n \le r s$, with $m,n,r,s$ integers > 0

I would like to know if functions with properties 1, 2 and/or both exist, and if they have been studied and given a specific name (for further investigation). In particular, I would be curious to know if relatively simple closed-form functions satisfying both conditions exist, or can exist at all. (If useful to restrict the scope, the further constraints $m \le n, r \le s$ can be used, and continuity removed).

Jada
  • 3
  • 2