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