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: Mma: 13 is not prime!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4639] Re: Mma: 13 is not prime!
  • From: wagner at motel6.cs.colorado.edu (Dave Wagner)
  • Date: Thu, 22 Aug 1996 03:54:56 -0400
  • Organization: University of Colorado, Boulder
  • Sender: owner-wri-mathgroup at wolfram.com

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

Because:

In[1]:=
    PrimeQ[p]

Out[1]=
    False

In[2]:=
    % /. {p->13}

Out[2]=
    False

		Dave Wagner
		Principia Consulting
		(303) 786-8371
		dbwagner at princon.com
		http://www.princon.com/princon

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


  • Prev by Date: Re: Graphics Output (publication quality) from Mathematica?
  • Next by Date: Re: Trilinear plots
  • Previous by thread: Mma: 13 is not prime!
  • Next by thread: Re: Mma: 13 is not prime!