login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058312 Denominator of the n-th alternating harmonic number, sum ((-1)^(k+1)/k, k=1..n). 23
1, 2, 6, 12, 60, 60, 420, 840, 2520, 2520, 27720, 27720, 360360, 360360, 72072, 144144, 2450448, 2450448, 46558512, 232792560, 232792560, 232792560, 5354228880, 5354228880, 26771144400, 26771144400, 80313433200, 11473347600 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

T. D. Noe, Table of n, a(n) for n=1..200

Eric Weisstein's World of Mathematics, Harmonic Number

FORMULA

G.f. for A058313(n)/ A058312(n) : log(1+x)/(1-x) - Benoit Cloitre, Jun 15 2003

EXAMPLE

1, 1/2, 5/6, 7/12, 47/60, 37/60, 319/420, 533/840, 1879/2520, ...

MAPLE

A058313 := n->denom(add((-1)^(k+1)/k, k=1..n));

PROG

(PARI) a(n)=denominator(polcoeff(-log(1-x)/(x+1)+O(x^(n+1)), n))

(Haskell)

import Data.Ratio((%), denominator)

a058312 n = a058312_list !! (n-1)

a058312_list = map denominator $ scanl1 (+) $

                   map (1 %) $ tail a181983_list

-- Reinhard Zumkeller, Mar 20 2013

CROSSREFS

Numerators are A058313. Cf. A025530.

Cf. A002805 (denominator of n-th harmonic number).

Cf. A181983.

Sequence in context: A225628 A085911 A211418 * A003418 A109935 A065887

Adjacent sequences:  A058309 A058310 A058311 * A058313 A058314 A058315

KEYWORD

nonn,frac,nice,easy

AUTHOR

N. J. A. Sloane, Dec 09 2000

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 18 21:41 EDT 2013. Contains 226356 sequences.