OFFSET
2,1
EXAMPLE
a(2) = 97: 98 = 2*7^2, 99 = 3^2*11, 100 = 2^2*5^2 have 2 or 3 odd prime factors, so the minimum 2 is achieved.
a(3) = 1999: 2000 has the 3 odd prime factors 5^3, 2001 = 3*23*29, 2002 = 2*7*11*13.
PROG
(PARI) a087436(n) = bigomega (n >> valuation (n, 2));
a359639(maxp) = {my(k=2, pp=5); forprime (p=7, maxp, my(mi=oo); if (p-pp>2, for (j=pp+1, p-1, my(mo=a087436(j)); if (mo<k, mi=0; break); mi=min(mo, mi)); if (mi>=k, print1(pp, ", "); k++)); pp=p)};
a359639(3*10^8)
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Hugo Pfoertner, Jan 16 2023
STATUS
approved