Searching in dev-haskell/integer-logarithms