login
A039211
Numbers whose base-12 representation has the same number of 0's and 2's.
0
1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 85, 87, 88, 89, 90, 91, 92, 93, 94
OFFSET
1,2
PROG
(PARI) is(n) = my(d=vecsort(digits(n, 12))); #setintersect(d, vector(#d))==#setintersect(d, vector(#d, x, 2)) \\ Felix Fröhlich, Jun 26 2021
CROSSREFS
Sequence in context: A026421 A026481 A338477 * A114035 A329779 A072809
KEYWORD
nonn,base,easy
STATUS
approved