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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039341 Numbers n such that representation in base 8 has same nonzero number of 1's and 7's. 0
15, 57, 71, 87, 95, 103, 111, 119, 120, 122, 123, 124, 125, 126, 143, 185, 207, 249, 271, 313, 335, 377, 399, 441, 449, 456, 458, 459, 460, 461, 462, 465, 473, 481, 489, 497, 519, 535, 543, 551, 559, 567, 568, 570, 571, 572, 573, 574, 639, 647, 663, 671 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..52.

MATHEMATICA

okQ[n_]:=Module[{dcn8=DigitCount[n, 8]}, dcn8[[1]]==dcn8[[7]]>0]

Select[Range[700], okQ]  (* Harvey P. Dale, Mar 11 2011 *)

CROSSREFS

Sequence in context: A157856 A082820 A184231 * A043164 A043944 A140379

Adjacent sequences:  A039338 A039339 A039340 * A039342 A039343 A039344

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 29 06:46 EST 2020. Contains 332355 sequences. (Running on oeis4.)