Live data from Hacker News

Tell HN: 2^4 == 4^2, extended to rationals

news.ycombinator.com

1–10 of 19 posts

Tell HN: 2^4 == 4^2, extended to rationals

#1
Last week there was a discussion about 2^4 == 4^2 (my search-fu is letting me down - I can't find it again, or I'd link it). It proved that that is the only pair of integers with that relationship.

But what about rationals?

First, remember that (a^b)^c) == a^(bc).

Let a = (3/2)^2 and b = (3/2)^3. Then a^b == b^a. (a and b are rational, but a^b is not.)

More generally, for any natural number n, let a = ((n+1)/n)^n and b = ((n+1)/n)^(n+1). Then a^b == b^a.

Note that the first element of this series has a = 2 and b = 4. Also note that as n increases, the series converges to both a and b equal to e.

But when I said "for any natural number n", that was actually an unnecessary restriction. The math works for any n - it doesn't have to be an integer. We could, for instance, use n = 1/2. Then a = ((3/2)/(1/2))^(1/2) and b = ((3/2)/(1/2))^(3/2). a and b are no longer rational, but a^b still equals b^a.

Re: Tell HN: 2^4 == 4^2, extended to rationals

#2
Integer version: https://news.ycombinator.com/item?id=35635491 (520 points | 2 days ago | 156 comments) It (implicitly) shows why the e number is important and why it appears as the limit of your example.

Did you prove that this are all the case? Or this are only the cases you found and the general case is still open?

Re: Tell HN: 2^4 == 4^2, extended to rationals

#3

Integer version: https://news.ycombinator.com/item?id=35635491 (520 points | 2 days ago | 156 comments) It (implicitly) shows why the e number is important and why it appears as the limit of your example. Did you prove that this are all the case? Or this are only the cases you found and the general case is still open?

There are infinete number of rationals that satisfy the condition.

The integer uniquenes proof relied on the shape of the function between 1 and e non inclusive, and 2 is the only integer in the open interval.

Re: Tell HN: 2^4 == 4^2, extended to rationals

#8
post #7

I think a more interesting problem to consider after solving n^m = m^n is solving n^m = m^n + 1 in the natural numbers.

If we exclude 0, the only solutions are 2^1 = 1^2 + 1 and 3^2 = 2^3 + 1

That is correct. Why are there no others?
Post reply on HN