Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Number Theory /

Further Examples: Prime

Here is a list of the first primes.

In[1]:=

Out[1]=

Here are the first primes after the billionth prime.

In[2]:=

Out[2]=

CompositeRuns finds the first sequence of n consecutive composite numbers.

In[3]:=

Here are the first composite runs.

In[4]:=

Out[4]=

The defined function LargestPrimeGap returns the largest difference between consecutive primes not exceeding n.

In[5]:=

In[6]:=

Out[6]=

In[7]:=

Out[7]=

The defined function TwinPrimes gives the twin primes among the first m prime numbers.

In[8]:=

In[9]:=

Out[9]=

Here are two inequalities satisfied by Prime.

In[10]:=

Out[10]=

In[11]:=

Out[11]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: