Problem 60746. List Ormiston prime pairs

The numbers 1913 and 1931 form the first Ormiston prime pair. The numbers are consecutive primes, and they are anagrams of each other—that is, the digits of one number can be arranged to give the second number. 347 and 743 are not an Ormiston prime pair: they are anagrams of each other, but they are not consecutive primes.
Write a function that produces the nth Ormiston prime pair.

Solution Stats

90.0% Correct | 10.0% Incorrect
Last Solution submitted on Oct 26, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers5

Suggested Problems

More from this Author281

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!