OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
J. L. Bailey, Jr., A table to facilitate the fitting of certain logistic curves, Annals Math. Stat., 2 (1931), 355-359.
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = (n*(1+2*n)^2*(-3+n+8*n^2+4*n^3))/45. - Colin Barker, Jun 28 2015
G.f.: -2*x*(x^4+28*x^3+70*x^2+28*x+1) / (x-1)^7. - Colin Barker, Jun 28 2015
EXAMPLE
n=3: 588 = 2*7*92-4*14^2.
PROG
(PARI) concat(0, Vec(-2*x*(x^4+28*x^3+70*x^2+28*x+1)/(x-1)^7 + O(x^100))) \\ Colin Barker, Jun 28 2015
(Python)
def A259317(n): return n*(n*(n**2*(n*(16*n + 48) + 40) - 11) - 3)//45 # Chai Wah Wu, Dec 07 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jun 24 2015
STATUS
approved