proposed
approved
proposed
approved
editing
proposed
n=33=3.*11, mean=(3+11)/2=6.
proposed
editing
editing
proposed
Arithmetical Arithmetic mean of prime factors of n is an integer and n is neither a prime nor power of a prime.
(PARI) lista(nn) = {for (n=2, nn, f = factor(n); if ((#f~ != 1) && (sum(k=1, #f~, f[k, 1]) % #f~ == 0), print1(n, ", ")); ); } \\ Michel Marcus, Mar 28 2015
approved
editing
_Labos E. (labos(AT)ana.sote.hu), Elemer_, Apr 11 2002
editing
approved
(Haskell)
a070005 n = a070005_list !! (n-1)
a070005_list = filter ((== 0) . a010055) a078174_list
-- Reinhard Zumkeller, Jun 01 2013
Reinhard Zumkeller, <a href="/A070005/b070005.txt">Table of n, a(n) for n = 1..10000</a>
approved
editing
ffi[x_] := Flatten[FactorInteger[x]] lf[x_] := Length[FactorInteger[x]] ba[x_] := Table[Part[ffi[x], 2*w-1], {w, 1, lf[x]}] ep[x_] := Table[Part[ffi[x], 2*w], {w, 1, lf[x]}] Do[s=Apply[Plus, ba[n]]/lf[n]; If[IntegerQ[s]&&Greater[lf[n], 1], Print[n]], {n, 2, 1000}]
easy,nonn,new