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!)
A039090 Numbers whose base-9 representation has the same number of 1's and 8's. 1
0, 2, 3, 4, 5, 6, 7, 17, 18, 20, 21, 22, 23, 24, 25, 27, 29, 30, 31, 32, 33, 34, 36, 38, 39, 40, 41, 42, 43, 45, 47, 48, 49, 50, 51, 52, 54, 56, 57, 58, 59, 60, 61, 63, 65, 66, 67, 68, 69, 70, 73, 89, 107, 116, 125, 134, 143, 152, 153, 155, 156, 157, 158, 159, 160, 162 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[0, 200], DigitCount[#, 9, 1]==DigitCount[#, 9, 8]&] (* Harvey P. Dale, Aug 08 2012 *)
PROG
(PARI) isok(n) = my(d=digits(n, 9)); #select(x->(x==1), d) == #select(x->(x==8), d); \\ Michel Marcus, Nov 01 2017
CROSSREFS
Sequence in context: A065639 A325829 A171678 * A138988 A055520 A037342
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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)