OFFSET
0,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..1000
MATHEMATICA
FoldList[10 #1 + Prime@ #2 &, 0, Range@ 17] (* Michael De Vlieger, May 24 2017 *)
PROG
(Python)
from sympy import prime
l = [0]
for i in range(20):
l += [10 * l[i] + prime(i + 1)]
print(l) # Indranil Ghosh, May 25 2017
(PARI) a(n) = fromdigits(primes(n)); \\ Kevin Ryde, Jun 22 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Luke Zieroth, May 23 2017
STATUS
approved