PHP Classes

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 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 190 This week: 1All time: 8,055 This week: 650Up
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.

  Performance   Level  
Name: Assaad Youssef Abou ... <contact>
Classes: 3 packages by
Country: Lebanon Lebanon
Age: 35
All time rank: 31723 in Lebanon Lebanon
Week rank: 517 Up1 in Lebanon Lebanon Up

  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  
This week:1
All time:8,055
This week:650Up