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!)
A185028 Numbers of the base-10 form ddd...d having Hamming weight d. 1
1, 55, 555, 7777, 66666, 888888 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Is 888888 the largest number in the sequence?
No more terms through 10^60000. - Robert G. Wilson v, Dec 24 2012
LINKS
Michael Brand, Prove of Finiteness of A185028. Solution of March 2013 Issue of "Using your Head is Permitted" Riddles.
EXAMPLE
555 = 1000101011_2 has five 1's.
MATHEMATICA
fQ[n_] := {Count[ IntegerDigits[n, 2], 1]} == Union[ IntegerDigits@ n]; f[n_] := Select[((10^n - 1) Range[9]/9), fQ]; k = 1; lst = {}; While[k < 11, a = f[k]; If[a != {}, AppendTo[lst, a]]; k++]; lst // Flatten (* Robert G. Wilson v, Dec 24 2012 *)
CROSSREFS
Sequence in context: A262103 A138053 A183320 * A222797 A180326 A119085
KEYWORD
nonn,base,fini,full
AUTHOR
Moshe Wolf, Dec 24 2012
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 16 12:05 EDT 2024. Contains 371711 sequences. (Running on oeis4.)