login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A213738
a(n) is the smallest prime of the form n*m^q + 1 where m is an integer and q >= 2.
2
5, 17, 13, 17, 41, 97, 29, 73, 37, 41, 89, 97, 53, 113, 61, 257, 137, 73, 1217, 181, 337, 89, 829, 97, 101, 937, 109, 113, 233, 241, 1117, 257, 2113, 137, 281, 577, 149, 1217, 157, 641, 36901, 337, 173, 353, 181, 1151, 1693, 193, 197, 401, 409, 1301, 1697, 433
OFFSET
1,1
LINKS
EXAMPLE
a(11) = 89 = 11*2^3 + 1.
PROG
(PARI) a(n) = {forprime(p=2, , qq = (p-1)/n; if ((denominator(qq) == 1) && ispower(qq), return (p)); ); } \\ Michel Marcus, Feb 25 2018
CROSSREFS
Sequence in context: A178197 A302159 A070848 * A060829 A096896 A056850
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jun 19 2012
STATUS
approved