The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Re: 13 is not prime!
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Alex Scheitlin

Posts: 3
Registered: 12/11/04
Re: 13 is not prime!
Posted: Aug 16, 1996 3:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

The following shows why:
In[] Trace[PrimeQ[p]/.p->13]
Out[] {{PrimeQ[p], False}, False /. p -> 13, False}

Felix Holderied <> wrote in article
> Please help me:
> In[]:=
> PrimeQ[13]
> Out[]=
> True
> In[]:=
> PrimeQ[p] /.{p->13}
> Out[]=
> False
> WHY?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.