STATUS
editing
approved
editing
approved
Select[Prime[Range[150]], DigitCount[#, 2, 1]<=DigitCount[#, 2, 0]&] (* Harvey P. Dale, Sep 27 2023 *)
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
(PARI) B(x) = {nB = floor(log(x)/log(2)); z1 = 0; z0 = 0;
proposed
editing
editing
proposed
37 is in the sequence because 37_10 = 100101_2. '100101' has three 1's and 3 0's. (StopEnd)
A. Antti Karttunen and J. John Moyer, <a href="/A095062/a095062.c.txt">C-program for computing the initial terms of this sequence</a>.
Select[Prime[Range[150]], Differences[DigitCount[#, 2]][[1]] >= 0 &] (* Amiram Eldar, Jul 25 2023 *)
approved
editing