a) Design a function Goldbach( ) in text-code format thatakes an even integer n, and finds a way of writing it as a sum of two primes. {Hint: Consider every way to write n as a sum of the form x + (n - x), and use a built-in function to test whether x and n -x are both prime}.
b) Show that every even number between 2 and 100 can be written as the sum of two primes.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here