login
A074339
a(1) = 3; a(n) is smallest number > a(n-1) such that the juxtaposition a(1)a(2)...a(n) is a prime.
11
3, 7, 9, 51, 57, 103, 119, 121, 183, 293, 301, 351, 447, 479, 577, 741, 839, 1051, 1277, 1431, 1633, 1877, 2043, 2251, 2303, 2659, 2937, 3447, 3897, 3969, 4059, 4179, 4371, 4389, 4563, 4841, 4903, 5097, 5103, 5369, 5689, 6621, 6831, 6927, 7479, 9227, 9351
OFFSET
1,1
MATHEMATICA
a[1] = 3; 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, 47}] (* 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