login
Base 10 representation of the string formed by prepending primes in base 2.
1

%I #6 Jul 07 2019 16:39:55

%S 2,14,94,990,12254,225246,4681694,164065246,6338080734,255446183902,

%T 8776661299166,334232103120862,23415180193394654,1572653452008845278,

%U 109947274885052461022,7931366762137902346206,565170611740756037562334,37437408109986945866100702

%N Base 10 representation of the string formed by prepending primes in base 2.

%H Harvey P. Dale, <a href="/A164891/b164891.txt">Table of n, a(n) for n = 1..335</a>

%e The primes in base 2 (10,11,101,111,...) concatenated by prepending give the first four binary terms 10,1110,1011110,1111011110; or 2,14,94,990 base 10.

%t FromDigits[#,2]&/@Table[Flatten[IntegerDigits[#,2]&/@Prime[Range[n,1,-1]]],{n,20}] (* _Harvey P. Dale_, Jul 07 2019 *)

%K base,easy,nonn

%O 1,1

%A _Gil Broussard_, Aug 29 2009

%E More terms from _Harvey P. Dale_, Jul 07 2019