PHP Classes

Prime numbers: Compute prime numbers using Atkin and Eratosthenes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-10-22 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 291 All time: 6,926 This week: 1,446Up
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: 35
All time rank: 106925 in Romania Romania
Week rank: 588 Up11 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  
 0%Total:291All time:6,926
 This week:0This week:1,446Up
 User Comments (1)