The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A287353 a(0)=0; for n>0, a(n) = 10*a(n-1) + prime(n). 0

%I

%S 0,2,23,235,2357,23581,235823,2358247,23582489,235824913,2358249159,

%T 23582491621,235824916247,2358249162511,23582491625153,

%U 235824916251577,2358249162515823,23582491625158289

%N a(0)=0; for n>0, a(n) = 10*a(n-1) + prime(n).

%t FoldList[10 #1 + Prime@ #2 &, 0, Range@ 17] (* _Michael De Vlieger_, May 24 2017 *)

%o (Python)

%o from sympy import prime

%o l = [0]

%o for i in range(20):

%o l += [10 * l[i] + prime(i + 1)]

%o print(l) # _Indranil Ghosh_, May 25 2017

%Y Cf. A014824.

%K nonn,easy

%O 0,2

%A _Luke Zieroth_, May 23 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 8 20:37 EST 2021. Contains 349596 sequences. (Running on oeis4.)