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!)
A338706 Number of 2-linear trees on n nodes. 4

%I #18 Jul 11 2022 20:26:19

%S 0,0,0,0,0,1,3,10,24,56,114,224,411,733,1252,2091,3393,5408,8440,

%T 12982,19650,29388,43394,63430,91754,131584,187057,263932,369624,

%U 514253,710838,976876,1334828,1814492,2454011,3303436,4426627,5906599,7848883,10389557

%N Number of 2-linear trees on n nodes.

%C A k-linear tree is a tree with exactly k vertices of degree 3 or higher all of which lie on a path. - _Andrew Howroyd_, Dec 17 2020

%C Empirically the partial sums of A000147. - _Sean A. Irvine_, Jul 11 2022

%H Andrew Howroyd, <a href="/A338706/b338706.txt">Table of n, a(n) for n = 1..1000</a>

%H Tanay Wakhare, Eric Wityk, and Charles R. Johnson, <a href="https://doi.org/10.1016/j.disc.2020.112008">The proportion of trees that are linear</a>, Discrete Mathematics, 343.10 (2020): 112008. Also <a href="https://arxiv.org/abs/1901.08502">arXiv:1901.08502v2</a>. See Tables 1 and 2 (but beware errors).

%F G.f.: ((x*(P(x) - 1/(1-x)))^2 + x^2*(P(x^2) - 1/(1-x^2)))/(2*(1-x)) where P(x) is the g.f. of A000041. - _Andrew Howroyd_, Dec 17 2020

%e The a(6) = 1 tree is:

%e o o

%e | |

%e o---o---o---o

%o (PARI) seq(n)=my(p=1/(eta(x + O(x^(n-3))))); Vec(((x*(p - 1/(1-x)))^2 + x^2*(subst(p,x,x^2) - 1/(1-x^2)))/(2*(1-x)), -n) \\ _Andrew Howroyd_, Dec 17 2020

%Y Cf. A000041, A000147, A130131, A338707, A338708.

%K nonn

%O 1,7

%A _N. J. A. Sloane_, Nov 05 2020, using data supplied by Eric Wityk

%E Terms a(31) and beyond from _Andrew Howroyd_, Dec 17 2020

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 25 09:56 EDT 2024. Contains 371967 sequences. (Running on oeis4.)