Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MaxValue

  • To: mathgroup at
  • Subject: [mg99105] Re: [mg99084] MaxValue
  • From: DrMajorBob <btreat1 at>
  • Date: Mon, 27 Apr 2009 01:16:15 -0400 (EDT)
  • References: <>
  • Reply-to: drmajorbob at

Maximize[(-1)^n, n, Integers]

Maximize[(-1)^n, n, Integers]


MaxValue[(-1)^n, n, Integers]

MaxValue[(-1)^n, n, Integers]

Utter failure. We know the answers but Mathematica, surprizingly, does not.


On Sun, 26 Apr 2009 00:40:18 -0500, BG <galt32 at> wrote:

> Suppose I want to find supremum of {(-1)^n: n is natural}, MaxValue
> just returns the question itself.
> if I ask it sup of (1+2)^n, it givs infinity, but max of (1-2)^n it
> just returns the question itself.
> FindMaximum and FindMinimum also can't handle (-1)^ can it be
> done then?

DrMajorBob at

  • References:
  • Prev by Date: Manipulate problems again
  • Next by Date: Re: MaxValue
  • Previous by thread: MaxValue
  • Next by thread: Re: MaxValue