PHP Classes

Prime numbers: Compute prime numbers using Atkin and Eratosthenes

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 30%Total: 299 All time: 7,383 This week: 202Up
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: 42
All time rank: 109827 in Romania Romania
Week rank: 592 Up10 in Romania Romania Up

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,383
This week:202Up
User Ratings User Comments (1)
 All time
For more information send a message to info at phpclasses dot org.