login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A068002
a(1) = 3, a(n+1) is the concatenation of a(n) and the next prime after a(n).
2
3, 35, 3537, 35373539, 3537353935373551, 35373539353735513537353935373569, 3537353935373551353735393537356935373539353735513537353935373613
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, 3, 7]
NestList[FromDigits[Join[IntegerDigits[#], IntegerDigits[NextPrime[ #]]]]&, 3, 6] (* Harvey P. Dale, Apr 05 2015 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Robert G. Wilson v, Feb 10 2002
STATUS
approved