login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

The subsequence of primes begins: 2, 11, 751. [Jonathan Vos Post, May 26 2010]

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..335 (all terms under 1000 digits)

FORMULA

a(n) = A154703(n) [converted from base 2 to base 10]. [Jonathan Vos Post, May 26 2010]

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

(PARI) list(n)=my(p=primes(n), s); vector(n, i, s=s<<#binary(p[i])+p[i]) \\ Charles R Greathouse IV, Mar 26 2013

CROSSREFS

Cf. A000040, A004676, A007088, A100003, A154703.

Sequence in context: A225623 A005366 A068392 * A099697 A083069 A158837

Adjacent sequences:  A164890 A164891 A164892 * A164894 A164895 A164896

KEYWORD

base,easy,nonn

AUTHOR

Gil Broussard, Aug 29 2009

EXTENSIONS

Corrected by Harvey P. Dale, Mar 26 2013

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified May 23 12:45 EDT 2017. Contains 286915 sequences.