OFFSET
1,18
LINKS
Michel Marcus, Table of n, a(n) for n = 1..5000
FORMULA
EXAMPLE
n=24: the sums of prime factor exponents when k runs from 0 to 24 are {0,4,4,5,5,7,6,8,6,8,8,9,7,9,8,8,6,8,6,7,5,5,4,4,0}. The central value is 7, the maximal is 9 so a(24)=9-7.
PROG
(PARI) a(n) = vecmax(apply(bigomega, vector(n+1, k, binomial(n, k-1)))) - bigomega(binomial(n, n\2)); \\ Michel Marcus, Jun 25 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved