[go: up one dir, main page]

login
A047305
Numbers that are congruent to {2, 3, 4, 5, 6} mod 7.
0
2, 3, 4, 5, 6, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 51, 52, 53, 54, 55, 58, 59, 60, 61, 62, 65, 66, 67, 68, 69, 72, 73, 74, 75, 76, 79
OFFSET
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
Sequence in context: A047422 A340152 A160532 * A032878 A032845 A023776
KEYWORD
nonn
STATUS
approved