Install: $ go get modernc.org/mathutil/mersenne
Godocs:  http://gopkgdoc.appspot.com/pkg/modernc.org/mathutil/mersenne
