OFFSET
2,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 2..10000
EXAMPLE
For n = 81: prime(81) = 419, prime(82) = 421. The intermediate range of composites includes only 420 = 4*3*5*7 having 4 distinct prime factors, so a(81) = 4.
MATHEMATICA
Min[PrimeNu[Range[#[[1]]+1, #[[2]]-1]]]&/@Partition[Prime[ Range[ 2, 110]], 2, 1] (* Harvey P. Dale, Mar 31 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 09 2000
EXTENSIONS
Offset corrected by Sean A. Irvine, Nov 04 2021
STATUS
approved