For example, 22 is a semiprime which is immediately followed by 23. But 23 is NOT an emirp, since 32 is composite.
List all valid pairs in conformity with the provisions of the problem.
*** Computer program/ excel solver aided methods are welcome, but a semi-analytic methodology is preferred.