OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..3000
EXAMPLE
n=9189=3*1021, mean=(3+1021)/2=512.
MATHEMATICA
ffi[x_] := Flatten[FactorInteger[x]] lf[x_] := Length[FactorInteger[x]] ba[x_] := Table[Part[ffi[x], 2*w-1], {w, 1, lf[x]}] Do[s=Apply[Plus, ba[n]]/lf[n]; If[IntegerQ[Log[2, s]], Print[{n, s}]], {n, 2, 10000}]
fQ[n_] := Block[{pf = FactorInteger@ n}, Length@ pf == 1 && pf[[1, 1]] == 2]; Select[Range[2, 780], fQ[Total[First /@ FactorInteger@#]/PrimeNu@#] &] (* Michael De Vlieger, Mar 28 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 11 2002
STATUS
approved