diff --git a/cmd/totient.go b/cmd/totient.go index 5c4b38c..5428468 100644 --- a/cmd/totient.go +++ b/cmd/totient.go @@ -53,6 +53,10 @@ func totientSieve(n uint) chan uint { func totient(cmd *cobra.Command, args []string) { for v := range totientSieve(totientN) { + if v == 0 { + continue + } + fmt.Println(v) } }