Context: Presburger arithmetic is the theory $\tau$ of structure $$ A = (\mathbb{N},0,1,+,\{c|\cdot\}_{c\in\mathbb{N}})$$ where for each integer $c > 1$, the unary predicate c|n holds if and only if n is divisible by c. Recall that $\tau$ has quantier-elimination.
The first part is to show that suppose a set $S \in \mathbb{N}$ is ultimately periodic if there exist positive integers $n_0$ and $p$ such that for all $n > n_0$, $n \in S$ iff $ n + p \in S$. Show that any quantifier-free formula that mentions a single variable $x$ defines an ultimately periodic subset of $\mathbb{N}$.
Afterwards we should be able to use this result to show that there is no formula on free variables $x$, $y$ and $z$ that defines the multiplication relation $M = \{(a,b,c)\in \mathbb{N}^3: ab = c\}$ on the structure $A$.
I'm completely lost on this question and I cannot see a relation on the two parts of the question. I have read the post here Presburger arithmetic but don't think it is too helpful. Any help would be appreciated!