OFFSET
1,2
EXAMPLE
a(4) = 7 and the prime is 71421281 = A089328(4).
MATHEMATICA
Do[s = ""; k = 0; While[ !PrimeQ[ToExpression[s]], s = ""; k++; For[r = 1, r <= n, r++, s = s <> ToString[r*k]]; s = s <> "1"]; Print[k], {n, 1, 50}] (* Ryan Propper, Jul 24 2005 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 04 2003
EXTENSIONS
Corrected and extended by Ryan Propper, Jul 24 2005
More terms from David Wasserman, Sep 13 2005
STATUS
approved