OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..996
MAPLE
ListTools:-PartialSums([seq(ithprime(i)*10^(i-1), i=1..30)]); # Robert Israel, Apr 12 2020
MATHEMATICA
Array[Sum[Prime[k]*10^(k - 1), {k, #}] &, 17] (* Michael De Vlieger, Jun 22 2022 *)
Accumulate[Table[Prime[n]10^(n-1), {n, 20}]] (* Harvey P. Dale, Oct 11 2022 *)
PROG
(PARI) a(n) = fromdigits(Vecrev(primes(n))); \\ Kevin Ryde, Jun 22 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jorge Coveiro, Apr 15 2004
STATUS
approved