package factors func uintpow(a, b uint) uint { result := uint(1) for i := uint(0); i < b; i++ { result *= a } return result }