login
A068003
a(1) = 5, a(n+1) is the concatenation of a(n) and the next prime after a(n).
2
5, 57, 5759, 57595779, 5759577957595817, 57595779575958175759577957595829, 5759577957595817575957795759582957595779575958175759577957595857
OFFSET
1,1
MATHEMATICA
NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; f[n_] := ToExpression[ ToString[n] <> ToString[ NextPrim[n]]]; NestList[f, 5, 7]
NestList[# 10^IntegerLength[NextPrime[#]]+NextPrime[#]&, 5, 10] (* Harvey P. Dale, Jul 02 2020 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Robert G. Wilson v, Feb 10 2002
STATUS
approved