The range of non-linear natural polynomials cannot be context-free
arXiv:1901.03913
Abstract
Suppose that some polynomial with rational coefficients takes only natural values at natural numbers, i.e., . We show that the base- representation of is a context-free language if and only if is linear, answering a question of Shallit. The proof is based on a new criterion for context-freeness, which is a combination of the Interchange lemma and a generalization of the Pumping lemma.
arXiv commentThis paper should be assigned to cs.FL, but I'm not endorsed over there