The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A221714 Numbers written in base 2 with digits rearranged to be in decreasing order. 4
 0, 1, 10, 11, 100, 110, 110, 111, 1000, 1100, 1100, 1110, 1100, 1110, 1110, 1111, 10000, 11000, 11000, 11100, 11000, 11100, 11100, 11110, 11000, 11100, 11100, 11110, 11100, 11110, 11110, 11111, 100000, 110000, 110000, 111000, 110000 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS This is the base-2 equivalent of A004186. LINKS Indranil Ghosh, Table of n, a(n) for n = 0..10000 MATHEMATICA a[n_] := FromDigits[-Sort[-IntegerDigits[n, 2]]] (* Giovanni Resta, Jan 27 2013 *) PROG (Python) def a(n):      return "".join(sorted(bin(n)[2:], reverse=True)) # Indranil Ghosh, Jan 09 2017 CROSSREFS For decimal equivalents see A073138. Cf. A004086, A004185, A004186, A009996. Sequence in context: A234472 A139707 A139709 * A309761 A108779 A288336 Adjacent sequences:  A221711 A221712 A221713 * A221715 A221716 A221717 KEYWORD nonn,base,easy AUTHOR Bruce L. Rothschild and N. J. A. Sloane, Jan 26 2013 EXTENSIONS a(18)-a(36) from Giovanni Resta, Jan 27 2013 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 10 19:18 EDT 2021. Contains 342853 sequences. (Running on oeis4.)