OFFSET
1,1
COMMENTS
See the main entry A248214 for all further information.
PROG
(PARI) a(n, bound=b->n*b*20)=for(b=1, 9e9, forprime(p=1, bound(b), Mod(b, p^2)^n+1||return(p))) \\ The given default bound is experimental. You may use, e.g., a(n, b->10^5) for a fixed bound. Especially for n = 2^k >= 32, there might be a larger p leading to a smaller b, than the one found with this bound.
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Oct 08 2014
STATUS
approved