Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120926
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A120926 Number of isolated 0's in all ternary words of length n on {0,1,2}. +0
2
1, 4, 16, 60, 216, 756, 2592, 8748, 29160, 96228, 314928, 1023516, 3306744, 10628820, 34012224, 108413964, 344373768, 1090516932, 3443737680, 10847773692, 34093003032, 106928054964, 334731302496, 1046035320300 (list; graph; listen)
OFFSET

1,2

COMMENT

a(n)=Sum(k*A120924(n,k),k=0..ceil(n/2)).

FORMULA

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

EXAMPLE

a(2)=4 because in the 9 ternary words of length 2, namely 00,01,02,10,11,12,20,21, and 22, we have altogether 4 isolated 0's.

MAPLE

1, seq(4*(n+1)*3^n/27, n=2..28);

CROSSREFS

Cf. A120924.

Adjacent sequences: A120923 A120924 A120925 this_sequence A120927 A120928 A120929

Sequence in context: A119827 A089883 A089932 this_sequence A128650 A072335 A081161

KEYWORD

nonn

AUTHOR

Emeric Deutsch (deutsch(AT)duke.poly.edu), Jul 16 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 October 6 16:13 EDT 2008. Contains 144667 sequences.


AT&T Labs Research