Let $p>2$ are prime number and $2^p - 1 $ prime number. Prove that exists $n \in \mathbb N$ such that $n^2 + n + 1$ divisible by $2^p - 1$.
I need an elementary proof of this fact
Let $p>2$ are prime number and $2^p - 1 $ prime number. Prove that exists $n \in \mathbb N$ such that $n^2 + n + 1$ divisible by $2^p - 1$.
I need an elementary proof of this fact
Let $q=2^p-1$. As $\Bbb Z/q\Bbb Z$ is a finite field, it's multiplicative group is cyclic of order $q-1$. Let $a+q\Bbb Z$ be a generator.
Since $p$ is odd, $q=2^p-1\equiv 1\pmod 3$, so $q=3m+1$ for some $m$.
Then $(a^m)^3=a^{3m}=a^{q-1}\equiv 1\pmod q$, but $a^m\not\equiv 1\pmod q$ (because $0 We conclude that for $n:=a^m$,
$$q\mid\frac{n^3-1}{n-1}=n^2+n+1.$$