       • To: mathgroup at smc.vnet.net
• From: olfa <olfa.mraihi at yahoo.fr>
• Date: Mon, 20 Apr 2009 01:33:33 -0400 (EDT)
• References: <gs6pfe\$h1o\$1@smc.vnet.net> <gs9eg8\$mo3\$1@smc.vnet.net>

```On 17 avr, 10:26, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
wrote:
> Hi,
>
> may be you should stop to use N as a variable because
> N[] is the function to convert a analytic number into
> a floating point number.
>
> Regards
>    Jens
>
>
>
> olfa wrote:
> > Hi Mathematica community,
> > I have to solve this system:
> > Reduce[{Element[{i, j}, Integers], i <= iP, j >= jP,
> >   1*j + 1*i == 1*jP + 1*iP,
> >   Reduce[{Element[{N, iP}, Integers], Not[(iP < N)],
> >     Exists[{iPP}, (iPP < N) && iP == iPP + 1]}]}, {iP, jP},
> >  Backsubstitution -> True]
>
> > the output should be:( i | j | N | iP) are Integers && i <= N && iP =
==
> > N &&
> >  jP == i + j - N
> > but mathematica gave me this output:
> > (C | C | C | C) are Integers && C >= 0 &&
> >  C >= 0 && C >= 0 && C >= 0 && i == C - C - =
C &&
> >  iP == C - C + C && N == C - C + C &&
> >  jP == j - C - C
>
> > which is not understandable at all! and I dont want the output to be
> > like that.
>
> > I have observed that when I remove i from Element[{i, j}, Integers]
> > mathematica give me the output I want and which is :iP == N &&  j=
P ==
> > i + j - N
>
> > So how can I have this same output without removing i from Element[{i,
> > j}, Integers]?
>
> > Thank you very much in advance.- Masquer le texte des messages pr=E9c=
=E9dents -
>
> - Afficher le texte des messages pr=E9c=E9dents -

Hi Jens,
I have replaced N by n but it does not solve the problem.

```

• Prev by Date: Re: 3D plots and using mouse click-drag to rotate - why the extra
• Next by Date: Re: Graphplot - colors of particular edges