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”).

A077153
Smallest k such that there are n composite numbers greater than n and smaller than k.
1
5, 7, 9, 11, 13, 16, 17, 21, 23, 26, 27, 29, 31, 34, 36, 39, 40, 43, 45, 47, 50, 52, 53, 56, 58, 61, 64, 66, 67, 70, 71, 75, 77, 79, 82, 85, 86, 88, 91, 93, 94, 96, 97, 100, 103, 106, 107, 111, 113, 116, 118, 120, 121, 123, 125, 127, 130, 133, 134, 136, 137, 141, 143
OFFSET
1,1
PROG
(PARI) for(n=1, 100, k=n:c=0:while(c<n, k=k+1: if(!isprime(k), c=c+1)):print1(k+1", "))
CROSSREFS
Cf. A077152.
Sequence in context: A123910 A024886 A083249 * A031102 A005763 A035034
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 31 2002
EXTENSIONS
More terms from Ralf Stephan, Mar 20 2003
STATUS
approved