login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A306744 Decimal expansion of the constant S_1 + S_2 = Sum_{j>=1} prime(j)!/prime(j + 1)!. 4
4, 1, 9, 2, 2, 2, 0, 6, 4, 9, 0, 3 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

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.

LINKS

Table of n, a(n) for n=0..11.

FORMULA

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) + ...

EXAMPLE

S_1 + S_2 = 0.419222064903...

MATHEMATICA

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 *)

PROG

(PARI) suminf(j=1, prime(j)!/prime(j + 1)!) \\ Michel Marcus, Apr 02 2019

CROSSREFS

Cf. A000040, A306658 (S_1), A306700 (S_2), A306780.

Sequence in context: A181859 A218972 A085383 * A304526 A260253 A261981

Adjacent sequences:  A306741 A306742 A306743 * A306745 A306746 A306747

KEYWORD

cons,nonn,more

AUTHOR

Marco Ripà, Mar 07 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 08:57 EDT 2019. Contains 326077 sequences. (Running on oeis4.)