|
Search: id:A076264
|
|
|
| A076264 |
|
Number of ternary (0,1,2) sequences without a consecutive '012'. |
|
+0 13
|
|
| 1, 3, 9, 26, 75, 216, 622, 1791, 5157, 14849, 42756, 123111, 354484, 1020696, 2938977, 8462447, 24366645, 70160958, 202020427, 581694636, 1674922950, 4822748423, 13886550633, 39984728949, 115131438424, 331507764639
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
A transform of A000244 under the mapping g(x)->(1/(1+x^3))g(x/(1+x^3)). - Paul Barry (pbarry(AT)wit.ie), Oct 20 2004
|
|
REFERENCES
|
A. Tucker, Applied Combinatorics, 4th ed. p. 277
|
|
FORMULA
|
a(n) is asymptotic to g*c^n where c=cos(Pi/18)/cos(7*Pi/18) and g is the largest real root of : 81*x^3 - 81*x^2 - 9*x + 1 = 0. - Benoit Cloitre (benoit7848c(AT)orange.fr), Nov 06 2002
G.f.: 1/(1-3x+x^3). a(n) = 3*a(n-1)-a(n-3), n>0.
a(n)=sum{k=0..floor(n/3), binomial(n-2k, k)(-1)^k*3^(n-3k)} - Paul Barry (pbarry(AT)wit.ie), Oct 20 2004
a(n) = middle term in M^(n+1) * [1 0 0], where M = the 3X3 matrix [2 1 1 / 1 1 0 / 1 0 0]. Right term = A052536(n), left term = A052536(n+1). - Gary W. Adamson (qntmpkt(AT)yahoo.com), Sep 05 2005
|
|
PROGRAM
|
(PARI) a(n)=if(n<0, 0, polcoeff(1/(1-3*x+x^3)+x*O(x^n), n))
|
|
CROSSREFS
|
Sequence in context: A116423 A077845 A000243 this_sequence A123941 A018919 A005774
Adjacent sequences: A076261 A076262 A076263 this_sequence A076265 A076266 A076267
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
John L. Drost (drost(AT)marshall.edu), Nov 05 2002
|
|
|
Search completed in 0.002 seconds
|