|
Search: id:A003440
|
|
|
| A003440 |
|
Number of binary vectors with restricted repetitions. (Formerly M2666)
|
|
+0 3
|
|
| 1, 1, 3, 7, 17, 42, 104, 259, 648, 1627, 4098, 10350, 26202, 66471, 168939, 430071, 1096451, 2799072, 7154189, 18305485, 46885179, 120195301, 308393558, 791882862
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
The sum of squared terms in row n of A104402 = 2*a(n) for n>0. - Paul D. Hanna (pauldhanna(AT)juno.com), Mar 06 2005
|
|
REFERENCES
|
K. A. Post, Binary Sequences with Restricted Repetitions. Report 74-WSK-02, Math. Dept., Tech. Univ. Eindhoven, May. 1974.
|
|
FORMULA
|
G.f.: {(1-x)^2 * sqrt[(1+x+x^2)/(1-3x+x^2)] + x^2 - 1}/(2x^2) (conjectured). - R. Stephan, Mar 28 2004
a(n) = Sum_{k=0..n} (C(k, n-k) + C(k+1, n-k-1))^2 for n>0, with a(0)=1. - Paul D. Hanna (pauldhanna(AT)juno.com), Mar 06 2005
|
|
PROGRAM
|
(PARI) {a(n)=polcoeff(((1-x)^2*sqrt((1+x+x^2)/(1-3*x+x^2))+x^2-1)/(2*x^2)+x*O(x^n), n)} (PARI) {a(n)=if(n==0, 1, sum(k=0, n, (binomial(k, n-k)+binomial(k+1, n-k-1))^2)/2)} (Hanna)
|
|
CROSSREFS
|
Cf. A078678.
Cf. A104402.
Adjacent sequences: A003437 A003438 A003439 this_sequence A003441 A003442 A003443
Sequence in context: A058351 A086395 A020730 this_sequence A102071 A134184 A142975
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
njas
|
|
|
Search completed in 0.002 seconds
|