I'm trying to express this idea using FO+TC (First-order Logic with Transitive closure) with the signature $\Sigma = \{+, s\}$ (+ addition function, s is a successor function) over the standard structure of the natural numbers:
$y = x^N$
($x$ is a power on $N$, for some natural $N$)
N.B: I expressed GCD using FO+TC, so i tried to play with something like "the GCD of $x$ and $y$ is $x$" but actually its just a starting direction i have.
Any ideas how can i express it ?