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!)
A039089 Numbers whose base-9 representation has the same number of 1's and 7's. 1
0, 2, 3, 4, 5, 6, 8, 16, 18, 20, 21, 22, 23, 24, 26, 27, 29, 30, 31, 32, 33, 35, 36, 38, 39, 40, 41, 42, 44, 45, 47, 48, 49, 50, 51, 53, 54, 56, 57, 58, 59, 60, 62, 64, 72, 74, 75, 76, 77, 78, 80, 88, 106, 115, 124, 133, 142, 144, 146, 147, 148, 149, 150, 152, 160, 162 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[0, 500], DigitCount[#, 9, 1] == DigitCount[#, 9, 7] &] (* G. C. Greubel, Nov 01 2017 *)
PROG
(PARI) isok(n) = my(d=digits(n, 9)); #select(x->(x==1), d) == #select(x->(x==7), d); \\ Michel Marcus, Nov 01 2017
CROSSREFS
Sequence in context: A102516 A156981 A271949 * A044956 A297139 A044818
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 May 10 16:16 EDT 2024. Contains 372387 sequences. (Running on oeis4.)