Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let $x$ and $y$ be real numbers.

Suppose $\dfrac{x}{y \bmod x}$ is a natural number.

What does that say about the relationship between $x$ and $y$?

If $x$ and $y$ are naturals themselves, then I think it means that $x$ is some multiple of $y$ plus some divisor of $y$, but I'm a little fuzzy on what it would mean if $x$ and $y$ are reals.

Thank you.

share|cite|improve this question
How do you define modulus for real numbers? (e.g. what is $8.252\pmod{2}$?) – apnorton Jan 10 '14 at 3:41
Probably 0.252? – Nishant Jan 10 '14 at 4:14

I think it means that $y$ is $x$ divided by an integer plus some integral multiple of $x$.

share|cite|improve this answer

It means that the Euclidean algorithm stops after two steps.

share|cite|improve this answer

Assuming that $(y \bmod x) = y - n x$ for some $n \in \mathbb{Z}$ such that $0 \leq y - n x < x$, in the case that $x > 0$, at least.

Then $\dfrac{x}{y \bmod x} = m$ for some integer $m$ means

$$\dfrac{x}{y - n x}=m$$ $$ \Rightarrow (mn+1)x = m y$$

so we can say, the ratio of $x$ and $y$, where defined, is rational. I'm not sure if anything else less trivial can be said.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.