Deanmark
- 16
- 0
Compute the remainder of 2^(2^17) + 1 when divided by 19. The book says to first compute 2^17 mod 18 but I don’t understand why we go to mod 18. Advice would be appreciated
The discussion focuses on computing the remainder of \(2^{(2^{17})} + 1\) when divided by 19. It highlights the application of Fermat's Little Theorem, which states that for a prime \(p\), \(a^{p-1} \mod p = 1\). The initial step involves calculating \(2^{17} \mod 18\) to simplify the exponent before applying the theorem. This approach leads to the conclusion that \(2^{(2^{17})} + 1 \mod 19\) can be reduced to \(2^r + 1 \mod 19\) where \(r\) is the remainder from the earlier calculation.
PREREQUISITESMathematicians, computer scientists, students studying number theory, and anyone interested in modular arithmetic and its applications.
Deanmark said:Compute the remainder of 2^(2^17) + 1 when divided by 19. The book says to first compute 2^17 mod 18 but I don’t understand why we go to mod 18. Advice would be appreciated