photo

Octavzz


MathWorks MOOC Program

Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I need a function that returns the smallest prime number p smaller than 100,000 such that (p + n) is also prime, where n is a scalar integer and is the sole input argument to the function
Write a function called prime_pairs that returns the smallest prime number p smaller than 100,000 such that (p + n) is also pri...

9 years ago | 2 answers | 0

2

answers