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
KEYWORD
nonn,hard,more
AUTHOR
T. D. Noe, Apr 19 2012
STATUS
approved