I am looking for a program able to output a set of integers meeting the following requirement: a(n) is the minimum k > 0 such that n*2^k - 3 is prime, or 0 if no such k exists Could anyone get me started? (I am an amateur) Thanks, Musatov