OFFSET
1,1
LINKS
Michel Marcus, Table of n, a(n) for n = 1..10000
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
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jun 19 2012
STATUS
approved