0

This is a question that comes in two parts.

First, prove that if $a^{2^{n-1}}\not\equiv1 \pmod {2^{n}}$, then $a$ is even.

Second, prove that for any odd prime $p$, if $a$ is odd and $a^{2^{n-1}(p-1)}\not\equiv1 \pmod 2^{n}p$, then $p|a$.

For the first one, I realized I can try proving the contrapositive, and then use induction. Then what should I do next? Fermat's Little Theorem?

For the second one, can you split the modulus into $2^{n}$ and $p$? I think this might be a good method. Answers and ideas are welcome!

Avi Steiner
  • 4,209
  • 1
    Please ask only one question per post (and if that was your prior dupe question then please don't delete and repost your questions - it is against site rules). Both questions are dupes. Please search before posting questions. – Bill Dubuque Nov 28 '20 at 08:26

1 Answers1

0

For the first question, use https://mathworld.wolfram.com/EulersTotientTheorem.html or https://mathworld.wolfram.com/CarmichaelFunction.html

and https://en.m.wikipedia.org/wiki/Proof_by_contradiction

For the second, if $p\nmid a\iff(a,p)=1$

$$a^{p-1}\equiv 1\pmod p$$

If $(a,2)=1,$ using Carmichael or Totient function,

$$a^{2^{n-1}}\equiv1\pmod{2^n}$$

$$\implies a^{[p-1,2^{n-1}]}\equiv1\pmod{[p,2^{n-1}]}$$