skip 0
This commit is contained in:
@@ -53,6 +53,10 @@ func totientSieve(n uint) chan uint {
|
|||||||
|
|
||||||
func totient(cmd *cobra.Command, args []string) {
|
func totient(cmd *cobra.Command, args []string) {
|
||||||
for v := range totientSieve(totientN) {
|
for v := range totientSieve(totientN) {
|
||||||
|
if v == 0 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
fmt.Println(v)
|
fmt.Println(v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user