login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Smallest k such that |p(k)-c(k)| is an n-digit number where p(k) is the k-th prime and c(k) is the k-th composite number.
0

%I #13 Apr 17 2018 23:09:12

%S 1,10,37,206,1401,10626,85316,712597,6117420,53593619,476889480,

%T 4295913223,39084524707,358521889961,3311439169717,30765562102926,

%U 287282165065268,2694418859703791,25368958219747617

%N Smallest k such that |p(k)-c(k)| is an n-digit number where p(k) is the k-th prime and c(k) is the k-th composite number.

%Y Cf. A038529.

%K hard,more,nonn,base

%O 1,2

%A _Amarnath Murthy_, May 30 2002

%E Corrected and extended by Gabriel Cunningham (gcasey(AT)mit.edu), Apr 08 2003

%E More terms from _Sean A. Irvine_, Nov 30 2009

%E a(12)-a(15) from _Donovan Johnson_, Dec 30 2010

%E a(16)-a(19) from _Chai Wah Wu_, Apr 17 2018