MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
0

Given an integer d, is there a way of finding max(n^m), where d=n*m, except brute-forcing it ? n and m don't have to be primes.

For example:

The number 12 can be factorized into two factors as: 1*12, 2*6, 3*4, 4*3, 6*2 and 12*1. Raising the first factor to the second gives: 1, 64, 81, 64, 36 and 12. The maximum value is 81.

flag
8 
This is not really a research-level question, I think. But anyway, a hint is that you're looking to maximize $n^{d/n} = (n^{1/n})^d$. So try to maximize $n^{1/n}$ over divisors of $d$. – Abhinav Kumar Feb 27 at 2:46

closed as off topic by Douglas Zare, Brendan McKay, Gerry Myerson, Qiaochu Yuan, quid Feb 27 at 11:29

1 Answer

8

If $n$ is divisible by three than the required split is $(3,n/3)$. If $n$ is not divisible by 3 then the required split is $(p,n/p)$ where $p$ is the smallest prime divisor of $n$.

link|flag
Simpler: it's always $(p,n/p)$ where $p$ is the prime divisor of $n$ closest to $3$. – Gerry Myerson Feb 27 at 12:03
1 
Less simple but closer to the computation: It's the prime divisor closest to $e$. – Andreas Blass Feb 27 at 16:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.