OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
EXAMPLE
There are 4 factorizations of 24 with integer mean, namely:
(24)
(4*6)
(2*12)
(2*3*4)
so 24 is not in the sequence.
MATHEMATICA
facs[n_]:=If[n<=1, {{}}, Join@@Table[Map[Prepend[#, d]&, Select[facs[n/d], Min@@#>=d&]], {d, Rest[Divisors[n]]}]];
Select[Range[100], Length[Select[facs[#], IntegerQ[Mean[#]]&]]==1&]
PROG
(PARI)
A326622(n, m=n, facsum=0, facnum=0) = if(1==n, facnum > 0 && 1==denominator(facsum/facnum), my(s=0); fordiv(n, d, if((d>1)&&(d<=m), s += A326622(n/d, d, facsum+d, facnum+1))); (s)); \\ Antti Karttunen, Nov 10 2024
isA327906(n) = (1==A326622(n)); \\ Antti Karttunen, Nov 10 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 30 2019
STATUS
approved