A316782 Number of achiral tree-factorizations of n.
1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 4, 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, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1
Offset: 1
Keywords
Examples
The a(1296) = 4 achiral tree-factorizations are 1296, (36*36), (6*6*6*6), ((6*6)*(6*6)).
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
a[n_]:=1+Sum[a[d],{d,n^(1/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
Andrew Howroyd, Nov 18 2018
Formula
a(n) = 1 + Sum_{n = d^k, k>1} a(d).
a(p^n) = A067824(n) for prime p. - Andrew Howroyd, Nov 18 2018
Comments