

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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

Table of n, a(n) for n=1..56.
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)*(x1)^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: A031487 A047422 A160532 * A032878 A032845 A023776
Adjacent sequences: A047302 A047303 A047304 * A047306 A047307 A047308


KEYWORD

nonn,changed


AUTHOR

N. J. A. Sloane.


STATUS

approved



