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!)
A027611 Denominator of n * n-th harmonic number. 22

%I #77 May 12 2023 14:51:30

%S 1,1,2,3,12,10,20,35,280,252,2520,2310,27720,25740,24024,45045,720720,

%T 680680,4084080,3879876,739024,235144,5173168,14872858,356948592,

%U 343219800,2974571600,2868336900,80313433200,77636318760

%N Denominator of n * n-th harmonic number.

%C This is very similar to A128438, which is a different sequence. They differ at n=6 (and nowhere else?). - _N. J. A. Sloane_, Nov 21 2008

%C Denominator of 1/n + 2/(n-1) + 3/(n-2) + ... + (n-1)/2 + n.

%C Denominator of Sum_{k=1..n} frac(n/k) where frac(x/y) denotes the fractional part of x/y. - _Benoit Cloitre_, Oct 03 2002

%C Denominator of Sum_{d=2..n-1, n mod d > 0} n/d. Numerator = A079076. - _Reinhard Zumkeller_, Dec 21 2002

%C a(n) is odd iff n is a power of 2. - _Benoit Cloitre_, Oct 03 2002

%C Indices where a(n) differs from A128438 are terms of A074791. - _Gary Detlefs_, Sep 03 2011

%H Reinhard Zumkeller, <a href="/A027611/b027611.txt">Table of n, a(n) for n = 1..1000</a>

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

%F From _Vladeta Jovovic_, Sep 02 2002: (Start)

%F a(n) = denominators of coefficients in expansion of -log(1-x)/(1-x)^2.

%F a(n) = denominators of (n+1)*(harmonic(n+1) - 1).

%F a(n) = denominators of (n+1)*(Psi(n+2) + Euler-gamma - 1). (End)

%F a(n) = numerator(h(n)/h(n-1)) - denominator(h(n)/h(n-1)), n > 1, where h(n) is the n-th harmonic number. - _Gary Detlefs_, Sep 03 2011

%F a(n) = A213999(n, n-2) for n > 1. - _Reinhard Zumkeller_, Jul 03 2012

%F a(n) = denominators of coefficients of e.g.f. -1 + exp(x)*(1 + Sum_{j >= 0} (-x)^(j+1)/(j * j!)). - _G. C. Greubel_, Aug 24 2022

%p a := n -> denom(add((n-j)/j, j=1..n));

%p seq(a(n), n = 1..30); # _Peter Luschny_, May 12 2023

%t a[n_]:=Denominator[n*HarmonicNumber[n]]; Array[a,100] (* _Vladimir Joseph Stephan Orlovsky_, Feb 16 2011 *)

%o (Haskell)

%o import Data.Ratio ((%), denominator)

%o a027611 n = denominator $ sum $ map (n %) [1..n]

%o -- _Reinhard Zumkeller_, Jul 03 2012

%o (Magma) [Denominator(n*HarmonicNumber(n)): n in [1..40]]; // _Vincenzo Librandi_, Feb 19 2014

%o (PARI) a(n) = denominator(n*sum(k=1, n, 1/k)); \\ _Michel Marcus_, Feb 15 2015

%o (Python)

%o from sympy import harmonic

%o def A027611(n): return (n*harmonic(n)).q # _Chai Wah Wu_, Sep 26 2021

%o (SageMath) [denominator(n*harmonic_number(n)) for n in (1..40)] # _G. C. Greubel_, Aug 24 2022

%Y Harmonic numbers = A001008/A002805.

%Y Cf. A001705, A006675, A027612, A049820, A024816.

%Y Cf. A128438, A074791, A079076.

%K nonn,easy,frac

%O 1,3

%A Glen Burch (gburch(AT)erols.com)

%E Entry revised by _N. J. A. Sloane_ following a suggestion of _Eric W. Weisstein_, Jul 02 2004

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 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)