login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers k such that A001223(k) > A000005(k).
4

%I #10 Feb 03 2018 09:48:55

%S 4,9,11,15,16,19,21,23,25,29,30,31,34,37,39,42,46,47,51,53,55,58,59,

%T 61,62,66,67,68,71,73,74,77,79,82,86,87,91,92,94,97,99,101,103,106,

%U 107,111,114,115,118,119,121,123,124,125,127,129,131,133,137,138,139,141,145

%N Numbers k such that A001223(k) > A000005(k).

%H Franklin T. Adams-Watters, <a href="/A162188/b162188.txt">Table of n, a(n) for n = 1..5000</a>

%H Omar E. Pol, <a href="http://www.polprimos.com/imagenespub/polprdipi.jpg">Illustration: Divisors and pi(x)</a>

%o (PARI) for(n=1,200,if(prime(n+1)-prime(n)>numdiv(n),print1(n","))) \\ _Franklin T. Adams-Watters_, May 26 2010

%Y Cf. A000005, A001223, A068526, A161911, A161912, A161913, A162189.

%K easy,nonn

%O 1,1

%A _Omar E. Pol_, Jul 04 2009

%E More terms from _Franklin T. Adams-Watters_, May 26 2010