OFFSET
1,1
EXAMPLE
If L=2, then M=3 and 1231 is prime.
If L=40, then M=41 and 140411 is prime.
If L=88, then M=89 and 188891 is prime.
MATHEMATICA
Select[Range[1300], PrimeQ[FromDigits[Flatten[IntegerDigits /@ {1, #, # + 1, 1}]]] &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Jan 29 2005
EXTENSIONS
Extended by Ray Chandler, Jan 30 2005
STATUS
approved