### Basic Examples

Basic Examples

Here are the first 10 pairs of sexy primes:

[10]

In[]:=

{{5,11},{7,13},{11,17},{13,19},{17,23},{23,29},{31,37},{37,43},{41,47},{47,53}}

Out[]=

Indeed, the differences are 6:

Differences/@%

In[]:=

{{6},{6},{6},{6},{6},{6},{6},{6},{6},{6}}

Out[]=

For reference, here are the first 20 primes:

Prime[Range[15]]

In[]:=

{2,3,5,7,11,13,17,19,23,29,31,37,41,43,47}

Out[]=