cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A306744 Decimal expansion of the constant S_1 + S_2 = Sum_{j>=1} prime(j)!/prime(j + 1)!.

This page as a plain text file.
%I A306744 #20 May 23 2019 08:31:18
%S A306744 4,1,9,2,2,2,0,6,4,9,0,3
%N A306744 Decimal expansion of the constant S_1 + S_2 = Sum_{j>=1} prime(j)!/prime(j + 1)!.
%C A306744 The constant S_1 + S_2 is related to the prime gaps, since twin primes produce the largest terms of the sum compared with neighboring terms.
%F A306744 S_1 + S_2 = Sum_{j>=1} prime(j)!/prime(j + 1)! = Sum_{j>=2} 1/(Product{k=prime(j - 1) + 1, prime(j)} k) = 1/3 + 1/(4*5) + 1/(6*7) + 1/(8*9*10*11) + ...
%e A306744 S_1 + S_2 = 0.419222064903...
%t A306744 s = 0; p = 2; q = 3; While[p < 10^10, s = N[s + 1/Times @@ Range[p +1, q], 32]; p = q; q = NextPrime@ q]; Take[ RealDigits[s][[1]], 20] (* _Robert G. Wilson v_, Mar 23 2019 *)
%o A306744 (PARI) suminf(j=1, prime(j)!/prime(j + 1)!) \\ _Michel Marcus_, Apr 02 2019
%Y A306744 Cf. A000040, A306658 (S_1), A306700 (S_2), A306780.
%K A306744 cons,nonn,more
%O A306744 0,1
%A A306744 _Marco RipĂ _, Mar 07 2019