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.

A320267 Number of balanced complete orderless tree-factorizations of n.

This page as a plain text file.
%I A320267 #8 Nov 18 2018 14:59:36
%S A320267 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,
%T A320267 1,3,1,1,1,2,1,1,1,1,1,1,1,3,1,1,1,1,1,2,1,2,1,1,1,3,1,1,1,4,1,1,1,1,
%U A320267 1,1,1,4,1,1,1,1,1,1,1,3,2,1,1,3,1,1,1
%N A320267 Number of balanced complete orderless tree-factorizations of n.
%C A320267 a(1) = 1 by convention.
%C A320267 A rooted tree is balanced if all leaves are the same distance from the root.
%C A320267 An orderless tree-factorization (see A292504 for definition) is complete if all leaves are prime numbers.
%C A320267 a(n) depends only on the prime signature of n. - _Andrew Howroyd_, Nov 18 2018
%H A320267 Andrew Howroyd, <a href="/A320267/b320267.txt">Table of n, a(n) for n = 1..10000</a>
%F A320267 a(p^n) = A120803(n) for prime p. - _Andrew Howroyd_, Nov 18 2018
%e A320267 The a(96) = 5 balanced complete orderless tree-factorizations:
%e A320267      (2*2*2*2*2*3)
%e A320267    ((2*2)*(2*2*2*3))
%e A320267    ((2*3)*(2*2*2*2))
%e A320267    ((2*2*2)*(2*2*3))
%e A320267   ((2*2)*(2*2)*(2*3))
%t A320267 facs[n_]:=If[n<=1,{{}},Join@@Table[Map[Prepend[#,d]&,Select[facs[n/d],Min@@#>=d&]],{d,Rest[Divisors[n]]}]];
%t A320267 oltfacs[n_]:=If[n<=1,{{}},Prepend[Union@@Function[q,Sort/@Tuples[oltfacs/@q]]/@DeleteCases[facs[n],{n}],n]];
%t A320267 Table[Length[Select[oltfacs[n],And[SameQ@@Length/@Position[#,_Integer],FreeQ[#,_Integer?(!PrimeQ[#]&)]]&]],{n,100}]
%o A320267 (PARI) MultEulerT(u)={my(v=vector(#u)); v[1]=1; for(k=2, #u, forstep(j=#v\k*k, k, -k, my(i=j, e=0); while(i%k==0, i/=k; e++; v[j]+=binomial(e+u[k]-1, e)*v[i]))); v}
%o A320267 seq(n)={my(u=vector(n, i, i==1 || isprime(i)), v=vector(n)); while(u, v+=u; u[1]=1; u=MultEulerT(u)-u); v} \\ _Andrew Howroyd_, Nov 18 2018
%Y A320267 Cf. A001055, A048816, A050336, A281118, A292505, A119262, A120803, A292504, A320160, A320266.
%K A320267 nonn
%O A320267 1,16
%A A320267 _Gus Wiseman_, Oct 08 2018