Problem

Source: JBMO 2016 Shortlist N3

Tags: JBMO, number theory



Find all positive integers $n$ such that the number $A_n =\frac{ 2^{4n+2}+1}{65}$ is a) an integer, b) a prime.