Recall that every real number $x$ can be expressed as $b + m$, where $b \in \mathbb{Z}$ is the integral part and where $m \in [0,1)$ is the mantissa.
Definition. A real number $x$ is said to be in a complexity class $\mathsf{C}$ if the decision problem asking whether the $n$-th bit below the radix point of the binary expansion of the mantissa of $x$ is $1$ belongs to the complexity class $\mathsf{C}$.
By this definition, real numbers that are in $\mathsf{P}$ include:
- Every rational number
- $e$
- $\pi$
- $\ln 2$
- Champernowne's constant on base 2
And real numbers that are in $\mathsf{RE}$ but not in $\mathsf{R}$ include:
- The limit of the Specker sequence
- Chaitin's constant
My question is this: What is an example of a real number that is $\mathsf{NP}$-complete?
My attempt to come up with one was this. Consider the OEIS sequence A002562, the sequence of solutions of the $n$-queens problem up to symmetry. Since the $n$-queens problem is $\mathsf{\#P}$-complete, we can turn this sequence to an $\mathsf{NP}$-complete bit sequence by asking whether there is an odd number of solutions. The explicit resulting real number is $0.100101000011101111001000010..._2$.
Is my solution right? Are there any examples that are more notable?
count(X)
being #P-complete does not mean thatcount(X) % 2 == 1
is NP-complete. $\endgroup$