Simple numbers related functions for go