login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A359638
a(n) is the least odd prime not in A001359 such that all subsequent composites in the gap up to the next prime have exactly n prime factors, counted with multiplicity.
1
601, 1429, 81547, 248749, 27140749, 310314157, 3566181247
OFFSET
3,1
PROG
(PARI) a359638(maxp) = {my (k=3, pp=3); forprime (p=5, maxp, my (mi=oo, ma=0); if (p-pp>2, for (j=pp+1, p-1, my(mo=bigomega(j)); if(mo<k, mi=ma=0; break); mi=min(mo, mi); ma=max(mo, ma)); if (mi==k && ma==k, print1(pp, ", "); k++)); pp=p)};
a359638(10^8)
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Hugo Pfoertner, Jan 16 2023
STATUS
approved