Prime
Usage
Notes
Further Examples
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]=
|
|