

A039220


Numbers whose base12 representation has the same number of 1's and 2's.


0



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, 53, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 99, 100, 101, 102, 103, 104
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


LINKS

Table of n, a(n) for n=1..69.


PROG

(PARI) f(n, b, d)=#select(x>x==d, digits(n, b));
for(n=0, 110, if (f(n, 12, 1)==f(n, 12, 2), print1(n, ", "))); \\ Petros Hadjicostas, Jul 08 2020


CROSSREFS

Sequence in context: A329779 A072809 A114904 * A048135 A304812 A026500
Adjacent sequences: A039217 A039218 A039219 * A039221 A039222 A039223


KEYWORD

nonn,base,easy


AUTHOR

Olivier Gérard


STATUS

approved



