login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039257 Numbers n such that representation in base 12 has same number of 5's and 9's. 1

%I

%S 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,

%T 30,31,32,34,35,36,37,38,39,40,42,43,44,46,47,48,49,50,51,52,54,55,56,

%U 58,59,69,72,73,74,75,76,78,79,80,82,83,84,85,86,87,88,90,91

%N Numbers n such that representation in base 12 has same number of 5's and 9's.

%H Vincenzo Librandi, <a href="/A039257/b039257.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[0, 100], DigitCount[#, 12, 5] == DigitCount[#, 12, 9] &] (* _Vincenzo Librandi_, Oct 20 2012 *)

%o (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

%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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 12:01 EDT 2019. Contains 322429 sequences. (Running on oeis4.)