OFFSET
1,1
COMMENTS
That is, composite numbers such that the arithmetic mean of their prime factors (counted with multiplicity) is an integer.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
60 = 2*2*3*5: (2+2+3+5)/4 = 3, therefore 60 is a term.
MATHEMATICA
Select[Range[200], CompositeQ[#] && IntegerQ[Mean[Flatten[Table[#[[1]], #[[2]]]& /@ FactorInteger[#]]]]&] (* Jean-François Alcover, Aug 03 2018 *)
PROG
(PARI) lista(nn) = {forcomposite(n=1, nn, my(f = factor(n)); if (! (sum(k=1, #f~, f[k, 1]*f[k, 2]) % vecsum(f[, 2])), print1(n, ", ")); ); } \\ Michel Marcus, Feb 22 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 20 2002
EXTENSIONS
Edited by N. J. A. Sloane, May 30 2008 at the suggestion of R. J. Mathar
STATUS
approved