login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070008 Arithmetic mean of distinct primes dividing n is a power of 2 (powers of 2 are not left out). 2

%I #13 Mar 28 2015 22:36:31

%S 2,4,8,15,16,32,39,42,45,55,64,75,84,87,114,117,126,128,135,168,170,

%T 183,225,228,247,252,256,258,261,275,294,295,336,340,342,351,375,378,

%U 405,410,456,504,507,512,516,549,583,588,605,672,675,680,684,756,774

%N Arithmetic mean of distinct primes dividing n is a power of 2 (powers of 2 are not left out).

%H Michael De Vlieger, <a href="/A070008/b070008.txt">Table of n, a(n) for n = 1..3000</a>

%e n=9189=3*1021, mean=(3+1021)/2=512.

%t 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}]

%t 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 *)

%Y Cf. A070005, A070006, A070007, A008472, A001414.

%K nonn

%O 1,1

%A _Labos Elemer_, Apr 11 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:06 EDT 2024. Contains 371967 sequences. (Running on oeis4.)