Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: 13 is not prime!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4637] Re: 13 is not prime!
  • From: "Alex Scheitlin" <alex-s at worldnet.att.net>
  • Date: Thu, 22 Aug 1996 03:54:55 -0400
  • Organization: MetLife
  • Sender: owner-wri-mathgroup at wolfram.com

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

Felix Holderied <felix at ira.uka.de> wrote in article
<4upg5q$48n at dragonfly.wolfram.com>...
> Please help me:
> In[]:=
>         PrimeQ[13]
> Out[]=
>         True
> In[]:=
>         PrimeQ[p] /.{p->13}
> Out[]=
>         False
> WHY?
 

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Matching random numbers
  • Next by Date: Re: The farthest apart points problem
  • Previous by thread: Integration of Bessel functions
  • Next by thread: How to think about Map[ ] ?