login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A327906
Numbers with only one factorization into factors > 1 with integer mean (namely, as a singleton).
3
2, 3, 5, 6, 7, 10, 11, 13, 14, 17, 18, 19, 22, 23, 26, 29, 30, 31, 34, 37, 38, 41, 43, 46, 47, 53, 58, 59, 61, 62, 66, 67, 70, 71, 73, 74, 79, 82, 83, 86, 89, 90, 94, 97, 98, 101, 102, 103, 106, 107, 109, 113, 118, 122, 127, 130, 131, 134, 137, 138, 139, 142
OFFSET
1,1
LINKS
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
Complement of A327907.
Positions of 1's in A326622.
Sequence in context: A359782 A235991 A377871 * A333866 A325362 A339563
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 30 2019
STATUS
approved