The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A039337 Numbers whose base-8 representation has the same nonzero number of 1's and 3's. 1
 11, 25, 67, 83, 88, 90, 92, 93, 94, 95, 99, 107, 115, 123, 139, 153, 193, 200, 202, 204, 205, 206, 207, 209, 225, 233, 241, 249, 267, 281, 331, 345, 395, 409, 459, 473, 515, 531, 536, 538, 540, 541, 542, 543, 547, 555, 563, 571, 603, 643, 659, 664, 666, 668 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Michael S. Branicky, Table of n, a(n) for n = 1..10000 MATHEMATICA Select[Range[700], DigitCount[#, 8, 1]==DigitCount[#, 8, 3]>0&] (* Harvey P. Dale, Oct 24 2015 *) PROG (Python) def ok(n): o = oct(n); return o.count('1') == o.count('3') > 0 print([k for k in range(669) if ok(k)]) # Michael S. Branicky, Nov 25 2021 CROSSREFS Cf. A007094. Sequence in context: A118648 A262105 A105270 * A043160 A043940 A220434 Adjacent sequences: A039334 A039335 A039336 * A039338 A039339 A039340 KEYWORD nonn,base,easy AUTHOR Olivier Gérard 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.

Last modified April 23 11:13 EDT 2024. Contains 371905 sequences. (Running on oeis4.)