%I A143909
%S A143909 2,5,6,9,10,11,12,13,14,23,27,29,30,35,37,38,39,41,42,43,44,45,46,47,49,
%T A143909 50,51,52,53,54,55,56,57,58,59,60,61,62,95,111,119,123,125,126,135,139,
%U A143909 141,142,147,149,150,153,154,156,159,163,165,166,169,170,172,175,177
%N A143909 A positive integer n is included if the number of digits in the binary
representation of n is a multiple of the number of zeros in the binary
representation of n.
%H A143909 Leroy Quet, <a href="http://www.prism-of-spirals.net/">Home Page</a>
(listed in lieu of email address)
%F A143909 {n: A080791(n) | A070939(n)}. [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl),
Sep 05 2008]
%p A143909 A070939 := proc(n) max(1,1+floor(ilog2(n))) ; end: A080791 := proc(n)
local dgs ; dgs := convert(n,base,2) ; nops(dgs)-add(i,i=dgs) ; end:
isA143909 := proc(n) zs := A080791(n) ; if zs > 0 then if A070939(n)
mod zs = 0 then true ; else false ; fi; else false ; fi; end: for
n from 1 to 500 do if isA143909(n) then printf("%d,",n) ; fi; od:
[From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 05 2008]
%t A143909 Select[Range[200], DigitCount[ #, 2, 0] > 0 && Mod[Length[IntegerDigits[
#, 2]], DigitCount[ #, 2, 0]] == 0 &] [From Stefan Steinerberger
(stefan.steinerberger(AT)gmail.com), Sep 05 2008]
%Y A143909 A096199
%Y A143909 Sequence in context: A097685 A136369 A007573 this_sequence A139454 A028946
A031461
%Y A143909 Adjacent sequences: A143906 A143907 A143908 this_sequence A143910 A143911
A143912
%K A143909 base,nonn
%O A143909 1,1
%A A143909 Leroy Quet Sep 04 2008
%E A143909 More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com)
and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 05 2008
|