Obtain the prime at index n in the sequence [2, 3, 5, 7, ...].
n
[2, 3, 5, 7, ...]
Zero-based index into the prime sequence. Non-integer or negative inputs return undefined.
undefined
The prime at the given index.
Obtain the prime at index
nin the sequence[2, 3, 5, 7, ...].