The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A078175 Numbers with an integer arithmetic mean of all prime factors. 47

%I #16 Jun 23 2021 18:11:17

%S 2,3,4,5,7,8,9,11,13,15,16,17,19,20,21,23,25,27,29,31,32,33,35,37,39,

%T 41,42,43,44,47,49,50,51,53,55,57,59,60,61,64,65,67,68,69,71,73,77,78,

%U 79,81,83,85,87,89,91,92,93,95,97,101,103,105,107,109,110,111,112,113

%N Numbers with an integer arithmetic mean of all prime factors.

%C A001414(a(n)) == 0 modulo A001222(a(n)).

%H Reinhard Zumkeller, <a href="/A078175/b078175.txt">Table of n, a(n) for n = 1..10000</a>

%e 2100=2*2*3*5*5*7: (2+2+3+5+5+7)/6=4, therefore 2100 is a term.

%t sopfr[n_] := If[n == 1, 0, Total[Times @@@ FactorInteger[n]]];

%t filterQ[n_] := Divisible[sopfr[n], PrimeOmega[n]];

%t Select[Range[2, 1000], filterQ] (* _Jean-François Alcover_, Apr 06 2021 *)

%t iamQ[n_]:=IntegerQ[Mean[Flatten[Table[#[[1]],#[[2]]]&/@ FactorInteger[ n]]]]; Select[Range[2,150],iamQ] (* _Harvey P. Dale_, Jun 23 2021 *)

%o (Haskell)

%o a078175 n = a078175_list !! (n-1)

%o a078175_list = filter (\x -> (a001414 x) `mod` (a001222 x) == 0) [2..]

%o -- _Reinhard Zumkeller_, Nov 20 2011

%Y Cf. A001222, A001414, A078174.

%Y Subsequences: A000040, A000079, A200612.

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, Nov 20 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 June 5 12:10 EDT 2024. Contains 373105 sequences. (Running on oeis4.)