primes decomposition (tests) 

 testing 4 : 

Array
(
    [2] => 2
)

 testing 8 : 

Array
(
    [2] => 3
)

 testing 12 : 

Array
(
    [2] => 2
    [3] => 1
)

 testing 4444488889 : 

Array
(
    [163] => 2
    [409] => 2
)

?show-source

current folder (php)