Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Odd Interger' topicStudent Support Forum > General > "Odd Interger"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Simon
09/16/02 03:30am

The only way I seemed to be able to get it working is to use a function of
n+1 with the condition that n/2 elem Integers...

eg Simplify[(-1)^(n+1),n/2 elem integers]
-> -1

then just have m=n+1, if you want to make it look neater..

eg Simplify[(-1)^(n+1)f[n+1],n/2 elem
integers]/.n->m-1
-> -f[m]

I hope that is kinda what you wanted..
Simon

URL: ,

Subject (listing for 'Odd Interger')
Author Date Posted
Odd Interger Gero 09/15/02 6:18pm
Re: Odd Interger Simon 09/16/02 03:30am
Re: Odd Interger GERO 09/17/02 4:42pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic