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.

A094661 Numerator of the sum of the ratios of consecutive primes.

This page as a plain text file.
%I A094661 #12 Dec 28 2023 19:21:38
%S A094661 3,19,137,1289,16909,259087,4975049,106267661,2725447213,85953848147,
%T A094661 2903947942067,115669053951809,5061522951820999,231945249314081827,
%U A094661 11594813068340357459,650803589794759938517,40385350464999429101033
%N A094661 Numerator of the sum of the ratios of consecutive primes.
%F A094661 a(n) = numerator(Sum_{k=1..n} prime(k+1)/prime(k)).
%t A094661 s=0;lst={};Do[p=Prime[n];r=Prime[n+1];AppendTo[lst,Numerator[s+=r/p]],{n,3*4!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Oct 24 2009 *)
%o A094661 (PARI) consec(n) = { y=0; forprime(x=2,n, y+=nextprime(x+1)/x; z=numerator(y); print1(z",") ) }
%Y A094661 Cf. A000040.
%K A094661 nonn,frac
%O A094661 2,1
%A A094661 _Cino Hilliard_, Jun 06 2004