|
|
A164891
|
|
Base 10 representation of the string formed by prepending primes in base 2.
|
|
1
|
|
|
2, 14, 94, 990, 12254, 225246, 4681694, 164065246, 6338080734, 255446183902, 8776661299166, 334232103120862, 23415180193394654, 1572653452008845278, 109947274885052461022, 7931366762137902346206, 565170611740756037562334, 37437408109986945866100702
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
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.
|
|
MATHEMATICA
|
FromDigits[#, 2]&/@Table[Flatten[IntegerDigits[#, 2]&/@Prime[Range[n, 1, -1]]], {n, 20}] (* Harvey P. Dale, Jul 07 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|