OFFSET
1,1
COMMENTS
Every term is congruent to 2 modulo 3, hence, except for a(1) = 2, to 5 modulo 6.
LINKS
Jayde S. Massmann, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 2 because 0^5+0+1 = 1 and 1^5+1+1 = 3; neither is 0 mod 2.
a(2) = 29, as for p = 3, 5, 7, 11, 13, 17, 19, 23, x^5+x+1 has a root modulo p, namely 1, 2, 2, 9, 3, 10, 3, 15, respectively.
PROG
(PARI) isok(p) = if (isprime(p), !#polrootsmod(x^5+x+1, p)); \\ Michel Marcus, Apr 20 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Jayde S. Massmann, Apr 20 2025
STATUS
approved
