MathLabs

Problem 2

Find an integer nn in the range 100≤n≤1997100\le n\le1997 such that nn divides 2n+22^n+2.
Step 4 of 4: State the result
946∣(2946+2)946\mid(2^{946}+2)
Detailed analysis

Therefore n=946n=946 satisfies the condition and is the only value reported by the official exhaustive search.