OFFSET
0,2
COMMENTS
u=average{v,w,x,y,z}. For a guide to related sequences, see A211795.
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,2,-5,10,-10,5,-1).
FORMULA
a(n)=5a(n-1)-10a(n-2)+10a(n-3)-5a(n-4)+2a(n-5)-5a(n-6)+10a(n-7)-10a(n-8)+5a(n-9)-a(n-10).
G.f. ( 1-3*x+53*x^2-51*x^3+120*x^4-51*x^5+53*x^6-3*x^7+x^8 ) / ( (x^4+x^3+x^2+x+1)*(x-1)^6 ). - R. J. Mathar, Jun 26 2012
MATHEMATICA
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[5 u == v + w + x + y + z, s = s + 1], {u, 0, #}, {v, 0, #}, {w, 0, #}, {x, 0, #}, {y, 0, #}, {z, 0, #}] &[n]; s)]];
Map[t[#] &, Range[0, 40]] (* A212242 *)
(* Peter J. C. Moses, Apr 13 2012 *)
LinearRecurrence[{5, -10, 10, -5, 2, -5, 10, -10, 5, -1}, {1, 2, 53, 204, 625, 1556, 3357, 6558, 11809, 20000}, 40] (* Harvey P. Dale, Aug 20 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, May 16 2012
STATUS
approved