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!)
A063947 Infinitary harmonic numbers: harmonic mean of infinitary divisors is an integer. 17

%I #23 Mar 24 2019 08:36:49

%S 1,6,45,60,90,270,420,630,2970,5460,8190,9100,15925,27300,36720,40950,

%T 46494,54600,81900,95550,136500,163800,172900,204750,232470,245700,

%U 257040,409500,464940,491400,646425,716625,790398,791700,819000,900900

%N Infinitary harmonic numbers: harmonic mean of infinitary divisors is an integer.

%H Amiram Eldar, <a href="/A063947/b063947.txt">Table of n, a(n) for n = 1..239</a> (terms below 10^10)

%H P. Hagis, Jr. and G. L. Cohen, <a href="http://dx.doi.org/10.1017/S0004972700017949">Infinitary harmonic numbers</a>, Bull. Australian math. Soc., 41 (1990), 151-158 (Math. Rev. 91d:11001) (asymptotics).

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/HarmonicMean.html">Harmonic Mean</a>

%H Wikipedia, <a href="http://www.wikipedia.org/wiki/Harmonic_mean">Harmonic mean</a>

%t bitty[ k_ ] := Union[ Flatten[ Outer[ Plus, Sequence @@ ({0, #} & /@ Union[ (2^Range[ 0, Floor[ Log[ 2, k ] ] ] ) Reverse[ IntegerDigits[ k, 2 ] ] ] ) ] ] ]; 1 + Flatten[ Position[ Table[ (Length[ # ] /(Plus @@ (1/#)) &)@ (Apply[ Times, (First[ it ] ^ (# /. z -> List)) ] & /@ Flatten[ Outer[ z, Sequence @@ (bitty /@ Last[ it = Transpose[ FactorInteger[ k ] ] ] ), 1 ] ]), {k, 2, 2^22 + 1} ], _Integer ] ] (* _Robert G. Wilson v_, Sep 04 2001 *)

%o (Haskell)

%o import Data.Ratio (denominator)

%o import Data.List (genericLength)

%o a063947 n = a063947_list !! (n-1)

%o a063947_list = filter ((== 1) . denominator . hm . a077609_row) [1..]

%o where hm xs = genericLength xs / sum (map (recip . fromIntegral) xs)

%o -- _Reinhard Zumkeller_, Jul 10 2013

%Y Cf. A037445, A049417.

%Y Cf. A077609.

%K nonn,nice

%O 1,2

%A _Wouter Meeussen_, Sep 03 2001

%E More terms from _David W. Wilson_, Sep 04 2001

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 July 25 09:55 EDT 2024. Contains 374587 sequences. (Running on oeis4.)