PHP Classes

Composite Factoring: Decompose number in prime number factors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-07-17 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 226 All time: 7,364 This week: 1,549Up
Version License PHP version Categories  
factoring 1.0BSD License5.0PHP 5, Math
Description Author  

This class can be used to decompose a number in prime number factors.

It takes a given integer number and determines a list of prime numbers that once multiplied by each other result in the original number.

The prime number factors are returned in an array.

Picture of Matthew Johnston
Name: Matthew Johnston <contact>
Classes: 4 packages by
Country: United States United States
Age: 24
All time rank: 1413191 in United States United States
Week rank: 953 Up94 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file Factoring.php Class Factoring class
Accessible without login Plain text file factoringExample.php Example Example script
Accessible without login HTML file output.html Output Example Output

 Version Control Unique User Downloads Download Rankings  
 0%Total:226All time:7,364
 This week:0This week:1,549Up
 User Comments (1)