OFFSET
0,8
COMMENTS
a(n) is the number of subsets of {1,2,...,n-6} without differences equal to 2, 4 or 6.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
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,0,0,1,-1,1,2,-1,1,0,0,-1,0,0, 1).
FORMULA
MATHEMATICA
CoefficientList[Series[(1 - x^5 - x^8)/(1 - x - x^5 + x^6 - x^7 - 2*x^8 + x^9 - x^10 + x^13 + x^16), {x, 0, 50}], x] (* G. C. Greubel, Oct 28 2017 *)
PROG
(PARI) x='x+O('x^66); Vec((1-x^5-x^8)/(1-x-x^5+x^6-x^7-2*x^8+x^9-x^10+x^13+x^16) ) \\ Joerg Arndt, Apr 19 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Baltic, Apr 18 2013
STATUS
approved