ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: prevPrime

prevPrime(n) returns the greatest prime number smaller than or equal to n, if such a number exists (i.e. if n≥2).