Mathematica 9 is now available

Primes

Usage

Primes表示素数域,如同 x  Primes.


Notes

x  Primes 仅对x是一个数值时进行计算。
Simplify[expr  Primes]可以用于确定是否一个表达式相应于一个数。
数域取为整数域的一个子集。
PrimeQ[expr]返回False,除非expr明确有头Integer
PrimesTraditionalForm中输出为 .
• 参见 Mathematica 全书: 1.4.6 and 节 3.3.10.
• 同时参见: Element, Simplify, PrimeQ, Prime, Integers.
Further Examples

This shows that  is not a prime number.

In[1]:=  

Out[1]=

False was returned because it factors.

In[2]:=  

Out[2]=

You can also use PrimeQ.

In[3]:=  

Out[3]=

Here are some simplifications involving prime numbers.

In[4]:=  

Out[4]=

In[5]:=  

Out[5]=

同时参见 PrimeQ.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.