Monthly Archives: September 2007

Monad.Reader article (Multiset partitions)

I imagine that most who read this blog have already seen it, but for those who haven’t, my article Generating Multiset Partitions has been published in Issue #8 of The Monad.Reader.  In it, I discuss the problem of generating multiset … Continue reading

Posted in haskell, math, writing | Tagged , , , , | 2 Comments

Squarefree numbers in Haskell

A squarefree number is one which is not divisible by any perfect squares. Put another way, the prime factorization of a squarefree number includes at most one copy of any given prime. So, the first few squarefree numbers are 1,2,3,5,6,7,10,11,13,14,15,… … Continue reading


Posted in haskell, math | 17 Comments