Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I would like to Maximize this fairly simple expression

Maximize[{2^(-1-n)*(1+k)^(-1-n)*(1+2k)^(-1+n)*(-1 - 2 k + n)*(-2 k + n),k<=n/2, k>=1},
         {n,k}, Integers]

However Mathematica just returns the query. What's the right way to do this?

share|improve this question

1 Answer 1

Try NMaximize.

Maximize[{2^(-1-n)(1+k)^(-1-n)(1+2k)^(-1+n)(-1 - 2 k + n)(-2 k + n),k<=n/2, k>=1},{n,k}]
share|improve this answer
What result do you get? – belisarius has settled Apr 7 '14 at 19:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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