OFFSET
1,1
MATHEMATICA
Do[p = FromDigits[ Join[ IntegerDigits[n], IntegerDigits[(10^n - 1)/9]]]; If[ PrimeQ[p], Print[p]], {n, 1, 100}]
Select[Table[FromDigits[Join[IntegerDigits[n], PadRight[{}, n, 1]]], {n, 100}], PrimeQ] (* Harvey P. Dale, Jun 08 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, May 02 2002
EXTENSIONS
More terms from Vladeta Jovovic and Robert G. Wilson v, May 03 2002
STATUS
approved