TOPICS
Search

Prime Constant


The prime constant is the real number whose binary expansion is obtained by concatenating the values of the characteristic function of the primes, defined by

 f(n)={1   n is prime; 0   otherwise.
(1)

For n=1, 2, ..., this function has values 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, ... (OEIS A010051). Interpreting these values as successive binary digits gives

P=0.011010100..._2
(2)
=0.4146825098511116602481....
(3)

(OEIS A051006).

The continued fraction is [0, 2, 2, 2, 3, 12, 131, 1, ...] (OEIS A051007). It has high-water marks of 0, 2, 3, 12, 131, 169, ... (OEIS A102878), occurring at positions 0, 1, 4, 5, 6, 20, 31, 54, ... (OEIS A103313).


See also

Constant Primes, Prime Number

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequences A010051, A051006, A051007, A102878, and A103313 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Prime Constant

Cite this as:

Weisstein, Eric W. "Prime Constant." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/PrimeConstant.html

Subject classifications