|
| |
|
|
A008814
|
|
Expansion of (1+x^7)/(1-x)^2/(1-x^7).
|
|
1
| |
|
|
1, 2, 3, 4, 5, 6, 7, 10, 13, 16, 19, 22, 25, 28, 33, 38, 43, 48, 53, 58, 63, 70, 77, 84, 91, 98, 105, 112, 121, 130, 139, 148, 157, 166, 175, 186, 197, 208, 219, 230, 241, 252, 265, 278, 291, 304, 317, 330, 343, 358
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| Number of 0..n arrays of 8 elements with zero second differences [From R. H. Hardin, Nov 16 2011]
|
|
|
LINKS
| Index to sequences with linear recurrences with constant coefficients, signature (2,-1,0,0,0,0,1,-2,1).
|
|
|
FORMULA
| a(n) = 2*a(n-1) -a(n-2) +a(n-7) -2*a(n-8) +a(n-9) [From R. H. Hardin, Nov 16 2011]
|
|
|
PROG
| (PARI) a(n)=(n*(n+2)+[7, 11, 13, 13, 11, 7, 1][n%7+1])/7 \\ Charles R Greathouse IV, Nov 16 2011
|
|
|
CROSSREFS
| Sequence in context: A032378 A164947 A112881 * A005140 A176486 A017845
Adjacent sequences: A008811 A008812 A008813 * A008815 A008816 A008817
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
| |
|
|