OFFSET
1,1
COMMENTS
Binary analog of A095958.
FORMULA
EXAMPLE
a(1) = 11101 because 11_2 = lower of first twin prime pair = 3, and 101_2 = higher of first 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) ; # R. J. Mathar, Apr 16 2009
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Mar 22 2009
EXTENSIONS
More terms from R. J. Mathar, Apr 16 2009
STATUS
approved