Problem

Source:

Tags: algebra, polynomial, 4th edition



Let $a \ge 2$ be an integer. Find all polynomials $f$ with real coefficients such that $$A = \{a^{n^2} | n \ge 1, n \in Z\} \subset \{f(n) | n \ge 1, n \in Z\} = B.$$