All Questions
2 questions
5
votes
2
answers
188
views
DigitCount[], but in negative bases
The DigitCount[n,b] function "counts the gives a list of the numbers of $1, 2, \ldots, b-1, 0$ digits in the base-$b$ representation of $n$".
I want to ...
2
votes
2
answers
144
views
Listing all monotone increasing binary digits
For $n=5$, I have $32$ binary digits and for this there are $2^{32}$ combinations. Out of this many, the interesting ones (i.e., the ones that have monotone increasing binary digits) are only about "$...