PHP Classes
elePHPant
Icontem

PHP Prime Numbers Generator: Generate a list of prime numbers up to a limit

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-11-02 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 184 All time: 7,945 This week: 880Up
Version License PHP version Categories
prime-number 1.0GNU General Publi...5.3Algorithms, PHP 5, Math
Description Author

This class can generate a list of prime numbers up to a limit.

It takes a given limit number and returns all prime numbers below that limit.

The class can also check if given individual numbers are prime.

Picture of Assaad Youssef Abou Rached
  Performance   Level  
Name: Assaad Youssef Abou ... <contact>
Classes: 3 packages by
Country: Lebanon Lebanon

  Files folder image Files  
File Role Description
Plain text file extractPrimeNumbersArray.php Example Extract prime numbers from a given array
Plain text file extract_prime_numbers.php Example Extract all prime numbers for a given range
Plain text file listPrimeNumbers.php Example Lists the first prime numbers from a given limit
Plain text file Prime.php Class Prime numbers extractor
Plain text file primeNextPrev.php Example Finds the next smallest or previous largest prime number for a given number
Plain text file check_if_prime.php Example Checks whether or not the number is prime

 Version Control Unique User Downloads Download Rankings  
 0%
Total:184
This week:0
All time:7,945
This week:880Up