cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A318903 Number of n-node rooted trees in which seven equals the maximal number of nodes in paths starting at a leaf and ending at the first branching node or at the root.

This page as a plain text file.
%I A318903 #4 Sep 05 2018 11:53:05
%S A318903 1,1,3,8,22,60,167,464,1302,3666,10370,29421,83736,238891,683088,
%T A318903 1956968,5616281,16142818,46463814,133903792,386336345,1115804329,
%U A318903 3225691950,9333321576,27027053245,78322024353,227126864470,659069928758,1913612752613,5559288014180
%N A318903 Number of n-node rooted trees in which seven equals the maximal number of nodes in paths starting at a leaf and ending at the first branching node or at the root.
%H A318903 Alois P. Heinz, <a href="/A318903/b318903.txt">Table of n, a(n) for n = 7..2137</a>
%p A318903 g:= proc(n, k) option remember; `if`(n=0, 1, add(add(d*(g(d-1, k)-
%p A318903       `if`(d=k, 1, 0)), d=numtheory[divisors](j))*g(n-j, k), j=1..n)/n)
%p A318903     end:
%p A318903 a:= n-> (k-> g(n-1, k) -g(n-1, k-1))(7):
%p A318903 seq(a(n), n=7..37);
%Y A318903 Column k=7 of A255704.
%K A318903 nonn
%O A318903 7,3
%A A318903 _Alois P. Heinz_, Sep 05 2018