|
| |
|
|
A047372
|
|
Numbers that are congruent to {1, 2, 3, 5} mod 7.
|
|
0
| |
|
|
1, 2, 3, 5, 8, 9, 10, 12, 15, 16, 17, 19, 22, 23, 24, 26, 29, 30, 31, 33, 36, 37, 38, 40, 43, 44, 45, 47, 50, 51, 52, 54, 57, 58, 59, 61, 64, 65, 66, 68, 71, 72, 73, 75, 78, 79, 80, 82, 85, 86, 87, 89, 92, 93, 94, 96
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (1,0,0,1,-1).
|
|
|
FORMULA
| Contribution from Bruno Berselli, Dec 01 2010: (Start)
G.f.: x*(1+x+x^2+2*x^3+2*x^4) / ((1-x)^2*(1+x+x^2+x^3)).
a(n) = (14*n+(3*I-1)*(-I)^n-(3*I+1)*I^n-(-1)^n-13)/8 where I is the imaginary unit. (End)
|
|
|
MATHEMATICA
| Flatten[7Range[0, 12]+n/.n->{1, 2, 3, 5}] [from Harvey P. Dale, Dec. 13, 2010]
|
|
|
CROSSREFS
| Sequence in context: A002153 A047607 A113051 * A096974 A027756 A119863
Adjacent sequences: A047369 A047370 A047371 * A047373 A047374 A047375
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|