WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
The Mathematical Explorer
TM
(2001)
This is documentation for an obsolete product.
Current products and services
HarmonicNumber
HarmonicNumber[
n
]
gives the
n
harmonic number
.
HarmonicNumber[
n
,
r
]
gives the harmonic number
of order
.
Mathematical function (see
Section A
.3.10
).
The harmonic numbers are given by
with
.
See
The Mathematica Book
on the web:
Section 3.2.5
.
See also:
EulerGamma
,
PolyGamma
,
Zeta
,
Log
.
Further Examples