Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the nth twin prime
ResourceFunction["TwinPrime"][n] returns the nth twin prime number. |
Find the 10th twin prime:
In[1]:= |
Out[1]= |
Find the first 10 twin primes:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License