`primefac-nim` is a translation of Lucas A. Brown's [primefac project](https://github.com/lucasaugustus/primefac) into Nim. Why? 1. I like his work and wanted it in Nim, 2. I'm trying to learn number theory. Some functions are not verbatim translation, and will be marked as such. This allows me to implement my own optimisations, such as using the Sieve of Atkins for prime generation rather than the Sieve of Eratosthenes.