Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A158619
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A158619 Twin prime pairs concatenated in binary representation. +0
1
11101, 101111, 10111101, 1000110011, 1110111111, 101001101011, 111011111101, 10001111001001, 11001011100111, 11010111101101, 1000100110001011, 1001010110010111, 1011001110110101, 1011111111000001, 1100010111000111 (list; graph; listen)
OFFSET

1,1

COMMENT

Binary analogue of A095958.

FORMULA

a(n) = A007088(A001359(n)) CONCATENATE A007088(A006512(n)) = A007088(A001359(n)) CONCATENATE A007088(A001359(n)+2).

EXAMPLE

a(1) = 11101 because 11(base 2) = lower of 1st twin prime pair = 3, and 101(base 2) = higher of 1st twin prime pair = 5.

MAPLE

A001359 := proc(n) option remember ; if n = 1 then 3; else a := nextprime(procname(n-1)) ; while not isprime(a+2) do a := nextprime(a) ; od: RETURN(a) ; fi: end: A006512 := proc(n) A001359(n)+2 ; end: A007088 := proc(n) bdgs := convert(n, base, 2) ; add( op(i, bdgs)*10^(i-1), i=1..nops(bdgs)) ; end: cat2 := proc(a, b) bdgs := max(1, 1+ilog10(b)) ; a*10^bdgs+b ; end: A158619 := proc(n) cat2(A007088(A001359(n)), A007088(A006512(n))) ; end: seq(A158619(n), n=1..30) ; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 16 2009]

CROSSREFS

Cf. A001359, A006512, A007088, A045533, A095958.

Sequence in context: A164518 A139409 A032427 this_sequence A094324 A032735 A038447

Adjacent sequences: A158616 A158617 A158618 this_sequence A158620 A158621 A158622

KEYWORD

base,easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Mar 22 2009

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 16 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research