Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

a.k.a. highliy composite numbers

# Documentation

calculate the "size" of all possible factors of a number

`>>>`

`import qualified AntiPrimes as AP`

`>>>`

6 -- as [1,2,3,4,6,12] are possible`AP.size 12`

dividers :: Nui -> [Int] Source #

calculate all possible dividers of a number

`>>>`

`import qualified AntiPrimes as AP`

`>>>`

[1,2,3,4,6,12]`AP.dividers 12`

proof if a number is an antiprime

`>>>`

`import qualified AntiPrimes as AP`

`>>>`

True`AP.proof 4`

`>>>`

False`AP.proof 5`