login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039215 Numbers whose base-12 representation has the same number of 0's and 6's. 5

%I #14 Sep 08 2022 08:44:53

%S 1,2,3,4,5,7,8,9,10,11,13,14,15,16,17,19,20,21,22,23,25,26,27,28,29,

%T 31,32,33,34,35,37,38,39,40,41,43,44,45,46,47,49,50,51,52,53,55,56,57,

%U 58,59,61,62,63,64,65,67,68,69,70,71,72,85,86,87,88,89,91,92,93,94

%N Numbers whose base-12 representation has the same number of 0's and 6's.

%t Select[Range[200], DigitCount[#, 12, 6] == DigitCount[#, 12, 0]&] (* _Vincenzo Librandi_, Oct 26 2016 *)

%o (Magma) [n: n in [1..120] | Multiplicity(S, 0) eq Multiplicity(S, 6) where S is {*d: d in Intseq(n, 12)*}]; // _Vincenzo Librandi_, Oct 26 2016

%K nonn,base,easy

%O 1,2

%A _Olivier GĂ©rard_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)