Question: Using Maple to find Consecutive Primes

How do i use Maple to find all the pairs of consecutive primes between 2 and 500, that is, all the pairs (n, m) such that abs(n-m) = 2 with n,m less than or equal to 500?

This has been branched into the following page(s):
Please Wait...