The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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

%I

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

%T 30,31,33,34,35,37,38,39,40,41,42,43,45,46,47,49,50,51,52,53,54,55,57,

%U 58,59,61,62,63,64,65,66,67,69,70,71,73,74,75,76,77,78,79,81

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

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

%t Select[Range[200], DigitCount[#, 12, 8] == DigitCount[#, 12, 0] &] (* _Harvey P. Dale_, Apr 24 2011 *)

%o (MAGMA) [n: n in [1..100] | Multiplicity(S,0) eq Multiplicity(S,8) where S is {*d: d in Intseq(n,12)*}]; // _Bruno Berselli_, Oct 20 2012

%K nonn,base,easy

%O 1,2

%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.

Last modified December 9 06:07 EST 2021. Contains 349627 sequences. (Running on oeis4.)