PHP Classes

Composite Factoring: Decompose number in prime number factors

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 237 This week: 1All time: 8,056 This week: 560Up
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: 32
All time rank: 1426212 in United States United States
Week rank: 416 Up46 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:237
This week:1
All time:8,056
This week:560Up
User Comments (1)