Skip to content
Chris Petersen edited this page Oct 21, 2015 · 1 revision

Returns the first prime less than the argument, or #f if none exists.

Parameter Description
n integer

Example

> (prime-below 14)
13
> (prime-below 2) 
#f
Clone this wiki locally