Problem

Source: Pan African 2003

Tags:



Find all positive integers $n$ such that $21$ divides $2^{2^n}+2^n+1$.