OFFSET
0,1
COMMENTS
Fontebasso only claims that the terms are prime from 0 to 22, but in fact a(23)..a(30) are all prime as well. The first composite term is a(31) = 1457 = 31*47.
LINKS
P. A. Fontebasso, Une'altra formula che dà una serie limitata di numeri primi, Supplemento al Periodico di matematica (1899), p. 130.
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
FORMULA
G.f.: (17*x^3-11*x^2-17*x+17)/((x+1)*(1-x)^3). - Alois P. Heinz, Jul 12 2021
E.g.f.: ((34 + 3*x + 3*x^2)*cosh(x) + (31 + 3*x + 3*x^2)*sinh(x))/2. - Stefano Spezia, Jul 13 2021
PROG
(PARI) a(n)=n^2\4*6+17
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Charles R Greathouse IV, Jun 30 2021
STATUS
approved