Let $p$ be a prime number do we have :
$$\gcd\left(p!-p^{2},1+2p\right)=^?1$$
Except the Wilson's theorem I haven't a clue to show this while I don't find a counter-example for the 25 first primes .
How to (dis)prove it ?
Let $p$ be a prime number do we have :
$$\gcd\left(p!-p^{2},1+2p\right)=^?1$$
Except the Wilson's theorem I haven't a clue to show this while I don't find a counter-example for the 25 first primes .
How to (dis)prove it ?
Copyright © 2021 JogjaFile Inc.
Suppose there is a prime $q$ that divides $\gcd\left(p!-p^{2},1+2p\right)$. Then $q\mid p!-p^{2}$ and $q\mid 1+2p$
If
$p! \equiv_q 1$ then $$q\mid p^2-1=(p-1)(p+1)$$ and thus $2p+1 \mid p-1$ or $2p+1\mid p+1$ whic is impossible in both cases since $2p+1$ is bigger natural than $p-1$ and $p+1$.
$p! \equiv_q -1$ then $$q\mid p^2+1$$ which is impossible by Fermat little theorem since $q\equiv_4 3$.