Nth Prime

Description

If you were interested in finding out what the 500th prime number was, you can use the command, $nth\_prime(500)$ to get the 500th prime number

Sage Cell

Code

nth_prime(500)

Options

Option

None

Tags

Primary Tags:

Secondary Tags:

A list of possible tags can be found at The WeBWorK Open Problem Library. For linear algebra tags see the Curated Courses Project.

Related Cells

Any related cells go here. Provide a link to the page containing the information about the cell.

Attribute

Permalink:

Author:

Date: 02 Oct 2018 06:07

Submitted by: James A Phillips

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License