The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [digit-sequences]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
80 views

Short Normal Numbers in base 10

Normal numbers in base 10 are those for which, in the base 10 decimal expansion, you can find every natural number. Champernowne's number is a very simple example of this where it is simply written as:...
2
votes
2answers
55 views

Counting the number of Configurations in an Array with Constraints

Consider an array $$\{a_i\}, i=1, ..., N$$ with periodic boundary condition, i.e. $i\equiv i+N$. $a_i\in \{0, 1\}$. I would like to count the number of configurations of the array $\{a_i\}$ satisfying ...
1
vote
2answers
111 views

Listing all monotone binary functions

A monotone binary function is defined as follows: Given binary vectors $\bf x$ and $\bf y$ (each having $n$ bits) with $\bf x\geq \bf y$, a function $f:\bf x\rightarrow\{0,1\}$ is called monotone if $...
4
votes
1answer
121 views

Self-locating Strings in $\pi$?

According to The Pi-Search Page, in the first 100 million digits of $\pi$ the following numbers are self-locating: 1, 16470, 44899, 79873884. The following inefficient code (which also does not ...