Did 188, but really, really slow and hacky. Use modular exponential to make go faster.