# Powers Of 2

Find the number of integers $$n$$ such that $$1 < n \leq 1000$$ and $2^{2^n} \equiv 1 \pmod{2^n-1}.$

Note: Even though I made this problem myself, it turns out that a similar problem has already been posed somewhere in USAJMO.

×