OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = ceiling(p(n)/c(n))*c(n), where c(n) is the n-th composite, and p(n) is the n-th prime.
MAPLE
MATHEMATICA
prs=Prime[Range[60]]; comps=Rest[Complement[Range[Last[prs]+1], prs]]; Ceiling[First[#]/Last[#]]Last[#]&/@Thread[{prs, Take[comps, 60]}] (* Harvey P. Dale, Oct 02 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 12 2009
EXTENSIONS
Extended beyond a(16) by R. J. Mathar, Jul 16 2009
STATUS
approved