login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A211672
Least number k such that the polynomial x^n - x^(n-1) -...- 1 (mod k) has more than n distinct zeros.
1
209, 517, 3973, 1081, 1285, 2893, 13501, 38579, 105113, 4897, 12331
OFFSET
2,1
COMMENTS
This is the characteristic polynomial of the n-step Fibonacci and Lucas sequences. These terms produce the following number of distinct zeros: 4, 6, 8, 6, 8, 8, 10, 12, 15, 12, 18. The first 11 terms are semiprimes; the 12th term has 3 factors. For prime k, the polynomial can have at most n zeros.
MATHEMATICA
Clear[x]; Table[poly = x^n - Sum[x^k, {k, 0, n - 1}]; k = 1; While[cnt = 0; Do[If[Mod[poly, k] == 0, cnt++], {x, 0, k-1}]; cnt <= n, k++]; k, {n, 2, 7}]
CROSSREFS
Cf. A211671 (for prime k).
Sequence in context: A337778 A304154 A305507 * A250780 A305173 A316761
KEYWORD
nonn,hard,more
AUTHOR
T. D. Noe, Apr 19 2012
STATUS
approved