It is shown that if f is an analytic function of sufficiently small exponential type in the right half-plane, which takes integer values on a subset of the positive integers having positive lower density, then f is a polynomial.