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.

A127525 Number of ordered rooted trees where each subtree from given node has the same number of nodes.

This page as a plain text file.
%I A127525 #13 Oct 28 2020 10:27:25
%S A127525 1,1,2,3,5,6,12,13,24,33,60,61,142,143,289,447,699,700,1558,1559,3518,
%T A127525 5375,8977,8978,17179,20305,40471,54808,98182,98183,242068,242069,
%U A127525 477002,695051,1183654,1510612,2629806,2629807,5057173,7928654,12366025,12366026
%N A127525 Number of ordered rooted trees where each subtree from given node has the same number of nodes.
%H A127525 Alois P. Heinz, <a href="/A127525/b127525.txt">Table of n, a(n) for n = 1..5590</a>
%F A127525 a(1) = 1; a(n+1) = Sum_{d|n} a(n/d)^d.
%F A127525 L.g.f.: -log(Product_{n>=1} (1 - a(n)*x^n)^(1/n)) = Sum_{n>=1} a(n+1)*x^n/n. - _Ilya Gutkovskiy_, Apr 29 2019
%e A127525 The tree shown below left counts, because the left subtree has 3 nodes and so does the right subtree and a similar condition holds for the subtrees. The tree shown on the right is not counted, because the left subtree has 3 nodes, while the right subtree has 4.
%e A127525 O..........O...O...O
%e A127525 |..........|....\./.
%e A127525 O...O...O..O.....O..
%e A127525 .\...\./....\....|..
%e A127525 .O...O......O...O..
%e A127525 ..\./........\./...
%e A127525 ...O..........O....
%p A127525 a:= proc(n) option remember; `if`(n<2, n, add(
%p A127525       a((n-1)/d)^d, d=numtheory[divisors](n-1)))
%p A127525     end:
%p A127525 seq(a(n), n=1..45);  # _Alois P. Heinz_, Sep 08 2018
%t A127525 a[1] = 1;
%t A127525 a[n_] := a[n] = Sum[a[(n-1)/d]^d, {d, Divisors[n-1]}];
%t A127525 Array[a, 45] (* _Jean-François Alcover_, Oct 28 2020 *)
%Y A127525 Cf. A000108, A127524, A007059.
%K A127525 nonn
%O A127525 1,3
%A A127525 _Franklin T. Adams-Watters_, Jan 17 2007