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!)
A039220 Numbers whose base-12 representation has the same number of 1's and 2's. 0

%I

%S 0,3,4,5,6,7,8,9,10,11,14,25,36,39,40,41,42,43,44,45,46,47,48,51,52,

%T 53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,75,76,77,78,79,

%U 80,81,82,83,84,87,88,89,90,91,92,93,94,95,96,99,100,101,102,103,104

%N Numbers whose base-12 representation has the same number of 1's and 2's.

%o (PARI) f(n, b, d)=#select(x->x==d, digits(n, b));

%o for(n=0, 110, if (f(n, 12, 1)==f(n, 12, 2), print1(n, ", "))); \\ _Petros Hadjicostas_, Jul 08 2020

%K nonn,base,easy

%O 1,2

%A _Olivier GĂ©rard_

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 January 19 21:59 EST 2022. Contains 350466 sequences. (Running on oeis4.)