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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095747 Maximally asymmetric odd primes in binary. 3
3, 5, 7, 11, 13, 19, 23, 29, 43, 53, 71, 79, 83, 101, 109, 113, 151, 179, 233, 241, 271, 311, 331, 347, 397, 421, 457, 599, 683, 739, 797, 853, 937, 977, 1087, 1103, 1223, 1307, 1427, 1459, 1597, 1613, 1733, 2017, 2111, 2143, 2503, 2731, 3011 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Primes p for which A037888(p) = floor((A070939(p)-2)/2). Those numbers contain just the first and last bits mirroring each other. Hence all the odd primes without leading zeros begin and end in bits one, the unique totally asymmetric prime is (10)2 = 2.

LINKS

A. Karttunen, J. Moyer: C-program for computing the initial terms of this sequence

EXAMPLE

a(10)=(110101)2 since the symmetry is limited to the first and last bits. The number 47=(101111)2 is not a term because from left to right, the third bit mirrors with the forth.

PROG

(PARI)A070939(p)={return(floor(log(p)/log(2))+1)};

A037888(p)={v=binary(p); s=0; j=#v; for(k=1, #v, s+=abs(v[k]-v[j]); j--); return(s/2); }; forprime(p=3, 3011, if(A037888(p) ==floor((A070939(p)-2)/2), print1(p, ", ")))

CROSSREFS

Cf. A095757, A095749, A095748.

Sequence in context: A095070 A079733 A179538 * A132779 A192869 A075323

Adjacent sequences:  A095744 A095745 A095746 * A095748 A095749 A095750

KEYWORD

nonn,base

AUTHOR

Antti Karttunen (his-firstname.his-surname(AT)iki.fi), Jun 12 2004

EXTENSIONS

Edited by W. Bomfim, (webonfim(AT)bol.com) Jan 13, 2011.

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

Content is available under The OEIS End-User License Agreement .

Last modified February 15 13:31 EST 2012. Contains 205802 sequences.