proposed
approved
proposed
approved
editing
proposed
Number of (w,x,y,z) with all terms in {0,...,n} and distinct consecutive gapsizesgap sizes.
The gapsizes gap sizes are |w-x|, |x-y|, |y-z|. Every term is even.
approved
editing
<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (2,1,-3,-1,1,3,-1,-2,1).
<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (2,1,-3,-1,1,3,-1,-2,1).
editing
approved
LinearRecurrence[{2, 1, -3, -1, 1, 3, -1, -2, 1}, {0, 4, 28, 122, 340, 786, 1558, 2814, 4690}, 40] (* Harvey P. Dale, Aug 25 2013 *)
approved
editing
proposed
approved
editing
proposed
<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (2,1,-3,-1,1,3,-1,-2,1).
a(n) = 2*a(n-1)+a(n-2)-3*a(n-3)-a(n-4)+a(n-5)+3*a(n-6)-a(n-7)-2a2*a(n-8)+a(n-9).
G.f.: f(x)/g(x), where f(x) = 2(2*x + 10*x^2 + 31*x^3 + 40*x^4 + 36*x^5 + 18*x^6 + 7*x^7) and g(x)=((1-x)^5)((1+x)^2)(1+x+x^2).