The th
alternating harmonic number is the number obtained by taking alternate signs in the
sum defining the harmonic number
,
|
(1)
| |||
|
(2)
| |||
|
(3)
|
where
is the digamma function. The even-indexed alternating
harmonic numbers have the form
|
(4)
| |||
|
(5)
| |||
|
(6)
| |||
|
(7)
| |||
|
(8)
| |||
|
(9)
|
Alternating harmonic numbers are implemented in the Wolfram Language as AlternatingHarmonicNumber[n].