This is a problem I recently found which I could not solve. This was there in a book prescribed for RMO and INMO. Here it is:
Determine with proof the set of all positive integers \(n\) such that \(2^n +1\) is divisible by \(n^2\).
Any hint, or solutions are welcome