Input | Output |
---|---|
Find the least odd prime factor of . | To find the least odd prime factor of (2019^8 + 1), we start by noting that if a prime ( p ) divides (2019^8 + 1), then (2019^8 \equiv -1 \pmod{p}). This implies (2019^{16} \equiv 1 \pmod{p}), so the order of 2019 modulo ( p ) is 16. By Fermat's Little Theorem, the order must divide ( p - 1 ), hence ( p \equiv 1 \pmod{16} ). The primes congruent to 1 modulo 16 are 17, 97, 113, 193, etc. We check the smallest primes:
Since 97 is the smallest prime congruent to 1 modulo 16 that divides (2019^8 + 1), the least odd prime factor is (\boxed{97}). |