I'm trying to follow a proof for the solidarity of the periodicity of a communicating class of a time-homogenous discrete time Markov chain in my course notes for applied probability and part of it requires the following to hold:
Suppose $W$ is a set of integers with the property that
$$m,n \in W \implies m+n \in W.$$
Define $d$ to be the greatest common denominator (gcd) of all elements of $W$.
Then $nd \in W$ for all sufficiently large $n.$
I understand the definition of $W$ and $d$, I just don't understand how it implies $nd \in W$ for all sufficiently large $n.$
I've tried to use Bézout's identity and the fact that the gcd of the set of all the elements of $W$ divided by $d$ is $1$. Also not sure if it actually holds when all elements of $W$ are negative (as $d$ would still be positive?? I might just be really over-thinking this, but please help! Thank you!