The Gould sequence A001316 is defined as follows:
$$G(n)=\sum _{i=0}^n \binom{n}{i} \bmod 2$$
However, according to Wikipedia, it is also equal to the numerator of the ratio $\frac{2^n}{n!}$ in lowest terms, which leads to the following expression for $G(n)$:
$$G(n)=\frac{2^n}{gcd(2^n,n!)}$$
By evaluating the first values of $n$ for both formulations ($0\leq n\leq 15$), they seem to be equal:
{{1, 1}, {2, 2}, {2, 2}, {4, 4}, {2, 2}, {4, 4}, {4, 4}, {8, 8}, {2, 2}, {4, 4}, {4, 4}, {8, 8}, {4, 4}, {8, 8}, {8, 8}, {16, 16}}
So, is the last expression for $G(n)$ valid to represent the sequence? Is there any way to prove an equivalence between both formulations?