OFFSET
1,2
COMMENTS
Conjecture: a(n) > 1 for all n > 1. In other words, for any integer n > 1, there is a prime p with n < p <= (n-1)*(2n-1) such that the polynomial Sum_{k=1..n}x^(n-k)/k! is irreducible modulo p.
Note that Sum_{k>0}x^k/k! = e^x - 1.
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..400
EXAMPLE
a(2) = 3 since 3 is the only prime in the interval (2, (2-1)*(2*2-1)] and x + 1/2 is irreducible modulo 3.
MATHEMATICA
P[n_, x_]:=P[n, x]=Sum[x^(n-k)/k!, {k, 1, n}];
tab={}; Do[Do[If[IrreduciblePolynomialQ[P[n, x], Modulus->Prime[k]]==True, tab=Append[tab, Prime[k]]; Goto[aa]], {k, PrimePi[n]+1, PrimePi[(n-1)(2n-1)]}]; tab=Append[tab, 1]; Label[aa]; Continue, {n, 1, 60}]; Print[tab]
PROG
(PARI) a(n) = forprime(p=n+1, (n-1)*(2*n-1), if (polisirreducible(Mod(sum(k=1, n, x^(n-k)/k!), p)), return(p))); 1; \\ Michel Marcus, Aug 05 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Aug 05 2025
STATUS
approved
