TCC-RT > Variables & Functions > Functions > @PRIME

@PRIME

<< Click to Display Table of Contents >>

Navigation:  TCC-RT > Variables & Functions > Functions >

@PRIME

@PRIME[n] : Returns the first prime number >= n (a 64-bit integer).

 

Example:

 

echo %@prime[13798225]

13798247