Question: Closest Prime Number

This is from Introduction To Maple by Andre Heck page 63, exercise 4(b): "with(numtheory); ... Find the prime number that is closest to 9876543210123456789." Here is a solution that does not use numtheory: View on MapleNet or Download
View file details I'd like to see better solutions, some that use numtheory.
Please Wait...