login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A121320 Number of vertices in all ordered (plane) trees with n edges that are at distance two from all the leaves above them. 2
0, 0, 1, 2, 6, 18, 59, 203, 724, 2643, 9802, 36755, 138935, 528406, 2019419, 7748125, 29825844, 115132729, 445498768, 1727434607, 6710501025, 26110567532, 101744332967, 396983837719, 1550777652546, 6064476854065, 23739056348161 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
G.f.: x^2*(1 + 1/sqrt(1 - 4*x))/(2 - 2*x - 2*x^2). - Reformulated by Georg Fischer, Apr 06 2020
Conjecture: (-n+2)*a(n) +(5*n-12)*a(n-1) +(-3*n+8)*a(n-2) +2*(-2*n+5)*a(n-3)=0. - R. J. Mathar, Jun 22 2016
a(n) ~ 2^(2*n-1) / (11*sqrt(Pi*n)). - Vaclav Kotesovec, Apr 07 2020
EXAMPLE
a(4)=6 since the root has the distance two property for the trees uudduudd and uudududd. There are similar points at height 1 for uuududdd, uuudddud and uduuuddd. The distance two point is at height 2 for uuuudddd.
MATHEMATICA
CoefficientList[Series[x^2(1 + 1/Sqrt[1 - 4x])/(2(1 - x - x^2)), {x, 0, 26}], x] (* Robert G. Wilson v, Aug 21 2006 *)
PROG
(PARI) seq(n)={Vec(x^2*(1 + 1/sqrt(1 - 4*x + O(x^(n-1))))/(2 - 2*x - 2*x^2), -(n+1))} \\ Andrew Howroyd, Apr 06 2020
CROSSREFS
Sequence in context: A351279 A036675 A227373 * A148460 A148461 A358251
KEYWORD
easy,nonn
AUTHOR
Louis Shapiro, Aug 25 2006
EXTENSIONS
More terms from Robert G. Wilson v, Aug 21 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)