OFFSET
0,6
COMMENTS
Number of subsets of {1,2,...,n-4} without differences equal to 2 or 4.
LINKS
Gheorghe Coserea, Table of n, a(n) for n = 0..4096
Michael A. Allen, On a Two-Parameter Family of Generalizations of Pascal's Triangle, arXiv:2209.01377 [math.CO], 2022.
Vladimir Baltic, On the number of certain types of strongly restricted permutations, Applicable Analysis and Discrete Mathematics Vol. 4, No 1 (April, 2010), 119-135
Index entries for linear recurrences with constant coefficients, signature (1,0,1,-1,1,1,0,0,-1).
FORMULA
MATHEMATICA
CoefficientList[Series[-(x-1)*(1+x+x^2)/((x^3+x-1)*(x^6-x^4-1)), {x, 0, 50}], x] (* G. C. Greubel, Apr 28 2017 *)
PROG
(PARI)
N = 42; x = 'x + O('x^N);
Vec(Ser(-(x-1)*(1+x+x^2)/((x^3+x-1)*(x^6-x^4-1)))) \\ Gheorghe Coserea, Nov 11 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Baltic, May 16 2013
STATUS
approved