Compute the least positive integer n for which 10n+1 and 10n+9 are prime but 10n+3 and 10n+7 are composite.

Source: ARML Local 2020

Happy problem solving!

Email your solutions to [email protected]

About the author