%I #19 Sep 08 2022 08:44:53
%S 0,1,2,3,4,5,7,8,9,11,12,13,14,15,16,17,19,20,21,23,24,25,26,27,28,29,
%T 31,32,33,35,36,37,38,39,40,41,43,44,45,47,48,49,50,51,52,53,55,56,57,
%U 59,60,61,62,63,64,65,67,68,69,71,82,84,85,86,87,88,89,91
%N Numbers whose base-12 representation has the same number of 6's and 10's.
%H Vincenzo Librandi, <a href="/A039263/b039263.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Range[0, 100], DigitCount[#, 12, 6] == DigitCount[#, 12, 10] &] (* _Vincenzo Librandi_, Oct 20 2012 *)
%o (Magma) [n: n in [0..100] | Multiplicity(S,6) eq Multiplicity(S,10) where S is {*d: d in Intseq(n,12)*}]; // _Bruno Berselli_, Oct 20 2012
%K nonn,base,easy
%O 1,3
%A _Olivier GĂ©rard_
%E An incorrect g.f. was deleted by _N. J. A. Sloane_, Sep 13 2009
|