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

A082280
a(1) = 1, then the smallest number such that there are a(n) composite numbers between a(n) and a(n+1) both excluded.
3
1, 5, 13, 31, 71, 160, 355, 777, 1681, 3603, 7677, 16272, 34323, 72119, 151036, 315355, 656823, 1364925, 2830706, 5859765, 12110519, 24991695, 51503762, 106008953, 217946295, 447610014
OFFSET
1,2
LINKS
MATHEMATICA
k = i = 1; Print[k]; Do[t = 0; While[t < k, i++; If[ !PrimeQ[i], t++ ]]; k = i = (i+1); Print[k], {n, 1, 25}] (* Ryan Propper, Jul 14 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 13 2003
EXTENSIONS
More terms from Ryan Propper, Jul 14 2005
STATUS
approved