login
A074338
a(1) = 2; a(n) is smallest number > a(n-1) such that the juxtaposition a(1)a(2)...a(n) is a prime.
12
2, 3, 9, 11, 13, 63, 71, 93, 187, 189, 201, 207, 243, 347, 369, 439, 473, 529, 611, 847, 1209, 1331, 1423, 1581, 1593, 1617, 1679, 1791, 2067, 2529, 2541, 2563, 2751, 3347, 3583, 3677, 3777, 4359, 4701, 4771, 5657, 6183, 6193, 6353, 6511, 6539, 6769, 6939
OFFSET
1,1
MATHEMATICA
a[1] = 2; a[n_] := a[n] = Block[{k = a[n - 1] + 1 + Mod[a[n - 1], 2], c = IntegerDigits @ Table[ a[i], {i, n - 1}]}, While[ !PrimeQ[ FromDigits @ Flatten @ Append[c, IntegerDigits[k]]], k += 2]; k]; Table[ a[n], {n, 48}] (* Robert G. Wilson v *)
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Sep 23 2002
EXTENSIONS
More terms from Robert G. Wilson v, Aug 05 2005
STATUS
approved