Problem 51758. List Proth primes
Solution Stats
Problem Comments
-
3 Comments
Dyuman Joshi
on 2 Jun 2022
Chris, what if there are multiple pairs of (k,m) that result in a particular proth number, which pair should we report?
For example -
k=4, m=2, p=17
k=2, m=3, p=17
k=1, m=4, p=17
also
k=1, m=2, p=5
k=2, m=1, p=5
ChrisR
on 7 Jun 2022
Good question, Dyuman. Please use the largest m possible.
Dyuman Joshi
on 17 Jun 2022
Thanks for the clarification, Chris.
Nice question!
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
Return a list sorted by number of occurrences
2326 Solvers
-
Determine if a Given Number is a Triangle Number
361 Solvers
-
Find best placement for ordered dominoes (harder)
307 Solvers
-
Return elements unique to either input
741 Solvers
-
Split a string into chunks of specified length
1342 Solvers
More from this Author207
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!