Is there a set $A$ of positive integers such that

  - $\sum_{n \in A} \frac{1}{n} = \infty$, and

  - there is no polynomial $f \in \mathbb{Z}[x]$ of degree at least $2$
    which takes infinitely many values in $A$?