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    
Last Updated Ratings Unique User Downloads Download Rankings
2012-10-22 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 291 All time: 7,042 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: 36
All time rank: 107026 in Romania Romania
Week rank: 734 Up15 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,042
This week:1,446Up
User Comments (1)