PHP Classes

Prime numbers: Compute prime numbers using Atkin and Eratosthenes

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 30%Total: 301 All time: 7,409 This week: 560Up
Version License PHP version Categories
prime-numbers 1.0BSD License5.0Algorithms, PHP 5, Math
Description 

Author

This class can compute prime numbers using sieve of Atkin and Eratosthenes algorithms.

It can take a given limit integer number and calculates the highest number below to the specified limit.

The class can also return the list of all prime numbers smaller than a given limit number.

Picture of catalin
  Performance   Level  
Name: catalin <contact>
Classes: 6 packages by
Country: Romania Romania
Age: 44
All time rank: 108526 in Romania Romania
Week rank: 49 Up2 in Romania Romania Up

  Files folder image Files (1)  
File Role Description
Plain text file prime.php Class prime class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:301
This week:0
All time:7,409
This week:560Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:30%StarStar
Rank:4327