Question: Write Haskell script containing solutions below Write a function badFermat :: Integer that shows Fermat's conjecture (all numbers of the form 22 +1 are prime)
Write Haskell script containing solutions below
Write a function badFermat :: Integer that shows Fermat's conjecture (all numbers of the form 22" +1 are prime) is false by finding a number for which it is not true. Write a function badFermat :: Integer that shows Fermat's conjecture (all numbers of the form 22" +1 are prime) is false by finding a number for which it is not true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
