editing
approved
editing
approved
<a href="/index/Rec#order_24">Index entries for linear recurrences with constant coefficients</a>, signature (1, 0, -1, 2, 0, -2, 4, 0, 2, 2, 0, 4, -2, 0, 2, -4, 0, -2, -2, 0, -1, -1, 0, -1).
approved
editing
proposed
approved
editing
proposed
G. C. Greubel, <a href="/A224810/b224810.txt">Table of n, a(n) for n = 0..1000</a>
CoefficientList[Series[(1 + x^3 - x^4 - x^5 + x^6 - 2*x^7 - x^8 - x^9 - 2*x^10 - x^12 - x^13 - x^15)/((1 - x)*(1 + x + x^2)*(1 - x - x^3)*(1 + 3*x^3 + 7*x^6 + 9*x^9 + 7*x^12 + 3*x^15 + x^18)), {x, 0, 50}], x] (* G. C. Greubel, Apr 30 2017 *)
(PARI) x='x+O('x^50); Vec((1 + x^3 - x^4 - x^5 + x^6 - 2*x^7 - x^8 - x^9 - 2*x^10 - x^12 - x^13 - x^15)/((1 - x)*(1 + x + x^2)*(1 - x - x^3)*(1 + 3*x^3 + 7*x^6 + 9*x^9 + 7*x^12 + 3*x^15 + x^18))) \\ G. C. Greubel, Apr 30 2017
approved
editing
editing
approved
Number of permutations (p(1), p(2), ..., p(n)) satisfying -k <= p(i)-i <= r and p(i)-i not in the set I, i=1..n, with k=3, r=6, I={-2,-1,1,2,3,4,5}.
Subsets of {1,2,...,n-6} without differences equal to 3 or 6.
Number of subsets of {permutations (p(1,), p(2,), ..., p(n)) satisfying -k <= p(i)-i <= r and p(i)-6} without differences equal to i not in the set I, i=1..n, with k=3 or , r=6, I={-2,-1,1,2,3,4,5}.
proposed
editing
editing
proposed
editing
proposed