Login   Register  
PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 175 This week: 1All time: 7,426 This week: 1,319Up
Version License PHP version Categories  
prime-number 1.0GNU General Public Lice...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
Name: Assaad Youssef Abou ... <contact>
Classes: 3 packages by
Country: Lebanon Lebanon
Age: 33
All time rank: 30833 in Lebanon Lebanon
Week rank: 1043 Up3 in Lebanon Lebanon Equal

  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:175All time:7,426
 This week:1This week:1,319Up