|
|
A047330
|
|
Numbers that are congruent to {0, 1, 3, 5, 6} mod 7.
|
|
0
|
|
|
0, 1, 3, 5, 6, 7, 8, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 24, 26, 27, 28, 29, 31, 33, 34, 35, 36, 38, 40, 41, 42, 43, 45, 47, 48, 49, 50, 52, 54, 55, 56, 57, 59, 61, 62, 63, 64, 66, 68, 69, 70, 71, 73, 75, 76, 77, 78
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x^2*(1 + 2*x + 2*x^2 + x^3 + x^4) / ( (x^4 + x^3 + x^2 + x + 1)*(x-1)^2 ). - R. J. Mathar, Dec 04 2011
|
|
MATHEMATICA
|
#+{0, 1, 3, 5, 6}&/@(7 Range[0, 20])//Flatten (* or *) LinearRecurrence[ {1, 0, 0, 0, 1, -1}, {0, 1, 3, 5, 6, 7}, 100] (* Harvey P. Dale, Feb 26 2022 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|