show/hide this revision's text 4 deleted 27 characters in body

$P(x)= \frac{x(x+1)}{2} +1$.

It is easy to see that $P^{n+1}(0) > P^n(0)$ and $P$ maps the integers into the integers.

But I think (didn't check it, might be one of these facts which are obvious but wrong) that

$$P^{(n)}(x) = \frac{1}{2^{m}} x^{2^n}+....\notin \mathbb{Z} $$

where $m$ is probably $m=2^n+1$.

The right question to ask might be if $f$ maps the integers into the integers....

Disregard the following part, as it was pointed in the comments, it only works if for each $k$ we can find an $l$ and $n_1,..., n_k$ so that $f^{(n_i)}(0)$ and $f^{(n_i+l)}(0)$ are integers(or rational for the second question).

EDIT: P.S. The answer with the rationals turns out to be true, I think (my algebra is rusty):

Let $P$ be such a polynomial, and let $m$ be the degree of $P$. Then using the Lagrange interpolation formula, you can reconstruct $P(x)$ from $m+1$ distinct integer values of the type $P^{(k)}(0)$, and since all of these are rational, all the coefficients are rational. Actually this way one can prove the following Lemma:

Lemma: If $deg(P)=m$ and there exists $m+1$ distinct rational numbers $x_1,..., x_{m+1}$ so that $P(x_1),...,P(x_{m+1})$ are all rational, then $P(X) \in \mathbb{Q}[x]$.

Lagrange formula also explains why in the first case we can only get rational integers.

show/hide this revision's text 3 corrected tex so it compiles

$P(x)= \frac{x(x+1)}{2} +1$.

It is easy to see that $P^{n+1}(0) > P^n(0)$ and $P$ maps the integers into the integers.

But I think (didn't check it, migth might be one of these facts which are obvious but wrong) that

$$P^(n)(x) $P^{(n)}(x) = \frac{1}{2^{m} frac{1}{2^{m}} x^{2^n}+....\notin \ZZ mathbb{Z} $$

where $m$ is probably $m=2^n+1$.

The right question to ask migth might be if $f$ maps the integers into the integers....

EDIT: P.S. The answer with the rationals turns out to be true, I think (my algebra is rusty):

Let $P$ be such a polynomial, and let $m$ be the degree of $P$. Then using teh the Lagrange interpolation formula, you can reconstruct $P(x)$ from $m+1$ distinct integer values of the type $P^{(k)}(0)$, and since all of these are rational, all the coefficients are rational. Actually this way one can prove the following Lemma:

Lemma: If $deg(P)=m$ and there exists $m+1$ distinct rational numbers $x_1,..., x_{m+1}$ so that $P(x_1),...,P(x_{m+1}$ P(x_1),...,P(x_{m+1})$ are all rational, then $P(X) \in \QQ[x]$.mathbb{Q}[x]$.

Lagrange formula also explains why in the first case we can only get rational integers.

show/hide this revision's text 2 added 79 characters in body; added 12 characters in body; added 221 characters in body

$P(x)= \frac{x(x+1)}{2} +1$.

It is easy to see that $P^{n+1}(0) > P^n(0)$ and $P$ maps the integers into the integers.

But I think (didn't check it, migth be one of these facts which are obvious but wrong) that

$$P^(n)(x) = \frac{1}{2^{m} x^{2^n}+....\notin \ZZ $$

where $m$ is probably $m=2^n+1$.

The right question to ask migth be if $f$ maps the integers into the integers....

EDIT: P.S. The answer with the rationals turns out to be true, I think (my algebra is rusty):

Let $P$ be such a polynomial, and let $m$ be the degree of $P$. Then using teh Lagrange interpolation formula, you can reconstruct $P(x)$ from $m+1$ distinct integer values of the type $P^{(k)}(0)$, and since all of these are integersrational, all the coefficients are rational. Actually this way one can prove the following Lemma:

Lemma: If $deg(P)=m$ and there exists $m+1$ distinct rational numbers $x_1,..., x_{m+1}$ so that $P(x_1),...,P(x_{m+1}$ are all rational, then $P(X) \in \QQ[x]$.

Lagrange formula also explains why in the first case we can only get rational integers.

show/hide this revision's text 1