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!)
A039369 Numbers whose base-9 representation has the same nonzero number of 1's and 6's. 1
15, 55, 87, 105, 114, 123, 132, 135, 137, 138, 139, 140, 142, 143, 150, 159, 177, 217, 258, 298, 339, 379, 420, 460, 487, 495, 497, 498, 499, 500, 502, 503, 505, 514, 523, 532, 550, 559, 582, 622, 663, 703, 735, 753, 762, 771, 780, 783, 785, 786, 787, 788 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
filter:= proc(n) local L, a1;
L:= convert(n, base, 9);
a1:= numboccur(1, L);
a1 > 0 and numboccur(6, L)=a1
end proc:
select(filter, [$1..1000]); # Robert Israel, Sep 27 2018
MATHEMATICA
Select[Range[1000], DigitCount[#, 9, 1]==DigitCount[#, 9, 6]>0&] (* Harvey P. Dale, Oct 15 2014 *)
CROSSREFS
Cf. A007095.
Sequence in context: A240814 A225509 A235533 * A119138 A043192 A043972
KEYWORD
nonn,base,easy
AUTHOR
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 25 12:53 EDT 2024. Contains 371969 sequences. (Running on oeis4.)