Generating a specific list of intsgers

tomusatov at gmail.com tomusatov at gmail.com
Fri Aug 24 17:40:00 EDT 2018


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 



More information about the Python-list mailing list