login
Decimal expansion of the prime gap constant (concatenate the sizes of prime gaps, A001223).
1

%I #24 Jan 30 2019 17:39:07

%S 1,2,2,4,2,4,2,4,6,2,6,4,2,4,6,6,2,6,4,2,6,4,6,8,4,2,4,2,4,1,4,4,6,2,

%T 1,0,2,6,6,4,6,6,2,1,0,2,4,2,1,2,1,2,4,2,4,6,2,1,0,6,6,6,2,6,4,2,1,0,

%U 1,4,4,2,4,1,4,6,1,0,2,4,6,8,6,6,4,6,8,4,8,1,0,2,1,0,2,6,4,6,8,4,2,4,1,2,8,4,8,4,6,1,2,2,1,8,6,1,0,6,6,2,6,1,0,6,6,2,6

%N Decimal expansion of the prime gap constant (concatenate the sizes of prime gaps, A001223).

%C This prime gap constant is similar in spirit to the Copeland-Erdős constant (A033308) and to the Champernowne constant (A033307). Its fractional part, the digits of which represent this sequence, is given as the limit of concatenating the digits (A255307) in the size of gaps between consecutive primes (A001223), while its integer part is zero by definition, as is the case with the other two constants.

%C The two other constants mentioned above are concatenation of strictly increasing numbers, which might be considered as a significant difference. At least at the beginning of this sequence, odd digits are quite rare, especially the larger ones. (The first digit '9' occurs at index n=46634.) Although prime gaps tend to increase, it is questionable whether this constant is normal, since it may be conjectured (generalizing the twin prime conjecture) that all (and especially small) gaps occur infinitely often. - _M. F. Hasler_, Apr 08 2015

%H Harvey P. Dale, <a href="/A255311/b255311.txt">Table of n, a(n) for n = 1..1000</a>

%e Example of the value of this constant for the first 100 digits in the fractional part of its digital expansion: 0.122424246264246626426468424241446210266466210242121242462106662642101442...

%t Flatten[IntegerDigits[Table[Prime[n+1]- Prime[n], {n, 1, 100}]]]

%t Flatten[IntegerDigits/@Differences[Prime[Range[200]]]] (* _Harvey P. Dale_, Jan 30 2019 *)

%o (PARI) print1("0.");forprime(p=1+o=2,360749,print1(-o+o=p)) \\ _M. F. Hasler_, Apr 08 2015

%Y Cf. A001223, A255307, A033307, A033308.

%K nonn,base,cons

%O 1,2

%A _Waldemar Puszkarz_, Feb 20 2015