CS316-18
CS316-18 copied to clipboard
1 is not prime
Minor inaccuracy:
We have to treat 1 separately, because 1 should be considered a prime,
https://github.com/bobatkey/CS316-18/blob/master/lectures/Lec03.hs#L211
A prime number (or a prime) is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers.
https://en.wikipedia.org/wiki/Prime_number
Thanks! will fix.