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$ be a $\mathbf{Q}$-rational point of $\mathbf{P}^1-\{0,1,\infty\}$.

Let $S$ be a finite set of primes. How do I check in finite time whether $x$ is $S$-integral or not?

I know how to do this in "infinite time". I just check that $v(x) \geq 0$ for all $v\not \in S$.

share|cite|improve this question
One can identify $x$ to a rational number. If it has a denominator whose prime divisors all belong to $S$, then $x$ is $S$-integral. The question is how $x$ is given. – user18119 Nov 24 '12 at 9:35

Your Answer


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

Browse other questions tagged or ask your own question.