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: 236 All time: 7,991 This week: 208Up
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: 30
All time rank: 1427206 in United States United States
Week rank: 562 Up53 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:236
This week:0
All time:7,991
This week:208Up
User Comments (1)
 
For more information send a message to info at phpclasses dot org.