A316790 Number of orderless same-tree-factorizations of n.
1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1
Offset: 1
Keywords
Examples
The a(64) = 9 orderless same-tree-factorizations: 64 (8*8) (4*4*4) (4*4*(2*2)) (8*(2*2*2)) (2*2*2*2*2*2) (4*(2*2)*(2*2)) ((2*2*2)*(2*2*2)) ((2*2)*(2*2)*(2*2))
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
a[n_]:=1+Sum[Binomial[a[n^(1/d)]+d-1,d],{d,Rest[Divisors[GCD@@FactorInteger[n][[All,2]]]]}] Array[a,100]
-
PARI
a(n)={my(z, e=ispower(n,,&z)); 1 + if(e, sumdiv(e, d, if(d>1, binomial(a(z^(e/d)) + d - 1, d))))} \\ Andrew Howroyd, Nov 18 2018
Formula
a(n) = 1 + Sum_{n = x^y, y > 1} binomial(a(x) + y - 1, y).
a(2^n) = A289078(n).
Comments