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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173586 Decimal values a(n) of the binary numbers b(n) obtained by starting from first prime number (2), sequentially concatenating the binary representation of all prime numbers till n-th prime, and after that, sequentially concatenating the binary representation of all prime numbers, from (n-1)th till the first prime. 0
2, 46, 1502, 96222, 12316638, 3153031134, 1614350348254, 1653094690025438, 1692768964130074590, 1733395419356639752158, 1774996909423485572837342, 3635193670499109531489365982 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..12.

FORMULA

a(n) = binary_to_decimal(concatenate(10, 11, 101, ..., binary((n-2)th prime), binary((n-1)th prime), binary(n-th prime), binary((n-1)th prime), binary((n-2)th prime), ..., 101, 11, 10))

EXAMPLE

a(1)=binary_to_decimal(10)=2, a(2)=binary_to_decimal(101110)=46, a(3)=binary_to_decimal(10111011110)=1502, a(4)=binary_to_decimal(10111011111011110)=96222 etc.

CROSSREFS

Cf. A066622. This sequence uses the term generation rule of A066622 (Concatenation of prime numbers in increasing order up to the n-th and then in decreasing order.), albeit with the binary base instead of the decimal base.

Sequence in context: A012006 A279524 A264500 * A074041 A277554 A000191

Adjacent sequences:  A173583 A173584 A173585 * A173587 A173588 A173589

KEYWORD

base,nonn

AUTHOR

Umut Uludag, Feb 22 2010

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 October 21 00:56 EDT 2017. Contains 293679 sequences.