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.
%I A289079 #18 Jun 20 2020 13:28:22 %S A289079 1,1,1,2,1,3,1,5,2,3,1,13,1,3,3,22,1,16,1,15,3,3,1,151,2,3,6,17,1,41, %T A289079 1,334,3,3,3,637,1,3,3,275,1,56,1,21,19,3,1,15591,2,27,3,23,1,902,3, %U A289079 516,3,3,1,7858,1,3,21,69109,3,98,1,27,3,67,1,811756,1 %N A289079 Number of orderless same-trees of weight n with all leaves equal to 1. %C A289079 a(n) is also the number of orderless same-trees of weight n with all leaves greater than 1. %H A289079 Alois P. Heinz, <a href="/A289079/b289079.txt">Table of n, a(n) for n = 1..10000</a> %F A289079 a(1) = 1, a(n>1) = Sum_{d|n, d>1} binomial(a(n/d)+d-1, d). %e A289079 The a(12)=13 orderless same-trees with all leaves greater than 1 are: ((33)(33)), ((33)(222)), ((33)6), ((222)(222)), ((222)6), (66), ((22)(22)(22)), ((22)(22)4), ((22)44), (444), (3333), (222222), 12. %p A289079 with(numtheory): %p A289079 a:= proc(n) option remember; `if`(n=1, 1, add( %p A289079 binomial(a(n/d)+d-1, d), d=divisors(n) minus {1})) %p A289079 end: %p A289079 seq(a(n), n=1..80); # _Alois P. Heinz_, Jul 05 2017 %t A289079 a[n_]:=If[n===1,1,Sum[Binomial[a[n/d]+d-1,d],{d,Rest[Divisors[n]]}]]; %t A289079 Array[a,100] %o A289079 (PARI) seq(n)={my(v=vector(n)); v[1]=1; for(n=2, n, v[n] = sumdiv(n, d, binomial(v[n/d]+d-1, d))); v} \\ _Andrew Howroyd_, Aug 20 2018 %o A289079 (Python) %o A289079 from sympy import divisors, binomial %o A289079 l=[0, 1] %o A289079 for n in range(2, 101): l+=[sum([binomial(l[n//d] + d - 1, d) for d in divisors(n)[1:]]), ] %o A289079 l[1:] # _Indranil Ghosh_, Jul 06 2017 %Y A289079 Cf. A196545, A273873, A275870, A281145, A281146, A289078. %K A289079 nonn %O A289079 1,4 %A A289079 _Gus Wiseman_, Jun 23 2017