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!)
A039001 Numbers whose base-3 representation has the same number of 1's and 2's. 5
0, 5, 7, 11, 15, 19, 21, 29, 33, 44, 45, 50, 52, 55, 57, 63, 68, 70, 76, 83, 87, 98, 99, 104, 106, 116, 128, 132, 135, 140, 142, 146, 150, 154, 156, 163, 165, 171, 176, 178, 184, 189, 194, 196, 200, 204, 208, 210, 220, 226, 228, 245, 249, 260, 261, 266, 268 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI) isok(m) = my(d=digits(m, 3)); #select(x->(x==1), d) == #select(x->(x==2), d); \\ Michel Marcus, Mar 23 2020
CROSSREFS
Sequence in context: A029624 A075317 A134643 * A023741 A096819 A032699
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 August 17 01:38 EDT 2024. Contains 375198 sequences. (Running on oeis4.)