|
|
A068003
|
|
a(1) = 5, a(n+1) is the concatenation of a(n) and the next prime after a(n).
|
|
2
|
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|