Challenge XI: Harmonic Numbers

Click For Summary

Discussion Overview

The discussion revolves around the properties of harmonic numbers, specifically the assertion that the ##n##th harmonic number, defined as ##H_n = \sum_{k=1}^n \frac{1}{k}##, is never an integer for ##n \geq 2##. Participants explore various proofs and approaches to support or challenge this claim.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests a proof using Bertrand's postulate, arguing that for ##n > 5##, the largest prime ##p \leq n## leads to a contradiction if ##H_n## were an integer.
  • Another participant presents an elementary proof by induction, claiming that all harmonic numbers for ##n \geq 2## have odd numerators and even denominators, thus cannot be integers.
  • A different approach is proposed involving the structure of denominators, suggesting that the sum of fractions leads to a form with an odd numerator and an even denominator.
  • Some participants question the assumptions made in the proofs, particularly regarding the parity of certain terms and the implications of specific cases.
  • There are attempts to refine earlier arguments and address gaps in reasoning, particularly concerning the factors of 2 in the numerators and denominators.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the proofs presented. Multiple competing views and approaches remain, with some participants expressing uncertainty about specific claims and assumptions.

Contextual Notes

Some arguments depend on the properties of prime numbers and the structure of fractions, with unresolved questions about the parity of certain terms and the implications of specific cases in the proofs.

micromass
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Messages
22,170
Reaction score
3,326
This challenge was suggested by jgens.

The ##n##th harmonic number is defined by

H_n = \sum_{k=1}^n \frac{1}{k}

Show that ##H_n## is never an integer if ##n\geq 2##.
 
Mathematics news on Phys.org
For a fixed n>5, consider the largest prime number ##p \leq n##. According to Bertrand's postulate, ##p>\frac{n}{2}##. Therefore, apart from p itself no other number ##i \leq n## is divisible by p.

##H_n \frac{n!}{p}## has only integer summands - with the only exception of ##\frac{1}{p}\frac{n!}{p}## as n! just has one factor of p. Therefore, ##H_n \frac{n!}{p}## is not an integer.
If ##H_n## would be integer, ##H_n \frac{n!}{p}## would be integer as well -> contradiction.

For 1<n<6, just calculate Hn.
 
Well done!
 
Math is not something I feel confident about, but I think I have a very elementary proof. Every harmonic number is a rational number:

H_n = \frac a b

For n=2 denominator is an even number, and numerator is an odd number:

H_2 = \frac 3 2

For obvious reasons

H_{n+1} = H_n + \frac 1 n

We can use the induction to show all harmonic numbers for n≥2 have odd numerators and even denominators.

For odd n

\frac a b + \frac 1 n = \frac {na+b}{nb}

where na is odd and b is even, so denominator nb is again even and numerator na+b is again odd. For even n we can write b=2c and n=2m, then

\frac a {2c} + \frac 1 {2m} = \frac {2ma+2c}{4mc} = \frac {ma+c}{2mc}

where again ma+c is odd and 2mc is even. So all harmonic numbers for n≥2 have odd numerators and even denominators, and neither can be an integer.

I got the clue about odd/even thing from http://mathworld.wolfram.com/HarmonicNumber.html.
 
I don't see why ma+c has to be odd. a is odd, but we have no information about m and c.

(I expect that your observation is true, but I don't see how your post proves this)
 
There is a way of proving that all the harmonic numbers greater than 1 are fractions with an odd numerator and an even denominator.

Consider the denominators 1, 2, ...,2k, ...,n where k is the largest power of 2 such that 2k is less than or equal to n. Remove the fraction with the 2k denominator and add together the remaining fractions. The result will be a fraction of the form

\frac {P}{2^{k-1}Q}
where P is any integer and Q is an odd integer.

Now add in the fraction \frac 1 {2^k} and the result is
\frac {2P+Q}{2^{k}Q}
an odd numerator divided by an even denominator. Therefore it cannot be an integer.

Apologies for the lack of tex, I've not used it before.
 
Last edited:
mfb said:
I don't see why ma+c has to be odd. a is odd, but we have no information about m and c

Good point. mathsman1963 already posted another approach, here is my attempt to plug the hole:

For even n we have b=2kc and n=2lm (where c and m are odd), so

\frac a b + \frac 1 n = \frac a{2^kc} + \frac 1{2^lm} = \frac {2^lma + 2^kc}{2^{k+l}mc}

After canceling powers of 2 numerator is odd (either because ma is odd or because c is odd) and denominator is even (as k+l is greater than k and l).
 
Borek said:
Good point. mathsman1963 already posted another approach, here is my attempt to plug the hole:

For even n we have b=2kc and n=2lm (where c and m are odd), so

\frac a b + \frac 1 n = \frac a{2^kc} + \frac 1{2^lm} = \frac {2^lma + 2^kc}{2^{k+l}mc}

After canceling powers of 2 numerator is odd (either because ma is odd or because c is odd) and denominator is even (as k+l is greater than k and l).

What if k=l? Then we get

\frac a b + \frac 1 n = \frac a{2^kc} + \frac 1{2^lm} = \frac {2^l(ma + c)}{2^{l}mc}

The 2l s cancel to leave

\frac{ma + c}{mc}

even divided by odd.
 
mathsman1963 said:
What if k=l? Then we get

\frac a b + \frac 1 n = \frac a{2^kc} + \frac 1{2^lm} = \frac {2^l(ma + c)}{2^{l}mc}
The exponent in the denominator is l+k, you get 2l:

\frac a b + \frac 1 n = \frac a{2^kc} + \frac 1{2^{l}m} = \frac {2^l(ma + c)}{2^{2l}mc} = \frac {ma + c}{2^{l}mc}
We might get more factors of 2, but we still don't know how many factors of 2 we have in ma+c.

Your direct approach works, and it looks similar to my proof (just with powers of 2 instead of a prime number).
 
  • #10
Apologies, I made a boo-boo. (I'm getting carried away with this Tex business.)

The fraction should be

\frac {am+c}{2^{l}mc}

The numerator is clearly even but, as you say, there is no evidence for the factors of 2. If it could be shown that k can never equal l it would prove the assertion.

I tell you, I'm mastering Tex today, it'll be the Riemann Hypothesis tomorrow!
 
  • #11
Next time you see me posting about math, just ban me [PLAIN]http://www.bpp.com.pl/IMG/grumpy_borek.png.
 
Last edited by a moderator:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
920
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K