7. (8 pt) All the prime numbers less than or equal to n can be found by the Matlab command primes(n). A twin prime is a
Posted: Thu May 12, 2022 7:30 am
7. (8 pt) All the prime numbers less than or equal to n can be found by the Matlab command primes(n). A twin prime is a pair of prime numbers such that the difference between them is 2 (for example, 17 and 19). Write a program that uses loop to find all the twin primes below 200. The program displays the results in a two-column matrix in which each row is a twin prime.