This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A230597 Numbers n such that (the binary weight of n) = (the ternary weight of n). 1
 0, 1, 10, 12, 13, 34, 36, 37, 41, 48, 49, 66, 67, 68, 96, 97, 120, 121, 131, 132, 133, 136, 144, 145, 160, 192, 193, 202, 258, 259, 260, 264, 265, 272, 273, 282, 283, 284, 288, 289, 320, 338, 340, 354, 355, 356, 360, 361, 368, 384, 385, 390, 391, 394, 418 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 FORMULA A062756(a(n)) = A000120(a(n)). MATHEMATICA w[m_]:=Table[Count[IntegerDigits[n, m], 1], {n, 0, 2000}]; Position[w[2]-w[3], 0]//Flatten PROG (PARI) is(n)=my(v=digits(n, 3)); sum(i=1, #v, v[i]==1)==hammingweight(n) \\ Charles R Greathouse IV, Oct 24 2013 CROSSREFS Cf. A000120, A062756. Sequence in context: A127957 A079026 A219956 * A124867 A199991 A161598 Adjacent sequences:  A230594 A230595 A230596 * A230598 A230599 A230600 KEYWORD nonn AUTHOR Zak Seidov, Oct 24 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 July 19 08:49 EDT 2019. Contains 325155 sequences. (Running on oeis4.)