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.

A103596 Smallest prime p such that Sum_{primes q <= p} 1/q >= n/4.

This page as a plain text file.
%I A103596 #16 Mar 27 2019 19:11:46
%S A103596 2,2,3,5,11,29,73,277,1453,11789,169751,5195977,420055319,118185163069
%N A103596 Smallest prime p such that Sum_{primes q <= p} 1/q >= n/4.
%C A103596 a(14) > pi(5*10^5). - _Robert Price_, Dec 10 2013
%t A103596 For[n = 1, n ≤ 17, n++, sum = 0; For[k = 1, k ≤ 10^6, k++, sum = sum + 1/Prime[k]; If[sum >= n/4, Print[Prime[k]]; Break[]]]]
%t A103596 Table[m = 1; s = 0; While[(s = s + 1/Prime[m]) < n/4, m++];
%t A103596 Prime[m], {n, 1, 14}] (* _Robert Price_, Mar 27 2019 *)
%Y A103596 Cf. A016088, A046024, A103591-A103600.
%K A103596 nonn
%O A103596 1,1
%A A103596 _James R. Buddenhagen_, Mar 28 2005
%E A103596 a(1) added by _Robert Price_, Dec 10 2013
%E A103596 a(13)-a(14) from _Robert Price_, Dec 10 2013