Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064017
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064017 Number of ternary trees (A001764) with n nodes and maximal diameter. +0
7
1, 3, 12, 45, 162, 567, 1944, 6561, 21870, 72171, 236196, 767637, 2480058, 7971615, 25509168, 81310473, 258280326, 817887699, 2582803260, 8135830269, 25569752274, 80196041223, 251048476872, 784526490225, 2447722649502 (list; graph; listen)
OFFSET

1,2

COMMENT

A problem important for polymer science because it counts the trees having unbranched branches; they are called "combs".

FORMULA

a(n) = 3*a(n-1)+3^(n-2); closed formula: (n+1)*3^(n-2).

a(n)=(n+2)3^(n-1)+0^n/3 (offset 0); a(n)=A025192(n)+A027471(n). - Paul Barry (pbarry(AT)wit.ie), Sep 05 2003

A006234(n+4) - a(n+2) = 3^n - Creighton Dement (creighton.k.dement(AT)uni-oldenburg.de), Mar 01 2005

EXAMPLE

a(5)=162 because we write (5+1)*3^(5-2)=6*3^3=6*27

MAPLE

a:=n->ceil(sum(3^(n-2), j=0..n)): seq(a(n), n=1..26); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jun 05 2008

PROGRAM

Floretion Algebra Multiplication Program, FAMP Code: lesforseq[ - 'i + 'j - 'kk' - 'ki' - 'kj' ], vesforseq(n) = 3^n, tesforseq = A006234

CROSSREFS

Cf. A001764.

Cf. A014915, A027261, A079272.

Cf. A006234.

Sequence in context: A012873 A109437 A005656 this_sequence A005320 A062561 A128593

Adjacent sequences: A064014 A064015 A064016 this_sequence A064018 A064019 A064020

KEYWORD

nonn,nice,easy

AUTHOR

Danail Bonchev (bonchevd(AT)aol.com), Sep 07 2001

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research