|
|
A164893
|
|
Base 10 representation of the string formed by appending primes in base 2.
|
|
1
|
|
|
2, 11, 93, 751, 12027, 192445, 6158257, 197064243, 6306055799, 201793785597, 6457401139135, 413273672904677, 26449515065899369, 1692768964217559659, 108337213709923818223, 6933581677435124366325, 443749227355847959444859, 28399950550774269404471037
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The primes in base 2 (10, 11, 101, 111,...) concatenated by appending give the first four binary terms 10, 1011, 1011101, 1011101111; or 2, 11, 93, 751 base 10.
|
|
MATHEMATICA
|
nn=20; With[{b2p=IntegerDigits[#, 2]&/@Prime[Range[nn]]}, Table[ FromDigits[ Flatten[ Take[b2p, n]], 2], {n, nn}]] (* Harvey P. Dale, Mar 26 2013 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|