OFFSET
0,1
COMMENTS
|a(n)| are distinct primes for n = 0 to 32.
The values of this polynomial are never divisible by a prime less than 79.
All terms are congruent to 1 (mod 20).
LINKS
Arkadiusz Wesolowski, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Prime-Generating Polynomial
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
G.f.: (86861-195982*x+110801*x^2)/(1-x)^3.
MAPLE
seq(840*n^2-23100*n+86861, n=0..34);
MATHEMATICA
Table[840*n^2 - 23100*n + 86861, {n, 0, 34}]
PROG
(Magma) [ 840*n^2-23100*n+86861 : n in [0..34]]
(PARI) for(n=0, 34, print1(840*n^2-23100*n+86861, ", "))
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Arkadiusz Wesolowski, Mar 15 2013
STATUS
approved