login
A039257
Numbers whose base-12 representation has the same number of 5's and 9's.
1
0, 1, 2, 3, 4, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 54, 55, 56, 58, 59, 69, 72, 73, 74, 75, 76, 78, 79, 80, 82, 83, 84, 85, 86, 87, 88, 90, 91
OFFSET
1,3
LINKS
MATHEMATICA
Select[Range[0, 100], DigitCount[#, 12, 5] == DigitCount[#, 12, 9] &] (* Vincenzo Librandi, Oct 20 2012 *)
PROG
(Magma) [n: n in [0..100] | Multiplicity(S, 5) eq Multiplicity(S, 9) where S is {*d: d in Intseq(n, 12)*}]; // Bruno Berselli, Oct 20 2012
CROSSREFS
Sequence in context: A039123 A131618 A144111 * A345914 A039198 A249299
KEYWORD
nonn,base,easy
EXTENSIONS
An incorrect g.f. was deleted by N. J. A. Sloane, Sep 13 2009
STATUS
approved