login
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