Skip to content

Instantly share code, notes, and snippets.

@gnp
Created May 14, 2011 06:07
Show Gist options
  • Save gnp/971967 to your computer and use it in GitHub Desktop.
Save gnp/971967 to your computer and use it in GitHub Desktop.
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10001st prime number?
----------
Too easy in Mathematica:
In[2]:= Prime[10001]
Out[2]= 104743
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment