OFFSET
3,1
LINKS
T. D. Noe, Table of n, a(n) for n=3..10000
FORMULA
a(n) <= A002373(n). - R. J. Mathar, Mar 19 2008
a(n) = 2*n - A007917(2*n-2). - Reinhard Zumkeller, Jan 02 2015
EXAMPLE
a(14)=28 - (largest prime < 26) = 28 - 23 = 5.
MATHEMATICA
Table[2n-NextPrime[2n-2, -1], {n, 3, 100}] (* Harvey P. Dale, Aug 16 2011 *)
PROG
CROSSREFS
KEYWORD
nice,nonn,easy
AUTHOR
David M. Elder (elddm(AT)rhodes.edu)
STATUS
approved