OFFSET
2,4
LINKS
Ivan Neretin, Table of n, a(n) for n = 2..10000
FORMULA
a(n) = floor((1/240) * (n-3) * (n-2) * (15*n^3 + 15*n^2 - 10*n - 8) / (2 + 3*n)). - Ivan Neretin, May 19 2018
EXAMPLE
a(4) = floor(24/35) = 0; a(5) = floor(274/85) = 3. - R. J. Mathar, Sep 15 2009
MAPLE
seq(floor((1/240)*(n-3)*(n-2)*(15*n^3+15*n^2-10*n-8)/(3*n+2)), n=2..50); # Muniru A Asiru, May 19 2018
MATHEMATICA
Table[Floor[1/240 (n - 3) (n - 2) (15 n^3 + 15 n^2 - 10 n - 8)/ (2 + 3 n)], {n, 2, 45}] (* Ivan Neretin, May 19 2018 *)
PROG
(GAP) List([2..50], n->Int((1/240)*(n-3)*(n-2)*(15*n^3+15*n^2-10*n-8)/(3*n+2))); # Muniru A Asiru, May 19 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Offset changed to 2 by R. J. Mathar, Sep 15 2009
STATUS
approved