Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

If we have a polynomial function, such that one of its coefficients are not an integer, is it possible that for all natural numbers (0 exclusive) it will return a natural number? Please provide example or disproof.

share|improve this question
4  
$\frac 12 x + \frac12 x^2$? –  Henning Makholm Feb 11 '13 at 23:58
1  

3 Answers 3

up vote 6 down vote accepted

Yes. Examples include $\frac{x(x+1)}{2}$.

share|improve this answer
    
Nice. Even $\frac{1}{n} \prod_{0 \le k \le n - 1} (x + k)$ works, which shows there are such polynomials for all degrees $\ge 2$ –  vonbrand Feb 12 '13 at 2:42

Since the tag says "number theory," the following is an interesting class of examples: $$P(x)=\frac{x^p-x}{p},$$ where $p$ is any prime. The fact that this is integer-valued for every integer $x$ is Fermat's (little) Theorem.

share|improve this answer

If exactly one coefficient is not an integer, then of course what you are asking for is impossible. The integer-valued polynomials of an integer variable are precisely the integer linear combinations of the binomial coefficients, $$\sum a_j{x\choose j}$$ I don't know what conditions on the coefficients will guarantee natural outputs on natural inputs. Certainly it's necessary (but not sufficient) that the leading coefficient be positive.

share|improve this answer

Your Answer

 
discard

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.