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”).

Take A000040, omit commas: 23571113171923..., select 1-digit primes.
3

%I #8 Mar 11 2014 16:48:15

%S 2,3,5,7,3,7,2,3,2,3,3,7,3,7,5,3,5,7,7,7,3,7,3,7,3,7,3,2,7,3,3,7,3,5,

%T 5,7,3,7,7,3,7,3,7,2,2,2,3,2,2,7,2,2,2,3,3,2,3,2,2,5,2,5,7,2,3,2,2

%N Take A000040, omit commas: 23571113171923..., select 1-digit primes.

%e In the sequence 2357111317192329... (primes without delimiters) one-digit primes are 2,3,5,7,3,7,2,3,2...

%t p200=Flatten[IntegerDigits[Prime[Range[200]]]]; n=4; (* n-digit primes!*) pn=Partition[p200, n, 1]; ln=Length[pn]; tab=Table[Sum[10^(n-k)*pn[[i, k]], {k, n}], {i, ln}]; Select[tab, PrimeQ]

%o (Haskell)

%o a073034 n = a073034_list !! (n-1)

%o a073034_list = filter (`elem` [2,3,5,7]) a033308_list

%o -- _Reinhard Zumkeller_, Mar 11 2014

%Y Cf. A010051, A033308.

%K easy,nonn,base

%O 1,1

%A _Zak Seidov_, Aug 22 2002