

A039257


Numbers n such that representation in base 12 has 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
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000


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 * A039198 A249299 A039149
Adjacent sequences: A039254 A039255 A039256 * A039258 A039259 A039260


KEYWORD

nonn,base,easy


AUTHOR

Olivier Gérard


EXTENSIONS

An incorrect g.f. was deleted by N. J. A. Sloane, Sep 13 2009


STATUS

approved



