Getprime

From Mesham
Revision as of 12:48, 13 January 2013 by Polas (talk | contribs)
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

#include <maths>
var a:=getprime(10);
var y:=getprime(a);