"I'm sure it'll reveal an error in my thinking" To avoid importing math I had changed my upper limit early on but I 'd misread it.
The critical line in error should be changed to: for j := 0; j < int(math.Pow(2.0, float64(len(set)))/2.0); j++ { -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.