OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
G.f.: x^2*(1 + x + 3*x^2 + x^3 + x^4) / ( (1 + x + x^2 + x^3 + x^4)*(x-1)^2 ). - R. J. Mathar, Dec 04 2011
MATHEMATICA
DeleteCases[Range[0, 100], _?(MemberQ[{3, 4}, Mod[#, 7]]&)] (* or *) LinearRecurrence[ {1, 0, 0, 0, 1, -1}, {0, 1, 2, 5, 6, 7}, 90] (* Harvey P. Dale, Aug 06 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved