login
The OEIS is supported by the many generous donors 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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)