OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
715157 is prime and of the form 7nn7 for n=15.
7100510057 is prime and of the form 7nn7 for n=1005.
MATHEMATICA
Select[Table[FromDigits[Join[{7}, IntegerDigits[n], IntegerDigits[n], {7}]], {n, 1100}], PrimeQ] (* Harvey P. Dale, Jun 05 2024 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Jan 13 2005
STATUS
approved