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!)
A103598 Smallest prime p such that Sum_{primes q <= p} 1/q >= n/5. 0

%I #17 Mar 27 2019 19:12:12

%S 2,2,3,3,5,11,17,41,97,277,1013,4789,31627,314723,5195977,159490147,

%T 10443979657

%N Smallest prime p such that Sum_{primes q <= p} 1/q >= n/5.

%C a(18) > pi(5*10^10). - _Robert Price_, Dec 10 2013

%t For[n = 1, n ≤ 17, n++, sum = 0; For[k = 1, k ≤ 10^6, k++, sum = sum + 1/Prime[k]; If[sum >= n/5, Print[Prime[k]]; Break[]]]]

%t Table[m = 1; s = 0; While[(s = s + 1/Prime[m]) < n/5, m++];

%t Prime[m], {n, 1, 17}] (* _Robert Price_, Mar 27 2019 *)

%Y Cf. A016088, A046024, A103591-A103600.

%K nonn

%O 1,1

%A _James R. Buddenhagen_, Mar 28 2005

%E a(1)-a(2) and a(16)-a(17) from _Robert Price_, Dec 10 2013

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 July 25 09:55 EDT 2024. Contains 374587 sequences. (Running on oeis4.)