Getprime

From Mesham
Revision as of 22:08, 10 January 2010 by Polas (talk | contribs) (Created page with '== Overview == This getprime[n] function will find the ''n''th prime number. * '''Pass:''' An integer * '''Returns:''' An integer representing the prime == Example == var a:=…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This getprime[n] function will find the nth prime number.

  • Pass: An integer
  • Returns: An integer representing the prime

Example

var a:=getprime[10];
var y;
y:=getprime[a];