PHP Classes

Composite Factoring: Decompose number in prime number factors

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 237 All time: 8,067 This week: 455Up
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: 33
All time rank: 1425211 in United States United States
Week rank: 164 Up23 in United States United States Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:237
This week:0
All time:8,067
This week:455Up
User Comments (1)