OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
M. B. Nathanson, Growth polynomials for additive quadruples and (h, k)-tuples, arXiv preprint arXiv:1305.7172, 2013. See Psi_4(n).
Index entries for linear recurrences with constant coefficients, signature (8,-28,56,-70,56,-28,8,-1).
FORMULA
G.f.: x*(x^6+62*x^5+575*x^4+1140*x^3+575*x^2+62*x+1) / (x-1)^8. - Colin Barker, Oct 06 2013
MATHEMATICA
Table[151 n^7/315 + 2 n^5/9 + 7 n^3/45 + n/7, {n, 0, 40}] (* Vincenzo Librandi, Oct 06 2013 *)
PROG
(Magma) [151*n^7/315+2*n^5/9+7*n^3/45+n/7: n in [0..30]]; // Vincenzo Librandi, Oct 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Oct 01 2013
STATUS
approved