OFFSET
0,3
COMMENTS
Also, the number of (w,x,y,z) with all terms in {1,...,n} and median>mean.
For a guide to related sequences, see A211795.
LINKS
Colin Barker, Table of n, a(n) for n = 0..1001
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
FORMULA
a(n) + A212134(n) = n^4.
a(n) = n*(n - 1)*(n^2 - n + 2)/2.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: 4*x*(1 + x + x^2) / (1 - x)^5. - Colin Barker, Dec 02 2017
MATHEMATICA
PROG
(PARI) concat(vector(2), Vec(4*x*(1 + x + x^2) / (1 - x)^5 + O(x^40))) \\ Colin Barker, Dec 02 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 05 2012
STATUS
approved