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 + 2*x^2 + 2*x^3 + x^4) / ( (x^4 + x^3 + x^2 + x + 1)*(x-1)^2 ). - R. J. Mathar, Oct 25 2011
MATHEMATICA
Select[Range[0, 100], MemberQ[{0, 1, 2, 4, 6}, Mod[#, 7]]&] (* or *) LinearRecurrence[ {1, 0, 0, 0, 1, -1}, {0, 1, 2, 4, 6, 7}, 60] (* Harvey P. Dale, Nov 24 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved