Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120908
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120908 Sum of the lengths of the drops in all ternary words of length n on {0,1,2}. The drops of a ternary word on {0,1,2} are the subwords 10,20 and 21, their lengths being the differences 1, 2 and 1, respectively. +0
2
0, 4, 24, 108, 432, 1620, 5832, 20412, 69984, 236196, 787320, 2598156, 8503056, 27634932, 89282088, 286978140, 918330048, 2927177028, 9298091736, 29443957164, 92980917360, 292889889684, 920511081864, 2887057484028 (list; graph; listen)
OFFSET

1,2

COMMENT

a(n)=4*A027471(n). a(n)=sum(k*A120907(n,k), k>=0).

FORMULA

a(n)=4(n-1)3^(n-2). G.f.=4z^2/(1-3z)^2.

EXAMPLE

a(2)=4 because the ternary words 00,01,02,11,12 and 22 have no drops, each of the words 10 and 21 has one drop of length 1 and the word 20 has one drop of length 2.

MAPLE

seq(4*(n-1)*3^(n-2), n=1..27);

CROSSREFS

Cf. A027471, A120906, A120907.

Sequence in context: A006736 A165752 A166036 this_sequence A145655 A059153 A129032

Adjacent sequences: A120905 A120906 A120907 this_sequence A120909 A120910 A120911

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 15 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 9 14:43 EST 2009. Contains 170430 sequences.


AT&T Labs Research