login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094663 Prime numerators of the sums of the ratios of consecutive primes. 0

%I #7 Nov 21 2013 12:48:19

%S 2,19,3023,3469898586979325623,2502544963063007045084611872632077

%N Prime numerators of the sums of the ratios of consecutive primes.

%C Sum of reciprocals = 0.5577902661277818841795751911..

%F If a(n) = Sum(prime(k)/prime(k+1), k=1..n)) is prime.

%e 2/3 + 3/5 +5/7 + 7/11 = 3023/1155. 3023 is prime, the third entry in the sequence.

%t Select[Numerator/@Accumulate[First[#]/Last[#]&/@ Partition[Prime[ Range[50]],2,1]],PrimeQ] (* _Harvey P. Dale_, Apr 23 2011 *)

%o (PARI) consecpr2(n) = { s=0; y=0; forprime(x=2,n, y+=x/nextprime(x+1); z=numerator(y); s+=1./z; if(isprime(z),print1(z",")) ); print(); print(s) }

%K frac,nonn

%O 2,1

%A _Cino Hilliard_, Jun 06 2004

%E The next term is too large to include.

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 06:24 EDT 2024. Contains 371918 sequences. (Running on oeis4.)